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_wxColour swig_types[28]
2495 #define SWIGTYPE_p_wxColourDatabase swig_types[29]
2496 #define SWIGTYPE_p_wxCommandEvent swig_types[30]
2497 #define SWIGTYPE_p_wxContextMenuEvent swig_types[31]
2498 #define SWIGTYPE_p_wxControl swig_types[32]
2499 #define SWIGTYPE_p_wxControlWithItems swig_types[33]
2500 #define SWIGTYPE_p_wxCursor swig_types[34]
2501 #define SWIGTYPE_p_wxDC swig_types[35]
2502 #define SWIGTYPE_p_wxDCBrushChanger swig_types[36]
2503 #define SWIGTYPE_p_wxDCClipper swig_types[37]
2504 #define SWIGTYPE_p_wxDCOverlay swig_types[38]
2505 #define SWIGTYPE_p_wxDCPenChanger swig_types[39]
2506 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDash swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
2512 #define SWIGTYPE_p_wxEffects swig_types[46]
2513 #define SWIGTYPE_p_wxEncodingConverter swig_types[47]
2514 #define SWIGTYPE_p_wxEraseEvent swig_types[48]
2515 #define SWIGTYPE_p_wxEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEventBlocker 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_wxPostScriptDC swig_types[127]
2594 #define SWIGTYPE_p_wxPrintData swig_types[128]
2595 #define SWIGTYPE_p_wxPrinterDC swig_types[129]
2596 #define SWIGTYPE_p_wxPseudoDC swig_types[130]
2597 #define SWIGTYPE_p_wxPyApp swig_types[131]
2598 #define SWIGTYPE_p_wxPyCommandEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPyEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[134]
2601 #define SWIGTYPE_p_wxPyImageHandler swig_types[135]
2602 #define SWIGTYPE_p_wxPyLocale swig_types[136]
2603 #define SWIGTYPE_p_wxPySizer swig_types[137]
2604 #define SWIGTYPE_p_wxPyValidator swig_types[138]
2605 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[139]
2606 #define SWIGTYPE_p_wxRect swig_types[140]
2607 #define SWIGTYPE_p_wxRect2D swig_types[141]
2608 #define SWIGTYPE_p_wxRegion swig_types[142]
2609 #define SWIGTYPE_p_wxRegionIterator swig_types[143]
2610 #define SWIGTYPE_p_wxRendererNative swig_types[144]
2611 #define SWIGTYPE_p_wxRendererVersion swig_types[145]
2612 #define SWIGTYPE_p_wxScreenDC swig_types[146]
2613 #define SWIGTYPE_p_wxScrollEvent swig_types[147]
2614 #define SWIGTYPE_p_wxScrollWinEvent swig_types[148]
2615 #define SWIGTYPE_p_wxSetCursorEvent swig_types[149]
2616 #define SWIGTYPE_p_wxShowEvent swig_types[150]
2617 #define SWIGTYPE_p_wxSize swig_types[151]
2618 #define SWIGTYPE_p_wxSizeEvent swig_types[152]
2619 #define SWIGTYPE_p_wxSizer swig_types[153]
2620 #define SWIGTYPE_p_wxSizerItem swig_types[154]
2621 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[155]
2622 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[156]
2623 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStockGDI swig_types[158]
2625 #define SWIGTYPE_p_wxString swig_types[159]
2626 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[160]
2627 #define SWIGTYPE_p_wxTGAHandler swig_types[161]
2628 #define SWIGTYPE_p_wxTIFFHandler swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDC swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _gdi_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_gdi_
2663 #define SWIG_name "_gdi_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 #define SWIG_From_long PyInt_FromLong
2744 SWIGINTERNINLINE PyObject
*
2745 SWIG_From_int (int value
)
2747 return SWIG_From_long (value
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2778 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2779 return SWIG_TypeError
;
2782 *val
= (unsigned long)v
;
2788 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2791 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
> UCHAR_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< unsigned char >(v
);
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_unsigned_SS_long (unsigned long value
)
2806 return (value
> LONG_MAX
) ?
2807 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2811 SWIGINTERNINLINE PyObject
*
2812 SWIG_From_unsigned_SS_char (unsigned char value
)
2814 return SWIG_From_unsigned_SS_long (value
);
2817 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2818 wxColour temp
, *obj
= &temp
;
2819 if ( other
== Py_None
) return false;
2820 if ( ! wxColour_helper(other
, &obj
) ) {
2824 return self
->operator==(*obj
);
2826 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2827 wxColour temp
, *obj
= &temp
;
2828 if ( other
== Py_None
) return true;
2829 if ( ! wxColour_helper(other
, &obj
)) {
2833 return self
->operator!=(*obj
);
2837 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2839 if (obj
== Py_True
) {
2840 if (val
) *val
= true;
2842 } else if (obj
== Py_False
) {
2843 if (val
) *val
= false;
2847 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2848 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2853 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2854 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2858 int alpha
= wxALPHA_OPAQUE
;
2861 green
= self
->Green();
2862 blue
= self
->Blue();
2863 alpha
= self
->Alpha();
2865 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2866 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2867 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2869 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2872 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2873 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2877 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2880 int res
= SWIG_AsVal_long (obj
, &v
);
2881 if (SWIG_IsOK(res
)) {
2882 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2883 return SWIG_OverflowError
;
2885 if (val
) *val
= static_cast< int >(v
);
2891 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2893 int count
= self
->GetDashes(&dashes
);
2894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2895 PyObject
* retval
= PyList_New(0);
2896 for (int x
=0; x
<count
; x
++) {
2897 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2898 PyList_Append(retval
, pyint
);
2901 wxPyEndBlockThreads(blocked
);
2904 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2905 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2906 int size
= PyList_Size(pyDashes
);
2907 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2909 // black magic warning! The array of wxDashes needs to exist as
2910 // long as the pen does because wxPen does not copy the array. So
2911 // stick a copy in a Python string object and attach it to _self,
2912 // and then call SetDashes with a pointer to that array. Then
2913 // when the Python pen object is destroyed the array will be
2915 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2916 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2918 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2920 Py_DECREF(strDashes
);
2921 wxPyEndBlockThreads(blocked
);
2923 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2924 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2926 SWIGINTERNINLINE PyObject
*
2927 SWIG_From_short (short value
)
2929 return SWIG_From_long (value
);
2934 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2937 int res
= SWIG_AsVal_long (obj
, &v
);
2938 if (SWIG_IsOK(res
)) {
2939 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2940 return SWIG_OverflowError
;
2942 if (val
) *val
= static_cast< short >(v
);
2949 #include <wx/rawbmp.h>
2952 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2953 // appears to me that the other platforms are already doing it, so I'll just
2954 // automatically do it for wxMSW here.
2956 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2957 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2959 #define wxPy_premultiply(p, a) (p)
2960 #define wxPy_unpremultiply(p, a) (p)
2964 #include <wx/image.h>
2966 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2967 char** cArray
= NULL
;
2970 if (!PyList_Check(listOfStrings
)) {
2971 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2974 count
= PyList_Size(listOfStrings
);
2975 cArray
= new char*[count
];
2977 for(int x
=0; x
<count
; x
++) {
2978 // TODO: Need some validation and error checking here
2979 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2985 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2986 char** cArray
= NULL
;
2989 cArray
= ConvertListOfStrings(listOfStrings
);
2992 bmp
= new wxBitmap(cArray
);
2996 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2999 PyString_AsStringAndSize(bits
, &buf
, &length
);
3000 return new wxBitmap(buf
, width
, height
, depth
);
3002 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
3003 wxSize
size(self
->GetWidth(), self
->GetHeight());
3006 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
3007 wxMask
*mask
= new wxMask(*self
, colour
);
3008 self
->SetMask(mask
);
3010 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
3011 self
->SetWidth(size
.x
);
3012 self
->SetHeight(size
.y
);
3014 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
3015 int height
=self
->GetHeight();
3016 int width
=self
->GetWidth();
3018 if (DATASIZE
!= width
* height
* 3) {
3019 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3021 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3023 // raise an exception...
3024 wxPyErr_SetString(PyExc_RuntimeError
,
3025 "Failed to gain raw access to bitmap data.");
3029 wxNativePixelData::Iterator
p(pixData
);
3030 for (int y
=0; y
<height
; y
++) {
3031 wxNativePixelData::Iterator rowStart
= p
;
3032 for (int x
=0; x
<width
; x
++) {
3033 p
.Red() = *(data
++);
3034 p
.Green() = *(data
++);
3035 p
.Blue() = *(data
++);
3039 p
.OffsetY(pixData
, 1);
3042 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3043 int height
=self
->GetHeight();
3044 int width
=self
->GetWidth();
3046 if (DATASIZE
!= width
* height
* 4) {
3047 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3049 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3051 // raise an exception...
3052 wxPyErr_SetString(PyExc_RuntimeError
,
3053 "Failed to gain raw access to bitmap data.");
3058 wxAlphaPixelData::Iterator
p(pixData
);
3059 for (int y
=0; y
<height
; y
++) {
3060 wxAlphaPixelData::Iterator rowStart
= p
;
3061 for (int x
=0; x
<width
; x
++) {
3063 p
.Red() = wxPy_premultiply(*(data
++), a
);
3064 p
.Green() = wxPy_premultiply(*(data
++), a
);
3065 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3066 p
.Alpha() = a
; data
++;
3070 p
.OffsetY(pixData
, 1);
3073 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3074 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3076 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3077 buffer data
, int DATASIZE
,
3078 buffer alpha
, int ALPHASIZE
)
3080 if (DATASIZE
!= width
*height
*3) {
3081 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3085 if (ALPHASIZE
!= width
*height
) {
3086 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3090 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3091 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3093 // raise an exception...
3094 wxPyErr_SetString(PyExc_RuntimeError
,
3095 "Failed to gain raw access to bitmap data.");
3100 wxAlphaPixelData::Iterator
p(pixData
);
3101 for (int y
=0; y
<height
; y
++) {
3102 wxAlphaPixelData::Iterator rowStart
= p
;
3103 for (int x
=0; x
<width
; x
++) {
3104 byte a
= *(alpha
++);
3105 p
.Red() = wxPy_premultiply(*(data
++), a
);
3106 p
.Green() = wxPy_premultiply(*(data
++), a
);
3107 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3112 p
.OffsetY(pixData
, 1);
3117 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3119 if (DATASIZE
!= width
*height
*3) {
3120 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3124 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3125 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3127 // raise an exception...
3128 wxPyErr_SetString(PyExc_RuntimeError
,
3129 "Failed to gain raw access to bitmap data.");
3133 wxNativePixelData::Iterator
p(pixData
);
3134 for (int y
=0; y
<height
; y
++) {
3135 wxNativePixelData::Iterator rowStart
= p
;
3136 for (int x
=0; x
<width
; x
++) {
3137 p
.Red() = *(data
++);
3138 p
.Green() = *(data
++);
3139 p
.Blue() = *(data
++);
3143 p
.OffsetY(pixData
, 1);
3149 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3151 if (DATASIZE
!= width
*height
*4) {
3152 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3156 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3157 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3159 // raise an exception...
3160 wxPyErr_SetString(PyExc_RuntimeError
,
3161 "Failed to gain raw access to bitmap data.");
3166 wxAlphaPixelData::Iterator
p(pixData
);
3167 for (int y
=0; y
<height
; y
++) {
3168 wxAlphaPixelData::Iterator rowStart
= p
;
3169 for (int x
=0; x
<width
; x
++) {
3171 p
.Red() = wxPy_premultiply(*(data
++), a
);
3172 p
.Green() = wxPy_premultiply(*(data
++), a
);
3173 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3174 p
.Alpha() = a
; data
++;
3178 p
.OffsetY(pixData
, 1);
3184 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3186 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3187 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3188 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3190 self
->Green() = green
;
3191 self
->Blue() = blue
;
3193 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3194 PyObject
* rv
= PyTuple_New(3);
3195 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3196 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3197 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3201 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3203 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3204 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3205 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3206 self
->Red() = wxPy_premultiply(red
, alpha
);
3207 self
->Green() = wxPy_premultiply(green
, alpha
);
3208 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3209 self
->Alpha() = alpha
;
3211 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3212 PyObject
* rv
= PyTuple_New(4);
3213 int red
= self
->Red();
3214 int green
= self
->Green();
3215 int blue
= self
->Blue();
3216 int alpha
= self
->Alpha();
3218 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3219 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3220 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3221 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3224 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3225 if ( !colour
.IsOk() )
3226 return new wxMask(bitmap
, *wxBLACK
);
3228 return new wxMask(bitmap
, colour
);
3231 #include <wx/iconbndl.h>
3233 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3234 wxIcon
* icon
= new wxIcon();
3235 icon
->CopyFromBitmap(bmp
);
3238 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3239 char** cArray
= NULL
;
3242 cArray
= ConvertListOfStrings(listOfStrings
);
3245 icon
= new wxIcon(cArray
);
3249 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3253 return new wxIconLocation(*filename
);
3256 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3263 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3270 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3272 wxImage
img(cursorName
, type
);
3273 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3274 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3275 return new wxCursor(img
);
3277 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3282 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3285 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3286 return self
->operator bool();
3289 #include <wx/fontutil.h>
3290 #include <wx/fontmap.h>
3291 #include <wx/fontenum.h>
3293 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3294 return self
->ToString();
3297 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3298 static wxNativeEncodingInfo info
;
3299 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3306 SWIGINTERNINLINE PyObject
*
3307 SWIG_From_size_t (size_t value
)
3309 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3313 SWIGINTERNINLINE
int
3314 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3317 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3318 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3322 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3323 wxFontEncoding alt_enc
;
3324 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3325 return PyInt_FromLong(alt_enc
);
3331 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3332 wxNativeFontInfo nfi
;
3333 nfi
.FromString(info
);
3334 return new wxFont(nfi
);
3336 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3337 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3339 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3340 return wxFontBase::New(pixelSize
, family
,
3341 style
, weight
, underlined
,
3344 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3345 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3347 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3348 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3350 class wxPyFontEnumerator
: public wxFontEnumerator
{
3352 wxPyFontEnumerator() {}
3353 ~wxPyFontEnumerator() {}
3355 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3356 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3361 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3362 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3365 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3367 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3368 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3369 ret
= wxArrayString2PyList_helper(arr
);
3370 wxPyEndBlockThreads(blocked
);
3373 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3375 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3376 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3377 ret
= wxArrayString2PyList_helper(arr
);
3378 wxPyEndBlockThreads(blocked
);
3384 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3387 loc
= new wxLocale();
3389 loc
= new wxLocale(language
, flags
);
3390 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3391 // for the floating point conversions and such to work right.
3392 #if PY_VERSION_HEX < 0x02040000
3393 setlocale(LC_NUMERIC
, "C");
3397 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3398 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3399 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3400 // for the floating point conversions and such to work right.
3401 #if PY_VERSION_HEX < 0x02040000
3402 setlocale(LC_NUMERIC
, "C");
3406 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3407 bool rc
= self
->Init(language
, flags
);
3408 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3409 // for the floating point conversions and such to work right.
3410 #if PY_VERSION_HEX < 0x02040000
3411 setlocale(LC_NUMERIC
, "C");
3416 class wxPyLocale
: public wxLocale
3421 wxPyLocale(const wxChar
*szName
, // name (for messages)
3422 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3423 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3424 bool bLoadDefault
= true, // preload wxstd.mo?
3425 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3427 wxPyLocale(int language
, // wxLanguage id or custom language
3428 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3432 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3433 const wxChar
*szDomain
= NULL
) const;
3434 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3435 const wxChar
*szOrigString2
, size_t n
,
3436 const wxChar
*szDomain
= NULL
) const;
3438 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3439 const wxChar
*szDomain
= NULL
) const;
3440 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3441 const wxChar
*szOrigString2
, size_t n
,
3442 const wxChar
*szDomain
= NULL
) const;
3446 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3449 wxPyLocale::wxPyLocale() : wxLocale()
3453 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3454 const wxChar
*szShort
, // dir prefix (for msg files)
3455 const wxChar
*szLocale
, // locale (for setlocale)
3456 bool bLoadDefault
, // preload wxstd.mo?
3457 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3458 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3462 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3463 int flags
) : wxLocale(language
, flags
)
3467 wxPyLocale::~wxPyLocale()
3471 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3472 const wxChar
*szDomain
) const
3474 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3475 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3478 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3479 const wxChar
*szOrigString2
, size_t n
,
3480 const wxChar
*szDomain
) const
3482 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3483 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3486 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3487 const wxChar
*szDomain
) const
3490 static wxString str
;
3491 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.
3492 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3493 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3494 PyObject
* param1
= wx2PyString(szOrigString
);
3495 PyObject
* param2
= wx2PyString(szDomain
);
3496 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3500 str
= Py2wxString(ret
);
3504 wxPyEndBlockThreads(blocked
);
3505 return (found
? (wxChar
*)str
.c_str() : NULL
);
3508 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3509 const wxChar
*szOrigString2
, size_t n
,
3510 const wxChar
*szDomain
) const
3513 static wxString str
;
3514 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.
3515 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3516 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3517 PyObject
* param1
= wx2PyString(szOrigString
);
3518 PyObject
* param2
= wx2PyString(szOrigString2
);
3519 PyObject
* param4
= wx2PyString(szDomain
);
3520 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3525 str
= Py2wxString(ret
);
3529 wxPyEndBlockThreads(blocked
);
3530 return (found
? (wxChar
*)str
.c_str() : NULL
);
3533 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3536 loc
= new wxPyLocale();
3538 loc
= new wxPyLocale(language
, flags
);
3539 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3540 // for the floating point conversions and such to work right.
3541 #if PY_VERSION_HEX < 0x02040000
3542 setlocale(LC_NUMERIC
, "C");
3547 #include "wx/wxPython/pydrawxxx.h"
3549 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3551 self
->GetPixel(x
, y
, &col
);
3554 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3556 self
->GetPixel(pt
, &col
);
3561 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3563 if (PyNumber_Check(obj
)) {
3564 if (val
) *val
= PyFloat_AsDouble(obj
);
3567 return SWIG_TypeError
;
3570 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3572 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3575 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3577 self
->GetClippingBox(rect
);
3580 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3582 self
->GetPartialTextExtents(text
, widths
);
3586 #define SWIG_From_double PyFloat_FromDouble
3588 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3589 self
->SetLogicalOrigin(point
.x
, point
.y
);
3591 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3592 self
->SetDeviceOrigin(point
.x
, point
.y
);
3594 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3595 self
->CalcBoundingBox(point
.x
, point
.y
);
3597 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3598 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3600 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3601 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3603 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3604 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3606 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3607 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3609 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3610 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3612 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3613 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3616 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3624 #include <wx/dcbuffer.h>
3627 #include <wx/dcps.h>
3630 #include <wx/metafile.h>
3633 #include <wx/graphics.h>
3636 #if !wxUSE_GRAPHICS_CONTEXT
3637 // C++ stub classes for platforms or build configurations that don't have
3638 // wxGraphicsContext yet.
3640 class wxGraphicsRenderer
;
3641 class wxGraphicsMatrix
;
3644 class wxGraphicsObject
: public wxObject
3647 wxGraphicsObject() {}
3648 wxGraphicsObject( wxGraphicsRenderer
* ) {
3649 PyErr_SetString(PyExc_NotImplementedError
,
3650 "wx.GraphicsObject is not available on this platform.");
3652 wxGraphicsObject( const wxGraphicsObject
& ) {}
3653 virtual ~wxGraphicsObject() {}
3654 bool IsNull() const { return false; }
3655 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3660 class wxGraphicsPen
: public wxGraphicsObject
3664 virtual ~wxGraphicsPen() {}
3666 wxGraphicsPen wxNullGraphicsPen
;
3670 class wxGraphicsBrush
: public wxGraphicsObject
3673 wxGraphicsBrush() {}
3674 virtual ~wxGraphicsBrush() {}
3676 wxGraphicsBrush wxNullGraphicsBrush
;
3680 class wxGraphicsFont
: public wxGraphicsObject
3684 virtual ~wxGraphicsFont() {}
3686 wxGraphicsFont wxNullGraphicsFont
;
3690 class wxGraphicsPath
: public wxGraphicsObject
3693 wxGraphicsPath() { }
3694 wxGraphicsPath(wxGraphicsRenderer
* ) {
3695 PyErr_SetString(PyExc_NotImplementedError
,
3696 "wx.GraphicsPath is not available on this platform.");
3698 virtual ~wxGraphicsPath() {}
3700 void MoveToPoint( wxDouble
, wxDouble
) {}
3701 void MoveToPoint( const wxPoint2DDouble
& ) {}
3702 void AddLineToPoint( wxDouble
, wxDouble
) {}
3703 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3704 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3705 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3706 void AddPath( const wxGraphicsPath
& ) {}
3707 void CloseSubpath() {}
3708 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3709 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3710 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3711 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3713 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3714 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3715 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3716 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3718 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3719 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3720 void * GetNativePath() const { return NULL
; }
3721 void UnGetNativePath(void *) const {}
3722 void Transform( const wxGraphicsMatrix
& ) {}
3723 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3724 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3726 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3727 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3729 wxGraphicsPath wxNullGraphicsPath
;
3732 class wxGraphicsMatrix
: public wxGraphicsObject
3735 wxGraphicsMatrix() { }
3736 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3737 PyErr_SetString(PyExc_NotImplementedError
,
3738 "wx.GraphicsMatrix is not available on this platform.");
3740 virtual ~wxGraphicsMatrix() {}
3741 virtual void Concat( const wxGraphicsMatrix
& ) {}
3742 virtual void Copy( const wxGraphicsMatrix
& ) {}
3743 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3744 wxDouble
, wxDouble
) {}
3745 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3746 wxDouble
*, wxDouble
*, wxDouble
*) {}
3747 virtual void Invert() {}
3748 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3749 virtual bool IsIdentity() const { return false; }
3750 virtual void Translate( wxDouble
, wxDouble
) {}
3751 virtual void Scale( wxDouble
, wxDouble
) {}
3752 virtual void Rotate( wxDouble
) {}
3753 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3754 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3755 virtual void * GetNativeMatrix() const { return NULL
; }
3757 wxGraphicsMatrix wxNullGraphicsMatrix
;
3760 class wxGraphicsContext
: public wxGraphicsObject
3764 wxGraphicsContext(wxGraphicsRenderer
* ) {
3765 PyErr_SetString(PyExc_NotImplementedError
,
3766 "wx.GraphicsContext is not available on this platform.");
3769 virtual ~wxGraphicsContext() {}
3771 static wxGraphicsContext
* Create() {
3772 PyErr_SetString(PyExc_NotImplementedError
,
3773 "wx.GraphicsContext is not available on this platform.");
3776 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3777 PyErr_SetString(PyExc_NotImplementedError
,
3778 "wx.GraphicsContext is not available on this platform.");
3782 static wxGraphicsContext
* CreateFromNative( void * ) {
3783 PyErr_SetString(PyExc_NotImplementedError
,
3784 "wx.GraphicsContext is not available on this platform.");
3788 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3789 PyErr_SetString(PyExc_NotImplementedError
,
3790 "wx.GraphicsContext is not available on this platform.");
3794 static wxGraphicsContext
* Create( wxWindow
* ) {
3795 PyErr_SetString(PyExc_NotImplementedError
,
3796 "wx.GraphicsContext is not available on this platform.");
3800 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3802 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3804 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3806 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3807 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3809 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3810 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3811 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3813 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3815 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3816 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3818 virtual void PushState() {}
3819 virtual void PopState() {}
3820 virtual void Clip( const wxRegion
& ) {}
3821 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3822 virtual void ResetClip() {}
3823 virtual void * GetNativeContext() { return NULL
; }
3824 virtual int GetLogicalFunction() const { return 0; }
3825 virtual bool SetLogicalFunction(int ) {}
3826 virtual void Translate( wxDouble
, wxDouble
) {}
3827 virtual void Scale( wxDouble
, wxDouble
) {}
3828 virtual void Rotate( wxDouble
) {}
3829 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3830 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3831 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3833 virtual void SetPen( const wxGraphicsPen
& ) {}
3834 void SetPen( const wxPen
& ) {}
3836 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3837 void SetBrush( const wxBrush
& ) {}
3839 virtual void SetFont( const wxGraphicsFont
& ) {}
3840 void SetFont( const wxFont
&, const wxColour
& ) {}
3842 virtual void StrokePath( const wxGraphicsPath
& ) {}
3843 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3844 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3846 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3847 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3848 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3849 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3850 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3851 wxDouble
*, wxDouble
* ) const {}
3852 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3854 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3855 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3857 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3858 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3859 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3860 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3861 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3862 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3863 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3864 virtual bool ShouldOffset() const { return false; }
3868 class wxGraphicsRenderer
: public wxObject
3871 wxGraphicsRenderer() {
3872 PyErr_SetString(PyExc_NotImplementedError
,
3873 "wx.GraphicsRenderer is not available on this platform.");
3876 virtual ~wxGraphicsRenderer() {}
3878 static wxGraphicsRenderer
* GetDefaultRenderer() {
3879 PyErr_SetString(PyExc_NotImplementedError
,
3880 "wx.GraphicsRenderer is not available on this platform.");
3884 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3885 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3886 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3887 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3888 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3890 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3892 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3893 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3895 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3896 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3897 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3898 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3899 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3900 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3901 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3906 class wxGCDC
: public wxWindowDC
3909 wxGCDC(const wxWindowDC
&) {
3910 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3911 PyErr_SetString(PyExc_NotImplementedError
,
3912 "wxGCDC is not available on this platform.");
3913 wxPyEndBlockThreads(blocked
);
3916 wxGCDC(const wxWindow
*) {
3917 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3918 PyErr_SetString(PyExc_NotImplementedError
,
3919 "wxGCDC is not available on this platform.");
3920 wxPyEndBlockThreads(blocked
);
3924 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3925 PyErr_SetString(PyExc_NotImplementedError
,
3926 "wxGCDC is not available on this platform.");
3927 wxPyEndBlockThreads(blocked
);
3930 virtual ~wxGCDC() {}
3932 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3933 void SetGraphicsContext( wxGraphicsContext
* ) {}
3938 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3939 if ( !backgroundBrush
.IsNull() )
3940 self
->DrawText(str
, x
, y
, backgroundBrush
);
3942 self
->DrawText(str
, x
, y
);
3944 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3945 if ( !backgroundBrush
.IsNull() )
3946 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3948 self
->DrawText(str
, x
, y
, angle
);
3950 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3951 wxDouble width
= 0.0,
3953 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3954 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3955 PyObject
* rv
= PyTuple_New(2);
3956 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3957 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3960 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3961 wxArrayDouble widths
;
3962 self
->GetPartialTextExtents(text
, widths
);
3965 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3966 size_t c1
, c2
, count
;
3967 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3968 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3970 if ( beginP
!= NULL
&& endP
!= NULL
)
3972 count
= wxMin(c1
, c2
);
3973 self
->StrokeLines(count
, beginP
, endP
);
3979 #include "wx/dcgraph.h"
3982 #include <wx/overlay.h>
3986 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3987 self
->AddColour(name
, wxColour(red
, green
, blue
));
3990 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3991 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3992 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3993 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3996 #include <wx/effects.h>
3999 #include "wx/renderer.h"
4002 SWIGINTERNINLINE PyObject
*
4003 SWIG_From_bool (bool value
)
4005 return PyBool_FromLong(value
? 1 : 0);
4009 #include "wx/wxPython/pseudodc.h"
4011 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
4013 self
->GetIdBounds(id
, rect
);
4019 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4020 PyObject
*resultobj
= 0;
4021 wxGDIObject
*result
= 0 ;
4023 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4025 if (!wxPyCheckForApp()) SWIG_fail
;
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 result
= (wxGDIObject
*)new wxGDIObject();
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4038 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4039 PyObject
*resultobj
= 0;
4040 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4043 PyObject
*swig_obj
[1] ;
4045 if (!args
) SWIG_fail
;
4047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4048 if (!SWIG_IsOK(res1
)) {
4049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4051 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 wxPyEndAllowThreads(__tstate
);
4057 if (PyErr_Occurred()) SWIG_fail
;
4059 resultobj
= SWIG_Py_Void();
4066 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4067 PyObject
*resultobj
= 0;
4068 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4072 PyObject
*swig_obj
[1] ;
4074 if (!args
) SWIG_fail
;
4076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4077 if (!SWIG_IsOK(res1
)) {
4078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4080 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 result
= (bool)(arg1
)->IsNull();
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4096 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4098 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4099 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4100 return SWIG_Py_Void();
4103 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4104 return SWIG_Python_InitShadowInstance(args
);
4107 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
= 0;
4109 byte arg1
= (byte
) 0 ;
4110 byte arg2
= (byte
) 0 ;
4111 byte arg3
= (byte
) 0 ;
4112 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4113 wxColour
*result
= 0 ;
4114 unsigned char val1
;
4116 unsigned char val2
;
4118 unsigned char val3
;
4120 unsigned char val4
;
4122 PyObject
* obj0
= 0 ;
4123 PyObject
* obj1
= 0 ;
4124 PyObject
* obj2
= 0 ;
4125 PyObject
* obj3
= 0 ;
4126 char * kwnames
[] = {
4127 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4132 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4133 if (!SWIG_IsOK(ecode1
)) {
4134 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4136 arg1
= static_cast< byte
>(val1
);
4139 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4140 if (!SWIG_IsOK(ecode2
)) {
4141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4143 arg2
= static_cast< byte
>(val2
);
4146 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4147 if (!SWIG_IsOK(ecode3
)) {
4148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4150 arg3
= static_cast< byte
>(val3
);
4153 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4154 if (!SWIG_IsOK(ecode4
)) {
4155 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4157 arg4
= static_cast< byte
>(val4
);
4160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4161 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) SWIG_fail
;
4165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4172 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
*resultobj
= 0;
4174 wxString
*arg1
= 0 ;
4175 wxColour
*result
= 0 ;
4176 bool temp1
= false ;
4177 PyObject
* obj0
= 0 ;
4178 char * kwnames
[] = {
4179 (char *) "colorName", NULL
4182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4184 arg1
= wxString_in_helper(obj0
);
4185 if (arg1
== NULL
) SWIG_fail
;
4189 if (!wxPyCheckForApp()) SWIG_fail
;
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4192 wxPyEndAllowThreads(__tstate
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4210 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
= 0;
4212 unsigned long arg1
;
4213 wxColour
*result
= 0 ;
4214 unsigned long val1
;
4216 PyObject
* obj0
= 0 ;
4217 char * kwnames
[] = {
4218 (char *) "colRGB", NULL
4221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4222 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4223 if (!SWIG_IsOK(ecode1
)) {
4224 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4226 arg1
= static_cast< unsigned long >(val1
);
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 result
= (wxColour
*)new wxColour(arg1
);
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4240 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4241 PyObject
*resultobj
= 0;
4242 wxColour
*arg1
= (wxColour
*) 0 ;
4245 PyObject
*swig_obj
[1] ;
4247 if (!args
) SWIG_fail
;
4249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4250 if (!SWIG_IsOK(res1
)) {
4251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4253 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4261 resultobj
= SWIG_Py_Void();
4268 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4269 PyObject
*resultobj
= 0;
4270 wxColour
*arg1
= (wxColour
*) 0 ;
4274 PyObject
*swig_obj
[1] ;
4276 if (!args
) SWIG_fail
;
4278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4279 if (!SWIG_IsOK(res1
)) {
4280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4282 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4285 result
= (byte
)(arg1
)->Red();
4286 wxPyEndAllowThreads(__tstate
);
4287 if (PyErr_Occurred()) SWIG_fail
;
4289 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4296 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4297 PyObject
*resultobj
= 0;
4298 wxColour
*arg1
= (wxColour
*) 0 ;
4302 PyObject
*swig_obj
[1] ;
4304 if (!args
) SWIG_fail
;
4306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4307 if (!SWIG_IsOK(res1
)) {
4308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4310 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 result
= (byte
)(arg1
)->Green();
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4317 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4324 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4325 PyObject
*resultobj
= 0;
4326 wxColour
*arg1
= (wxColour
*) 0 ;
4330 PyObject
*swig_obj
[1] ;
4332 if (!args
) SWIG_fail
;
4334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4335 if (!SWIG_IsOK(res1
)) {
4336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4338 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 result
= (byte
)(arg1
)->Blue();
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4345 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4352 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4353 PyObject
*resultobj
= 0;
4354 wxColour
*arg1
= (wxColour
*) 0 ;
4358 PyObject
*swig_obj
[1] ;
4360 if (!args
) SWIG_fail
;
4362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4363 if (!SWIG_IsOK(res1
)) {
4364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4366 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 result
= (byte
)(arg1
)->Alpha();
4370 wxPyEndAllowThreads(__tstate
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4373 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4380 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4381 PyObject
*resultobj
= 0;
4382 wxColour
*arg1
= (wxColour
*) 0 ;
4386 PyObject
*swig_obj
[1] ;
4388 if (!args
) SWIG_fail
;
4390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4391 if (!SWIG_IsOK(res1
)) {
4392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4394 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4397 result
= (bool)(arg1
)->IsOk();
4398 wxPyEndAllowThreads(__tstate
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4410 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
*resultobj
= 0;
4412 wxColour
*arg1
= (wxColour
*) 0 ;
4416 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4419 unsigned char val2
;
4421 unsigned char val3
;
4423 unsigned char val4
;
4425 unsigned char val5
;
4427 PyObject
* obj0
= 0 ;
4428 PyObject
* obj1
= 0 ;
4429 PyObject
* obj2
= 0 ;
4430 PyObject
* obj3
= 0 ;
4431 PyObject
* obj4
= 0 ;
4432 char * kwnames
[] = {
4433 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4438 if (!SWIG_IsOK(res1
)) {
4439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4441 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4442 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4443 if (!SWIG_IsOK(ecode2
)) {
4444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4446 arg2
= static_cast< byte
>(val2
);
4447 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4448 if (!SWIG_IsOK(ecode3
)) {
4449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4451 arg3
= static_cast< byte
>(val3
);
4452 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4453 if (!SWIG_IsOK(ecode4
)) {
4454 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4456 arg4
= static_cast< byte
>(val4
);
4458 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4459 if (!SWIG_IsOK(ecode5
)) {
4460 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4462 arg5
= static_cast< byte
>(val5
);
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4470 resultobj
= SWIG_Py_Void();
4477 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
*resultobj
= 0;
4479 wxColour
*arg1
= (wxColour
*) 0 ;
4480 unsigned long arg2
;
4483 unsigned long val2
;
4485 PyObject
* obj0
= 0 ;
4486 PyObject
* obj1
= 0 ;
4487 char * kwnames
[] = {
4488 (char *) "self",(char *) "colRGB", NULL
4491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4493 if (!SWIG_IsOK(res1
)) {
4494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4496 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4497 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4498 if (!SWIG_IsOK(ecode2
)) {
4499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4501 arg2
= static_cast< unsigned long >(val2
);
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4508 resultobj
= SWIG_Py_Void();
4515 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
*resultobj
= 0;
4517 wxColour
*arg1
= (wxColour
*) 0 ;
4518 wxString
*arg2
= 0 ;
4521 bool temp2
= false ;
4522 PyObject
* obj0
= 0 ;
4523 PyObject
* obj1
= 0 ;
4524 char * kwnames
[] = {
4525 (char *) "self",(char *) "colourName", NULL
4528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4530 if (!SWIG_IsOK(res1
)) {
4531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4533 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4535 arg2
= wxString_in_helper(obj1
);
4536 if (arg2
== NULL
) SWIG_fail
;
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 (arg1
)->Set((wxString
const &)*arg2
);
4542 wxPyEndAllowThreads(__tstate
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4545 resultobj
= SWIG_Py_Void();
4560 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
*resultobj
= 0;
4562 wxColour
*arg1
= (wxColour
*) 0 ;
4563 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4569 PyObject
* obj0
= 0 ;
4570 PyObject
* obj1
= 0 ;
4571 char * kwnames
[] = {
4572 (char *) "self",(char *) "flags", NULL
4575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4577 if (!SWIG_IsOK(res1
)) {
4578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4580 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4582 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4583 if (!SWIG_IsOK(ecode2
)) {
4584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4586 arg2
= static_cast< long >(val2
);
4589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4590 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4598 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4607 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4608 PyObject
*resultobj
= 0;
4609 wxColour
*arg1
= (wxColour
*) 0 ;
4613 PyObject
*swig_obj
[1] ;
4615 if (!args
) SWIG_fail
;
4617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4618 if (!SWIG_IsOK(res1
)) {
4619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4621 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4628 resultobj
= SWIG_From_long(static_cast< long >(result
));
4635 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
*resultobj
= 0;
4637 wxColour
*arg1
= (wxColour
*) 0 ;
4638 PyObject
*arg2
= (PyObject
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4643 PyObject
* obj1
= 0 ;
4644 char * kwnames
[] = {
4645 (char *) "self",(char *) "other", NULL
4648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4650 if (!SWIG_IsOK(res1
)) {
4651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4653 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4656 result
= (bool)wxColour___eq__(arg1
,arg2
);
4657 if (PyErr_Occurred()) SWIG_fail
;
4660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4668 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
= 0;
4670 wxColour
*arg1
= (wxColour
*) 0 ;
4671 PyObject
*arg2
= (PyObject
*) 0 ;
4675 PyObject
* obj0
= 0 ;
4676 PyObject
* obj1
= 0 ;
4677 char * kwnames
[] = {
4678 (char *) "self",(char *) "other", NULL
4681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4683 if (!SWIG_IsOK(res1
)) {
4684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4686 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4689 result
= (bool)wxColour___ne__(arg1
,arg2
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4701 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4702 PyObject
*resultobj
= 0;
4703 wxColour
*arg1
= (wxColour
*) 0 ;
4704 bool arg2
= (bool) false ;
4705 PyObject
*result
= 0 ;
4710 PyObject
* obj0
= 0 ;
4711 PyObject
* obj1
= 0 ;
4712 char * kwnames
[] = {
4713 (char *) "self",(char *) "includeAlpha", NULL
4716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4718 if (!SWIG_IsOK(res1
)) {
4719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4721 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4723 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4724 if (!SWIG_IsOK(ecode2
)) {
4725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4727 arg2
= static_cast< bool >(val2
);
4730 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4740 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4741 PyObject
*resultobj
= 0;
4742 wxColour
*arg1
= (wxColour
*) 0 ;
4743 unsigned long result
;
4746 PyObject
*swig_obj
[1] ;
4748 if (!args
) SWIG_fail
;
4750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4751 if (!SWIG_IsOK(res1
)) {
4752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4754 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4756 result
= (unsigned long)wxColour_GetRGB(arg1
);
4757 if (PyErr_Occurred()) SWIG_fail
;
4759 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4766 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4768 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4769 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4770 return SWIG_Py_Void();
4773 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4774 return SWIG_Python_InitShadowInstance(args
);
4777 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
*resultobj
= 0;
4780 unsigned char *arg2
= (unsigned char *) 0 ;
4781 unsigned char *arg3
= (unsigned char *) 0 ;
4782 unsigned char *arg4
= (unsigned char *) 0 ;
4783 wxPalette
*result
= 0 ;
4792 PyObject
* obj0
= 0 ;
4793 PyObject
* obj1
= 0 ;
4794 PyObject
* obj2
= 0 ;
4795 PyObject
* obj3
= 0 ;
4796 char * kwnames
[] = {
4797 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4801 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4802 if (!SWIG_IsOK(ecode1
)) {
4803 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4805 arg1
= static_cast< int >(val1
);
4806 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4807 if (!SWIG_IsOK(res2
)) {
4808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4810 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4811 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4812 if (!SWIG_IsOK(res3
)) {
4813 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4815 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4816 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4817 if (!SWIG_IsOK(res4
)) {
4818 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4820 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4822 if (!wxPyCheckForApp()) SWIG_fail
;
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4824 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4835 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4836 PyObject
*resultobj
= 0;
4837 wxPalette
*arg1
= (wxPalette
*) 0 ;
4840 PyObject
*swig_obj
[1] ;
4842 if (!args
) SWIG_fail
;
4844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4845 if (!SWIG_IsOK(res1
)) {
4846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4848 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4856 resultobj
= SWIG_Py_Void();
4863 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
*resultobj
= 0;
4865 wxPalette
*arg1
= (wxPalette
*) 0 ;
4872 unsigned char val2
;
4874 unsigned char val3
;
4876 unsigned char val4
;
4878 PyObject
* obj0
= 0 ;
4879 PyObject
* obj1
= 0 ;
4880 PyObject
* obj2
= 0 ;
4881 PyObject
* obj3
= 0 ;
4882 char * kwnames
[] = {
4883 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4888 if (!SWIG_IsOK(res1
)) {
4889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4891 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4892 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4893 if (!SWIG_IsOK(ecode2
)) {
4894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4896 arg2
= static_cast< byte
>(val2
);
4897 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4898 if (!SWIG_IsOK(ecode3
)) {
4899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4901 arg3
= static_cast< byte
>(val3
);
4902 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4903 if (!SWIG_IsOK(ecode4
)) {
4904 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4906 arg4
= static_cast< byte
>(val4
);
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4910 wxPyEndAllowThreads(__tstate
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4913 resultobj
= SWIG_From_int(static_cast< int >(result
));
4920 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
*resultobj
= 0;
4922 wxPalette
*arg1
= (wxPalette
*) 0 ;
4924 byte
*arg3
= (byte
*) 0 ;
4925 byte
*arg4
= (byte
*) 0 ;
4926 byte
*arg5
= (byte
*) 0 ;
4933 int res3
= SWIG_TMPOBJ
;
4935 int res4
= SWIG_TMPOBJ
;
4937 int res5
= SWIG_TMPOBJ
;
4938 PyObject
* obj0
= 0 ;
4939 PyObject
* obj1
= 0 ;
4940 char * kwnames
[] = {
4941 (char *) "self",(char *) "pixel", NULL
4947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4949 if (!SWIG_IsOK(res1
)) {
4950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4952 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4954 if (!SWIG_IsOK(ecode2
)) {
4955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4957 arg2
= static_cast< int >(val2
);
4959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4960 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4967 if (SWIG_IsTmpObj(res3
)) {
4968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4970 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4973 if (SWIG_IsTmpObj(res4
)) {
4974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4976 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4979 if (SWIG_IsTmpObj(res5
)) {
4980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4982 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4983 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4991 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4992 PyObject
*resultobj
= 0;
4993 wxPalette
*arg1
= (wxPalette
*) 0 ;
4997 PyObject
*swig_obj
[1] ;
4999 if (!args
) SWIG_fail
;
5001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5002 if (!SWIG_IsOK(res1
)) {
5003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
5005 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= SWIG_From_int(static_cast< int >(result
));
5019 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5020 PyObject
*resultobj
= 0;
5021 wxPalette
*arg1
= (wxPalette
*) 0 ;
5025 PyObject
*swig_obj
[1] ;
5027 if (!args
) SWIG_fail
;
5029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5030 if (!SWIG_IsOK(res1
)) {
5031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5033 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 result
= (bool)(arg1
)->IsOk();
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5049 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5051 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5052 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5053 return SWIG_Py_Void();
5056 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5057 return SWIG_Python_InitShadowInstance(args
);
5060 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
= 0;
5062 wxColour
*arg1
= 0 ;
5063 int arg2
= (int) 1 ;
5064 int arg3
= (int) wxSOLID
;
5071 PyObject
* obj0
= 0 ;
5072 PyObject
* obj1
= 0 ;
5073 PyObject
* obj2
= 0 ;
5074 char * kwnames
[] = {
5075 (char *) "colour",(char *) "width",(char *) "style", NULL
5078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5081 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5085 if (!SWIG_IsOK(ecode2
)) {
5086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5088 arg2
= static_cast< int >(val2
);
5091 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5092 if (!SWIG_IsOK(ecode3
)) {
5093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5095 arg3
= static_cast< int >(val3
);
5098 if (!wxPyCheckForApp()) SWIG_fail
;
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5111 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5112 PyObject
*resultobj
= 0;
5113 wxPen
*arg1
= (wxPen
*) 0 ;
5116 PyObject
*swig_obj
[1] ;
5118 if (!args
) SWIG_fail
;
5120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5121 if (!SWIG_IsOK(res1
)) {
5122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5124 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5132 resultobj
= SWIG_Py_Void();
5139 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5140 PyObject
*resultobj
= 0;
5141 wxPen
*arg1
= (wxPen
*) 0 ;
5145 PyObject
*swig_obj
[1] ;
5147 if (!args
) SWIG_fail
;
5149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5150 if (!SWIG_IsOK(res1
)) {
5151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5153 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 result
= (int)(arg1
)->GetCap();
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5160 resultobj
= SWIG_From_int(static_cast< int >(result
));
5167 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5168 PyObject
*resultobj
= 0;
5169 wxPen
*arg1
= (wxPen
*) 0 ;
5173 PyObject
*swig_obj
[1] ;
5175 if (!args
) SWIG_fail
;
5177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5178 if (!SWIG_IsOK(res1
)) {
5179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5181 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 result
= (arg1
)->GetColour();
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5195 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5196 PyObject
*resultobj
= 0;
5197 wxPen
*arg1
= (wxPen
*) 0 ;
5201 PyObject
*swig_obj
[1] ;
5203 if (!args
) SWIG_fail
;
5205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5206 if (!SWIG_IsOK(res1
)) {
5207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5209 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 result
= (int)(arg1
)->GetJoin();
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5216 resultobj
= SWIG_From_int(static_cast< int >(result
));
5223 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5224 PyObject
*resultobj
= 0;
5225 wxPen
*arg1
= (wxPen
*) 0 ;
5229 PyObject
*swig_obj
[1] ;
5231 if (!args
) SWIG_fail
;
5233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5234 if (!SWIG_IsOK(res1
)) {
5235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5237 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 result
= (int)(arg1
)->GetStyle();
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5244 resultobj
= SWIG_From_int(static_cast< int >(result
));
5251 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5252 PyObject
*resultobj
= 0;
5253 wxPen
*arg1
= (wxPen
*) 0 ;
5257 PyObject
*swig_obj
[1] ;
5259 if (!args
) SWIG_fail
;
5261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5262 if (!SWIG_IsOK(res1
)) {
5263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5265 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5268 result
= (int)(arg1
)->GetWidth();
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5272 resultobj
= SWIG_From_int(static_cast< int >(result
));
5279 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5280 PyObject
*resultobj
= 0;
5281 wxPen
*arg1
= (wxPen
*) 0 ;
5285 PyObject
*swig_obj
[1] ;
5287 if (!args
) SWIG_fail
;
5289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5290 if (!SWIG_IsOK(res1
)) {
5291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5293 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 result
= (bool)(arg1
)->IsOk();
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5309 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
*resultobj
= 0;
5311 wxPen
*arg1
= (wxPen
*) 0 ;
5317 PyObject
* obj0
= 0 ;
5318 PyObject
* obj1
= 0 ;
5319 char * kwnames
[] = {
5320 (char *) "self",(char *) "cap_style", NULL
5323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5325 if (!SWIG_IsOK(res1
)) {
5326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5328 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5330 if (!SWIG_IsOK(ecode2
)) {
5331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5333 arg2
= static_cast< int >(val2
);
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 (arg1
)->SetCap(arg2
);
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5340 resultobj
= SWIG_Py_Void();
5347 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
*resultobj
= 0;
5349 wxPen
*arg1
= (wxPen
*) 0 ;
5350 wxColour
*arg2
= 0 ;
5354 PyObject
* obj0
= 0 ;
5355 PyObject
* obj1
= 0 ;
5356 char * kwnames
[] = {
5357 (char *) "self",(char *) "colour", NULL
5360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5362 if (!SWIG_IsOK(res1
)) {
5363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5365 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5368 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5372 (arg1
)->SetColour(*arg2
);
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5376 resultobj
= SWIG_Py_Void();
5383 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
*resultobj
= 0;
5385 wxPen
*arg1
= (wxPen
*) 0 ;
5391 PyObject
* obj0
= 0 ;
5392 PyObject
* obj1
= 0 ;
5393 char * kwnames
[] = {
5394 (char *) "self",(char *) "join_style", NULL
5397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5399 if (!SWIG_IsOK(res1
)) {
5400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5402 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5404 if (!SWIG_IsOK(ecode2
)) {
5405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5407 arg2
= static_cast< int >(val2
);
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 (arg1
)->SetJoin(arg2
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= SWIG_Py_Void();
5421 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
*resultobj
= 0;
5423 wxPen
*arg1
= (wxPen
*) 0 ;
5429 PyObject
* obj0
= 0 ;
5430 PyObject
* obj1
= 0 ;
5431 char * kwnames
[] = {
5432 (char *) "self",(char *) "style", NULL
5435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5437 if (!SWIG_IsOK(res1
)) {
5438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5440 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5442 if (!SWIG_IsOK(ecode2
)) {
5443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5445 arg2
= static_cast< int >(val2
);
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 (arg1
)->SetStyle(arg2
);
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) SWIG_fail
;
5452 resultobj
= SWIG_Py_Void();
5459 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
*resultobj
= 0;
5461 wxPen
*arg1
= (wxPen
*) 0 ;
5467 PyObject
* obj0
= 0 ;
5468 PyObject
* obj1
= 0 ;
5469 char * kwnames
[] = {
5470 (char *) "self",(char *) "width", NULL
5473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5475 if (!SWIG_IsOK(res1
)) {
5476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5478 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5480 if (!SWIG_IsOK(ecode2
)) {
5481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5483 arg2
= static_cast< int >(val2
);
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 (arg1
)->SetWidth(arg2
);
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5490 resultobj
= SWIG_Py_Void();
5497 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5498 PyObject
*resultobj
= 0;
5499 wxPen
*arg1
= (wxPen
*) 0 ;
5501 wxDash
*arg3
= (wxDash
*) 0 ;
5504 PyObject
* obj0
= 0 ;
5505 PyObject
* obj1
= 0 ;
5506 char * kwnames
[] = {
5507 (char *) "self",(char *) "dashes", NULL
5510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5512 if (!SWIG_IsOK(res1
)) {
5513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5515 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5517 arg2
= PyList_Size(obj1
);
5518 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5519 if (arg3
== NULL
) SWIG_fail
;
5522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5523 (arg1
)->SetDashes(arg2
,arg3
);
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5527 resultobj
= SWIG_Py_Void();
5529 if (arg3
) delete [] arg3
;
5534 if (arg3
) delete [] arg3
;
5540 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5541 PyObject
*resultobj
= 0;
5542 wxPen
*arg1
= (wxPen
*) 0 ;
5543 PyObject
*result
= 0 ;
5546 PyObject
*swig_obj
[1] ;
5548 if (!args
) SWIG_fail
;
5550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5551 if (!SWIG_IsOK(res1
)) {
5552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5554 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5568 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
= 0;
5570 wxPen
*arg1
= (wxPen
*) 0 ;
5571 PyObject
*arg2
= (PyObject
*) 0 ;
5572 PyObject
*arg3
= (PyObject
*) 0 ;
5575 PyObject
* obj0
= 0 ;
5576 PyObject
* obj1
= 0 ;
5577 PyObject
* obj2
= 0 ;
5578 char * kwnames
[] = {
5579 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5584 if (!SWIG_IsOK(res1
)) {
5585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5587 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 wxPen__SetDashes(arg1
,arg2
,arg3
);
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 resultobj
= SWIG_Py_Void();
5603 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
= 0;
5605 wxPen
*arg1
= (wxPen
*) 0 ;
5606 wxPen
*arg2
= (wxPen
*) 0 ;
5612 PyObject
* obj0
= 0 ;
5613 PyObject
* obj1
= 0 ;
5614 char * kwnames
[] = {
5615 (char *) "self",(char *) "other", NULL
5618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5620 if (!SWIG_IsOK(res1
)) {
5621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5623 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5624 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5625 if (!SWIG_IsOK(res2
)) {
5626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5628 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5644 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5645 PyObject
*resultobj
= 0;
5646 wxPen
*arg1
= (wxPen
*) 0 ;
5647 wxPen
*arg2
= (wxPen
*) 0 ;
5653 PyObject
* obj0
= 0 ;
5654 PyObject
* obj1
= 0 ;
5655 char * kwnames
[] = {
5656 (char *) "self",(char *) "other", NULL
5659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5661 if (!SWIG_IsOK(res1
)) {
5662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5664 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5665 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5666 if (!SWIG_IsOK(res2
)) {
5667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5669 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5685 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5687 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5688 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5689 return SWIG_Py_Void();
5692 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5693 return SWIG_Python_InitShadowInstance(args
);
5696 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
*resultobj
= 0;
5698 wxColour
*arg1
= 0 ;
5699 int arg2
= (int) wxSOLID
;
5700 wxBrush
*result
= 0 ;
5704 PyObject
* obj0
= 0 ;
5705 PyObject
* obj1
= 0 ;
5706 char * kwnames
[] = {
5707 (char *) "colour",(char *) "style", NULL
5710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5713 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5717 if (!SWIG_IsOK(ecode2
)) {
5718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5720 arg2
= static_cast< int >(val2
);
5723 if (!wxPyCheckForApp()) SWIG_fail
;
5724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5736 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
*resultobj
= 0;
5738 wxBitmap
*arg1
= 0 ;
5739 wxBrush
*result
= 0 ;
5742 PyObject
* obj0
= 0 ;
5743 char * kwnames
[] = {
5744 (char *) "stippleBitmap", NULL
5747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5748 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5749 if (!SWIG_IsOK(res1
)) {
5750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5755 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5757 if (!wxPyCheckForApp()) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5770 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5771 PyObject
*resultobj
= 0;
5772 wxBrush
*arg1
= (wxBrush
*) 0 ;
5775 PyObject
*swig_obj
[1] ;
5777 if (!args
) SWIG_fail
;
5779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5780 if (!SWIG_IsOK(res1
)) {
5781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5783 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= SWIG_Py_Void();
5798 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
*resultobj
= 0;
5800 wxBrush
*arg1
= (wxBrush
*) 0 ;
5801 wxColour
*arg2
= 0 ;
5805 PyObject
* obj0
= 0 ;
5806 PyObject
* obj1
= 0 ;
5807 char * kwnames
[] = {
5808 (char *) "self",(char *) "col", NULL
5811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5813 if (!SWIG_IsOK(res1
)) {
5814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5816 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5819 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 (arg1
)->SetColour((wxColour
const &)*arg2
);
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 resultobj
= SWIG_Py_Void();
5834 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
= 0;
5836 wxBrush
*arg1
= (wxBrush
*) 0 ;
5842 PyObject
* obj0
= 0 ;
5843 PyObject
* obj1
= 0 ;
5844 char * kwnames
[] = {
5845 (char *) "self",(char *) "style", NULL
5848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5850 if (!SWIG_IsOK(res1
)) {
5851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5853 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5855 if (!SWIG_IsOK(ecode2
)) {
5856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5858 arg2
= static_cast< int >(val2
);
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 (arg1
)->SetStyle(arg2
);
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5865 resultobj
= SWIG_Py_Void();
5872 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
*resultobj
= 0;
5874 wxBrush
*arg1
= (wxBrush
*) 0 ;
5875 wxBitmap
*arg2
= 0 ;
5880 PyObject
* obj0
= 0 ;
5881 PyObject
* obj1
= 0 ;
5882 char * kwnames
[] = {
5883 (char *) "self",(char *) "stipple", NULL
5886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5888 if (!SWIG_IsOK(res1
)) {
5889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5891 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5892 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5893 if (!SWIG_IsOK(res2
)) {
5894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5899 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5903 wxPyEndAllowThreads(__tstate
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5906 resultobj
= SWIG_Py_Void();
5913 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5914 PyObject
*resultobj
= 0;
5915 wxBrush
*arg1
= (wxBrush
*) 0 ;
5919 PyObject
*swig_obj
[1] ;
5921 if (!args
) SWIG_fail
;
5923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5924 if (!SWIG_IsOK(res1
)) {
5925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5927 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5930 result
= ((wxBrush
const *)arg1
)->GetColour();
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5934 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5941 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5942 PyObject
*resultobj
= 0;
5943 wxBrush
*arg1
= (wxBrush
*) 0 ;
5947 PyObject
*swig_obj
[1] ;
5949 if (!args
) SWIG_fail
;
5951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5952 if (!SWIG_IsOK(res1
)) {
5953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5955 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) SWIG_fail
;
5962 resultobj
= SWIG_From_int(static_cast< int >(result
));
5969 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5970 PyObject
*resultobj
= 0;
5971 wxBrush
*arg1
= (wxBrush
*) 0 ;
5972 wxBitmap
*result
= 0 ;
5975 PyObject
*swig_obj
[1] ;
5977 if (!args
) SWIG_fail
;
5979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5980 if (!SWIG_IsOK(res1
)) {
5981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5983 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5997 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5998 PyObject
*resultobj
= 0;
5999 wxBrush
*arg1
= (wxBrush
*) 0 ;
6003 PyObject
*swig_obj
[1] ;
6005 if (!args
) SWIG_fail
;
6007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6008 if (!SWIG_IsOK(res1
)) {
6009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6011 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6027 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6028 PyObject
*resultobj
= 0;
6029 wxBrush
*arg1
= (wxBrush
*) 0 ;
6033 PyObject
*swig_obj
[1] ;
6035 if (!args
) SWIG_fail
;
6037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6038 if (!SWIG_IsOK(res1
)) {
6039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6041 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 result
= (bool)(arg1
)->IsOk();
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6057 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6058 PyObject
*resultobj
= 0;
6059 wxBrush
*arg1
= (wxBrush
*) 0 ;
6063 PyObject
*swig_obj
[1] ;
6065 if (!args
) SWIG_fail
;
6067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6068 if (!SWIG_IsOK(res1
)) {
6069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6071 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6074 result
= (short)(arg1
)->MacGetTheme();
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6078 resultobj
= SWIG_From_short(static_cast< short >(result
));
6085 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
= 0;
6087 wxBrush
*arg1
= (wxBrush
*) 0 ;
6093 PyObject
* obj0
= 0 ;
6094 PyObject
* obj1
= 0 ;
6095 char * kwnames
[] = {
6096 (char *) "self",(char *) "macThemeBrush", NULL
6099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6101 if (!SWIG_IsOK(res1
)) {
6102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6104 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6105 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
6106 if (!SWIG_IsOK(ecode2
)) {
6107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
6109 arg2
= static_cast< short >(val2
);
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 (arg1
)->MacSetTheme(arg2
);
6113 wxPyEndAllowThreads(__tstate
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6116 resultobj
= SWIG_Py_Void();
6123 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6125 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6126 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6127 return SWIG_Py_Void();
6130 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6131 return SWIG_Python_InitShadowInstance(args
);
6134 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
= 0;
6136 wxString
*arg1
= 0 ;
6137 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6138 wxBitmap
*result
= 0 ;
6139 bool temp1
= false ;
6142 PyObject
* obj0
= 0 ;
6143 PyObject
* obj1
= 0 ;
6144 char * kwnames
[] = {
6145 (char *) "name",(char *) "type", NULL
6148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6150 arg1
= wxString_in_helper(obj0
);
6151 if (arg1
== NULL
) SWIG_fail
;
6155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6156 if (!SWIG_IsOK(ecode2
)) {
6157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6159 arg2
= static_cast< wxBitmapType
>(val2
);
6162 if (!wxPyCheckForApp()) SWIG_fail
;
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6165 wxPyEndAllowThreads(__tstate
);
6166 if (PyErr_Occurred()) SWIG_fail
;
6168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6183 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6184 PyObject
*resultobj
= 0;
6185 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6188 PyObject
*swig_obj
[1] ;
6190 if (!args
) SWIG_fail
;
6192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6193 if (!SWIG_IsOK(res1
)) {
6194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6196 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6200 if (PyErr_Occurred()) SWIG_fail
;
6202 resultobj
= SWIG_Py_Void();
6209 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
*resultobj
= 0;
6213 int arg3
= (int) -1 ;
6214 wxBitmap
*result
= 0 ;
6221 PyObject
* obj0
= 0 ;
6222 PyObject
* obj1
= 0 ;
6223 PyObject
* obj2
= 0 ;
6224 char * kwnames
[] = {
6225 (char *) "width",(char *) "height",(char *) "depth", NULL
6228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6229 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6230 if (!SWIG_IsOK(ecode1
)) {
6231 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6233 arg1
= static_cast< int >(val1
);
6234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6235 if (!SWIG_IsOK(ecode2
)) {
6236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6238 arg2
= static_cast< int >(val2
);
6240 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6241 if (!SWIG_IsOK(ecode3
)) {
6242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6244 arg3
= static_cast< int >(val3
);
6247 if (!wxPyCheckForApp()) SWIG_fail
;
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6260 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
= 0;
6263 wxBitmap
*result
= 0 ;
6266 PyObject
* obj0
= 0 ;
6267 char * kwnames
[] = {
6268 (char *) "icon", NULL
6271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6272 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6273 if (!SWIG_IsOK(res1
)) {
6274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6279 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6281 if (!wxPyCheckForApp()) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6294 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
= 0;
6297 int arg2
= (int) -1 ;
6298 wxBitmap
*result
= 0 ;
6303 PyObject
* obj0
= 0 ;
6304 PyObject
* obj1
= 0 ;
6305 char * kwnames
[] = {
6306 (char *) "image",(char *) "depth", NULL
6309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6310 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6311 if (!SWIG_IsOK(res1
)) {
6312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6317 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6320 if (!SWIG_IsOK(ecode2
)) {
6321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6323 arg2
= static_cast< int >(val2
);
6326 if (!wxPyCheckForApp()) SWIG_fail
;
6327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6328 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) SWIG_fail
;
6332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6339 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
= 0;
6341 PyObject
*arg1
= (PyObject
*) 0 ;
6342 wxBitmap
*result
= 0 ;
6343 PyObject
* obj0
= 0 ;
6344 char * kwnames
[] = {
6345 (char *) "listOfStrings", NULL
6348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6351 if (!wxPyCheckForApp()) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6354 wxPyEndAllowThreads(__tstate
);
6355 if (PyErr_Occurred()) SWIG_fail
;
6357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6364 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
*resultobj
= 0;
6366 PyObject
*arg1
= (PyObject
*) 0 ;
6369 int arg4
= (int) 1 ;
6370 wxBitmap
*result
= 0 ;
6377 PyObject
* obj0
= 0 ;
6378 PyObject
* obj1
= 0 ;
6379 PyObject
* obj2
= 0 ;
6380 PyObject
* obj3
= 0 ;
6381 char * kwnames
[] = {
6382 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6388 if (!SWIG_IsOK(ecode2
)) {
6389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6391 arg2
= static_cast< int >(val2
);
6392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6393 if (!SWIG_IsOK(ecode3
)) {
6394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6396 arg3
= static_cast< int >(val3
);
6398 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6399 if (!SWIG_IsOK(ecode4
)) {
6400 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6402 arg4
= static_cast< int >(val4
);
6405 if (!wxPyCheckForApp()) SWIG_fail
;
6406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6407 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6408 wxPyEndAllowThreads(__tstate
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6418 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6419 PyObject
*resultobj
= 0;
6420 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6424 PyObject
*swig_obj
[1] ;
6426 if (!args
) SWIG_fail
;
6428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6429 if (!SWIG_IsOK(res1
)) {
6430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6432 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6434 result
= (bool)(arg1
)->IsOk();
6435 if (PyErr_Occurred()) SWIG_fail
;
6438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6446 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6447 PyObject
*resultobj
= 0;
6448 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6452 PyObject
*swig_obj
[1] ;
6454 if (!args
) SWIG_fail
;
6456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6457 if (!SWIG_IsOK(res1
)) {
6458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6460 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6462 result
= (int)(arg1
)->GetWidth();
6463 if (PyErr_Occurred()) SWIG_fail
;
6465 resultobj
= SWIG_From_int(static_cast< int >(result
));
6472 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6473 PyObject
*resultobj
= 0;
6474 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6478 PyObject
*swig_obj
[1] ;
6480 if (!args
) SWIG_fail
;
6482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6483 if (!SWIG_IsOK(res1
)) {
6484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6486 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6488 result
= (int)(arg1
)->GetHeight();
6489 if (PyErr_Occurred()) SWIG_fail
;
6491 resultobj
= SWIG_From_int(static_cast< int >(result
));
6498 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6499 PyObject
*resultobj
= 0;
6500 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6504 PyObject
*swig_obj
[1] ;
6506 if (!args
) SWIG_fail
;
6508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6509 if (!SWIG_IsOK(res1
)) {
6510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6512 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6514 result
= (int)(arg1
)->GetDepth();
6515 if (PyErr_Occurred()) SWIG_fail
;
6517 resultobj
= SWIG_From_int(static_cast< int >(result
));
6524 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6525 PyObject
*resultobj
= 0;
6526 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6530 PyObject
*swig_obj
[1] ;
6532 if (!args
) SWIG_fail
;
6534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6535 if (!SWIG_IsOK(res1
)) {
6536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6538 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6540 result
= wxBitmap_GetSize(arg1
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6543 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6550 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6551 PyObject
*resultobj
= 0;
6552 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6553 SwigValueWrapper
<wxImage
> result
;
6556 PyObject
*swig_obj
[1] ;
6558 if (!args
) SWIG_fail
;
6560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6561 if (!SWIG_IsOK(res1
)) {
6562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6564 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6566 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6567 if (PyErr_Occurred()) SWIG_fail
;
6569 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6576 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6577 PyObject
*resultobj
= 0;
6578 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6579 wxMask
*result
= 0 ;
6582 PyObject
*swig_obj
[1] ;
6584 if (!args
) SWIG_fail
;
6586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6587 if (!SWIG_IsOK(res1
)) {
6588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6590 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6592 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6602 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
= 0;
6604 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6605 wxMask
*arg2
= (wxMask
*) 0 ;
6609 PyObject
* obj0
= 0 ;
6610 PyObject
* obj1
= 0 ;
6611 char * kwnames
[] = {
6612 (char *) "self",(char *) "mask", NULL
6615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6617 if (!SWIG_IsOK(res1
)) {
6618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6620 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6621 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6622 if (!SWIG_IsOK(res2
)) {
6623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6626 (arg1
)->SetMask(arg2
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6629 resultobj
= SWIG_Py_Void();
6636 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
*resultobj
= 0;
6638 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6639 wxColour
*arg2
= 0 ;
6643 PyObject
* obj0
= 0 ;
6644 PyObject
* obj1
= 0 ;
6645 char * kwnames
[] = {
6646 (char *) "self",(char *) "colour", NULL
6649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6651 if (!SWIG_IsOK(res1
)) {
6652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6654 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6657 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6660 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6663 resultobj
= SWIG_Py_Void();
6670 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
= 0;
6672 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6674 SwigValueWrapper
<wxBitmap
> result
;
6678 PyObject
* obj0
= 0 ;
6679 PyObject
* obj1
= 0 ;
6680 char * kwnames
[] = {
6681 (char *) "self",(char *) "rect", NULL
6684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6686 if (!SWIG_IsOK(res1
)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6689 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6692 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6695 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6698 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6705 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
= 0;
6707 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6708 wxString
*arg2
= 0 ;
6710 wxPalette
*arg4
= (wxPalette
*) NULL
;
6714 bool temp2
= false ;
6719 PyObject
* obj0
= 0 ;
6720 PyObject
* obj1
= 0 ;
6721 PyObject
* obj2
= 0 ;
6722 PyObject
* obj3
= 0 ;
6723 char * kwnames
[] = {
6724 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6729 if (!SWIG_IsOK(res1
)) {
6730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6732 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6734 arg2
= wxString_in_helper(obj1
);
6735 if (arg2
== NULL
) SWIG_fail
;
6738 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6739 if (!SWIG_IsOK(ecode3
)) {
6740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6742 arg3
= static_cast< wxBitmapType
>(val3
);
6744 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6745 if (!SWIG_IsOK(res4
)) {
6746 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6748 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6751 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6771 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
*resultobj
= 0;
6773 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6774 wxString
*arg2
= 0 ;
6779 bool temp2
= false ;
6782 PyObject
* obj0
= 0 ;
6783 PyObject
* obj1
= 0 ;
6784 PyObject
* obj2
= 0 ;
6785 char * kwnames
[] = {
6786 (char *) "self",(char *) "name",(char *) "type", NULL
6789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6791 if (!SWIG_IsOK(res1
)) {
6792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6794 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6796 arg2
= wxString_in_helper(obj1
);
6797 if (arg2
== NULL
) SWIG_fail
;
6800 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6801 if (!SWIG_IsOK(ecode3
)) {
6802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6804 arg3
= static_cast< wxBitmapType
>(val3
);
6806 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6826 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6827 PyObject
*resultobj
= 0;
6828 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6829 wxPalette
*result
= 0 ;
6832 PyObject
*swig_obj
[1] ;
6834 if (!args
) SWIG_fail
;
6836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6837 if (!SWIG_IsOK(res1
)) {
6838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6840 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6842 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6852 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
= 0;
6854 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6861 PyObject
* obj0
= 0 ;
6862 PyObject
* obj1
= 0 ;
6863 char * kwnames
[] = {
6864 (char *) "self",(char *) "icon", NULL
6867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6869 if (!SWIG_IsOK(res1
)) {
6870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6872 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6873 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6874 if (!SWIG_IsOK(res2
)) {
6875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6880 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6882 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6894 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
= 0;
6896 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6902 PyObject
* obj0
= 0 ;
6903 PyObject
* obj1
= 0 ;
6904 char * kwnames
[] = {
6905 (char *) "self",(char *) "height", NULL
6908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6910 if (!SWIG_IsOK(res1
)) {
6911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6913 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6915 if (!SWIG_IsOK(ecode2
)) {
6916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6918 arg2
= static_cast< int >(val2
);
6920 (arg1
)->SetHeight(arg2
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= SWIG_Py_Void();
6930 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
*resultobj
= 0;
6932 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6938 PyObject
* obj0
= 0 ;
6939 PyObject
* obj1
= 0 ;
6940 char * kwnames
[] = {
6941 (char *) "self",(char *) "width", NULL
6944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6946 if (!SWIG_IsOK(res1
)) {
6947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6949 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6951 if (!SWIG_IsOK(ecode2
)) {
6952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6954 arg2
= static_cast< int >(val2
);
6956 (arg1
)->SetWidth(arg2
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6959 resultobj
= SWIG_Py_Void();
6966 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
= 0;
6968 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6974 PyObject
* obj0
= 0 ;
6975 PyObject
* obj1
= 0 ;
6976 char * kwnames
[] = {
6977 (char *) "self",(char *) "depth", NULL
6980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6982 if (!SWIG_IsOK(res1
)) {
6983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6985 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6987 if (!SWIG_IsOK(ecode2
)) {
6988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6990 arg2
= static_cast< int >(val2
);
6992 (arg1
)->SetDepth(arg2
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6995 resultobj
= SWIG_Py_Void();
7002 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
*resultobj
= 0;
7004 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7009 PyObject
* obj0
= 0 ;
7010 PyObject
* obj1
= 0 ;
7011 char * kwnames
[] = {
7012 (char *) "self",(char *) "size", NULL
7015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7017 if (!SWIG_IsOK(res1
)) {
7018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7020 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7023 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7026 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7029 resultobj
= SWIG_Py_Void();
7036 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7037 PyObject
*resultobj
= 0;
7038 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7044 PyObject
* obj0
= 0 ;
7045 PyObject
* obj1
= 0 ;
7046 char * kwnames
[] = {
7047 (char *) "self",(char *) "data", NULL
7050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7052 if (!SWIG_IsOK(res1
)) {
7053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7055 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7057 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7061 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7064 resultobj
= SWIG_Py_Void();
7071 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
*resultobj
= 0;
7073 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7081 char * kwnames
[] = {
7082 (char *) "self",(char *) "data", NULL
7085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7087 if (!SWIG_IsOK(res1
)) {
7088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7090 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7092 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7096 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 resultobj
= SWIG_Py_Void();
7106 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(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___eq__",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___eq__" "', 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___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7131 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7133 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7145 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
*resultobj
= 0;
7147 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7148 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7154 PyObject
* obj0
= 0 ;
7155 PyObject
* obj1
= 0 ;
7156 char * kwnames
[] = {
7157 (char *) "self",(char *) "other", NULL
7160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7162 if (!SWIG_IsOK(res1
)) {
7163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7165 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7166 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7167 if (!SWIG_IsOK(res2
)) {
7168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7170 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7172 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7184 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7187 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7188 return SWIG_Py_Void();
7191 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7192 return SWIG_Python_InitShadowInstance(args
);
7195 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
= 0;
7203 wxBitmap
*result
= 0 ;
7210 PyObject
* obj0
= 0 ;
7211 PyObject
* obj1
= 0 ;
7212 PyObject
* obj2
= 0 ;
7213 PyObject
* obj3
= 0 ;
7214 char * kwnames
[] = {
7215 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7219 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7220 if (!SWIG_IsOK(ecode1
)) {
7221 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7223 arg1
= static_cast< int >(val1
);
7224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7225 if (!SWIG_IsOK(ecode2
)) {
7226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7228 arg2
= static_cast< int >(val2
);
7230 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7234 if (obj3
!= Py_None
) {
7235 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7240 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7250 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
= 0;
7256 wxBitmap
*result
= 0 ;
7262 PyObject
* obj0
= 0 ;
7263 PyObject
* obj1
= 0 ;
7264 PyObject
* obj2
= 0 ;
7265 char * kwnames
[] = {
7266 (char *) "width",(char *) "height",(char *) "data", NULL
7269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7270 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7271 if (!SWIG_IsOK(ecode1
)) {
7272 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7274 arg1
= static_cast< int >(val1
);
7275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7276 if (!SWIG_IsOK(ecode2
)) {
7277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7279 arg2
= static_cast< int >(val2
);
7281 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7285 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7295 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
= 0;
7301 wxBitmap
*result
= 0 ;
7307 PyObject
* obj0
= 0 ;
7308 PyObject
* obj1
= 0 ;
7309 PyObject
* obj2
= 0 ;
7310 char * kwnames
[] = {
7311 (char *) "width",(char *) "height",(char *) "data", NULL
7314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7315 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7316 if (!SWIG_IsOK(ecode1
)) {
7317 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7319 arg1
= static_cast< int >(val1
);
7320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7321 if (!SWIG_IsOK(ecode2
)) {
7322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7324 arg2
= static_cast< int >(val2
);
7326 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7330 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7340 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7341 PyObject
*resultobj
= 0;
7342 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7346 PyObject
*swig_obj
[1] ;
7348 if (!args
) SWIG_fail
;
7350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7351 if (!SWIG_IsOK(res1
)) {
7352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7354 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7356 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7357 if (PyErr_Occurred()) SWIG_fail
;
7359 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7366 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7367 PyObject
*resultobj
= 0;
7368 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7372 PyObject
*swig_obj
[1] ;
7374 if (!args
) SWIG_fail
;
7376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7377 if (!SWIG_IsOK(res1
)) {
7378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7380 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7382 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7383 if (PyErr_Occurred()) SWIG_fail
;
7385 resultobj
= SWIG_From_int(static_cast< int >(result
));
7392 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7393 PyObject
*resultobj
= 0;
7394 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7398 PyObject
*swig_obj
[1] ;
7400 if (!args
) SWIG_fail
;
7402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7403 if (!SWIG_IsOK(res1
)) {
7404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7406 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7408 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7409 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= SWIG_From_int(static_cast< int >(result
));
7418 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7419 PyObject
*resultobj
= 0;
7420 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7424 PyObject
*swig_obj
[1] ;
7426 if (!args
) SWIG_fail
;
7428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7429 if (!SWIG_IsOK(res1
)) {
7430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7432 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7434 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7435 if (PyErr_Occurred()) SWIG_fail
;
7437 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7444 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7445 PyObject
*resultobj
= 0;
7446 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7450 PyObject
*swig_obj
[1] ;
7452 if (!args
) SWIG_fail
;
7454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7455 if (!SWIG_IsOK(res1
)) {
7456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7458 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7460 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7461 if (PyErr_Occurred()) SWIG_fail
;
7463 resultobj
= SWIG_From_int(static_cast< int >(result
));
7470 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7472 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7473 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7474 return SWIG_Py_Void();
7477 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7478 PyObject
*resultobj
= 0;
7479 wxBitmap
*arg1
= 0 ;
7480 wxNativePixelData
*result
= 0 ;
7484 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7486 if (!SWIG_IsOK(res1
)) {
7487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7492 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7494 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7495 if (PyErr_Occurred()) SWIG_fail
;
7497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7504 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7505 PyObject
*resultobj
= 0;
7506 wxBitmap
*arg1
= 0 ;
7508 wxNativePixelData
*result
= 0 ;
7513 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7515 if (!SWIG_IsOK(res1
)) {
7516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7521 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7524 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7527 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
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__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7538 PyObject
*resultobj
= 0;
7539 wxBitmap
*arg1
= 0 ;
7542 wxNativePixelData
*result
= 0 ;
7548 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7550 if (!SWIG_IsOK(res1
)) {
7551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7556 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7559 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7563 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7566 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7576 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7580 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7583 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7586 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7589 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7593 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7598 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7599 PyObject
*resultobj
= 0;
7600 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7603 PyObject
*swig_obj
[1] ;
7605 if (!args
) SWIG_fail
;
7607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7608 if (!SWIG_IsOK(res1
)) {
7609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7611 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7617 resultobj
= SWIG_Py_Void();
7624 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7625 PyObject
*resultobj
= 0;
7626 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7627 wxNativePixelData_Accessor result
;
7630 PyObject
*swig_obj
[1] ;
7632 if (!args
) SWIG_fail
;
7634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7635 if (!SWIG_IsOK(res1
)) {
7636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7638 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7640 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7650 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7651 PyObject
*resultobj
= 0;
7652 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7655 PyObject
*swig_obj
[1] ;
7657 if (!args
) SWIG_fail
;
7659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7660 if (!SWIG_IsOK(res1
)) {
7661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7663 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= SWIG_Py_Void();
7675 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7676 PyObject
*resultobj
= 0;
7677 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7681 PyObject
*swig_obj
[1] ;
7683 if (!args
) SWIG_fail
;
7685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7686 if (!SWIG_IsOK(res1
)) {
7687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7689 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7691 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7703 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7705 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7706 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7707 return SWIG_Py_Void();
7710 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7711 return SWIG_Python_InitShadowInstance(args
);
7714 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7715 PyObject
*resultobj
= 0;
7716 wxNativePixelData
*arg1
= 0 ;
7717 wxNativePixelData_Accessor
*result
= 0 ;
7721 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7723 if (!SWIG_IsOK(res1
)) {
7724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7729 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7731 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7741 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7742 PyObject
*resultobj
= 0;
7743 wxBitmap
*arg1
= 0 ;
7744 wxNativePixelData
*arg2
= 0 ;
7745 wxNativePixelData_Accessor
*result
= 0 ;
7751 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7753 if (!SWIG_IsOK(res1
)) {
7754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7759 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7760 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7761 if (!SWIG_IsOK(res2
)) {
7762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7767 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7769 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7779 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7780 PyObject
*resultobj
= 0;
7781 wxNativePixelData_Accessor
*result
= 0 ;
7783 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7785 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7786 if (PyErr_Occurred()) SWIG_fail
;
7788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7795 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7799 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7802 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7805 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7808 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7812 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7817 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7818 PyObject
*resultobj
= 0;
7819 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7822 PyObject
*swig_obj
[1] ;
7824 if (!args
) SWIG_fail
;
7826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7827 if (!SWIG_IsOK(res1
)) {
7828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7830 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= SWIG_Py_Void();
7843 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
= 0;
7845 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7846 wxNativePixelData
*arg2
= 0 ;
7851 PyObject
* obj0
= 0 ;
7852 PyObject
* obj1
= 0 ;
7853 char * kwnames
[] = {
7854 (char *) "self",(char *) "data", NULL
7857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7859 if (!SWIG_IsOK(res1
)) {
7860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7862 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7863 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7864 if (!SWIG_IsOK(res2
)) {
7865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7870 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7872 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7875 resultobj
= SWIG_Py_Void();
7882 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7883 PyObject
*resultobj
= 0;
7884 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7888 PyObject
*swig_obj
[1] ;
7890 if (!args
) SWIG_fail
;
7892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7893 if (!SWIG_IsOK(res1
)) {
7894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7896 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7898 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7899 if (PyErr_Occurred()) SWIG_fail
;
7902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7910 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7911 PyObject
*resultobj
= 0;
7912 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7915 PyObject
*swig_obj
[1] ;
7917 if (!args
) SWIG_fail
;
7919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7920 if (!SWIG_IsOK(res1
)) {
7921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7923 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7925 wxNativePixelData_Accessor_nextPixel(arg1
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7928 resultobj
= SWIG_Py_Void();
7935 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7936 PyObject
*resultobj
= 0;
7937 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7938 wxNativePixelData
*arg2
= 0 ;
7949 PyObject
* obj0
= 0 ;
7950 PyObject
* obj1
= 0 ;
7951 PyObject
* obj2
= 0 ;
7952 PyObject
* obj3
= 0 ;
7953 char * kwnames
[] = {
7954 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7959 if (!SWIG_IsOK(res1
)) {
7960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7962 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7963 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7964 if (!SWIG_IsOK(res2
)) {
7965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7970 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7972 if (!SWIG_IsOK(ecode3
)) {
7973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7975 arg3
= static_cast< int >(val3
);
7976 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7977 if (!SWIG_IsOK(ecode4
)) {
7978 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7980 arg4
= static_cast< int >(val4
);
7982 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7985 resultobj
= SWIG_Py_Void();
7992 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
= 0;
7994 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7995 wxNativePixelData
*arg2
= 0 ;
8003 PyObject
* obj0
= 0 ;
8004 PyObject
* obj1
= 0 ;
8005 PyObject
* obj2
= 0 ;
8006 char * kwnames
[] = {
8007 (char *) "self",(char *) "data",(char *) "x", NULL
8010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8012 if (!SWIG_IsOK(res1
)) {
8013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8015 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8016 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8017 if (!SWIG_IsOK(res2
)) {
8018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8023 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8025 if (!SWIG_IsOK(ecode3
)) {
8026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8028 arg3
= static_cast< int >(val3
);
8030 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 resultobj
= SWIG_Py_Void();
8040 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
= 0;
8042 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8043 wxNativePixelData
*arg2
= 0 ;
8051 PyObject
* obj0
= 0 ;
8052 PyObject
* obj1
= 0 ;
8053 PyObject
* obj2
= 0 ;
8054 char * kwnames
[] = {
8055 (char *) "self",(char *) "data",(char *) "y", NULL
8058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8060 if (!SWIG_IsOK(res1
)) {
8061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8063 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8064 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8065 if (!SWIG_IsOK(res2
)) {
8066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8071 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8073 if (!SWIG_IsOK(ecode3
)) {
8074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8076 arg3
= static_cast< int >(val3
);
8078 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 resultobj
= SWIG_Py_Void();
8088 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
*resultobj
= 0;
8090 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8091 wxNativePixelData
*arg2
= 0 ;
8102 PyObject
* obj0
= 0 ;
8103 PyObject
* obj1
= 0 ;
8104 PyObject
* obj2
= 0 ;
8105 PyObject
* obj3
= 0 ;
8106 char * kwnames
[] = {
8107 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8112 if (!SWIG_IsOK(res1
)) {
8113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8115 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8116 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8117 if (!SWIG_IsOK(res2
)) {
8118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8123 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8124 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8125 if (!SWIG_IsOK(ecode3
)) {
8126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8128 arg3
= static_cast< int >(val3
);
8129 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8130 if (!SWIG_IsOK(ecode4
)) {
8131 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8133 arg4
= static_cast< int >(val4
);
8135 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8138 resultobj
= SWIG_Py_Void();
8145 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
= 0;
8147 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8153 unsigned char val2
;
8155 unsigned char val3
;
8157 unsigned char val4
;
8159 PyObject
* obj0
= 0 ;
8160 PyObject
* obj1
= 0 ;
8161 PyObject
* obj2
= 0 ;
8162 PyObject
* obj3
= 0 ;
8163 char * kwnames
[] = {
8164 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8169 if (!SWIG_IsOK(res1
)) {
8170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8172 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8173 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8174 if (!SWIG_IsOK(ecode2
)) {
8175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8177 arg2
= static_cast< byte
>(val2
);
8178 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8179 if (!SWIG_IsOK(ecode3
)) {
8180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8182 arg3
= static_cast< byte
>(val3
);
8183 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8184 if (!SWIG_IsOK(ecode4
)) {
8185 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8187 arg4
= static_cast< byte
>(val4
);
8189 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8192 resultobj
= SWIG_Py_Void();
8199 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8200 PyObject
*resultobj
= 0;
8201 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8202 PyObject
*result
= 0 ;
8205 PyObject
*swig_obj
[1] ;
8207 if (!args
) SWIG_fail
;
8209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8210 if (!SWIG_IsOK(res1
)) {
8211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8213 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8215 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8225 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8227 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8228 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8229 return SWIG_Py_Void();
8232 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8233 return SWIG_Python_InitShadowInstance(args
);
8236 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8237 PyObject
*resultobj
= 0;
8238 wxBitmap
*arg1
= 0 ;
8239 wxAlphaPixelData
*result
= 0 ;
8243 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8245 if (!SWIG_IsOK(res1
)) {
8246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8251 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8253 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8263 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8264 PyObject
*resultobj
= 0;
8265 wxBitmap
*arg1
= 0 ;
8267 wxAlphaPixelData
*result
= 0 ;
8272 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8274 if (!SWIG_IsOK(res1
)) {
8275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8280 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8283 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8286 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
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__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8297 PyObject
*resultobj
= 0;
8298 wxBitmap
*arg1
= 0 ;
8301 wxAlphaPixelData
*result
= 0 ;
8307 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8309 if (!SWIG_IsOK(res1
)) {
8310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8315 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8318 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8322 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8325 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8335 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8339 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8342 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8345 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8348 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8352 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8357 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8358 PyObject
*resultobj
= 0;
8359 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8362 PyObject
*swig_obj
[1] ;
8364 if (!args
) SWIG_fail
;
8366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8367 if (!SWIG_IsOK(res1
)) {
8368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8370 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8376 resultobj
= SWIG_Py_Void();
8383 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8384 PyObject
*resultobj
= 0;
8385 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8386 wxAlphaPixelData_Accessor result
;
8389 PyObject
*swig_obj
[1] ;
8391 if (!args
) SWIG_fail
;
8393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8394 if (!SWIG_IsOK(res1
)) {
8395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8397 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8399 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8400 if (PyErr_Occurred()) SWIG_fail
;
8402 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8409 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8410 PyObject
*resultobj
= 0;
8411 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8414 PyObject
*swig_obj
[1] ;
8416 if (!args
) SWIG_fail
;
8418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8419 if (!SWIG_IsOK(res1
)) {
8420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8422 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8427 resultobj
= SWIG_Py_Void();
8434 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8435 PyObject
*resultobj
= 0;
8436 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8440 PyObject
*swig_obj
[1] ;
8442 if (!args
) SWIG_fail
;
8444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8445 if (!SWIG_IsOK(res1
)) {
8446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8448 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8450 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8462 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8465 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8466 return SWIG_Py_Void();
8469 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8470 return SWIG_Python_InitShadowInstance(args
);
8473 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8474 PyObject
*resultobj
= 0;
8475 wxAlphaPixelData
*arg1
= 0 ;
8476 wxAlphaPixelData_Accessor
*result
= 0 ;
8480 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8482 if (!SWIG_IsOK(res1
)) {
8483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8488 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8490 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8491 if (PyErr_Occurred()) SWIG_fail
;
8493 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8500 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8501 PyObject
*resultobj
= 0;
8502 wxBitmap
*arg1
= 0 ;
8503 wxAlphaPixelData
*arg2
= 0 ;
8504 wxAlphaPixelData_Accessor
*result
= 0 ;
8510 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8512 if (!SWIG_IsOK(res1
)) {
8513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8518 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8519 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8520 if (!SWIG_IsOK(res2
)) {
8521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8526 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8528 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8529 if (PyErr_Occurred()) SWIG_fail
;
8531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8538 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8539 PyObject
*resultobj
= 0;
8540 wxAlphaPixelData_Accessor
*result
= 0 ;
8542 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8544 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8545 if (PyErr_Occurred()) SWIG_fail
;
8547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8554 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8558 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8561 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8564 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8567 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8571 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8576 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8577 PyObject
*resultobj
= 0;
8578 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8581 PyObject
*swig_obj
[1] ;
8583 if (!args
) SWIG_fail
;
8585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8586 if (!SWIG_IsOK(res1
)) {
8587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8589 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8595 resultobj
= SWIG_Py_Void();
8602 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
= 0;
8604 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8605 wxAlphaPixelData
*arg2
= 0 ;
8610 PyObject
* obj0
= 0 ;
8611 PyObject
* obj1
= 0 ;
8612 char * kwnames
[] = {
8613 (char *) "self",(char *) "data", NULL
8616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8618 if (!SWIG_IsOK(res1
)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8621 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8622 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8623 if (!SWIG_IsOK(res2
)) {
8624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8629 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8631 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8634 resultobj
= SWIG_Py_Void();
8641 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8642 PyObject
*resultobj
= 0;
8643 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8647 PyObject
*swig_obj
[1] ;
8649 if (!args
) SWIG_fail
;
8651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8652 if (!SWIG_IsOK(res1
)) {
8653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8655 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8657 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8658 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8669 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8670 PyObject
*resultobj
= 0;
8671 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8674 PyObject
*swig_obj
[1] ;
8676 if (!args
) SWIG_fail
;
8678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8679 if (!SWIG_IsOK(res1
)) {
8680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8682 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8684 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8685 if (PyErr_Occurred()) SWIG_fail
;
8687 resultobj
= SWIG_Py_Void();
8694 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8695 PyObject
*resultobj
= 0;
8696 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8697 wxAlphaPixelData
*arg2
= 0 ;
8708 PyObject
* obj0
= 0 ;
8709 PyObject
* obj1
= 0 ;
8710 PyObject
* obj2
= 0 ;
8711 PyObject
* obj3
= 0 ;
8712 char * kwnames
[] = {
8713 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8718 if (!SWIG_IsOK(res1
)) {
8719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8721 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8722 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8723 if (!SWIG_IsOK(res2
)) {
8724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8729 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8730 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8731 if (!SWIG_IsOK(ecode3
)) {
8732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8734 arg3
= static_cast< int >(val3
);
8735 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8736 if (!SWIG_IsOK(ecode4
)) {
8737 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8739 arg4
= static_cast< int >(val4
);
8741 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 resultobj
= SWIG_Py_Void();
8751 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
= 0;
8753 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8754 wxAlphaPixelData
*arg2
= 0 ;
8762 PyObject
* obj0
= 0 ;
8763 PyObject
* obj1
= 0 ;
8764 PyObject
* obj2
= 0 ;
8765 char * kwnames
[] = {
8766 (char *) "self",(char *) "data",(char *) "x", NULL
8769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8771 if (!SWIG_IsOK(res1
)) {
8772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8774 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8775 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8776 if (!SWIG_IsOK(res2
)) {
8777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8782 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8783 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8784 if (!SWIG_IsOK(ecode3
)) {
8785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8787 arg3
= static_cast< int >(val3
);
8789 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8792 resultobj
= SWIG_Py_Void();
8799 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
*resultobj
= 0;
8801 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8802 wxAlphaPixelData
*arg2
= 0 ;
8810 PyObject
* obj0
= 0 ;
8811 PyObject
* obj1
= 0 ;
8812 PyObject
* obj2
= 0 ;
8813 char * kwnames
[] = {
8814 (char *) "self",(char *) "data",(char *) "y", NULL
8817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8819 if (!SWIG_IsOK(res1
)) {
8820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8822 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8823 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8824 if (!SWIG_IsOK(res2
)) {
8825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8830 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8831 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8832 if (!SWIG_IsOK(ecode3
)) {
8833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8835 arg3
= static_cast< int >(val3
);
8837 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8840 resultobj
= SWIG_Py_Void();
8847 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
= 0;
8849 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8850 wxAlphaPixelData
*arg2
= 0 ;
8861 PyObject
* obj0
= 0 ;
8862 PyObject
* obj1
= 0 ;
8863 PyObject
* obj2
= 0 ;
8864 PyObject
* obj3
= 0 ;
8865 char * kwnames
[] = {
8866 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8871 if (!SWIG_IsOK(res1
)) {
8872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8874 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8875 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8876 if (!SWIG_IsOK(res2
)) {
8877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8882 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8883 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8884 if (!SWIG_IsOK(ecode3
)) {
8885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8887 arg3
= static_cast< int >(val3
);
8888 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8889 if (!SWIG_IsOK(ecode4
)) {
8890 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8892 arg4
= static_cast< int >(val4
);
8894 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8897 resultobj
= SWIG_Py_Void();
8904 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
= 0;
8906 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8913 unsigned char val2
;
8915 unsigned char val3
;
8917 unsigned char val4
;
8919 unsigned char val5
;
8921 PyObject
* obj0
= 0 ;
8922 PyObject
* obj1
= 0 ;
8923 PyObject
* obj2
= 0 ;
8924 PyObject
* obj3
= 0 ;
8925 PyObject
* obj4
= 0 ;
8926 char * kwnames
[] = {
8927 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8932 if (!SWIG_IsOK(res1
)) {
8933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8935 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8936 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8937 if (!SWIG_IsOK(ecode2
)) {
8938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8940 arg2
= static_cast< byte
>(val2
);
8941 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8942 if (!SWIG_IsOK(ecode3
)) {
8943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8945 arg3
= static_cast< byte
>(val3
);
8946 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8947 if (!SWIG_IsOK(ecode4
)) {
8948 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8950 arg4
= static_cast< byte
>(val4
);
8951 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8952 if (!SWIG_IsOK(ecode5
)) {
8953 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8955 arg5
= static_cast< byte
>(val5
);
8957 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= SWIG_Py_Void();
8967 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8968 PyObject
*resultobj
= 0;
8969 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8970 PyObject
*result
= 0 ;
8973 PyObject
*swig_obj
[1] ;
8975 if (!args
) SWIG_fail
;
8977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8978 if (!SWIG_IsOK(res1
)) {
8979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8981 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8983 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8993 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8996 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8997 return SWIG_Py_Void();
9000 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9001 return SWIG_Python_InitShadowInstance(args
);
9004 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
*resultobj
= 0;
9006 wxBitmap
*arg1
= 0 ;
9007 wxColour
const &arg2_defvalue
= wxNullColour
;
9008 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9009 wxMask
*result
= 0 ;
9013 PyObject
* obj0
= 0 ;
9014 PyObject
* obj1
= 0 ;
9015 char * kwnames
[] = {
9016 (char *) "bitmap",(char *) "colour", NULL
9019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9020 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9021 if (!SWIG_IsOK(res1
)) {
9022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9027 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9031 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9035 if (!wxPyCheckForApp()) SWIG_fail
;
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9048 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9049 PyObject
*resultobj
= 0;
9050 wxMask
*arg1
= (wxMask
*) 0 ;
9053 PyObject
*swig_obj
[1] ;
9055 if (!args
) SWIG_fail
;
9057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9058 if (!SWIG_IsOK(res1
)) {
9059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9061 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 resultobj
= SWIG_Py_Void();
9074 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9076 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9077 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9078 return SWIG_Py_Void();
9081 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9082 return SWIG_Python_InitShadowInstance(args
);
9085 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
= 0;
9087 wxString
*arg1
= 0 ;
9089 int arg3
= (int) -1 ;
9090 int arg4
= (int) -1 ;
9091 wxIcon
*result
= 0 ;
9092 bool temp1
= false ;
9099 PyObject
* obj0
= 0 ;
9100 PyObject
* obj1
= 0 ;
9101 PyObject
* obj2
= 0 ;
9102 PyObject
* obj3
= 0 ;
9103 char * kwnames
[] = {
9104 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9109 arg1
= wxString_in_helper(obj0
);
9110 if (arg1
== NULL
) SWIG_fail
;
9113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9114 if (!SWIG_IsOK(ecode2
)) {
9115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9117 arg2
= static_cast< wxBitmapType
>(val2
);
9119 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9120 if (!SWIG_IsOK(ecode3
)) {
9121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9123 arg3
= static_cast< int >(val3
);
9126 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9127 if (!SWIG_IsOK(ecode4
)) {
9128 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9130 arg4
= static_cast< int >(val4
);
9133 if (!wxPyCheckForApp()) SWIG_fail
;
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9154 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9155 PyObject
*resultobj
= 0;
9156 wxIcon
*arg1
= (wxIcon
*) 0 ;
9159 PyObject
*swig_obj
[1] ;
9161 if (!args
) SWIG_fail
;
9163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9164 if (!SWIG_IsOK(res1
)) {
9165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9167 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9175 resultobj
= SWIG_Py_Void();
9182 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9183 PyObject
*resultobj
= 0;
9184 wxIcon
*result
= 0 ;
9186 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9188 if (!wxPyCheckForApp()) SWIG_fail
;
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 result
= (wxIcon
*)new wxIcon();
9191 wxPyEndAllowThreads(__tstate
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9201 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9202 PyObject
*resultobj
= 0;
9203 wxIconLocation
*arg1
= 0 ;
9204 wxIcon
*result
= 0 ;
9207 PyObject
* obj0
= 0 ;
9208 char * kwnames
[] = {
9209 (char *) "loc", NULL
9212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9213 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9214 if (!SWIG_IsOK(res1
)) {
9215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9220 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9222 if (!wxPyCheckForApp()) SWIG_fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9235 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
= 0;
9237 wxBitmap
*arg1
= 0 ;
9238 wxIcon
*result
= 0 ;
9241 PyObject
* obj0
= 0 ;
9242 char * kwnames
[] = {
9243 (char *) "bmp", NULL
9246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9247 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9248 if (!SWIG_IsOK(res1
)) {
9249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9254 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9256 if (!wxPyCheckForApp()) SWIG_fail
;
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9269 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
= 0;
9271 PyObject
*arg1
= (PyObject
*) 0 ;
9272 wxIcon
*result
= 0 ;
9273 PyObject
* obj0
= 0 ;
9274 char * kwnames
[] = {
9275 (char *) "listOfStrings", NULL
9278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9281 if (!wxPyCheckForApp()) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 result
= (wxIcon
*)new_wxIcon(arg1
);
9284 wxPyEndAllowThreads(__tstate
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9294 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9295 PyObject
*resultobj
= 0;
9296 wxIcon
*arg1
= (wxIcon
*) 0 ;
9300 PyObject
*swig_obj
[1] ;
9302 if (!args
) SWIG_fail
;
9304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9305 if (!SWIG_IsOK(res1
)) {
9306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9308 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 result
= (bool)(arg1
)->IsOk();
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9324 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9325 PyObject
*resultobj
= 0;
9326 wxIcon
*arg1
= (wxIcon
*) 0 ;
9330 PyObject
*swig_obj
[1] ;
9332 if (!args
) SWIG_fail
;
9334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9335 if (!SWIG_IsOK(res1
)) {
9336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9338 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 result
= (int)(arg1
)->GetWidth();
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9345 resultobj
= SWIG_From_int(static_cast< int >(result
));
9352 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9353 PyObject
*resultobj
= 0;
9354 wxIcon
*arg1
= (wxIcon
*) 0 ;
9358 PyObject
*swig_obj
[1] ;
9360 if (!args
) SWIG_fail
;
9362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9363 if (!SWIG_IsOK(res1
)) {
9364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9366 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 result
= (int)(arg1
)->GetHeight();
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9373 resultobj
= SWIG_From_int(static_cast< int >(result
));
9380 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9381 PyObject
*resultobj
= 0;
9382 wxIcon
*arg1
= (wxIcon
*) 0 ;
9386 PyObject
*swig_obj
[1] ;
9388 if (!args
) SWIG_fail
;
9390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9391 if (!SWIG_IsOK(res1
)) {
9392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9394 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 result
= (int)(arg1
)->GetDepth();
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9401 resultobj
= SWIG_From_int(static_cast< int >(result
));
9408 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
*resultobj
= 0;
9410 wxIcon
*arg1
= (wxIcon
*) 0 ;
9416 PyObject
* obj0
= 0 ;
9417 PyObject
* obj1
= 0 ;
9418 char * kwnames
[] = {
9419 (char *) "self",(char *) "w", NULL
9422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9424 if (!SWIG_IsOK(res1
)) {
9425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9427 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9429 if (!SWIG_IsOK(ecode2
)) {
9430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9432 arg2
= static_cast< int >(val2
);
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 (arg1
)->SetWidth(arg2
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= SWIG_Py_Void();
9446 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
= 0;
9448 wxIcon
*arg1
= (wxIcon
*) 0 ;
9454 PyObject
* obj0
= 0 ;
9455 PyObject
* obj1
= 0 ;
9456 char * kwnames
[] = {
9457 (char *) "self",(char *) "h", NULL
9460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9462 if (!SWIG_IsOK(res1
)) {
9463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9465 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9467 if (!SWIG_IsOK(ecode2
)) {
9468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9470 arg2
= static_cast< int >(val2
);
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 (arg1
)->SetHeight(arg2
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= SWIG_Py_Void();
9484 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
= 0;
9486 wxIcon
*arg1
= (wxIcon
*) 0 ;
9492 PyObject
* obj0
= 0 ;
9493 PyObject
* obj1
= 0 ;
9494 char * kwnames
[] = {
9495 (char *) "self",(char *) "d", NULL
9498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9500 if (!SWIG_IsOK(res1
)) {
9501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9503 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9505 if (!SWIG_IsOK(ecode2
)) {
9506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9508 arg2
= static_cast< int >(val2
);
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 (arg1
)->SetDepth(arg2
);
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9515 resultobj
= SWIG_Py_Void();
9522 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
= 0;
9524 wxIcon
*arg1
= (wxIcon
*) 0 ;
9525 wxBitmap
*arg2
= 0 ;
9530 PyObject
* obj0
= 0 ;
9531 PyObject
* obj1
= 0 ;
9532 char * kwnames
[] = {
9533 (char *) "self",(char *) "bmp", NULL
9536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9538 if (!SWIG_IsOK(res1
)) {
9539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9541 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9542 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9543 if (!SWIG_IsOK(res2
)) {
9544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9549 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9556 resultobj
= SWIG_Py_Void();
9563 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9565 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9566 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9567 return SWIG_Py_Void();
9570 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9571 return SWIG_Python_InitShadowInstance(args
);
9574 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
*resultobj
= 0;
9576 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9577 int arg2
= (int) 0 ;
9578 wxIconLocation
*result
= 0 ;
9579 bool temp1
= false ;
9582 PyObject
* obj0
= 0 ;
9583 PyObject
* obj1
= 0 ;
9584 char * kwnames
[] = {
9585 (char *) "filename",(char *) "num", NULL
9588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9591 arg1
= wxString_in_helper(obj0
);
9592 if (arg1
== NULL
) SWIG_fail
;
9597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9598 if (!SWIG_IsOK(ecode2
)) {
9599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9601 arg2
= static_cast< int >(val2
);
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9624 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9625 PyObject
*resultobj
= 0;
9626 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9629 PyObject
*swig_obj
[1] ;
9631 if (!args
) SWIG_fail
;
9633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9634 if (!SWIG_IsOK(res1
)) {
9635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9637 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 resultobj
= SWIG_Py_Void();
9652 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9653 PyObject
*resultobj
= 0;
9654 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9658 PyObject
*swig_obj
[1] ;
9660 if (!args
) SWIG_fail
;
9662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9663 if (!SWIG_IsOK(res1
)) {
9664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9666 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9682 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
*resultobj
= 0;
9684 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9685 wxString
*arg2
= 0 ;
9688 bool temp2
= false ;
9689 PyObject
* obj0
= 0 ;
9690 PyObject
* obj1
= 0 ;
9691 char * kwnames
[] = {
9692 (char *) "self",(char *) "filename", NULL
9695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9697 if (!SWIG_IsOK(res1
)) {
9698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9700 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9702 arg2
= wxString_in_helper(obj1
);
9703 if (arg2
== NULL
) SWIG_fail
;
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 (arg1
)->SetFileName((wxString
const &)*arg2
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= SWIG_Py_Void();
9727 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9728 PyObject
*resultobj
= 0;
9729 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9730 wxString
*result
= 0 ;
9733 PyObject
*swig_obj
[1] ;
9735 if (!args
) SWIG_fail
;
9737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9738 if (!SWIG_IsOK(res1
)) {
9739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9741 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9746 result
= (wxString
*) &_result_ref
;
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9753 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9755 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9764 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
*resultobj
= 0;
9766 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9772 PyObject
* obj0
= 0 ;
9773 PyObject
* obj1
= 0 ;
9774 char * kwnames
[] = {
9775 (char *) "self",(char *) "num", NULL
9778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9780 if (!SWIG_IsOK(res1
)) {
9781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9783 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9785 if (!SWIG_IsOK(ecode2
)) {
9786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9788 arg2
= static_cast< int >(val2
);
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 wxIconLocation_SetIndex(arg1
,arg2
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= SWIG_Py_Void();
9802 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9803 PyObject
*resultobj
= 0;
9804 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9808 PyObject
*swig_obj
[1] ;
9810 if (!args
) SWIG_fail
;
9812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9813 if (!SWIG_IsOK(res1
)) {
9814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9816 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9819 result
= (int)wxIconLocation_GetIndex(arg1
);
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9823 resultobj
= SWIG_From_int(static_cast< int >(result
));
9830 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9833 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9834 return SWIG_Py_Void();
9837 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9838 return SWIG_Python_InitShadowInstance(args
);
9841 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9842 PyObject
*resultobj
= 0;
9843 wxIconBundle
*result
= 0 ;
9845 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (wxIconBundle
*)new wxIconBundle();
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9859 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9860 PyObject
*resultobj
= 0;
9861 wxString
*arg1
= 0 ;
9863 wxIconBundle
*result
= 0 ;
9864 bool temp1
= false ;
9867 PyObject
* obj0
= 0 ;
9868 PyObject
* obj1
= 0 ;
9869 char * kwnames
[] = {
9870 (char *) "file",(char *) "type", NULL
9873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9875 arg1
= wxString_in_helper(obj0
);
9876 if (arg1
== NULL
) SWIG_fail
;
9879 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9880 if (!SWIG_IsOK(ecode2
)) {
9881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9883 arg2
= static_cast< long >(val2
);
9885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9886 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9905 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9906 PyObject
*resultobj
= 0;
9908 wxIconBundle
*result
= 0 ;
9911 PyObject
* obj0
= 0 ;
9912 char * kwnames
[] = {
9913 (char *) "icon", NULL
9916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9917 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9918 if (!SWIG_IsOK(res1
)) {
9919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9924 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9927 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9928 wxPyEndAllowThreads(__tstate
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9938 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9939 PyObject
*resultobj
= 0;
9940 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9943 PyObject
*swig_obj
[1] ;
9945 if (!args
) SWIG_fail
;
9947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9948 if (!SWIG_IsOK(res1
)) {
9949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9951 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= SWIG_Py_Void();
9966 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
*resultobj
= 0;
9968 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9974 PyObject
* obj0
= 0 ;
9975 PyObject
* obj1
= 0 ;
9976 char * kwnames
[] = {
9977 (char *) "self",(char *) "icon", NULL
9980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9982 if (!SWIG_IsOK(res1
)) {
9983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9985 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9986 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9987 if (!SWIG_IsOK(res2
)) {
9988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9993 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= SWIG_Py_Void();
10007 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
= 0;
10009 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10010 wxString
*arg2
= 0 ;
10014 bool temp2
= false ;
10017 PyObject
* obj0
= 0 ;
10018 PyObject
* obj1
= 0 ;
10019 PyObject
* obj2
= 0 ;
10020 char * kwnames
[] = {
10021 (char *) "self",(char *) "file",(char *) "type", NULL
10024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10026 if (!SWIG_IsOK(res1
)) {
10027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10029 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10031 arg2
= wxString_in_helper(obj1
);
10032 if (arg2
== NULL
) SWIG_fail
;
10035 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10036 if (!SWIG_IsOK(ecode3
)) {
10037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10039 arg3
= static_cast< long >(val3
);
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 resultobj
= SWIG_Py_Void();
10061 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
*resultobj
= 0;
10063 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10065 wxIcon
*result
= 0 ;
10069 PyObject
* obj0
= 0 ;
10070 PyObject
* obj1
= 0 ;
10071 char * kwnames
[] = {
10072 (char *) "self",(char *) "size", NULL
10075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10077 if (!SWIG_IsOK(res1
)) {
10078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10080 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10083 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10089 result
= (wxIcon
*) &_result_ref
;
10091 wxPyEndAllowThreads(__tstate
);
10092 if (PyErr_Occurred()) SWIG_fail
;
10095 wxIcon
* resultptr
= new wxIcon(*result
);
10096 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10104 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10106 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10107 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10108 return SWIG_Py_Void();
10111 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10112 return SWIG_Python_InitShadowInstance(args
);
10115 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10116 PyObject
*resultobj
= 0;
10117 wxString
*arg1
= 0 ;
10119 int arg3
= (int) 0 ;
10120 int arg4
= (int) 0 ;
10121 wxCursor
*result
= 0 ;
10122 bool temp1
= false ;
10129 PyObject
* obj0
= 0 ;
10130 PyObject
* obj1
= 0 ;
10131 PyObject
* obj2
= 0 ;
10132 PyObject
* obj3
= 0 ;
10133 char * kwnames
[] = {
10134 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10139 arg1
= wxString_in_helper(obj0
);
10140 if (arg1
== NULL
) SWIG_fail
;
10143 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10144 if (!SWIG_IsOK(ecode2
)) {
10145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10147 arg2
= static_cast< long >(val2
);
10149 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10150 if (!SWIG_IsOK(ecode3
)) {
10151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10153 arg3
= static_cast< int >(val3
);
10156 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10157 if (!SWIG_IsOK(ecode4
)) {
10158 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10160 arg4
= static_cast< int >(val4
);
10163 if (!wxPyCheckForApp()) SWIG_fail
;
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10166 wxPyEndAllowThreads(__tstate
);
10167 if (PyErr_Occurred()) SWIG_fail
;
10169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10184 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10185 PyObject
*resultobj
= 0;
10186 wxCursor
*arg1
= (wxCursor
*) 0 ;
10189 PyObject
*swig_obj
[1] ;
10191 if (!args
) SWIG_fail
;
10192 swig_obj
[0] = args
;
10193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10194 if (!SWIG_IsOK(res1
)) {
10195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10197 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 resultobj
= SWIG_Py_Void();
10212 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10213 PyObject
*resultobj
= 0;
10215 wxCursor
*result
= 0 ;
10218 PyObject
* obj0
= 0 ;
10219 char * kwnames
[] = {
10220 (char *) "id", NULL
10223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10224 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10225 if (!SWIG_IsOK(ecode1
)) {
10226 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10228 arg1
= static_cast< int >(val1
);
10230 if (!wxPyCheckForApp()) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= (wxCursor
*)new wxCursor(arg1
);
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10243 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
= 0;
10245 wxImage
*arg1
= 0 ;
10246 wxCursor
*result
= 0 ;
10249 PyObject
* obj0
= 0 ;
10250 char * kwnames
[] = {
10251 (char *) "image", NULL
10254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10255 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10256 if (!SWIG_IsOK(res1
)) {
10257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10262 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10264 if (!wxPyCheckForApp()) SWIG_fail
;
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10277 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10278 PyObject
*resultobj
= 0;
10279 wxCursor
*arg1
= (wxCursor
*) 0 ;
10283 PyObject
*swig_obj
[1] ;
10285 if (!args
) SWIG_fail
;
10286 swig_obj
[0] = args
;
10287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10288 if (!SWIG_IsOK(res1
)) {
10289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10291 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 result
= (bool)(arg1
)->IsOk();
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10307 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10309 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10310 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10311 return SWIG_Py_Void();
10314 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10315 return SWIG_Python_InitShadowInstance(args
);
10318 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
= 0;
10320 int arg1
= (int) 0 ;
10321 int arg2
= (int) 0 ;
10322 int arg3
= (int) 0 ;
10323 int arg4
= (int) 0 ;
10324 wxRegion
*result
= 0 ;
10333 PyObject
* obj0
= 0 ;
10334 PyObject
* obj1
= 0 ;
10335 PyObject
* obj2
= 0 ;
10336 PyObject
* obj3
= 0 ;
10337 char * kwnames
[] = {
10338 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10343 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10344 if (!SWIG_IsOK(ecode1
)) {
10345 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10347 arg1
= static_cast< int >(val1
);
10350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10351 if (!SWIG_IsOK(ecode2
)) {
10352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10354 arg2
= static_cast< int >(val2
);
10357 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10358 if (!SWIG_IsOK(ecode3
)) {
10359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10361 arg3
= static_cast< int >(val3
);
10364 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10365 if (!SWIG_IsOK(ecode4
)) {
10366 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10368 arg4
= static_cast< int >(val4
);
10371 if (!wxPyCheckForApp()) SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10384 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
= 0;
10386 wxBitmap
*arg1
= 0 ;
10387 wxRegion
*result
= 0 ;
10390 PyObject
* obj0
= 0 ;
10391 char * kwnames
[] = {
10392 (char *) "bmp", NULL
10395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10396 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10397 if (!SWIG_IsOK(res1
)) {
10398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10403 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10405 if (!wxPyCheckForApp()) SWIG_fail
;
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10418 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
= 0;
10420 wxBitmap
*arg1
= 0 ;
10421 wxColour
*arg2
= 0 ;
10422 int arg3
= (int) 0 ;
10423 wxRegion
*result
= 0 ;
10429 PyObject
* obj0
= 0 ;
10430 PyObject
* obj1
= 0 ;
10431 PyObject
* obj2
= 0 ;
10432 char * kwnames
[] = {
10433 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10437 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10438 if (!SWIG_IsOK(res1
)) {
10439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10444 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10447 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10451 if (!SWIG_IsOK(ecode3
)) {
10452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10454 arg3
= static_cast< int >(val3
);
10457 if (!wxPyCheckForApp()) SWIG_fail
;
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10470 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
= 0;
10473 wxPoint
*arg2
= (wxPoint
*) 0 ;
10474 int arg3
= (int) wxWINDING_RULE
;
10475 wxRegion
*result
= 0 ;
10478 PyObject
* obj0
= 0 ;
10479 PyObject
* obj1
= 0 ;
10480 char * kwnames
[] = {
10481 (char *) "points",(char *) "fillStyle", NULL
10484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10486 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10487 if (arg2
== NULL
) SWIG_fail
;
10490 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10491 if (!SWIG_IsOK(ecode3
)) {
10492 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10494 arg3
= static_cast< int >(val3
);
10497 if (!wxPyCheckForApp()) SWIG_fail
;
10498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10499 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10505 if (arg2
) delete [] arg2
;
10510 if (arg2
) delete [] arg2
;
10516 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10517 PyObject
*resultobj
= 0;
10518 wxRegion
*arg1
= (wxRegion
*) 0 ;
10521 PyObject
*swig_obj
[1] ;
10523 if (!args
) SWIG_fail
;
10524 swig_obj
[0] = args
;
10525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10526 if (!SWIG_IsOK(res1
)) {
10527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10529 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= SWIG_Py_Void();
10544 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10545 PyObject
*resultobj
= 0;
10546 wxRegion
*arg1
= (wxRegion
*) 0 ;
10549 PyObject
*swig_obj
[1] ;
10551 if (!args
) SWIG_fail
;
10552 swig_obj
[0] = args
;
10553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10554 if (!SWIG_IsOK(res1
)) {
10555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10557 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 resultobj
= SWIG_Py_Void();
10571 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
= 0;
10573 wxRegion
*arg1
= (wxRegion
*) 0 ;
10583 PyObject
* obj0
= 0 ;
10584 PyObject
* obj1
= 0 ;
10585 PyObject
* obj2
= 0 ;
10586 char * kwnames
[] = {
10587 (char *) "self",(char *) "x",(char *) "y", NULL
10590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10592 if (!SWIG_IsOK(res1
)) {
10593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10595 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10597 if (!SWIG_IsOK(ecode2
)) {
10598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10600 arg2
= static_cast< int >(val2
);
10601 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10602 if (!SWIG_IsOK(ecode3
)) {
10603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10605 arg3
= static_cast< int >(val3
);
10607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10608 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10621 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
*resultobj
= 0;
10623 wxRegion
*arg1
= (wxRegion
*) 0 ;
10626 wxRegionContain result
;
10633 PyObject
* obj0
= 0 ;
10634 PyObject
* obj1
= 0 ;
10635 PyObject
* obj2
= 0 ;
10636 char * kwnames
[] = {
10637 (char *) "self",(char *) "x",(char *) "y", NULL
10640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10642 if (!SWIG_IsOK(res1
)) {
10643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10645 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10647 if (!SWIG_IsOK(ecode2
)) {
10648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10650 arg2
= static_cast< int >(val2
);
10651 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10652 if (!SWIG_IsOK(ecode3
)) {
10653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10655 arg3
= static_cast< int >(val3
);
10657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10658 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10659 wxPyEndAllowThreads(__tstate
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10662 resultobj
= SWIG_From_int(static_cast< int >(result
));
10669 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10670 PyObject
*resultobj
= 0;
10671 wxRegion
*arg1
= (wxRegion
*) 0 ;
10672 wxPoint
*arg2
= 0 ;
10673 wxRegionContain result
;
10677 PyObject
* obj0
= 0 ;
10678 PyObject
* obj1
= 0 ;
10679 char * kwnames
[] = {
10680 (char *) "self",(char *) "pt", NULL
10683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10685 if (!SWIG_IsOK(res1
)) {
10686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10688 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10691 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10696 wxPyEndAllowThreads(__tstate
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10699 resultobj
= SWIG_From_int(static_cast< int >(result
));
10706 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10707 PyObject
*resultobj
= 0;
10708 wxRegion
*arg1
= (wxRegion
*) 0 ;
10710 wxRegionContain result
;
10714 PyObject
* obj0
= 0 ;
10715 PyObject
* obj1
= 0 ;
10716 char * kwnames
[] = {
10717 (char *) "self",(char *) "rect", NULL
10720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10722 if (!SWIG_IsOK(res1
)) {
10723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10725 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10728 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10732 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10733 wxPyEndAllowThreads(__tstate
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10736 resultobj
= SWIG_From_int(static_cast< int >(result
));
10743 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
*resultobj
= 0;
10745 wxRegion
*arg1
= (wxRegion
*) 0 ;
10750 wxRegionContain result
;
10761 PyObject
* obj0
= 0 ;
10762 PyObject
* obj1
= 0 ;
10763 PyObject
* obj2
= 0 ;
10764 PyObject
* obj3
= 0 ;
10765 PyObject
* obj4
= 0 ;
10766 char * kwnames
[] = {
10767 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10772 if (!SWIG_IsOK(res1
)) {
10773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10775 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10777 if (!SWIG_IsOK(ecode2
)) {
10778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10780 arg2
= static_cast< int >(val2
);
10781 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10782 if (!SWIG_IsOK(ecode3
)) {
10783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10785 arg3
= static_cast< int >(val3
);
10786 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10787 if (!SWIG_IsOK(ecode4
)) {
10788 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10790 arg4
= static_cast< int >(val4
);
10791 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10792 if (!SWIG_IsOK(ecode5
)) {
10793 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10795 arg5
= static_cast< int >(val5
);
10797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10798 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 resultobj
= SWIG_From_int(static_cast< int >(result
));
10809 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10810 PyObject
*resultobj
= 0;
10811 wxRegion
*arg1
= (wxRegion
*) 0 ;
10815 PyObject
*swig_obj
[1] ;
10817 if (!args
) SWIG_fail
;
10818 swig_obj
[0] = args
;
10819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10820 if (!SWIG_IsOK(res1
)) {
10821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10823 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10826 result
= (arg1
)->GetBox();
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10830 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10837 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
*resultobj
= 0;
10839 wxRegion
*arg1
= (wxRegion
*) 0 ;
10855 PyObject
* obj0
= 0 ;
10856 PyObject
* obj1
= 0 ;
10857 PyObject
* obj2
= 0 ;
10858 PyObject
* obj3
= 0 ;
10859 PyObject
* obj4
= 0 ;
10860 char * kwnames
[] = {
10861 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10866 if (!SWIG_IsOK(res1
)) {
10867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10869 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10871 if (!SWIG_IsOK(ecode2
)) {
10872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10874 arg2
= static_cast< int >(val2
);
10875 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10876 if (!SWIG_IsOK(ecode3
)) {
10877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10879 arg3
= static_cast< int >(val3
);
10880 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10881 if (!SWIG_IsOK(ecode4
)) {
10882 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10884 arg4
= static_cast< int >(val4
);
10885 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10886 if (!SWIG_IsOK(ecode5
)) {
10887 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10889 arg5
= static_cast< int >(val5
);
10891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10892 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10905 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
= 0;
10907 wxRegion
*arg1
= (wxRegion
*) 0 ;
10913 PyObject
* obj0
= 0 ;
10914 PyObject
* obj1
= 0 ;
10915 char * kwnames
[] = {
10916 (char *) "self",(char *) "rect", NULL
10919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10921 if (!SWIG_IsOK(res1
)) {
10922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10924 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10927 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10944 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
*resultobj
= 0;
10946 wxRegion
*arg1
= (wxRegion
*) 0 ;
10947 wxRegion
*arg2
= 0 ;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 char * kwnames
[] = {
10956 (char *) "self",(char *) "region", NULL
10959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10961 if (!SWIG_IsOK(res1
)) {
10962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10964 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10965 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10966 if (!SWIG_IsOK(res2
)) {
10967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10972 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10988 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10989 PyObject
*resultobj
= 0;
10990 wxRegion
*arg1
= (wxRegion
*) 0 ;
10994 PyObject
*swig_obj
[1] ;
10996 if (!args
) SWIG_fail
;
10997 swig_obj
[0] = args
;
10998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10999 if (!SWIG_IsOK(res1
)) {
11000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11002 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 result
= (bool)(arg1
)->IsEmpty();
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11018 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
= 0;
11020 wxRegion
*arg1
= (wxRegion
*) 0 ;
11021 wxRegion
*arg2
= 0 ;
11027 PyObject
* obj0
= 0 ;
11028 PyObject
* obj1
= 0 ;
11029 char * kwnames
[] = {
11030 (char *) "self",(char *) "region", NULL
11033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11035 if (!SWIG_IsOK(res1
)) {
11036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11038 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11039 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11040 if (!SWIG_IsOK(res2
)) {
11041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11046 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11062 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
*resultobj
= 0;
11064 wxRegion
*arg1
= (wxRegion
*) 0 ;
11080 PyObject
* obj0
= 0 ;
11081 PyObject
* obj1
= 0 ;
11082 PyObject
* obj2
= 0 ;
11083 PyObject
* obj3
= 0 ;
11084 PyObject
* obj4
= 0 ;
11085 char * kwnames
[] = {
11086 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11091 if (!SWIG_IsOK(res1
)) {
11092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11094 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11096 if (!SWIG_IsOK(ecode2
)) {
11097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11099 arg2
= static_cast< int >(val2
);
11100 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11101 if (!SWIG_IsOK(ecode3
)) {
11102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11104 arg3
= static_cast< int >(val3
);
11105 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11106 if (!SWIG_IsOK(ecode4
)) {
11107 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11109 arg4
= static_cast< int >(val4
);
11110 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11111 if (!SWIG_IsOK(ecode5
)) {
11112 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11114 arg5
= static_cast< int >(val5
);
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11130 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11131 PyObject
*resultobj
= 0;
11132 wxRegion
*arg1
= (wxRegion
*) 0 ;
11138 PyObject
* obj0
= 0 ;
11139 PyObject
* obj1
= 0 ;
11140 char * kwnames
[] = {
11141 (char *) "self",(char *) "rect", NULL
11144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11146 if (!SWIG_IsOK(res1
)) {
11147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11149 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11152 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11169 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
*resultobj
= 0;
11171 wxRegion
*arg1
= (wxRegion
*) 0 ;
11172 wxRegion
*arg2
= 0 ;
11178 PyObject
* obj0
= 0 ;
11179 PyObject
* obj1
= 0 ;
11180 char * kwnames
[] = {
11181 (char *) "self",(char *) "region", NULL
11184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11186 if (!SWIG_IsOK(res1
)) {
11187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11189 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11190 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11191 if (!SWIG_IsOK(res2
)) {
11192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11197 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11213 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
= 0;
11215 wxRegion
*arg1
= (wxRegion
*) 0 ;
11231 PyObject
* obj0
= 0 ;
11232 PyObject
* obj1
= 0 ;
11233 PyObject
* obj2
= 0 ;
11234 PyObject
* obj3
= 0 ;
11235 PyObject
* obj4
= 0 ;
11236 char * kwnames
[] = {
11237 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11242 if (!SWIG_IsOK(res1
)) {
11243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11245 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11247 if (!SWIG_IsOK(ecode2
)) {
11248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11250 arg2
= static_cast< int >(val2
);
11251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11252 if (!SWIG_IsOK(ecode3
)) {
11253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11255 arg3
= static_cast< int >(val3
);
11256 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11257 if (!SWIG_IsOK(ecode4
)) {
11258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11260 arg4
= static_cast< int >(val4
);
11261 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11262 if (!SWIG_IsOK(ecode5
)) {
11263 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11265 arg5
= static_cast< int >(val5
);
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11281 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
= 0;
11283 wxRegion
*arg1
= (wxRegion
*) 0 ;
11289 PyObject
* obj0
= 0 ;
11290 PyObject
* obj1
= 0 ;
11291 char * kwnames
[] = {
11292 (char *) "self",(char *) "rect", NULL
11295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11297 if (!SWIG_IsOK(res1
)) {
11298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11300 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11303 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11308 wxPyEndAllowThreads(__tstate
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11320 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11321 PyObject
*resultobj
= 0;
11322 wxRegion
*arg1
= (wxRegion
*) 0 ;
11323 wxRegion
*arg2
= 0 ;
11329 PyObject
* obj0
= 0 ;
11330 PyObject
* obj1
= 0 ;
11331 char * kwnames
[] = {
11332 (char *) "self",(char *) "region", NULL
11335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11337 if (!SWIG_IsOK(res1
)) {
11338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11340 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11341 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11342 if (!SWIG_IsOK(res2
)) {
11343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11348 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11364 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
= 0;
11366 wxRegion
*arg1
= (wxRegion
*) 0 ;
11382 PyObject
* obj0
= 0 ;
11383 PyObject
* obj1
= 0 ;
11384 PyObject
* obj2
= 0 ;
11385 PyObject
* obj3
= 0 ;
11386 PyObject
* obj4
= 0 ;
11387 char * kwnames
[] = {
11388 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11393 if (!SWIG_IsOK(res1
)) {
11394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11396 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11398 if (!SWIG_IsOK(ecode2
)) {
11399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11401 arg2
= static_cast< int >(val2
);
11402 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11403 if (!SWIG_IsOK(ecode3
)) {
11404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11406 arg3
= static_cast< int >(val3
);
11407 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11408 if (!SWIG_IsOK(ecode4
)) {
11409 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11411 arg4
= static_cast< int >(val4
);
11412 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11413 if (!SWIG_IsOK(ecode5
)) {
11414 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11416 arg5
= static_cast< int >(val5
);
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11432 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
= 0;
11434 wxRegion
*arg1
= (wxRegion
*) 0 ;
11440 PyObject
* obj0
= 0 ;
11441 PyObject
* obj1
= 0 ;
11442 char * kwnames
[] = {
11443 (char *) "self",(char *) "rect", NULL
11446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11448 if (!SWIG_IsOK(res1
)) {
11449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11451 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11454 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11471 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
= 0;
11473 wxRegion
*arg1
= (wxRegion
*) 0 ;
11474 wxRegion
*arg2
= 0 ;
11480 PyObject
* obj0
= 0 ;
11481 PyObject
* obj1
= 0 ;
11482 char * kwnames
[] = {
11483 (char *) "self",(char *) "region", NULL
11486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11488 if (!SWIG_IsOK(res1
)) {
11489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11491 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11492 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11493 if (!SWIG_IsOK(res2
)) {
11494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11499 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11515 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11516 PyObject
*resultobj
= 0;
11517 wxRegion
*arg1
= (wxRegion
*) 0 ;
11518 SwigValueWrapper
<wxBitmap
> result
;
11521 PyObject
*swig_obj
[1] ;
11523 if (!args
) SWIG_fail
;
11524 swig_obj
[0] = args
;
11525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11526 if (!SWIG_IsOK(res1
)) {
11527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11529 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 result
= (arg1
)->ConvertToBitmap();
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11543 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
*resultobj
= 0;
11545 wxRegion
*arg1
= (wxRegion
*) 0 ;
11546 wxBitmap
*arg2
= 0 ;
11552 PyObject
* obj0
= 0 ;
11553 PyObject
* obj1
= 0 ;
11554 char * kwnames
[] = {
11555 (char *) "self",(char *) "bmp", NULL
11558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11560 if (!SWIG_IsOK(res1
)) {
11561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11563 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11564 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11565 if (!SWIG_IsOK(res2
)) {
11566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11571 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11587 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11588 PyObject
*resultobj
= 0;
11589 wxRegion
*arg1
= (wxRegion
*) 0 ;
11590 wxBitmap
*arg2
= 0 ;
11591 wxColour
*arg3
= 0 ;
11592 int arg4
= (int) 0 ;
11601 PyObject
* obj0
= 0 ;
11602 PyObject
* obj1
= 0 ;
11603 PyObject
* obj2
= 0 ;
11604 PyObject
* obj3
= 0 ;
11605 char * kwnames
[] = {
11606 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11611 if (!SWIG_IsOK(res1
)) {
11612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11614 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11615 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11616 if (!SWIG_IsOK(res2
)) {
11617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11622 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11625 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11628 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11629 if (!SWIG_IsOK(ecode4
)) {
11630 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11632 arg4
= static_cast< int >(val4
);
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11649 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11652 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11653 return SWIG_Py_Void();
11656 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11657 return SWIG_Python_InitShadowInstance(args
);
11660 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
= 0;
11662 wxRegion
*arg1
= 0 ;
11663 wxRegionIterator
*result
= 0 ;
11666 PyObject
* obj0
= 0 ;
11667 char * kwnames
[] = {
11668 (char *) "region", NULL
11671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11672 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11673 if (!SWIG_IsOK(res1
)) {
11674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11679 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11681 if (!wxPyCheckForApp()) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11684 wxPyEndAllowThreads(__tstate
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11694 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11695 PyObject
*resultobj
= 0;
11696 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11699 PyObject
*swig_obj
[1] ;
11701 if (!args
) SWIG_fail
;
11702 swig_obj
[0] = args
;
11703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11704 if (!SWIG_IsOK(res1
)) {
11705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11707 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11715 resultobj
= SWIG_Py_Void();
11722 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11723 PyObject
*resultobj
= 0;
11724 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11728 PyObject
*swig_obj
[1] ;
11730 if (!args
) SWIG_fail
;
11731 swig_obj
[0] = args
;
11732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11733 if (!SWIG_IsOK(res1
)) {
11734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11736 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 result
= (int)(arg1
)->GetX();
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= SWIG_From_int(static_cast< int >(result
));
11750 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11751 PyObject
*resultobj
= 0;
11752 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11756 PyObject
*swig_obj
[1] ;
11758 if (!args
) SWIG_fail
;
11759 swig_obj
[0] = args
;
11760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11761 if (!SWIG_IsOK(res1
)) {
11762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11764 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (int)(arg1
)->GetY();
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11771 resultobj
= SWIG_From_int(static_cast< int >(result
));
11778 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11779 PyObject
*resultobj
= 0;
11780 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11784 PyObject
*swig_obj
[1] ;
11786 if (!args
) SWIG_fail
;
11787 swig_obj
[0] = args
;
11788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11789 if (!SWIG_IsOK(res1
)) {
11790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11792 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11795 result
= (int)(arg1
)->GetW();
11796 wxPyEndAllowThreads(__tstate
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11799 resultobj
= SWIG_From_int(static_cast< int >(result
));
11806 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11807 PyObject
*resultobj
= 0;
11808 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11812 PyObject
*swig_obj
[1] ;
11814 if (!args
) SWIG_fail
;
11815 swig_obj
[0] = args
;
11816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11817 if (!SWIG_IsOK(res1
)) {
11818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11820 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11823 result
= (int)(arg1
)->GetWidth();
11824 wxPyEndAllowThreads(__tstate
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11827 resultobj
= SWIG_From_int(static_cast< int >(result
));
11834 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11835 PyObject
*resultobj
= 0;
11836 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11840 PyObject
*swig_obj
[1] ;
11842 if (!args
) SWIG_fail
;
11843 swig_obj
[0] = args
;
11844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11845 if (!SWIG_IsOK(res1
)) {
11846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11848 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11851 result
= (int)(arg1
)->GetH();
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11855 resultobj
= SWIG_From_int(static_cast< int >(result
));
11862 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11863 PyObject
*resultobj
= 0;
11864 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11868 PyObject
*swig_obj
[1] ;
11870 if (!args
) SWIG_fail
;
11871 swig_obj
[0] = args
;
11872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11873 if (!SWIG_IsOK(res1
)) {
11874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11876 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11879 result
= (int)(arg1
)->GetHeight();
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= SWIG_From_int(static_cast< int >(result
));
11890 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11891 PyObject
*resultobj
= 0;
11892 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11896 PyObject
*swig_obj
[1] ;
11898 if (!args
) SWIG_fail
;
11899 swig_obj
[0] = args
;
11900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11901 if (!SWIG_IsOK(res1
)) {
11902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11904 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 result
= (arg1
)->GetRect();
11908 wxPyEndAllowThreads(__tstate
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11911 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11918 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11919 PyObject
*resultobj
= 0;
11920 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11924 PyObject
*swig_obj
[1] ;
11926 if (!args
) SWIG_fail
;
11927 swig_obj
[0] = args
;
11928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11929 if (!SWIG_IsOK(res1
)) {
11930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11932 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 result
= (bool)(arg1
)->HaveRects();
11936 wxPyEndAllowThreads(__tstate
);
11937 if (PyErr_Occurred()) SWIG_fail
;
11940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11948 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11949 PyObject
*resultobj
= 0;
11950 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11953 PyObject
*swig_obj
[1] ;
11955 if (!args
) SWIG_fail
;
11956 swig_obj
[0] = args
;
11957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11958 if (!SWIG_IsOK(res1
)) {
11959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11961 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11968 resultobj
= SWIG_Py_Void();
11975 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11976 PyObject
*resultobj
= 0;
11977 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11980 PyObject
*swig_obj
[1] ;
11982 if (!args
) SWIG_fail
;
11983 swig_obj
[0] = args
;
11984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11985 if (!SWIG_IsOK(res1
)) {
11986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11988 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 wxRegionIterator_Next(arg1
);
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= SWIG_Py_Void();
12002 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12003 PyObject
*resultobj
= 0;
12004 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12008 PyObject
*swig_obj
[1] ;
12010 if (!args
) SWIG_fail
;
12011 swig_obj
[0] = args
;
12012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12013 if (!SWIG_IsOK(res1
)) {
12014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12016 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12032 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12035 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12036 return SWIG_Py_Void();
12039 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12040 return SWIG_Python_InitShadowInstance(args
);
12043 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12044 PyObject
*resultobj
= 0;
12045 wxNativeFontInfo
*result
= 0 ;
12047 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12050 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12061 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12062 PyObject
*resultobj
= 0;
12063 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12066 PyObject
*swig_obj
[1] ;
12068 if (!args
) SWIG_fail
;
12069 swig_obj
[0] = args
;
12070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12071 if (!SWIG_IsOK(res1
)) {
12072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12074 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= SWIG_Py_Void();
12089 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12090 PyObject
*resultobj
= 0;
12091 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12094 PyObject
*swig_obj
[1] ;
12096 if (!args
) SWIG_fail
;
12097 swig_obj
[0] = args
;
12098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12099 if (!SWIG_IsOK(res1
)) {
12100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12102 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 wxPyEndAllowThreads(__tstate
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12109 resultobj
= SWIG_Py_Void();
12116 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12117 PyObject
*resultobj
= 0;
12118 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12124 PyObject
* obj0
= 0 ;
12125 PyObject
* obj1
= 0 ;
12126 char * kwnames
[] = {
12127 (char *) "self",(char *) "font", NULL
12130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12132 if (!SWIG_IsOK(res1
)) {
12133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12135 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12136 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12137 if (!SWIG_IsOK(res2
)) {
12138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12143 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12150 resultobj
= SWIG_Py_Void();
12157 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12158 PyObject
*resultobj
= 0;
12159 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12163 PyObject
*swig_obj
[1] ;
12165 if (!args
) SWIG_fail
;
12166 swig_obj
[0] = args
;
12167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12168 if (!SWIG_IsOK(res1
)) {
12169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12171 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12174 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12178 resultobj
= SWIG_From_int(static_cast< int >(result
));
12185 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12186 PyObject
*resultobj
= 0;
12187 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12188 wxFontStyle result
;
12191 PyObject
*swig_obj
[1] ;
12193 if (!args
) SWIG_fail
;
12194 swig_obj
[0] = args
;
12195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12196 if (!SWIG_IsOK(res1
)) {
12197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12199 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12202 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12203 wxPyEndAllowThreads(__tstate
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12206 resultobj
= SWIG_From_int(static_cast< int >(result
));
12213 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12214 PyObject
*resultobj
= 0;
12215 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12216 wxFontWeight result
;
12219 PyObject
*swig_obj
[1] ;
12221 if (!args
) SWIG_fail
;
12222 swig_obj
[0] = args
;
12223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12224 if (!SWIG_IsOK(res1
)) {
12225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12227 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 resultobj
= SWIG_From_int(static_cast< int >(result
));
12241 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12242 PyObject
*resultobj
= 0;
12243 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12247 PyObject
*swig_obj
[1] ;
12249 if (!args
) SWIG_fail
;
12250 swig_obj
[0] = args
;
12251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12252 if (!SWIG_IsOK(res1
)) {
12253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12255 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12271 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12272 PyObject
*resultobj
= 0;
12273 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12277 PyObject
*swig_obj
[1] ;
12279 if (!args
) SWIG_fail
;
12280 swig_obj
[0] = args
;
12281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12282 if (!SWIG_IsOK(res1
)) {
12283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12285 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12289 wxPyEndAllowThreads(__tstate
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12296 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12305 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12306 PyObject
*resultobj
= 0;
12307 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12308 wxFontFamily result
;
12311 PyObject
*swig_obj
[1] ;
12313 if (!args
) SWIG_fail
;
12314 swig_obj
[0] = args
;
12315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12316 if (!SWIG_IsOK(res1
)) {
12317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12319 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12322 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 resultobj
= SWIG_From_int(static_cast< int >(result
));
12333 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12334 PyObject
*resultobj
= 0;
12335 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12336 wxFontEncoding result
;
12339 PyObject
*swig_obj
[1] ;
12341 if (!args
) SWIG_fail
;
12342 swig_obj
[0] = args
;
12343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12344 if (!SWIG_IsOK(res1
)) {
12345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12347 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12354 resultobj
= SWIG_From_int(static_cast< int >(result
));
12361 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
*resultobj
= 0;
12363 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12369 PyObject
* obj0
= 0 ;
12370 PyObject
* obj1
= 0 ;
12371 char * kwnames
[] = {
12372 (char *) "self",(char *) "pointsize", NULL
12375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12377 if (!SWIG_IsOK(res1
)) {
12378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12380 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12382 if (!SWIG_IsOK(ecode2
)) {
12383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12385 arg2
= static_cast< int >(val2
);
12387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12388 (arg1
)->SetPointSize(arg2
);
12389 wxPyEndAllowThreads(__tstate
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12392 resultobj
= SWIG_Py_Void();
12399 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12400 PyObject
*resultobj
= 0;
12401 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12407 PyObject
* obj0
= 0 ;
12408 PyObject
* obj1
= 0 ;
12409 char * kwnames
[] = {
12410 (char *) "self",(char *) "style", NULL
12413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12415 if (!SWIG_IsOK(res1
)) {
12416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12418 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12420 if (!SWIG_IsOK(ecode2
)) {
12421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12423 arg2
= static_cast< wxFontStyle
>(val2
);
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 (arg1
)->SetStyle(arg2
);
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12430 resultobj
= SWIG_Py_Void();
12437 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
= 0;
12439 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12440 wxFontWeight arg2
;
12445 PyObject
* obj0
= 0 ;
12446 PyObject
* obj1
= 0 ;
12447 char * kwnames
[] = {
12448 (char *) "self",(char *) "weight", NULL
12451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12453 if (!SWIG_IsOK(res1
)) {
12454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12456 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12458 if (!SWIG_IsOK(ecode2
)) {
12459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12461 arg2
= static_cast< wxFontWeight
>(val2
);
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 (arg1
)->SetWeight(arg2
);
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= SWIG_Py_Void();
12475 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12476 PyObject
*resultobj
= 0;
12477 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12483 PyObject
* obj0
= 0 ;
12484 PyObject
* obj1
= 0 ;
12485 char * kwnames
[] = {
12486 (char *) "self",(char *) "underlined", NULL
12489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12491 if (!SWIG_IsOK(res1
)) {
12492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12494 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12495 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12496 if (!SWIG_IsOK(ecode2
)) {
12497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12499 arg2
= static_cast< bool >(val2
);
12501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12502 (arg1
)->SetUnderlined(arg2
);
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12506 resultobj
= SWIG_Py_Void();
12513 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12514 PyObject
*resultobj
= 0;
12515 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12520 PyObject
* obj0
= 0 ;
12521 PyObject
* obj1
= 0 ;
12522 char * kwnames
[] = {
12523 (char *) "self",(char *) "facename", NULL
12526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12528 if (!SWIG_IsOK(res1
)) {
12529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12531 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12533 wxString
* sptr
= wxString_in_helper(obj1
);
12534 if (sptr
== NULL
) SWIG_fail
;
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 result
= (bool)(arg1
)->SetFaceName(arg2
);
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12553 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12554 PyObject
*resultobj
= 0;
12555 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12556 wxFontFamily arg2
;
12561 PyObject
* obj0
= 0 ;
12562 PyObject
* obj1
= 0 ;
12563 char * kwnames
[] = {
12564 (char *) "self",(char *) "family", NULL
12567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12569 if (!SWIG_IsOK(res1
)) {
12570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12572 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12574 if (!SWIG_IsOK(ecode2
)) {
12575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12577 arg2
= static_cast< wxFontFamily
>(val2
);
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 (arg1
)->SetFamily(arg2
);
12581 wxPyEndAllowThreads(__tstate
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12584 resultobj
= SWIG_Py_Void();
12591 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12592 PyObject
*resultobj
= 0;
12593 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12594 wxFontEncoding arg2
;
12599 PyObject
* obj0
= 0 ;
12600 PyObject
* obj1
= 0 ;
12601 char * kwnames
[] = {
12602 (char *) "self",(char *) "encoding", NULL
12605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12607 if (!SWIG_IsOK(res1
)) {
12608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12610 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12612 if (!SWIG_IsOK(ecode2
)) {
12613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12615 arg2
= static_cast< wxFontEncoding
>(val2
);
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 (arg1
)->SetEncoding(arg2
);
12619 wxPyEndAllowThreads(__tstate
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12622 resultobj
= SWIG_Py_Void();
12629 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12630 PyObject
*resultobj
= 0;
12631 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12632 wxString
*arg2
= 0 ;
12636 bool temp2
= false ;
12637 PyObject
* obj0
= 0 ;
12638 PyObject
* obj1
= 0 ;
12639 char * kwnames
[] = {
12640 (char *) "self",(char *) "s", NULL
12643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12645 if (!SWIG_IsOK(res1
)) {
12646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12648 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12650 arg2
= wxString_in_helper(obj1
);
12651 if (arg2
== NULL
) SWIG_fail
;
12655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12656 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12677 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12678 PyObject
*resultobj
= 0;
12679 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12683 PyObject
*swig_obj
[1] ;
12685 if (!args
) SWIG_fail
;
12686 swig_obj
[0] = args
;
12687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12688 if (!SWIG_IsOK(res1
)) {
12689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12691 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12695 wxPyEndAllowThreads(__tstate
);
12696 if (PyErr_Occurred()) SWIG_fail
;
12700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12711 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12712 PyObject
*resultobj
= 0;
12713 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12717 PyObject
*swig_obj
[1] ;
12719 if (!args
) SWIG_fail
;
12720 swig_obj
[0] = args
;
12721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12722 if (!SWIG_IsOK(res1
)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12725 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12728 result
= wxNativeFontInfo___str__(arg1
);
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12745 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12746 PyObject
*resultobj
= 0;
12747 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12748 wxString
*arg2
= 0 ;
12752 bool temp2
= false ;
12753 PyObject
* obj0
= 0 ;
12754 PyObject
* obj1
= 0 ;
12755 char * kwnames
[] = {
12756 (char *) "self",(char *) "s", NULL
12759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12761 if (!SWIG_IsOK(res1
)) {
12762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12764 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12766 arg2
= wxString_in_helper(obj1
);
12767 if (arg2
== NULL
) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12793 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12794 PyObject
*resultobj
= 0;
12795 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12799 PyObject
*swig_obj
[1] ;
12801 if (!args
) SWIG_fail
;
12802 swig_obj
[0] = args
;
12803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12804 if (!SWIG_IsOK(res1
)) {
12805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12807 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12827 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12830 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12831 return SWIG_Py_Void();
12834 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12835 return SWIG_Python_InitShadowInstance(args
);
12838 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12839 PyObject
*resultobj
= 0;
12840 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12841 wxString
*arg2
= (wxString
*) 0 ;
12844 bool temp2
= false ;
12845 PyObject
*swig_obj
[2] ;
12847 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12849 if (!SWIG_IsOK(res1
)) {
12850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12852 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12854 arg2
= wxString_in_helper(swig_obj
[1]);
12855 if (arg2
== NULL
) SWIG_fail
;
12858 if (arg1
) (arg1
)->facename
= *arg2
;
12860 resultobj
= SWIG_Py_Void();
12875 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12876 PyObject
*resultobj
= 0;
12877 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12878 wxString
*result
= 0 ;
12881 PyObject
*swig_obj
[1] ;
12883 if (!args
) SWIG_fail
;
12884 swig_obj
[0] = args
;
12885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12886 if (!SWIG_IsOK(res1
)) {
12887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12889 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12890 result
= (wxString
*)& ((arg1
)->facename
);
12893 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12895 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12904 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12905 PyObject
*resultobj
= 0;
12906 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12907 wxFontEncoding arg2
;
12912 PyObject
*swig_obj
[2] ;
12914 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12916 if (!SWIG_IsOK(res1
)) {
12917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12919 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12920 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12921 if (!SWIG_IsOK(ecode2
)) {
12922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12924 arg2
= static_cast< wxFontEncoding
>(val2
);
12925 if (arg1
) (arg1
)->encoding
= arg2
;
12927 resultobj
= SWIG_Py_Void();
12934 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12935 PyObject
*resultobj
= 0;
12936 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12937 wxFontEncoding result
;
12940 PyObject
*swig_obj
[1] ;
12942 if (!args
) SWIG_fail
;
12943 swig_obj
[0] = args
;
12944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12945 if (!SWIG_IsOK(res1
)) {
12946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12948 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12949 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12950 resultobj
= SWIG_From_int(static_cast< int >(result
));
12957 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12958 PyObject
*resultobj
= 0;
12959 wxNativeEncodingInfo
*result
= 0 ;
12961 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12964 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12965 wxPyEndAllowThreads(__tstate
);
12966 if (PyErr_Occurred()) SWIG_fail
;
12968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12975 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12976 PyObject
*resultobj
= 0;
12977 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12980 PyObject
*swig_obj
[1] ;
12982 if (!args
) SWIG_fail
;
12983 swig_obj
[0] = args
;
12984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12985 if (!SWIG_IsOK(res1
)) {
12986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12988 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12993 wxPyEndAllowThreads(__tstate
);
12994 if (PyErr_Occurred()) SWIG_fail
;
12996 resultobj
= SWIG_Py_Void();
13003 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13004 PyObject
*resultobj
= 0;
13005 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13006 wxString
*arg2
= 0 ;
13010 bool temp2
= false ;
13011 PyObject
* obj0
= 0 ;
13012 PyObject
* obj1
= 0 ;
13013 char * kwnames
[] = {
13014 (char *) "self",(char *) "s", NULL
13017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13019 if (!SWIG_IsOK(res1
)) {
13020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13022 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13024 arg2
= wxString_in_helper(obj1
);
13025 if (arg2
== NULL
) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13051 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13052 PyObject
*resultobj
= 0;
13053 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13057 PyObject
*swig_obj
[1] ;
13059 if (!args
) SWIG_fail
;
13060 swig_obj
[0] = args
;
13061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13062 if (!SWIG_IsOK(res1
)) {
13063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13065 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13085 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13087 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13088 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13089 return SWIG_Py_Void();
13092 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13093 return SWIG_Python_InitShadowInstance(args
);
13096 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13097 PyObject
*resultobj
= 0;
13098 wxFontEncoding arg1
;
13099 wxNativeEncodingInfo
*result
= 0 ;
13102 PyObject
* obj0
= 0 ;
13103 char * kwnames
[] = {
13104 (char *) "encoding", NULL
13107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13108 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13109 if (!SWIG_IsOK(ecode1
)) {
13110 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13112 arg1
= static_cast< wxFontEncoding
>(val1
);
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13126 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
= 0;
13128 wxNativeEncodingInfo
*arg1
= 0 ;
13132 PyObject
* obj0
= 0 ;
13133 char * kwnames
[] = {
13134 (char *) "info", NULL
13137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13138 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13139 if (!SWIG_IsOK(res1
)) {
13140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13145 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13148 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13149 wxPyEndAllowThreads(__tstate
);
13150 if (PyErr_Occurred()) SWIG_fail
;
13153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13161 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13162 PyObject
*resultobj
= 0;
13163 wxFontMapper
*result
= 0 ;
13165 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13168 result
= (wxFontMapper
*)new wxFontMapper();
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13179 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13180 PyObject
*resultobj
= 0;
13181 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13184 PyObject
*swig_obj
[1] ;
13186 if (!args
) SWIG_fail
;
13187 swig_obj
[0] = args
;
13188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13189 if (!SWIG_IsOK(res1
)) {
13190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13192 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 resultobj
= SWIG_Py_Void();
13207 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13208 PyObject
*resultobj
= 0;
13209 wxFontMapper
*result
= 0 ;
13211 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (wxFontMapper
*)wxFontMapper::Get();
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13225 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13226 PyObject
*resultobj
= 0;
13227 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13228 wxFontMapper
*result
= 0 ;
13231 PyObject
* obj0
= 0 ;
13232 char * kwnames
[] = {
13233 (char *) "mapper", NULL
13236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13238 if (!SWIG_IsOK(res1
)) {
13239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13241 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13255 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
= 0;
13257 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13258 wxString
*arg2
= 0 ;
13259 bool arg3
= (bool) true ;
13260 wxFontEncoding result
;
13263 bool temp2
= false ;
13266 PyObject
* obj0
= 0 ;
13267 PyObject
* obj1
= 0 ;
13268 PyObject
* obj2
= 0 ;
13269 char * kwnames
[] = {
13270 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13275 if (!SWIG_IsOK(res1
)) {
13276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13278 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13280 arg2
= wxString_in_helper(obj1
);
13281 if (arg2
== NULL
) SWIG_fail
;
13285 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13286 if (!SWIG_IsOK(ecode3
)) {
13287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13289 arg3
= static_cast< bool >(val3
);
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= SWIG_From_int(static_cast< int >(result
));
13312 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13313 PyObject
*resultobj
= 0;
13316 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13320 wxPyEndAllowThreads(__tstate
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13330 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
= 0;
13333 wxFontEncoding result
;
13336 PyObject
* obj0
= 0 ;
13337 char * kwnames
[] = {
13341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13342 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13343 if (!SWIG_IsOK(ecode1
)) {
13344 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13346 arg1
= static_cast< size_t >(val1
);
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13349 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13353 resultobj
= SWIG_From_int(static_cast< int >(result
));
13360 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13361 PyObject
*resultobj
= 0;
13362 wxFontEncoding arg1
;
13366 PyObject
* obj0
= 0 ;
13367 char * kwnames
[] = {
13368 (char *) "encoding", NULL
13371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13372 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13373 if (!SWIG_IsOK(ecode1
)) {
13374 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13376 arg1
= static_cast< wxFontEncoding
>(val1
);
13378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13379 result
= wxFontMapper::GetEncodingName(arg1
);
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13396 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13397 PyObject
*resultobj
= 0;
13398 wxFontEncoding arg1
;
13402 PyObject
* obj0
= 0 ;
13403 char * kwnames
[] = {
13404 (char *) "encoding", NULL
13407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13408 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13409 if (!SWIG_IsOK(ecode1
)) {
13410 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13412 arg1
= static_cast< wxFontEncoding
>(val1
);
13414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13415 result
= wxFontMapper::GetEncodingDescription(arg1
);
13416 wxPyEndAllowThreads(__tstate
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13432 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13433 PyObject
*resultobj
= 0;
13434 wxString
*arg1
= 0 ;
13435 wxFontEncoding result
;
13436 bool temp1
= false ;
13437 PyObject
* obj0
= 0 ;
13438 char * kwnames
[] = {
13439 (char *) "name", NULL
13442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13444 arg1
= wxString_in_helper(obj0
);
13445 if (arg1
== NULL
) SWIG_fail
;
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13451 wxPyEndAllowThreads(__tstate
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13454 resultobj
= SWIG_From_int(static_cast< int >(result
));
13469 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13470 PyObject
*resultobj
= 0;
13471 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13472 wxString
*arg2
= 0 ;
13475 bool temp2
= false ;
13476 PyObject
* obj0
= 0 ;
13477 PyObject
* obj1
= 0 ;
13478 char * kwnames
[] = {
13479 (char *) "self",(char *) "prefix", NULL
13482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13484 if (!SWIG_IsOK(res1
)) {
13485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13487 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13489 arg2
= wxString_in_helper(obj1
);
13490 if (arg2
== NULL
) SWIG_fail
;
13494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13495 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13499 resultobj
= SWIG_Py_Void();
13514 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13515 PyObject
*resultobj
= 0;
13518 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 result
= wxFontMapper::GetDefaultConfigPath();
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13527 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13529 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13538 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13539 PyObject
*resultobj
= 0;
13540 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13541 wxFontEncoding arg2
;
13542 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13543 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13544 bool arg4
= (bool) true ;
13545 PyObject
*result
= 0 ;
13550 bool temp3
= false ;
13553 PyObject
* obj0
= 0 ;
13554 PyObject
* obj1
= 0 ;
13555 PyObject
* obj2
= 0 ;
13556 PyObject
* obj3
= 0 ;
13557 char * kwnames
[] = {
13558 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13563 if (!SWIG_IsOK(res1
)) {
13564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13566 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13568 if (!SWIG_IsOK(ecode2
)) {
13569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13571 arg2
= static_cast< wxFontEncoding
>(val2
);
13574 arg3
= wxString_in_helper(obj2
);
13575 if (arg3
== NULL
) SWIG_fail
;
13580 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13581 if (!SWIG_IsOK(ecode4
)) {
13582 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13584 arg4
= static_cast< bool >(val4
);
13587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13592 resultobj
= result
;
13607 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13608 PyObject
*resultobj
= 0;
13609 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13610 wxFontEncoding arg2
;
13611 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13612 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13618 bool temp3
= false ;
13619 PyObject
* obj0
= 0 ;
13620 PyObject
* obj1
= 0 ;
13621 PyObject
* obj2
= 0 ;
13622 char * kwnames
[] = {
13623 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13628 if (!SWIG_IsOK(res1
)) {
13629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13631 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13633 if (!SWIG_IsOK(ecode2
)) {
13634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13636 arg2
= static_cast< wxFontEncoding
>(val2
);
13639 arg3
= wxString_in_helper(obj2
);
13640 if (arg3
== NULL
) SWIG_fail
;
13645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13646 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13647 wxPyEndAllowThreads(__tstate
);
13648 if (PyErr_Occurred()) SWIG_fail
;
13651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13667 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13668 PyObject
*resultobj
= 0;
13669 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13670 wxWindow
*arg2
= (wxWindow
*) 0 ;
13675 PyObject
* obj0
= 0 ;
13676 PyObject
* obj1
= 0 ;
13677 char * kwnames
[] = {
13678 (char *) "self",(char *) "parent", NULL
13681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13683 if (!SWIG_IsOK(res1
)) {
13684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13686 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13687 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13688 if (!SWIG_IsOK(res2
)) {
13689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13691 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 (arg1
)->SetDialogParent(arg2
);
13695 wxPyEndAllowThreads(__tstate
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13698 resultobj
= SWIG_Py_Void();
13705 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13706 PyObject
*resultobj
= 0;
13707 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13708 wxString
*arg2
= 0 ;
13711 bool temp2
= false ;
13712 PyObject
* obj0
= 0 ;
13713 PyObject
* obj1
= 0 ;
13714 char * kwnames
[] = {
13715 (char *) "self",(char *) "title", NULL
13718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13720 if (!SWIG_IsOK(res1
)) {
13721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13723 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13725 arg2
= wxString_in_helper(obj1
);
13726 if (arg2
== NULL
) SWIG_fail
;
13730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13731 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13732 wxPyEndAllowThreads(__tstate
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13735 resultobj
= SWIG_Py_Void();
13750 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13752 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13753 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13754 return SWIG_Py_Void();
13757 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13758 return SWIG_Python_InitShadowInstance(args
);
13761 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13762 PyObject
*resultobj
= 0;
13767 bool arg5
= (bool) false ;
13768 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13769 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13770 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13771 wxFont
*result
= 0 ;
13782 bool temp6
= false ;
13785 PyObject
* obj0
= 0 ;
13786 PyObject
* obj1
= 0 ;
13787 PyObject
* obj2
= 0 ;
13788 PyObject
* obj3
= 0 ;
13789 PyObject
* obj4
= 0 ;
13790 PyObject
* obj5
= 0 ;
13791 PyObject
* obj6
= 0 ;
13792 char * kwnames
[] = {
13793 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13797 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13798 if (!SWIG_IsOK(ecode1
)) {
13799 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13801 arg1
= static_cast< int >(val1
);
13802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13803 if (!SWIG_IsOK(ecode2
)) {
13804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13806 arg2
= static_cast< int >(val2
);
13807 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13808 if (!SWIG_IsOK(ecode3
)) {
13809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13811 arg3
= static_cast< int >(val3
);
13812 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13813 if (!SWIG_IsOK(ecode4
)) {
13814 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13816 arg4
= static_cast< int >(val4
);
13818 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13819 if (!SWIG_IsOK(ecode5
)) {
13820 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13822 arg5
= static_cast< bool >(val5
);
13826 arg6
= wxString_in_helper(obj5
);
13827 if (arg6
== NULL
) SWIG_fail
;
13832 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13833 if (!SWIG_IsOK(ecode7
)) {
13834 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13836 arg7
= static_cast< wxFontEncoding
>(val7
);
13839 if (!wxPyCheckForApp()) SWIG_fail
;
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13860 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13861 PyObject
*resultobj
= 0;
13862 wxFont
*arg1
= (wxFont
*) 0 ;
13865 PyObject
*swig_obj
[1] ;
13867 if (!args
) SWIG_fail
;
13868 swig_obj
[0] = args
;
13869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13870 if (!SWIG_IsOK(res1
)) {
13871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13873 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13878 wxPyEndAllowThreads(__tstate
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13881 resultobj
= SWIG_Py_Void();
13888 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13889 PyObject
*resultobj
= 0;
13890 wxNativeFontInfo
*arg1
= 0 ;
13891 wxFont
*result
= 0 ;
13894 PyObject
* obj0
= 0 ;
13895 char * kwnames
[] = {
13896 (char *) "info", NULL
13899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13900 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13901 if (!SWIG_IsOK(res1
)) {
13902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13907 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13909 if (!wxPyCheckForApp()) SWIG_fail
;
13910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13911 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13922 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13923 PyObject
*resultobj
= 0;
13924 wxString
*arg1
= 0 ;
13925 wxFont
*result
= 0 ;
13926 bool temp1
= false ;
13927 PyObject
* obj0
= 0 ;
13928 char * kwnames
[] = {
13929 (char *) "info", NULL
13932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13934 arg1
= wxString_in_helper(obj0
);
13935 if (arg1
== NULL
) SWIG_fail
;
13939 if (!wxPyCheckForApp()) SWIG_fail
;
13940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13941 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13960 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
= 0;
13963 wxFontFamily arg2
;
13964 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13965 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13966 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13967 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13968 wxFont
*result
= 0 ;
13975 bool temp4
= false ;
13978 PyObject
* obj0
= 0 ;
13979 PyObject
* obj1
= 0 ;
13980 PyObject
* obj2
= 0 ;
13981 PyObject
* obj3
= 0 ;
13982 PyObject
* obj4
= 0 ;
13983 char * kwnames
[] = {
13984 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13988 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13989 if (!SWIG_IsOK(ecode1
)) {
13990 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13992 arg1
= static_cast< int >(val1
);
13993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13994 if (!SWIG_IsOK(ecode2
)) {
13995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13997 arg2
= static_cast< wxFontFamily
>(val2
);
13999 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14000 if (!SWIG_IsOK(ecode3
)) {
14001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14003 arg3
= static_cast< int >(val3
);
14007 arg4
= wxString_in_helper(obj3
);
14008 if (arg4
== NULL
) SWIG_fail
;
14013 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14014 if (!SWIG_IsOK(ecode5
)) {
14015 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14017 arg5
= static_cast< wxFontEncoding
>(val5
);
14020 if (!wxPyCheckForApp()) SWIG_fail
;
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14041 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14042 PyObject
*resultobj
= 0;
14047 bool arg5
= (bool) false ;
14048 wxString
const &arg6_defvalue
= wxEmptyString
;
14049 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14050 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14051 wxFont
*result
= 0 ;
14061 bool temp6
= false ;
14064 PyObject
* obj0
= 0 ;
14065 PyObject
* obj1
= 0 ;
14066 PyObject
* obj2
= 0 ;
14067 PyObject
* obj3
= 0 ;
14068 PyObject
* obj4
= 0 ;
14069 PyObject
* obj5
= 0 ;
14070 PyObject
* obj6
= 0 ;
14071 char * kwnames
[] = {
14072 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14078 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14081 if (!SWIG_IsOK(ecode2
)) {
14082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14084 arg2
= static_cast< int >(val2
);
14085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14086 if (!SWIG_IsOK(ecode3
)) {
14087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14089 arg3
= static_cast< int >(val3
);
14090 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14091 if (!SWIG_IsOK(ecode4
)) {
14092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14094 arg4
= static_cast< int >(val4
);
14096 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14097 if (!SWIG_IsOK(ecode5
)) {
14098 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14100 arg5
= static_cast< bool >(val5
);
14104 arg6
= wxString_in_helper(obj5
);
14105 if (arg6
== NULL
) SWIG_fail
;
14110 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14111 if (!SWIG_IsOK(ecode7
)) {
14112 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14114 arg7
= static_cast< wxFontEncoding
>(val7
);
14117 if (!wxPyCheckForApp()) SWIG_fail
;
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14120 wxPyEndAllowThreads(__tstate
);
14121 if (PyErr_Occurred()) SWIG_fail
;
14123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14138 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14139 PyObject
*resultobj
= 0;
14141 wxFontFamily arg2
;
14142 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14143 wxString
const &arg4_defvalue
= wxEmptyString
;
14144 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14145 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14146 wxFont
*result
= 0 ;
14152 bool temp4
= false ;
14155 PyObject
* obj0
= 0 ;
14156 PyObject
* obj1
= 0 ;
14157 PyObject
* obj2
= 0 ;
14158 PyObject
* obj3
= 0 ;
14159 PyObject
* obj4
= 0 ;
14160 char * kwnames
[] = {
14161 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14167 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14170 if (!SWIG_IsOK(ecode2
)) {
14171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14173 arg2
= static_cast< wxFontFamily
>(val2
);
14175 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14176 if (!SWIG_IsOK(ecode3
)) {
14177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14179 arg3
= static_cast< int >(val3
);
14183 arg4
= wxString_in_helper(obj3
);
14184 if (arg4
== NULL
) SWIG_fail
;
14189 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14190 if (!SWIG_IsOK(ecode5
)) {
14191 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14193 arg5
= static_cast< wxFontEncoding
>(val5
);
14196 if (!wxPyCheckForApp()) SWIG_fail
;
14197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14217 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14218 PyObject
*resultobj
= 0;
14219 wxFont
*arg1
= (wxFont
*) 0 ;
14223 PyObject
*swig_obj
[1] ;
14225 if (!args
) SWIG_fail
;
14226 swig_obj
[0] = args
;
14227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14228 if (!SWIG_IsOK(res1
)) {
14229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14231 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14247 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14248 PyObject
*resultobj
= 0;
14249 wxFont
*arg1
= (wxFont
*) 0 ;
14250 wxFont
*arg2
= (wxFont
*) 0 ;
14256 PyObject
* obj0
= 0 ;
14257 PyObject
* obj1
= 0 ;
14258 char * kwnames
[] = {
14259 (char *) "self",(char *) "other", NULL
14262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14264 if (!SWIG_IsOK(res1
)) {
14265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14267 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14268 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14269 if (!SWIG_IsOK(res2
)) {
14270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14272 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14288 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14289 PyObject
*resultobj
= 0;
14290 wxFont
*arg1
= (wxFont
*) 0 ;
14291 wxFont
*arg2
= (wxFont
*) 0 ;
14297 PyObject
* obj0
= 0 ;
14298 PyObject
* obj1
= 0 ;
14299 char * kwnames
[] = {
14300 (char *) "self",(char *) "other", NULL
14303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14305 if (!SWIG_IsOK(res1
)) {
14306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14308 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14310 if (!SWIG_IsOK(res2
)) {
14311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14313 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14316 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14317 wxPyEndAllowThreads(__tstate
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14329 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14330 PyObject
*resultobj
= 0;
14331 wxFont
*arg1
= (wxFont
*) 0 ;
14335 PyObject
*swig_obj
[1] ;
14337 if (!args
) SWIG_fail
;
14338 swig_obj
[0] = args
;
14339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14340 if (!SWIG_IsOK(res1
)) {
14341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14343 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14350 resultobj
= SWIG_From_int(static_cast< int >(result
));
14357 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14358 PyObject
*resultobj
= 0;
14359 wxFont
*arg1
= (wxFont
*) 0 ;
14363 PyObject
*swig_obj
[1] ;
14365 if (!args
) SWIG_fail
;
14366 swig_obj
[0] = args
;
14367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14368 if (!SWIG_IsOK(res1
)) {
14369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14371 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14375 wxPyEndAllowThreads(__tstate
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14378 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14385 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14386 PyObject
*resultobj
= 0;
14387 wxFont
*arg1
= (wxFont
*) 0 ;
14391 PyObject
*swig_obj
[1] ;
14393 if (!args
) SWIG_fail
;
14394 swig_obj
[0] = args
;
14395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14396 if (!SWIG_IsOK(res1
)) {
14397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14399 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14415 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14416 PyObject
*resultobj
= 0;
14417 wxFont
*arg1
= (wxFont
*) 0 ;
14421 PyObject
*swig_obj
[1] ;
14423 if (!args
) SWIG_fail
;
14424 swig_obj
[0] = args
;
14425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14426 if (!SWIG_IsOK(res1
)) {
14427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14429 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14433 wxPyEndAllowThreads(__tstate
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14436 resultobj
= SWIG_From_int(static_cast< int >(result
));
14443 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14444 PyObject
*resultobj
= 0;
14445 wxFont
*arg1
= (wxFont
*) 0 ;
14449 PyObject
*swig_obj
[1] ;
14451 if (!args
) SWIG_fail
;
14452 swig_obj
[0] = args
;
14453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14454 if (!SWIG_IsOK(res1
)) {
14455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14457 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14461 wxPyEndAllowThreads(__tstate
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14464 resultobj
= SWIG_From_int(static_cast< int >(result
));
14471 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14472 PyObject
*resultobj
= 0;
14473 wxFont
*arg1
= (wxFont
*) 0 ;
14477 PyObject
*swig_obj
[1] ;
14479 if (!args
) SWIG_fail
;
14480 swig_obj
[0] = args
;
14481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14482 if (!SWIG_IsOK(res1
)) {
14483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14485 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14488 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14489 wxPyEndAllowThreads(__tstate
);
14490 if (PyErr_Occurred()) SWIG_fail
;
14492 resultobj
= SWIG_From_int(static_cast< int >(result
));
14499 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14500 PyObject
*resultobj
= 0;
14501 wxFont
*arg1
= (wxFont
*) 0 ;
14505 PyObject
*swig_obj
[1] ;
14507 if (!args
) SWIG_fail
;
14508 swig_obj
[0] = args
;
14509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14510 if (!SWIG_IsOK(res1
)) {
14511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14513 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14529 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14530 PyObject
*resultobj
= 0;
14531 wxFont
*arg1
= (wxFont
*) 0 ;
14535 PyObject
*swig_obj
[1] ;
14537 if (!args
) SWIG_fail
;
14538 swig_obj
[0] = args
;
14539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14540 if (!SWIG_IsOK(res1
)) {
14541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14543 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14546 result
= ((wxFont
const *)arg1
)->GetFaceName();
14547 wxPyEndAllowThreads(__tstate
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14563 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14564 PyObject
*resultobj
= 0;
14565 wxFont
*arg1
= (wxFont
*) 0 ;
14566 wxFontEncoding result
;
14569 PyObject
*swig_obj
[1] ;
14571 if (!args
) SWIG_fail
;
14572 swig_obj
[0] = args
;
14573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14574 if (!SWIG_IsOK(res1
)) {
14575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14577 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14580 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14584 resultobj
= SWIG_From_int(static_cast< int >(result
));
14591 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14592 PyObject
*resultobj
= 0;
14593 wxFont
*arg1
= (wxFont
*) 0 ;
14594 wxNativeFontInfo
*result
= 0 ;
14597 PyObject
*swig_obj
[1] ;
14599 if (!args
) SWIG_fail
;
14600 swig_obj
[0] = args
;
14601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14602 if (!SWIG_IsOK(res1
)) {
14603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14605 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14608 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14619 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14620 PyObject
*resultobj
= 0;
14621 wxFont
*arg1
= (wxFont
*) 0 ;
14625 PyObject
*swig_obj
[1] ;
14627 if (!args
) SWIG_fail
;
14628 swig_obj
[0] = args
;
14629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14630 if (!SWIG_IsOK(res1
)) {
14631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14633 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14636 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14637 wxPyEndAllowThreads(__tstate
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14649 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14650 PyObject
*resultobj
= 0;
14651 wxFont
*arg1
= (wxFont
*) 0 ;
14655 PyObject
*swig_obj
[1] ;
14657 if (!args
) SWIG_fail
;
14658 swig_obj
[0] = args
;
14659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14660 if (!SWIG_IsOK(res1
)) {
14661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14663 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14667 wxPyEndAllowThreads(__tstate
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14683 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14684 PyObject
*resultobj
= 0;
14685 wxFont
*arg1
= (wxFont
*) 0 ;
14689 PyObject
*swig_obj
[1] ;
14691 if (!args
) SWIG_fail
;
14692 swig_obj
[0] = args
;
14693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14694 if (!SWIG_IsOK(res1
)) {
14695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14697 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14700 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14717 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14718 PyObject
*resultobj
= 0;
14719 wxFont
*arg1
= (wxFont
*) 0 ;
14725 PyObject
* obj0
= 0 ;
14726 PyObject
* obj1
= 0 ;
14727 char * kwnames
[] = {
14728 (char *) "self",(char *) "pointSize", NULL
14731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14733 if (!SWIG_IsOK(res1
)) {
14734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14736 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14738 if (!SWIG_IsOK(ecode2
)) {
14739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14741 arg2
= static_cast< int >(val2
);
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 (arg1
)->SetPointSize(arg2
);
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14748 resultobj
= SWIG_Py_Void();
14755 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14756 PyObject
*resultobj
= 0;
14757 wxFont
*arg1
= (wxFont
*) 0 ;
14762 PyObject
* obj0
= 0 ;
14763 PyObject
* obj1
= 0 ;
14764 char * kwnames
[] = {
14765 (char *) "self",(char *) "pixelSize", NULL
14768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14770 if (!SWIG_IsOK(res1
)) {
14771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14773 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14776 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 resultobj
= SWIG_Py_Void();
14791 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
= 0;
14793 wxFont
*arg1
= (wxFont
*) 0 ;
14799 PyObject
* obj0
= 0 ;
14800 PyObject
* obj1
= 0 ;
14801 char * kwnames
[] = {
14802 (char *) "self",(char *) "family", NULL
14805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14807 if (!SWIG_IsOK(res1
)) {
14808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14810 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14812 if (!SWIG_IsOK(ecode2
)) {
14813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14815 arg2
= static_cast< int >(val2
);
14817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14818 (arg1
)->SetFamily(arg2
);
14819 wxPyEndAllowThreads(__tstate
);
14820 if (PyErr_Occurred()) SWIG_fail
;
14822 resultobj
= SWIG_Py_Void();
14829 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14830 PyObject
*resultobj
= 0;
14831 wxFont
*arg1
= (wxFont
*) 0 ;
14837 PyObject
* obj0
= 0 ;
14838 PyObject
* obj1
= 0 ;
14839 char * kwnames
[] = {
14840 (char *) "self",(char *) "style", NULL
14843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14845 if (!SWIG_IsOK(res1
)) {
14846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14848 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14850 if (!SWIG_IsOK(ecode2
)) {
14851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14853 arg2
= static_cast< int >(val2
);
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 (arg1
)->SetStyle(arg2
);
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= SWIG_Py_Void();
14867 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
= 0;
14869 wxFont
*arg1
= (wxFont
*) 0 ;
14875 PyObject
* obj0
= 0 ;
14876 PyObject
* obj1
= 0 ;
14877 char * kwnames
[] = {
14878 (char *) "self",(char *) "weight", NULL
14881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14883 if (!SWIG_IsOK(res1
)) {
14884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14886 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14888 if (!SWIG_IsOK(ecode2
)) {
14889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14891 arg2
= static_cast< int >(val2
);
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 (arg1
)->SetWeight(arg2
);
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14898 resultobj
= SWIG_Py_Void();
14905 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14906 PyObject
*resultobj
= 0;
14907 wxFont
*arg1
= (wxFont
*) 0 ;
14908 wxString
*arg2
= 0 ;
14912 bool temp2
= false ;
14913 PyObject
* obj0
= 0 ;
14914 PyObject
* obj1
= 0 ;
14915 char * kwnames
[] = {
14916 (char *) "self",(char *) "faceName", NULL
14919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14921 if (!SWIG_IsOK(res1
)) {
14922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14924 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14926 arg2
= wxString_in_helper(obj1
);
14927 if (arg2
== NULL
) SWIG_fail
;
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14953 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
= 0;
14955 wxFont
*arg1
= (wxFont
*) 0 ;
14961 PyObject
* obj0
= 0 ;
14962 PyObject
* obj1
= 0 ;
14963 char * kwnames
[] = {
14964 (char *) "self",(char *) "underlined", NULL
14967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14969 if (!SWIG_IsOK(res1
)) {
14970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14972 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14973 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14974 if (!SWIG_IsOK(ecode2
)) {
14975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14977 arg2
= static_cast< bool >(val2
);
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 (arg1
)->SetUnderlined(arg2
);
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14984 resultobj
= SWIG_Py_Void();
14991 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
= 0;
14993 wxFont
*arg1
= (wxFont
*) 0 ;
14994 wxFontEncoding arg2
;
14999 PyObject
* obj0
= 0 ;
15000 PyObject
* obj1
= 0 ;
15001 char * kwnames
[] = {
15002 (char *) "self",(char *) "encoding", NULL
15005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15007 if (!SWIG_IsOK(res1
)) {
15008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15010 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15012 if (!SWIG_IsOK(ecode2
)) {
15013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15015 arg2
= static_cast< wxFontEncoding
>(val2
);
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 (arg1
)->SetEncoding(arg2
);
15019 wxPyEndAllowThreads(__tstate
);
15020 if (PyErr_Occurred()) SWIG_fail
;
15022 resultobj
= SWIG_Py_Void();
15029 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15030 PyObject
*resultobj
= 0;
15031 wxFont
*arg1
= (wxFont
*) 0 ;
15032 wxNativeFontInfo
*arg2
= 0 ;
15037 PyObject
* obj0
= 0 ;
15038 PyObject
* obj1
= 0 ;
15039 char * kwnames
[] = {
15040 (char *) "self",(char *) "info", NULL
15043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15045 if (!SWIG_IsOK(res1
)) {
15046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15048 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15049 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15050 if (!SWIG_IsOK(res2
)) {
15051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15056 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15060 wxPyEndAllowThreads(__tstate
);
15061 if (PyErr_Occurred()) SWIG_fail
;
15063 resultobj
= SWIG_Py_Void();
15070 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15071 PyObject
*resultobj
= 0;
15072 wxFont
*arg1
= (wxFont
*) 0 ;
15073 wxString
*arg2
= 0 ;
15077 bool temp2
= false ;
15078 PyObject
* obj0
= 0 ;
15079 PyObject
* obj1
= 0 ;
15080 char * kwnames
[] = {
15081 (char *) "self",(char *) "info", NULL
15084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15086 if (!SWIG_IsOK(res1
)) {
15087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15089 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15091 arg2
= wxString_in_helper(obj1
);
15092 if (arg2
== NULL
) SWIG_fail
;
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15098 wxPyEndAllowThreads(__tstate
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15118 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
= 0;
15120 wxFont
*arg1
= (wxFont
*) 0 ;
15121 wxString
*arg2
= 0 ;
15125 bool temp2
= false ;
15126 PyObject
* obj0
= 0 ;
15127 PyObject
* obj1
= 0 ;
15128 char * kwnames
[] = {
15129 (char *) "self",(char *) "info", NULL
15132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15134 if (!SWIG_IsOK(res1
)) {
15135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15137 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15139 arg2
= wxString_in_helper(obj1
);
15140 if (arg2
== NULL
) SWIG_fail
;
15144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15145 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15146 wxPyEndAllowThreads(__tstate
);
15147 if (PyErr_Occurred()) SWIG_fail
;
15150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15166 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15167 PyObject
*resultobj
= 0;
15168 wxFont
*arg1
= (wxFont
*) 0 ;
15172 PyObject
*swig_obj
[1] ;
15174 if (!args
) SWIG_fail
;
15175 swig_obj
[0] = args
;
15176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15177 if (!SWIG_IsOK(res1
)) {
15178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15180 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15183 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15184 wxPyEndAllowThreads(__tstate
);
15185 if (PyErr_Occurred()) SWIG_fail
;
15189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15200 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15201 PyObject
*resultobj
= 0;
15202 wxFont
*arg1
= (wxFont
*) 0 ;
15206 PyObject
*swig_obj
[1] ;
15208 if (!args
) SWIG_fail
;
15209 swig_obj
[0] = args
;
15210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15211 if (!SWIG_IsOK(res1
)) {
15212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15214 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 result
= ((wxFont
const *)arg1
)->GetStyleString();
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15234 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15235 PyObject
*resultobj
= 0;
15236 wxFont
*arg1
= (wxFont
*) 0 ;
15240 PyObject
*swig_obj
[1] ;
15242 if (!args
) SWIG_fail
;
15243 swig_obj
[0] = args
;
15244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15245 if (!SWIG_IsOK(res1
)) {
15246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15248 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15251 result
= ((wxFont
const *)arg1
)->GetWeightString();
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15268 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
= 0;
15270 wxFont
*arg1
= (wxFont
*) 0 ;
15271 bool arg2
= (bool) true ;
15276 PyObject
* obj0
= 0 ;
15277 PyObject
* obj1
= 0 ;
15278 char * kwnames
[] = {
15279 (char *) "self",(char *) "no", NULL
15282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15284 if (!SWIG_IsOK(res1
)) {
15285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15287 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15289 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15290 if (!SWIG_IsOK(ecode2
)) {
15291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15293 arg2
= static_cast< bool >(val2
);
15296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15297 (arg1
)->SetNoAntiAliasing(arg2
);
15298 wxPyEndAllowThreads(__tstate
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15301 resultobj
= SWIG_Py_Void();
15308 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15309 PyObject
*resultobj
= 0;
15310 wxFont
*arg1
= (wxFont
*) 0 ;
15314 PyObject
*swig_obj
[1] ;
15316 if (!args
) SWIG_fail
;
15317 swig_obj
[0] = args
;
15318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15319 if (!SWIG_IsOK(res1
)) {
15320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15322 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15325 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15326 wxPyEndAllowThreads(__tstate
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15338 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15339 PyObject
*resultobj
= 0;
15340 wxFontEncoding result
;
15342 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15344 if (!wxPyCheckForApp()) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15350 resultobj
= SWIG_From_int(static_cast< int >(result
));
15357 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15358 PyObject
*resultobj
= 0;
15359 wxFontEncoding arg1
;
15362 PyObject
* obj0
= 0 ;
15363 char * kwnames
[] = {
15364 (char *) "encoding", NULL
15367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15368 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15369 if (!SWIG_IsOK(ecode1
)) {
15370 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15372 arg1
= static_cast< wxFontEncoding
>(val1
);
15374 if (!wxPyCheckForApp()) SWIG_fail
;
15375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15376 wxFont::SetDefaultEncoding(arg1
);
15377 wxPyEndAllowThreads(__tstate
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15380 resultobj
= SWIG_Py_Void();
15387 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15390 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15391 return SWIG_Py_Void();
15394 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15395 return SWIG_Python_InitShadowInstance(args
);
15398 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15399 PyObject
*resultobj
= 0;
15400 wxPyFontEnumerator
*result
= 0 ;
15402 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15404 if (!wxPyCheckForApp()) SWIG_fail
;
15405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15406 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15407 wxPyEndAllowThreads(__tstate
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15417 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15418 PyObject
*resultobj
= 0;
15419 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15422 PyObject
*swig_obj
[1] ;
15424 if (!args
) SWIG_fail
;
15425 swig_obj
[0] = args
;
15426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15427 if (!SWIG_IsOK(res1
)) {
15428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15430 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 wxPyEndAllowThreads(__tstate
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15438 resultobj
= SWIG_Py_Void();
15445 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15446 PyObject
*resultobj
= 0;
15447 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15448 PyObject
*arg2
= (PyObject
*) 0 ;
15449 PyObject
*arg3
= (PyObject
*) 0 ;
15450 int arg4
= (int) 0 ;
15455 PyObject
* obj0
= 0 ;
15456 PyObject
* obj1
= 0 ;
15457 PyObject
* obj2
= 0 ;
15458 PyObject
* obj3
= 0 ;
15459 char * kwnames
[] = {
15460 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15465 if (!SWIG_IsOK(res1
)) {
15466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15468 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15472 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15473 if (!SWIG_IsOK(ecode4
)) {
15474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15476 arg4
= static_cast< int >(val4
);
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15484 resultobj
= SWIG_Py_Void();
15491 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15492 PyObject
*resultobj
= 0;
15493 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15494 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15495 bool arg3
= (bool) false ;
15503 PyObject
* obj0
= 0 ;
15504 PyObject
* obj1
= 0 ;
15505 PyObject
* obj2
= 0 ;
15506 char * kwnames
[] = {
15507 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15512 if (!SWIG_IsOK(res1
)) {
15513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15515 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15518 if (!SWIG_IsOK(ecode2
)) {
15519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15521 arg2
= static_cast< wxFontEncoding
>(val2
);
15524 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15525 if (!SWIG_IsOK(ecode3
)) {
15526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15528 arg3
= static_cast< bool >(val3
);
15531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15532 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15545 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15546 PyObject
*resultobj
= 0;
15547 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15548 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15549 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15553 bool temp2
= false ;
15554 PyObject
* obj0
= 0 ;
15555 PyObject
* obj1
= 0 ;
15556 char * kwnames
[] = {
15557 (char *) "self",(char *) "facename", NULL
15560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15562 if (!SWIG_IsOK(res1
)) {
15563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15565 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15568 arg2
= wxString_in_helper(obj1
);
15569 if (arg2
== NULL
) SWIG_fail
;
15574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15575 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15576 wxPyEndAllowThreads(__tstate
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15596 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15597 PyObject
*resultobj
= 0;
15598 PyObject
*result
= 0 ;
15600 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15603 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15607 resultobj
= result
;
15614 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15615 PyObject
*resultobj
= 0;
15616 PyObject
*result
= 0 ;
15618 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15625 resultobj
= result
;
15632 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15633 PyObject
*resultobj
= 0;
15634 wxString
*arg1
= 0 ;
15636 bool temp1
= false ;
15637 PyObject
* obj0
= 0 ;
15638 char * kwnames
[] = {
15639 (char *) "str", NULL
15642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15644 arg1
= wxString_in_helper(obj0
);
15645 if (arg1
== NULL
) SWIG_fail
;
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15650 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15671 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15673 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15674 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15675 return SWIG_Py_Void();
15678 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15679 return SWIG_Python_InitShadowInstance(args
);
15682 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15683 PyObject
*resultobj
= 0;
15684 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15690 PyObject
*swig_obj
[2] ;
15692 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15694 if (!SWIG_IsOK(res1
)) {
15695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15697 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15698 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15699 if (!SWIG_IsOK(ecode2
)) {
15700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15702 arg2
= static_cast< int >(val2
);
15703 if (arg1
) (arg1
)->Language
= arg2
;
15705 resultobj
= SWIG_Py_Void();
15712 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15713 PyObject
*resultobj
= 0;
15714 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15718 PyObject
*swig_obj
[1] ;
15720 if (!args
) SWIG_fail
;
15721 swig_obj
[0] = args
;
15722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15723 if (!SWIG_IsOK(res1
)) {
15724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15726 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15727 result
= (int) ((arg1
)->Language
);
15728 resultobj
= SWIG_From_int(static_cast< int >(result
));
15735 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15736 PyObject
*resultobj
= 0;
15737 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15738 wxString
*arg2
= (wxString
*) 0 ;
15741 bool temp2
= false ;
15742 PyObject
*swig_obj
[2] ;
15744 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15746 if (!SWIG_IsOK(res1
)) {
15747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15749 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15751 arg2
= wxString_in_helper(swig_obj
[1]);
15752 if (arg2
== NULL
) SWIG_fail
;
15755 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15757 resultobj
= SWIG_Py_Void();
15772 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15773 PyObject
*resultobj
= 0;
15774 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15775 wxString
*result
= 0 ;
15778 PyObject
*swig_obj
[1] ;
15780 if (!args
) SWIG_fail
;
15781 swig_obj
[0] = args
;
15782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15783 if (!SWIG_IsOK(res1
)) {
15784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15786 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15787 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15790 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15792 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15801 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15802 PyObject
*resultobj
= 0;
15803 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15804 wxString
*arg2
= (wxString
*) 0 ;
15807 bool temp2
= false ;
15808 PyObject
*swig_obj
[2] ;
15810 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15812 if (!SWIG_IsOK(res1
)) {
15813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15815 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15817 arg2
= wxString_in_helper(swig_obj
[1]);
15818 if (arg2
== NULL
) SWIG_fail
;
15821 if (arg1
) (arg1
)->Description
= *arg2
;
15823 resultobj
= SWIG_Py_Void();
15838 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15839 PyObject
*resultobj
= 0;
15840 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15841 wxString
*result
= 0 ;
15844 PyObject
*swig_obj
[1] ;
15846 if (!args
) SWIG_fail
;
15847 swig_obj
[0] = args
;
15848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15849 if (!SWIG_IsOK(res1
)) {
15850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15852 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15853 result
= (wxString
*)& ((arg1
)->Description
);
15856 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15858 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15867 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15869 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15870 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15871 return SWIG_Py_Void();
15874 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
= 0;
15876 int arg1
= (int) -1 ;
15877 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15878 wxLocale
*result
= 0 ;
15883 PyObject
* obj0
= 0 ;
15884 PyObject
* obj1
= 0 ;
15885 char * kwnames
[] = {
15886 (char *) "language",(char *) "flags", NULL
15889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15891 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15892 if (!SWIG_IsOK(ecode1
)) {
15893 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15895 arg1
= static_cast< int >(val1
);
15898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15899 if (!SWIG_IsOK(ecode2
)) {
15900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15902 arg2
= static_cast< int >(val2
);
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15907 wxPyEndAllowThreads(__tstate
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15917 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15918 PyObject
*resultobj
= 0;
15919 wxLocale
*arg1
= (wxLocale
*) 0 ;
15922 PyObject
*swig_obj
[1] ;
15924 if (!args
) SWIG_fail
;
15925 swig_obj
[0] = args
;
15926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15927 if (!SWIG_IsOK(res1
)) {
15928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15930 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15938 resultobj
= SWIG_Py_Void();
15945 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
= 0;
15947 wxLocale
*arg1
= (wxLocale
*) 0 ;
15948 wxString
*arg2
= 0 ;
15949 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15950 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15951 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15952 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15953 bool arg5
= (bool) true ;
15954 bool arg6
= (bool) false ;
15958 bool temp2
= false ;
15959 bool temp3
= false ;
15960 bool temp4
= false ;
15965 PyObject
* obj0
= 0 ;
15966 PyObject
* obj1
= 0 ;
15967 PyObject
* obj2
= 0 ;
15968 PyObject
* obj3
= 0 ;
15969 PyObject
* obj4
= 0 ;
15970 PyObject
* obj5
= 0 ;
15971 char * kwnames
[] = {
15972 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15977 if (!SWIG_IsOK(res1
)) {
15978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15980 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15982 arg2
= wxString_in_helper(obj1
);
15983 if (arg2
== NULL
) SWIG_fail
;
15988 arg3
= wxString_in_helper(obj2
);
15989 if (arg3
== NULL
) SWIG_fail
;
15995 arg4
= wxString_in_helper(obj3
);
15996 if (arg4
== NULL
) SWIG_fail
;
16001 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16002 if (!SWIG_IsOK(ecode5
)) {
16003 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16005 arg5
= static_cast< bool >(val5
);
16008 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16009 if (!SWIG_IsOK(ecode6
)) {
16010 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16012 arg6
= static_cast< bool >(val6
);
16015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16016 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16017 wxPyEndAllowThreads(__tstate
);
16018 if (PyErr_Occurred()) SWIG_fail
;
16021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16053 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
= 0;
16055 wxLocale
*arg1
= (wxLocale
*) 0 ;
16056 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16057 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16065 PyObject
* obj0
= 0 ;
16066 PyObject
* obj1
= 0 ;
16067 PyObject
* obj2
= 0 ;
16068 char * kwnames
[] = {
16069 (char *) "self",(char *) "language",(char *) "flags", NULL
16072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16074 if (!SWIG_IsOK(res1
)) {
16075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16077 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16080 if (!SWIG_IsOK(ecode2
)) {
16081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16083 arg2
= static_cast< int >(val2
);
16086 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16087 if (!SWIG_IsOK(ecode3
)) {
16088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16090 arg3
= static_cast< int >(val3
);
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16095 wxPyEndAllowThreads(__tstate
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16107 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16108 PyObject
*resultobj
= 0;
16111 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 result
= (int)wxLocale::GetSystemLanguage();
16115 wxPyEndAllowThreads(__tstate
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16118 resultobj
= SWIG_From_int(static_cast< int >(result
));
16125 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16126 PyObject
*resultobj
= 0;
16127 wxFontEncoding result
;
16129 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16133 wxPyEndAllowThreads(__tstate
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16136 resultobj
= SWIG_From_int(static_cast< int >(result
));
16143 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16144 PyObject
*resultobj
= 0;
16147 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16150 result
= wxLocale::GetSystemEncodingName();
16151 wxPyEndAllowThreads(__tstate
);
16152 if (PyErr_Occurred()) SWIG_fail
;
16156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16167 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16168 PyObject
*resultobj
= 0;
16169 wxLocale
*arg1
= (wxLocale
*) 0 ;
16173 PyObject
*swig_obj
[1] ;
16175 if (!args
) SWIG_fail
;
16176 swig_obj
[0] = args
;
16177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16178 if (!SWIG_IsOK(res1
)) {
16179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16181 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16184 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16197 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16198 PyObject
*resultobj
= 0;
16199 wxLocale
*arg1
= (wxLocale
*) 0 ;
16203 PyObject
*swig_obj
[1] ;
16205 if (!args
) SWIG_fail
;
16206 swig_obj
[0] = args
;
16207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16208 if (!SWIG_IsOK(res1
)) {
16209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16211 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16214 result
= ((wxLocale
const *)arg1
)->GetLocale();
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16231 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16232 PyObject
*resultobj
= 0;
16233 wxLocale
*arg1
= (wxLocale
*) 0 ;
16237 PyObject
*swig_obj
[1] ;
16239 if (!args
) SWIG_fail
;
16240 swig_obj
[0] = args
;
16241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16242 if (!SWIG_IsOK(res1
)) {
16243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16245 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16249 wxPyEndAllowThreads(__tstate
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16252 resultobj
= SWIG_From_int(static_cast< int >(result
));
16259 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16260 PyObject
*resultobj
= 0;
16261 wxLocale
*arg1
= (wxLocale
*) 0 ;
16265 PyObject
*swig_obj
[1] ;
16267 if (!args
) SWIG_fail
;
16268 swig_obj
[0] = args
;
16269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16270 if (!SWIG_IsOK(res1
)) {
16271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16273 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 result
= ((wxLocale
const *)arg1
)->GetSysName();
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16293 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16294 PyObject
*resultobj
= 0;
16295 wxLocale
*arg1
= (wxLocale
*) 0 ;
16299 PyObject
*swig_obj
[1] ;
16301 if (!args
) SWIG_fail
;
16302 swig_obj
[0] = args
;
16303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16304 if (!SWIG_IsOK(res1
)) {
16305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16307 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16310 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16311 wxPyEndAllowThreads(__tstate
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16327 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
= 0;
16329 wxString
*arg1
= 0 ;
16330 bool temp1
= false ;
16331 PyObject
* obj0
= 0 ;
16332 char * kwnames
[] = {
16333 (char *) "prefix", NULL
16336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16338 arg1
= wxString_in_helper(obj0
);
16339 if (arg1
== NULL
) SWIG_fail
;
16343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16344 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16348 resultobj
= SWIG_Py_Void();
16363 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
= 0;
16365 wxLocale
*arg1
= (wxLocale
*) 0 ;
16366 wxString
*arg2
= 0 ;
16370 bool temp2
= false ;
16371 PyObject
* obj0
= 0 ;
16372 PyObject
* obj1
= 0 ;
16373 char * kwnames
[] = {
16374 (char *) "self",(char *) "szDomain", NULL
16377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16379 if (!SWIG_IsOK(res1
)) {
16380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16382 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16384 arg2
= wxString_in_helper(obj1
);
16385 if (arg2
== NULL
) SWIG_fail
;
16389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16390 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16411 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16412 PyObject
*resultobj
= 0;
16417 PyObject
* obj0
= 0 ;
16418 char * kwnames
[] = {
16419 (char *) "lang", NULL
16422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16423 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16424 if (!SWIG_IsOK(ecode1
)) {
16425 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16427 arg1
= static_cast< int >(val1
);
16429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16430 result
= (bool)wxLocale::IsAvailable(arg1
);
16431 wxPyEndAllowThreads(__tstate
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16443 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
= 0;
16445 wxLocale
*arg1
= (wxLocale
*) 0 ;
16446 wxString
*arg2
= 0 ;
16450 bool temp2
= false ;
16451 PyObject
* obj0
= 0 ;
16452 PyObject
* obj1
= 0 ;
16453 char * kwnames
[] = {
16454 (char *) "self",(char *) "szDomain", NULL
16457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16459 if (!SWIG_IsOK(res1
)) {
16460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16462 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16464 arg2
= wxString_in_helper(obj1
);
16465 if (arg2
== NULL
) SWIG_fail
;
16469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16470 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16491 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
= 0;
16494 wxLanguageInfo
*result
= 0 ;
16497 PyObject
* obj0
= 0 ;
16498 char * kwnames
[] = {
16499 (char *) "lang", NULL
16502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16503 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16504 if (!SWIG_IsOK(ecode1
)) {
16505 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16507 arg1
= static_cast< int >(val1
);
16509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16510 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16521 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
= 0;
16527 PyObject
* obj0
= 0 ;
16528 char * kwnames
[] = {
16529 (char *) "lang", NULL
16532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16533 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16534 if (!SWIG_IsOK(ecode1
)) {
16535 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16537 arg1
= static_cast< int >(val1
);
16539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16540 result
= wxLocale::GetLanguageName(arg1
);
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16557 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16558 PyObject
*resultobj
= 0;
16559 wxString
*arg1
= 0 ;
16560 wxLanguageInfo
*result
= 0 ;
16561 bool temp1
= false ;
16562 PyObject
* obj0
= 0 ;
16563 char * kwnames
[] = {
16564 (char *) "locale", NULL
16567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16569 arg1
= wxString_in_helper(obj0
);
16570 if (arg1
== NULL
) SWIG_fail
;
16574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16575 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16594 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16595 PyObject
*resultobj
= 0;
16596 wxLanguageInfo
*arg1
= 0 ;
16599 PyObject
* obj0
= 0 ;
16600 char * kwnames
[] = {
16601 (char *) "info", NULL
16604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16605 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16606 if (!SWIG_IsOK(res1
)) {
16607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16612 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16615 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16619 resultobj
= SWIG_Py_Void();
16626 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16627 PyObject
*resultobj
= 0;
16628 wxLocale
*arg1
= (wxLocale
*) 0 ;
16629 wxString
*arg2
= 0 ;
16630 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16631 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16635 bool temp2
= false ;
16636 bool temp3
= false ;
16637 PyObject
* obj0
= 0 ;
16638 PyObject
* obj1
= 0 ;
16639 PyObject
* obj2
= 0 ;
16640 char * kwnames
[] = {
16641 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16646 if (!SWIG_IsOK(res1
)) {
16647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16649 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16651 arg2
= wxString_in_helper(obj1
);
16652 if (arg2
== NULL
) SWIG_fail
;
16657 arg3
= wxString_in_helper(obj2
);
16658 if (arg3
== NULL
) SWIG_fail
;
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16664 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16665 wxPyEndAllowThreads(__tstate
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16697 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16698 PyObject
*resultobj
= 0;
16699 wxLocale
*arg1
= (wxLocale
*) 0 ;
16700 wxString
*result
= 0 ;
16703 PyObject
*swig_obj
[1] ;
16705 if (!args
) SWIG_fail
;
16706 swig_obj
[0] = args
;
16707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16708 if (!SWIG_IsOK(res1
)) {
16709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16711 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16715 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16716 result
= (wxString
*) &_result_ref
;
16718 wxPyEndAllowThreads(__tstate
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16723 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16725 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16734 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16736 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16737 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16738 return SWIG_Py_Void();
16741 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16742 return SWIG_Python_InitShadowInstance(args
);
16745 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
= 0;
16747 int arg1
= (int) -1 ;
16748 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16749 wxPyLocale
*result
= 0 ;
16754 PyObject
* obj0
= 0 ;
16755 PyObject
* obj1
= 0 ;
16756 char * kwnames
[] = {
16757 (char *) "language",(char *) "flags", NULL
16760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16762 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16763 if (!SWIG_IsOK(ecode1
)) {
16764 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16766 arg1
= static_cast< int >(val1
);
16769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16770 if (!SWIG_IsOK(ecode2
)) {
16771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16773 arg2
= static_cast< int >(val2
);
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16778 wxPyEndAllowThreads(__tstate
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16788 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16789 PyObject
*resultobj
= 0;
16790 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16793 PyObject
*swig_obj
[1] ;
16795 if (!args
) SWIG_fail
;
16796 swig_obj
[0] = args
;
16797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16798 if (!SWIG_IsOK(res1
)) {
16799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16801 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16806 wxPyEndAllowThreads(__tstate
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16809 resultobj
= SWIG_Py_Void();
16816 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16817 PyObject
*resultobj
= 0;
16818 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16819 PyObject
*arg2
= (PyObject
*) 0 ;
16820 PyObject
*arg3
= (PyObject
*) 0 ;
16823 PyObject
* obj0
= 0 ;
16824 PyObject
* obj1
= 0 ;
16825 PyObject
* obj2
= 0 ;
16826 char * kwnames
[] = {
16827 (char *) "self",(char *) "self",(char *) "_class", NULL
16830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16832 if (!SWIG_IsOK(res1
)) {
16833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16835 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16840 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16841 wxPyEndAllowThreads(__tstate
);
16842 if (PyErr_Occurred()) SWIG_fail
;
16844 resultobj
= SWIG_Py_Void();
16851 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16852 PyObject
*resultobj
= 0;
16853 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16854 wxChar
*arg2
= (wxChar
*) 0 ;
16855 wxChar
*arg3
= (wxChar
*) NULL
;
16856 wxChar
*result
= 0 ;
16863 PyObject
* obj0
= 0 ;
16864 PyObject
* obj1
= 0 ;
16865 PyObject
* obj2
= 0 ;
16866 char * kwnames
[] = {
16867 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16872 if (!SWIG_IsOK(res1
)) {
16873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16875 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16876 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16877 if (!SWIG_IsOK(res2
)) {
16878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16880 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16882 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16883 if (!SWIG_IsOK(res3
)) {
16884 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16886 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16901 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
= 0;
16903 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16904 wxChar
*arg2
= (wxChar
*) 0 ;
16905 wxChar
*arg3
= (wxChar
*) 0 ;
16907 wxChar
*arg5
= (wxChar
*) NULL
;
16908 wxChar
*result
= 0 ;
16919 PyObject
* obj0
= 0 ;
16920 PyObject
* obj1
= 0 ;
16921 PyObject
* obj2
= 0 ;
16922 PyObject
* obj3
= 0 ;
16923 PyObject
* obj4
= 0 ;
16924 char * kwnames
[] = {
16925 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16930 if (!SWIG_IsOK(res1
)) {
16931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16933 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16934 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16935 if (!SWIG_IsOK(res2
)) {
16936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16938 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16939 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16940 if (!SWIG_IsOK(res3
)) {
16941 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16943 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16944 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16945 if (!SWIG_IsOK(ecode4
)) {
16946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16948 arg4
= static_cast< size_t >(val4
);
16950 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16951 if (!SWIG_IsOK(res5
)) {
16952 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16954 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16958 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16969 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16971 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16972 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16973 return SWIG_Py_Void();
16976 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16977 return SWIG_Python_InitShadowInstance(args
);
16980 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16981 PyObject
*resultobj
= 0;
16982 wxLocale
*result
= 0 ;
16984 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (wxLocale
*)wxGetLocale();
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16998 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16999 PyObject
*resultobj
= 0;
17000 wxString
*arg1
= 0 ;
17002 bool temp1
= false ;
17004 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17006 arg1
= wxString_in_helper(swig_obj
[0]);
17007 if (arg1
== NULL
) SWIG_fail
;
17011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17012 result
= wxGetTranslation((wxString
const &)*arg1
);
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17037 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17038 PyObject
*resultobj
= 0;
17039 wxString
*arg1
= 0 ;
17040 wxString
*arg2
= 0 ;
17042 bool temp1
= false ;
17043 bool temp2
= false ;
17045 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17047 arg1
= wxString_in_helper(swig_obj
[0]);
17048 if (arg1
== NULL
) SWIG_fail
;
17052 arg2
= wxString_in_helper(swig_obj
[1]);
17053 if (arg2
== NULL
) SWIG_fail
;
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17091 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17092 PyObject
*resultobj
= 0;
17093 wxString
*arg1
= 0 ;
17094 wxString
*arg2
= 0 ;
17097 bool temp1
= false ;
17098 bool temp2
= false ;
17102 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17104 arg1
= wxString_in_helper(swig_obj
[0]);
17105 if (arg1
== NULL
) SWIG_fail
;
17109 arg2
= wxString_in_helper(swig_obj
[1]);
17110 if (arg2
== NULL
) SWIG_fail
;
17113 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17114 if (!SWIG_IsOK(ecode3
)) {
17115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17117 arg3
= static_cast< size_t >(val3
);
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17121 wxPyEndAllowThreads(__tstate
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17153 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17154 PyObject
*resultobj
= 0;
17155 wxString
*arg1
= 0 ;
17156 wxString
*arg2
= 0 ;
17158 wxString
*arg4
= 0 ;
17160 bool temp1
= false ;
17161 bool temp2
= false ;
17164 bool temp4
= false ;
17166 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17168 arg1
= wxString_in_helper(swig_obj
[0]);
17169 if (arg1
== NULL
) SWIG_fail
;
17173 arg2
= wxString_in_helper(swig_obj
[1]);
17174 if (arg2
== NULL
) SWIG_fail
;
17177 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17178 if (!SWIG_IsOK(ecode3
)) {
17179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17181 arg3
= static_cast< size_t >(val3
);
17183 arg4
= wxString_in_helper(swig_obj
[3]);
17184 if (arg4
== NULL
) SWIG_fail
;
17188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17189 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17190 wxPyEndAllowThreads(__tstate
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17230 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17234 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17237 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17240 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17243 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17246 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17250 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17255 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17256 PyObject
*resultobj
= 0;
17257 wxEncodingConverter
*result
= 0 ;
17259 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17262 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17263 wxPyEndAllowThreads(__tstate
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17273 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17274 PyObject
*resultobj
= 0;
17275 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17278 PyObject
*swig_obj
[1] ;
17280 if (!args
) SWIG_fail
;
17281 swig_obj
[0] = args
;
17282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17283 if (!SWIG_IsOK(res1
)) {
17284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17286 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 wxPyEndAllowThreads(__tstate
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17294 resultobj
= SWIG_Py_Void();
17301 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17302 PyObject
*resultobj
= 0;
17303 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17304 wxFontEncoding arg2
;
17305 wxFontEncoding arg3
;
17306 int arg4
= (int) wxCONVERT_STRICT
;
17316 PyObject
* obj0
= 0 ;
17317 PyObject
* obj1
= 0 ;
17318 PyObject
* obj2
= 0 ;
17319 PyObject
* obj3
= 0 ;
17320 char * kwnames
[] = {
17321 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17326 if (!SWIG_IsOK(res1
)) {
17327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17329 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17331 if (!SWIG_IsOK(ecode2
)) {
17332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17334 arg2
= static_cast< wxFontEncoding
>(val2
);
17335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17336 if (!SWIG_IsOK(ecode3
)) {
17337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17339 arg3
= static_cast< wxFontEncoding
>(val3
);
17341 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17342 if (!SWIG_IsOK(ecode4
)) {
17343 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17345 arg4
= static_cast< int >(val4
);
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17350 wxPyEndAllowThreads(__tstate
);
17351 if (PyErr_Occurred()) SWIG_fail
;
17354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17362 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17363 PyObject
*resultobj
= 0;
17364 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17365 wxString
*arg2
= 0 ;
17369 bool temp2
= false ;
17370 PyObject
* obj0
= 0 ;
17371 PyObject
* obj1
= 0 ;
17372 char * kwnames
[] = {
17373 (char *) "self",(char *) "input", NULL
17376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17378 if (!SWIG_IsOK(res1
)) {
17379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17381 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17383 arg2
= wxString_in_helper(obj1
);
17384 if (arg2
== NULL
) SWIG_fail
;
17388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17389 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17390 wxPyEndAllowThreads(__tstate
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17414 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
= 0;
17416 wxFontEncoding arg1
;
17417 int arg2
= (int) wxPLATFORM_CURRENT
;
17418 wxFontEncodingArray result
;
17423 PyObject
* obj0
= 0 ;
17424 PyObject
* obj1
= 0 ;
17425 char * kwnames
[] = {
17426 (char *) "enc",(char *) "platform", NULL
17429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17430 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17431 if (!SWIG_IsOK(ecode1
)) {
17432 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17434 arg1
= static_cast< wxFontEncoding
>(val1
);
17436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17437 if (!SWIG_IsOK(ecode2
)) {
17438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17440 arg2
= static_cast< int >(val2
);
17443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17444 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17449 resultobj
= PyList_New(0);
17450 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17451 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17452 PyList_Append(resultobj
, number
);
17462 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17463 PyObject
*resultobj
= 0;
17464 wxFontEncoding arg1
;
17465 wxFontEncodingArray result
;
17468 PyObject
* obj0
= 0 ;
17469 char * kwnames
[] = {
17470 (char *) "enc", NULL
17473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17474 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17475 if (!SWIG_IsOK(ecode1
)) {
17476 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17478 arg1
= static_cast< wxFontEncoding
>(val1
);
17480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17481 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17482 wxPyEndAllowThreads(__tstate
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17486 resultobj
= PyList_New(0);
17487 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17488 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17489 PyList_Append(resultobj
, number
);
17499 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
= 0;
17501 wxFontEncoding arg1
;
17502 wxFontEncoding arg2
;
17508 PyObject
* obj0
= 0 ;
17509 PyObject
* obj1
= 0 ;
17510 char * kwnames
[] = {
17511 (char *) "encIn",(char *) "encOut", NULL
17514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17515 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17516 if (!SWIG_IsOK(ecode1
)) {
17517 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17519 arg1
= static_cast< wxFontEncoding
>(val1
);
17520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17521 if (!SWIG_IsOK(ecode2
)) {
17522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17524 arg2
= static_cast< wxFontEncoding
>(val2
);
17526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17527 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17540 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17543 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17544 return SWIG_Py_Void();
17547 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17548 return SWIG_Python_InitShadowInstance(args
);
17551 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17552 PyObject
*resultobj
= 0;
17553 wxDC
*arg1
= (wxDC
*) 0 ;
17556 PyObject
*swig_obj
[1] ;
17558 if (!args
) SWIG_fail
;
17559 swig_obj
[0] = args
;
17560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17561 if (!SWIG_IsOK(res1
)) {
17562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17564 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 wxPyEndAllowThreads(__tstate
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17572 resultobj
= SWIG_Py_Void();
17579 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17580 PyObject
*resultobj
= 0;
17581 wxDC
*arg1
= (wxDC
*) 0 ;
17584 wxColour
*arg4
= 0 ;
17585 int arg5
= (int) wxFLOOD_SURFACE
;
17596 PyObject
* obj0
= 0 ;
17597 PyObject
* obj1
= 0 ;
17598 PyObject
* obj2
= 0 ;
17599 PyObject
* obj3
= 0 ;
17600 PyObject
* obj4
= 0 ;
17601 char * kwnames
[] = {
17602 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17607 if (!SWIG_IsOK(res1
)) {
17608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17610 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17612 if (!SWIG_IsOK(ecode2
)) {
17613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17615 arg2
= static_cast< int >(val2
);
17616 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17617 if (!SWIG_IsOK(ecode3
)) {
17618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17620 arg3
= static_cast< int >(val3
);
17623 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17626 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17627 if (!SWIG_IsOK(ecode5
)) {
17628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17630 arg5
= static_cast< int >(val5
);
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17647 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17648 PyObject
*resultobj
= 0;
17649 wxDC
*arg1
= (wxDC
*) 0 ;
17650 wxPoint
*arg2
= 0 ;
17651 wxColour
*arg3
= 0 ;
17652 int arg4
= (int) wxFLOOD_SURFACE
;
17660 PyObject
* obj0
= 0 ;
17661 PyObject
* obj1
= 0 ;
17662 PyObject
* obj2
= 0 ;
17663 PyObject
* obj3
= 0 ;
17664 char * kwnames
[] = {
17665 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17670 if (!SWIG_IsOK(res1
)) {
17671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17673 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17676 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17680 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17683 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17684 if (!SWIG_IsOK(ecode4
)) {
17685 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17687 arg4
= static_cast< int >(val4
);
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17704 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17705 PyObject
*resultobj
= 0;
17706 wxDC
*arg1
= (wxDC
*) 0 ;
17708 wxColour
*arg3
= 0 ;
17709 wxColour
*arg4
= 0 ;
17710 wxPoint
*arg5
= 0 ;
17717 PyObject
* obj0
= 0 ;
17718 PyObject
* obj1
= 0 ;
17719 PyObject
* obj2
= 0 ;
17720 PyObject
* obj3
= 0 ;
17721 PyObject
* obj4
= 0 ;
17722 char * kwnames
[] = {
17723 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17728 if (!SWIG_IsOK(res1
)) {
17729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17731 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17734 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17738 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17742 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17746 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17751 wxPyEndAllowThreads(__tstate
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17754 resultobj
= SWIG_Py_Void();
17761 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17762 PyObject
*resultobj
= 0;
17763 wxDC
*arg1
= (wxDC
*) 0 ;
17765 wxColour
*arg3
= 0 ;
17766 wxColour
*arg4
= 0 ;
17767 wxDirection arg5
= (wxDirection
) wxEAST
;
17775 PyObject
* obj0
= 0 ;
17776 PyObject
* obj1
= 0 ;
17777 PyObject
* obj2
= 0 ;
17778 PyObject
* obj3
= 0 ;
17779 PyObject
* obj4
= 0 ;
17780 char * kwnames
[] = {
17781 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17786 if (!SWIG_IsOK(res1
)) {
17787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17789 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17792 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17796 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17800 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17803 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17804 if (!SWIG_IsOK(ecode5
)) {
17805 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17807 arg5
= static_cast< wxDirection
>(val5
);
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17812 wxPyEndAllowThreads(__tstate
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17815 resultobj
= SWIG_Py_Void();
17822 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
= 0;
17824 wxDC
*arg1
= (wxDC
*) 0 ;
17834 PyObject
* obj0
= 0 ;
17835 PyObject
* obj1
= 0 ;
17836 PyObject
* obj2
= 0 ;
17837 char * kwnames
[] = {
17838 (char *) "self",(char *) "x",(char *) "y", NULL
17841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17843 if (!SWIG_IsOK(res1
)) {
17844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17846 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17848 if (!SWIG_IsOK(ecode2
)) {
17849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17851 arg2
= static_cast< int >(val2
);
17852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17853 if (!SWIG_IsOK(ecode3
)) {
17854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17856 arg3
= static_cast< int >(val3
);
17858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17859 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17860 wxPyEndAllowThreads(__tstate
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17863 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17870 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17871 PyObject
*resultobj
= 0;
17872 wxDC
*arg1
= (wxDC
*) 0 ;
17873 wxPoint
*arg2
= 0 ;
17878 PyObject
* obj0
= 0 ;
17879 PyObject
* obj1
= 0 ;
17880 char * kwnames
[] = {
17881 (char *) "self",(char *) "pt", NULL
17884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17886 if (!SWIG_IsOK(res1
)) {
17887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17889 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17892 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17907 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17908 PyObject
*resultobj
= 0;
17909 wxDC
*arg1
= (wxDC
*) 0 ;
17924 PyObject
* obj0
= 0 ;
17925 PyObject
* obj1
= 0 ;
17926 PyObject
* obj2
= 0 ;
17927 PyObject
* obj3
= 0 ;
17928 PyObject
* obj4
= 0 ;
17929 char * kwnames
[] = {
17930 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17935 if (!SWIG_IsOK(res1
)) {
17936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17938 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17940 if (!SWIG_IsOK(ecode2
)) {
17941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17943 arg2
= static_cast< int >(val2
);
17944 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17945 if (!SWIG_IsOK(ecode3
)) {
17946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17948 arg3
= static_cast< int >(val3
);
17949 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17950 if (!SWIG_IsOK(ecode4
)) {
17951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17953 arg4
= static_cast< int >(val4
);
17954 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17955 if (!SWIG_IsOK(ecode5
)) {
17956 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17958 arg5
= static_cast< int >(val5
);
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= SWIG_Py_Void();
17972 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
= 0;
17974 wxDC
*arg1
= (wxDC
*) 0 ;
17975 wxPoint
*arg2
= 0 ;
17976 wxPoint
*arg3
= 0 ;
17981 PyObject
* obj0
= 0 ;
17982 PyObject
* obj1
= 0 ;
17983 PyObject
* obj2
= 0 ;
17984 char * kwnames
[] = {
17985 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17990 if (!SWIG_IsOK(res1
)) {
17991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17993 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17996 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18000 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18004 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18005 wxPyEndAllowThreads(__tstate
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18008 resultobj
= SWIG_Py_Void();
18015 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18016 PyObject
*resultobj
= 0;
18017 wxDC
*arg1
= (wxDC
*) 0 ;
18026 PyObject
* obj0
= 0 ;
18027 PyObject
* obj1
= 0 ;
18028 PyObject
* obj2
= 0 ;
18029 char * kwnames
[] = {
18030 (char *) "self",(char *) "x",(char *) "y", NULL
18033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18035 if (!SWIG_IsOK(res1
)) {
18036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18038 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18040 if (!SWIG_IsOK(ecode2
)) {
18041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18043 arg2
= static_cast< int >(val2
);
18044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18045 if (!SWIG_IsOK(ecode3
)) {
18046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18048 arg3
= static_cast< int >(val3
);
18050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18051 (arg1
)->CrossHair(arg2
,arg3
);
18052 wxPyEndAllowThreads(__tstate
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18055 resultobj
= SWIG_Py_Void();
18062 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
= 0;
18064 wxDC
*arg1
= (wxDC
*) 0 ;
18065 wxPoint
*arg2
= 0 ;
18069 PyObject
* obj0
= 0 ;
18070 PyObject
* obj1
= 0 ;
18071 char * kwnames
[] = {
18072 (char *) "self",(char *) "pt", NULL
18075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18077 if (!SWIG_IsOK(res1
)) {
18078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18080 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18083 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18087 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18088 wxPyEndAllowThreads(__tstate
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18091 resultobj
= SWIG_Py_Void();
18098 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18099 PyObject
*resultobj
= 0;
18100 wxDC
*arg1
= (wxDC
*) 0 ;
18121 PyObject
* obj0
= 0 ;
18122 PyObject
* obj1
= 0 ;
18123 PyObject
* obj2
= 0 ;
18124 PyObject
* obj3
= 0 ;
18125 PyObject
* obj4
= 0 ;
18126 PyObject
* obj5
= 0 ;
18127 PyObject
* obj6
= 0 ;
18128 char * kwnames
[] = {
18129 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18134 if (!SWIG_IsOK(res1
)) {
18135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18137 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18139 if (!SWIG_IsOK(ecode2
)) {
18140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18142 arg2
= static_cast< int >(val2
);
18143 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18144 if (!SWIG_IsOK(ecode3
)) {
18145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18147 arg3
= static_cast< int >(val3
);
18148 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18149 if (!SWIG_IsOK(ecode4
)) {
18150 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18152 arg4
= static_cast< int >(val4
);
18153 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18154 if (!SWIG_IsOK(ecode5
)) {
18155 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18157 arg5
= static_cast< int >(val5
);
18158 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18159 if (!SWIG_IsOK(ecode6
)) {
18160 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18162 arg6
= static_cast< int >(val6
);
18163 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18164 if (!SWIG_IsOK(ecode7
)) {
18165 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18167 arg7
= static_cast< int >(val7
);
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18171 wxPyEndAllowThreads(__tstate
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18174 resultobj
= SWIG_Py_Void();
18181 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18182 PyObject
*resultobj
= 0;
18183 wxDC
*arg1
= (wxDC
*) 0 ;
18184 wxPoint
*arg2
= 0 ;
18185 wxPoint
*arg3
= 0 ;
18186 wxPoint
*arg4
= 0 ;
18192 PyObject
* obj0
= 0 ;
18193 PyObject
* obj1
= 0 ;
18194 PyObject
* obj2
= 0 ;
18195 PyObject
* obj3
= 0 ;
18196 char * kwnames
[] = {
18197 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18202 if (!SWIG_IsOK(res1
)) {
18203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18205 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18208 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18212 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18216 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18220 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18224 resultobj
= SWIG_Py_Void();
18231 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
= 0;
18233 wxDC
*arg1
= (wxDC
*) 0 ;
18248 PyObject
* obj0
= 0 ;
18249 PyObject
* obj1
= 0 ;
18250 PyObject
* obj2
= 0 ;
18251 PyObject
* obj3
= 0 ;
18252 PyObject
* obj4
= 0 ;
18253 char * kwnames
[] = {
18254 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18259 if (!SWIG_IsOK(res1
)) {
18260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18262 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18264 if (!SWIG_IsOK(ecode2
)) {
18265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18267 arg2
= static_cast< int >(val2
);
18268 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18269 if (!SWIG_IsOK(ecode3
)) {
18270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18272 arg3
= static_cast< int >(val3
);
18273 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18274 if (!SWIG_IsOK(ecode4
)) {
18275 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18277 arg4
= static_cast< int >(val4
);
18278 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18279 if (!SWIG_IsOK(ecode5
)) {
18280 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18282 arg5
= static_cast< int >(val5
);
18284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18285 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18289 resultobj
= SWIG_Py_Void();
18296 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
= 0;
18298 wxDC
*arg1
= (wxDC
*) 0 ;
18303 PyObject
* obj0
= 0 ;
18304 PyObject
* obj1
= 0 ;
18305 char * kwnames
[] = {
18306 (char *) "self",(char *) "rect", NULL
18309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18311 if (!SWIG_IsOK(res1
)) {
18312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18314 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18317 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18321 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18322 wxPyEndAllowThreads(__tstate
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18325 resultobj
= SWIG_Py_Void();
18332 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18333 PyObject
*resultobj
= 0;
18334 wxDC
*arg1
= (wxDC
*) 0 ;
18355 PyObject
* obj0
= 0 ;
18356 PyObject
* obj1
= 0 ;
18357 PyObject
* obj2
= 0 ;
18358 PyObject
* obj3
= 0 ;
18359 PyObject
* obj4
= 0 ;
18360 PyObject
* obj5
= 0 ;
18361 PyObject
* obj6
= 0 ;
18362 char * kwnames
[] = {
18363 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18368 if (!SWIG_IsOK(res1
)) {
18369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18373 if (!SWIG_IsOK(ecode2
)) {
18374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18376 arg2
= static_cast< int >(val2
);
18377 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18378 if (!SWIG_IsOK(ecode3
)) {
18379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18381 arg3
= static_cast< int >(val3
);
18382 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18383 if (!SWIG_IsOK(ecode4
)) {
18384 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18386 arg4
= static_cast< int >(val4
);
18387 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18388 if (!SWIG_IsOK(ecode5
)) {
18389 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18391 arg5
= static_cast< int >(val5
);
18392 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18393 if (!SWIG_IsOK(ecode6
)) {
18394 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18396 arg6
= static_cast< double >(val6
);
18397 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18398 if (!SWIG_IsOK(ecode7
)) {
18399 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18401 arg7
= static_cast< double >(val7
);
18403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18404 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18405 wxPyEndAllowThreads(__tstate
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18408 resultobj
= SWIG_Py_Void();
18415 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18416 PyObject
*resultobj
= 0;
18417 wxDC
*arg1
= (wxDC
*) 0 ;
18418 wxPoint
*arg2
= 0 ;
18430 PyObject
* obj0
= 0 ;
18431 PyObject
* obj1
= 0 ;
18432 PyObject
* obj2
= 0 ;
18433 PyObject
* obj3
= 0 ;
18434 PyObject
* obj4
= 0 ;
18435 char * kwnames
[] = {
18436 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18441 if (!SWIG_IsOK(res1
)) {
18442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18444 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18447 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18451 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18453 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18454 if (!SWIG_IsOK(ecode4
)) {
18455 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18457 arg4
= static_cast< double >(val4
);
18458 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18459 if (!SWIG_IsOK(ecode5
)) {
18460 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18462 arg5
= static_cast< double >(val5
);
18464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18465 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 resultobj
= SWIG_Py_Void();
18476 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
= 0;
18478 wxDC
*arg1
= (wxDC
*) 0 ;
18487 PyObject
* obj0
= 0 ;
18488 PyObject
* obj1
= 0 ;
18489 PyObject
* obj2
= 0 ;
18490 char * kwnames
[] = {
18491 (char *) "self",(char *) "x",(char *) "y", NULL
18494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18496 if (!SWIG_IsOK(res1
)) {
18497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18501 if (!SWIG_IsOK(ecode2
)) {
18502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18504 arg2
= static_cast< int >(val2
);
18505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18506 if (!SWIG_IsOK(ecode3
)) {
18507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18509 arg3
= static_cast< int >(val3
);
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 (arg1
)->DrawPoint(arg2
,arg3
);
18513 wxPyEndAllowThreads(__tstate
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18516 resultobj
= SWIG_Py_Void();
18523 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18524 PyObject
*resultobj
= 0;
18525 wxDC
*arg1
= (wxDC
*) 0 ;
18526 wxPoint
*arg2
= 0 ;
18530 PyObject
* obj0
= 0 ;
18531 PyObject
* obj1
= 0 ;
18532 char * kwnames
[] = {
18533 (char *) "self",(char *) "pt", NULL
18536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18538 if (!SWIG_IsOK(res1
)) {
18539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18541 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18544 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18548 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18549 wxPyEndAllowThreads(__tstate
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18552 resultobj
= SWIG_Py_Void();
18559 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18560 PyObject
*resultobj
= 0;
18561 wxDC
*arg1
= (wxDC
*) 0 ;
18576 PyObject
* obj0
= 0 ;
18577 PyObject
* obj1
= 0 ;
18578 PyObject
* obj2
= 0 ;
18579 PyObject
* obj3
= 0 ;
18580 PyObject
* obj4
= 0 ;
18581 char * kwnames
[] = {
18582 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18587 if (!SWIG_IsOK(res1
)) {
18588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18590 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18592 if (!SWIG_IsOK(ecode2
)) {
18593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18595 arg2
= static_cast< int >(val2
);
18596 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18597 if (!SWIG_IsOK(ecode3
)) {
18598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18600 arg3
= static_cast< int >(val3
);
18601 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18602 if (!SWIG_IsOK(ecode4
)) {
18603 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18605 arg4
= static_cast< int >(val4
);
18606 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18607 if (!SWIG_IsOK(ecode5
)) {
18608 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18610 arg5
= static_cast< int >(val5
);
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18614 wxPyEndAllowThreads(__tstate
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18617 resultobj
= SWIG_Py_Void();
18624 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18625 PyObject
*resultobj
= 0;
18626 wxDC
*arg1
= (wxDC
*) 0 ;
18631 PyObject
* obj0
= 0 ;
18632 PyObject
* obj1
= 0 ;
18633 char * kwnames
[] = {
18634 (char *) "self",(char *) "rect", NULL
18637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18639 if (!SWIG_IsOK(res1
)) {
18640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18642 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18645 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18649 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18650 wxPyEndAllowThreads(__tstate
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18653 resultobj
= SWIG_Py_Void();
18660 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
= 0;
18662 wxDC
*arg1
= (wxDC
*) 0 ;
18663 wxPoint
*arg2
= 0 ;
18669 PyObject
* obj0
= 0 ;
18670 PyObject
* obj1
= 0 ;
18671 PyObject
* obj2
= 0 ;
18672 char * kwnames
[] = {
18673 (char *) "self",(char *) "pt",(char *) "sz", NULL
18676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18678 if (!SWIG_IsOK(res1
)) {
18679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18681 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18684 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18688 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 resultobj
= SWIG_Py_Void();
18703 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18704 PyObject
*resultobj
= 0;
18705 wxDC
*arg1
= (wxDC
*) 0 ;
18723 PyObject
* obj0
= 0 ;
18724 PyObject
* obj1
= 0 ;
18725 PyObject
* obj2
= 0 ;
18726 PyObject
* obj3
= 0 ;
18727 PyObject
* obj4
= 0 ;
18728 PyObject
* obj5
= 0 ;
18729 char * kwnames
[] = {
18730 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18735 if (!SWIG_IsOK(res1
)) {
18736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18738 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18740 if (!SWIG_IsOK(ecode2
)) {
18741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18743 arg2
= static_cast< int >(val2
);
18744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18745 if (!SWIG_IsOK(ecode3
)) {
18746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18748 arg3
= static_cast< int >(val3
);
18749 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18750 if (!SWIG_IsOK(ecode4
)) {
18751 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18753 arg4
= static_cast< int >(val4
);
18754 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18755 if (!SWIG_IsOK(ecode5
)) {
18756 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18758 arg5
= static_cast< int >(val5
);
18759 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18760 if (!SWIG_IsOK(ecode6
)) {
18761 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18763 arg6
= static_cast< double >(val6
);
18765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18766 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18767 wxPyEndAllowThreads(__tstate
);
18768 if (PyErr_Occurred()) SWIG_fail
;
18770 resultobj
= SWIG_Py_Void();
18777 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18778 PyObject
*resultobj
= 0;
18779 wxDC
*arg1
= (wxDC
*) 0 ;
18787 PyObject
* obj0
= 0 ;
18788 PyObject
* obj1
= 0 ;
18789 PyObject
* obj2
= 0 ;
18790 char * kwnames
[] = {
18791 (char *) "self",(char *) "r",(char *) "radius", NULL
18794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18796 if (!SWIG_IsOK(res1
)) {
18797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18799 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18802 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18804 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18805 if (!SWIG_IsOK(ecode3
)) {
18806 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18808 arg3
= static_cast< double >(val3
);
18810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18811 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18815 resultobj
= SWIG_Py_Void();
18822 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
= 0;
18824 wxDC
*arg1
= (wxDC
*) 0 ;
18825 wxPoint
*arg2
= 0 ;
18834 PyObject
* obj0
= 0 ;
18835 PyObject
* obj1
= 0 ;
18836 PyObject
* obj2
= 0 ;
18837 PyObject
* obj3
= 0 ;
18838 char * kwnames
[] = {
18839 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18844 if (!SWIG_IsOK(res1
)) {
18845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18847 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18850 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18854 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18856 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18857 if (!SWIG_IsOK(ecode4
)) {
18858 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18860 arg4
= static_cast< double >(val4
);
18862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18863 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18864 wxPyEndAllowThreads(__tstate
);
18865 if (PyErr_Occurred()) SWIG_fail
;
18867 resultobj
= SWIG_Py_Void();
18874 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
= 0;
18876 wxDC
*arg1
= (wxDC
*) 0 ;
18888 PyObject
* obj0
= 0 ;
18889 PyObject
* obj1
= 0 ;
18890 PyObject
* obj2
= 0 ;
18891 PyObject
* obj3
= 0 ;
18892 char * kwnames
[] = {
18893 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18898 if (!SWIG_IsOK(res1
)) {
18899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18901 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18903 if (!SWIG_IsOK(ecode2
)) {
18904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18906 arg2
= static_cast< int >(val2
);
18907 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18908 if (!SWIG_IsOK(ecode3
)) {
18909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18911 arg3
= static_cast< int >(val3
);
18912 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18913 if (!SWIG_IsOK(ecode4
)) {
18914 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18916 arg4
= static_cast< int >(val4
);
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18919 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18920 wxPyEndAllowThreads(__tstate
);
18921 if (PyErr_Occurred()) SWIG_fail
;
18923 resultobj
= SWIG_Py_Void();
18930 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
= 0;
18932 wxDC
*arg1
= (wxDC
*) 0 ;
18933 wxPoint
*arg2
= 0 ;
18940 PyObject
* obj0
= 0 ;
18941 PyObject
* obj1
= 0 ;
18942 PyObject
* obj2
= 0 ;
18943 char * kwnames
[] = {
18944 (char *) "self",(char *) "pt",(char *) "radius", NULL
18947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18949 if (!SWIG_IsOK(res1
)) {
18950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18955 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18958 if (!SWIG_IsOK(ecode3
)) {
18959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18961 arg3
= static_cast< int >(val3
);
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18968 resultobj
= SWIG_Py_Void();
18975 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
= 0;
18977 wxDC
*arg1
= (wxDC
*) 0 ;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 PyObject
* obj2
= 0 ;
18995 PyObject
* obj3
= 0 ;
18996 PyObject
* obj4
= 0 ;
18997 char * kwnames
[] = {
18998 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19003 if (!SWIG_IsOK(res1
)) {
19004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19006 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19008 if (!SWIG_IsOK(ecode2
)) {
19009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19011 arg2
= static_cast< int >(val2
);
19012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19013 if (!SWIG_IsOK(ecode3
)) {
19014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19016 arg3
= static_cast< int >(val3
);
19017 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19018 if (!SWIG_IsOK(ecode4
)) {
19019 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19021 arg4
= static_cast< int >(val4
);
19022 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19023 if (!SWIG_IsOK(ecode5
)) {
19024 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19026 arg5
= static_cast< int >(val5
);
19028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19029 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19030 wxPyEndAllowThreads(__tstate
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19033 resultobj
= SWIG_Py_Void();
19040 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19041 PyObject
*resultobj
= 0;
19042 wxDC
*arg1
= (wxDC
*) 0 ;
19047 PyObject
* obj0
= 0 ;
19048 PyObject
* obj1
= 0 ;
19049 char * kwnames
[] = {
19050 (char *) "self",(char *) "rect", NULL
19053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19055 if (!SWIG_IsOK(res1
)) {
19056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19058 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19061 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19065 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19066 wxPyEndAllowThreads(__tstate
);
19067 if (PyErr_Occurred()) SWIG_fail
;
19069 resultobj
= SWIG_Py_Void();
19076 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19077 PyObject
*resultobj
= 0;
19078 wxDC
*arg1
= (wxDC
*) 0 ;
19079 wxPoint
*arg2
= 0 ;
19085 PyObject
* obj0
= 0 ;
19086 PyObject
* obj1
= 0 ;
19087 PyObject
* obj2
= 0 ;
19088 char * kwnames
[] = {
19089 (char *) "self",(char *) "pt",(char *) "sz", NULL
19092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19094 if (!SWIG_IsOK(res1
)) {
19095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19100 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19104 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19109 wxPyEndAllowThreads(__tstate
);
19110 if (PyErr_Occurred()) SWIG_fail
;
19112 resultobj
= SWIG_Py_Void();
19119 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19120 PyObject
*resultobj
= 0;
19121 wxDC
*arg1
= (wxDC
*) 0 ;
19133 PyObject
* obj0
= 0 ;
19134 PyObject
* obj1
= 0 ;
19135 PyObject
* obj2
= 0 ;
19136 PyObject
* obj3
= 0 ;
19137 char * kwnames
[] = {
19138 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19143 if (!SWIG_IsOK(res1
)) {
19144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19146 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19147 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19148 if (!SWIG_IsOK(res2
)) {
19149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19154 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19155 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19156 if (!SWIG_IsOK(ecode3
)) {
19157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19159 arg3
= static_cast< int >(val3
);
19160 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19161 if (!SWIG_IsOK(ecode4
)) {
19162 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19164 arg4
= static_cast< int >(val4
);
19166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19167 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19168 wxPyEndAllowThreads(__tstate
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19171 resultobj
= SWIG_Py_Void();
19178 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
= 0;
19180 wxDC
*arg1
= (wxDC
*) 0 ;
19182 wxPoint
*arg3
= 0 ;
19188 PyObject
* obj0
= 0 ;
19189 PyObject
* obj1
= 0 ;
19190 PyObject
* obj2
= 0 ;
19191 char * kwnames
[] = {
19192 (char *) "self",(char *) "icon",(char *) "pt", NULL
19195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19197 if (!SWIG_IsOK(res1
)) {
19198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19200 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19202 if (!SWIG_IsOK(res2
)) {
19203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19208 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19211 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19216 wxPyEndAllowThreads(__tstate
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19219 resultobj
= SWIG_Py_Void();
19226 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19227 PyObject
*resultobj
= 0;
19228 wxDC
*arg1
= (wxDC
*) 0 ;
19229 wxBitmap
*arg2
= 0 ;
19232 bool arg5
= (bool) false ;
19243 PyObject
* obj0
= 0 ;
19244 PyObject
* obj1
= 0 ;
19245 PyObject
* obj2
= 0 ;
19246 PyObject
* obj3
= 0 ;
19247 PyObject
* obj4
= 0 ;
19248 char * kwnames
[] = {
19249 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19254 if (!SWIG_IsOK(res1
)) {
19255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19257 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19259 if (!SWIG_IsOK(res2
)) {
19260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19265 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19266 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19267 if (!SWIG_IsOK(ecode3
)) {
19268 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19270 arg3
= static_cast< int >(val3
);
19271 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19272 if (!SWIG_IsOK(ecode4
)) {
19273 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19275 arg4
= static_cast< int >(val4
);
19277 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19278 if (!SWIG_IsOK(ecode5
)) {
19279 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19281 arg5
= static_cast< bool >(val5
);
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19286 wxPyEndAllowThreads(__tstate
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19289 resultobj
= SWIG_Py_Void();
19296 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19297 PyObject
*resultobj
= 0;
19298 wxDC
*arg1
= (wxDC
*) 0 ;
19299 wxBitmap
*arg2
= 0 ;
19300 wxPoint
*arg3
= 0 ;
19301 bool arg4
= (bool) false ;
19309 PyObject
* obj0
= 0 ;
19310 PyObject
* obj1
= 0 ;
19311 PyObject
* obj2
= 0 ;
19312 PyObject
* obj3
= 0 ;
19313 char * kwnames
[] = {
19314 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19319 if (!SWIG_IsOK(res1
)) {
19320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19322 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19323 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19324 if (!SWIG_IsOK(res2
)) {
19325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19330 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19333 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19336 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19337 if (!SWIG_IsOK(ecode4
)) {
19338 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19340 arg4
= static_cast< bool >(val4
);
19343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19344 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19345 wxPyEndAllowThreads(__tstate
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19348 resultobj
= SWIG_Py_Void();
19355 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19356 PyObject
*resultobj
= 0;
19357 wxDC
*arg1
= (wxDC
*) 0 ;
19358 wxString
*arg2
= 0 ;
19363 bool temp2
= false ;
19368 PyObject
* obj0
= 0 ;
19369 PyObject
* obj1
= 0 ;
19370 PyObject
* obj2
= 0 ;
19371 PyObject
* obj3
= 0 ;
19372 char * kwnames
[] = {
19373 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19378 if (!SWIG_IsOK(res1
)) {
19379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19381 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19383 arg2
= wxString_in_helper(obj1
);
19384 if (arg2
== NULL
) SWIG_fail
;
19387 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19388 if (!SWIG_IsOK(ecode3
)) {
19389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19391 arg3
= static_cast< int >(val3
);
19392 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19393 if (!SWIG_IsOK(ecode4
)) {
19394 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19396 arg4
= static_cast< int >(val4
);
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19399 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19400 wxPyEndAllowThreads(__tstate
);
19401 if (PyErr_Occurred()) SWIG_fail
;
19403 resultobj
= SWIG_Py_Void();
19418 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
= 0;
19420 wxDC
*arg1
= (wxDC
*) 0 ;
19421 wxString
*arg2
= 0 ;
19422 wxPoint
*arg3
= 0 ;
19425 bool temp2
= false ;
19427 PyObject
* obj0
= 0 ;
19428 PyObject
* obj1
= 0 ;
19429 PyObject
* obj2
= 0 ;
19430 char * kwnames
[] = {
19431 (char *) "self",(char *) "text",(char *) "pt", NULL
19434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19436 if (!SWIG_IsOK(res1
)) {
19437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19439 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19441 arg2
= wxString_in_helper(obj1
);
19442 if (arg2
== NULL
) SWIG_fail
;
19447 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19451 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19455 resultobj
= SWIG_Py_Void();
19470 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19471 PyObject
*resultobj
= 0;
19472 wxDC
*arg1
= (wxDC
*) 0 ;
19473 wxString
*arg2
= 0 ;
19479 bool temp2
= false ;
19486 PyObject
* obj0
= 0 ;
19487 PyObject
* obj1
= 0 ;
19488 PyObject
* obj2
= 0 ;
19489 PyObject
* obj3
= 0 ;
19490 PyObject
* obj4
= 0 ;
19491 char * kwnames
[] = {
19492 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19497 if (!SWIG_IsOK(res1
)) {
19498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19500 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19502 arg2
= wxString_in_helper(obj1
);
19503 if (arg2
== NULL
) SWIG_fail
;
19506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19507 if (!SWIG_IsOK(ecode3
)) {
19508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19510 arg3
= static_cast< int >(val3
);
19511 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19512 if (!SWIG_IsOK(ecode4
)) {
19513 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19515 arg4
= static_cast< int >(val4
);
19516 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19517 if (!SWIG_IsOK(ecode5
)) {
19518 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19520 arg5
= static_cast< double >(val5
);
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19523 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19527 resultobj
= SWIG_Py_Void();
19542 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19543 PyObject
*resultobj
= 0;
19544 wxDC
*arg1
= (wxDC
*) 0 ;
19545 wxString
*arg2
= 0 ;
19546 wxPoint
*arg3
= 0 ;
19550 bool temp2
= false ;
19554 PyObject
* obj0
= 0 ;
19555 PyObject
* obj1
= 0 ;
19556 PyObject
* obj2
= 0 ;
19557 PyObject
* obj3
= 0 ;
19558 char * kwnames
[] = {
19559 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19564 if (!SWIG_IsOK(res1
)) {
19565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19567 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19569 arg2
= wxString_in_helper(obj1
);
19570 if (arg2
== NULL
) SWIG_fail
;
19575 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19577 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19578 if (!SWIG_IsOK(ecode4
)) {
19579 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19581 arg4
= static_cast< double >(val4
);
19583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19585 wxPyEndAllowThreads(__tstate
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19588 resultobj
= SWIG_Py_Void();
19603 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
= 0;
19605 wxDC
*arg1
= (wxDC
*) 0 ;
19610 wxDC
*arg6
= (wxDC
*) 0 ;
19613 int arg9
= (int) wxCOPY
;
19614 bool arg10
= (bool) false ;
19615 int arg11
= (int) -1 ;
19616 int arg12
= (int) -1 ;
19642 PyObject
* obj0
= 0 ;
19643 PyObject
* obj1
= 0 ;
19644 PyObject
* obj2
= 0 ;
19645 PyObject
* obj3
= 0 ;
19646 PyObject
* obj4
= 0 ;
19647 PyObject
* obj5
= 0 ;
19648 PyObject
* obj6
= 0 ;
19649 PyObject
* obj7
= 0 ;
19650 PyObject
* obj8
= 0 ;
19651 PyObject
* obj9
= 0 ;
19652 PyObject
* obj10
= 0 ;
19653 PyObject
* obj11
= 0 ;
19654 char * kwnames
[] = {
19655 (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
19658 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
;
19659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19660 if (!SWIG_IsOK(res1
)) {
19661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19663 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19665 if (!SWIG_IsOK(ecode2
)) {
19666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19668 arg2
= static_cast< int >(val2
);
19669 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19670 if (!SWIG_IsOK(ecode3
)) {
19671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19673 arg3
= static_cast< int >(val3
);
19674 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19675 if (!SWIG_IsOK(ecode4
)) {
19676 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19678 arg4
= static_cast< int >(val4
);
19679 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19680 if (!SWIG_IsOK(ecode5
)) {
19681 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19683 arg5
= static_cast< int >(val5
);
19684 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19685 if (!SWIG_IsOK(res6
)) {
19686 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19688 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19689 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19690 if (!SWIG_IsOK(ecode7
)) {
19691 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19693 arg7
= static_cast< int >(val7
);
19694 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19695 if (!SWIG_IsOK(ecode8
)) {
19696 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19698 arg8
= static_cast< int >(val8
);
19700 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19701 if (!SWIG_IsOK(ecode9
)) {
19702 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19704 arg9
= static_cast< int >(val9
);
19707 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19708 if (!SWIG_IsOK(ecode10
)) {
19709 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19711 arg10
= static_cast< bool >(val10
);
19714 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19715 if (!SWIG_IsOK(ecode11
)) {
19716 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19718 arg11
= static_cast< int >(val11
);
19721 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19722 if (!SWIG_IsOK(ecode12
)) {
19723 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19725 arg12
= static_cast< int >(val12
);
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19730 wxPyEndAllowThreads(__tstate
);
19731 if (PyErr_Occurred()) SWIG_fail
;
19734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19742 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19743 PyObject
*resultobj
= 0;
19744 wxDC
*arg1
= (wxDC
*) 0 ;
19745 wxPoint
*arg2
= 0 ;
19747 wxDC
*arg4
= (wxDC
*) 0 ;
19748 wxPoint
*arg5
= 0 ;
19749 int arg6
= (int) wxCOPY
;
19750 bool arg7
= (bool) false ;
19751 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19752 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19766 PyObject
* obj0
= 0 ;
19767 PyObject
* obj1
= 0 ;
19768 PyObject
* obj2
= 0 ;
19769 PyObject
* obj3
= 0 ;
19770 PyObject
* obj4
= 0 ;
19771 PyObject
* obj5
= 0 ;
19772 PyObject
* obj6
= 0 ;
19773 PyObject
* obj7
= 0 ;
19774 char * kwnames
[] = {
19775 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19780 if (!SWIG_IsOK(res1
)) {
19781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19783 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19786 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19790 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19792 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19793 if (!SWIG_IsOK(res4
)) {
19794 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19796 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19799 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19802 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19803 if (!SWIG_IsOK(ecode6
)) {
19804 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19806 arg6
= static_cast< int >(val6
);
19809 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19810 if (!SWIG_IsOK(ecode7
)) {
19811 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19813 arg7
= static_cast< bool >(val7
);
19818 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19823 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19836 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
= 0;
19838 wxDC
*arg1
= (wxDC
*) 0 ;
19839 wxRect
*arg2
= (wxRect
*) NULL
;
19840 SwigValueWrapper
<wxBitmap
> result
;
19845 PyObject
* obj0
= 0 ;
19846 PyObject
* obj1
= 0 ;
19847 char * kwnames
[] = {
19848 (char *) "self",(char *) "subrect", NULL
19851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19853 if (!SWIG_IsOK(res1
)) {
19854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19856 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19858 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19859 if (!SWIG_IsOK(res2
)) {
19860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19862 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19867 wxPyEndAllowThreads(__tstate
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19870 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19877 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19878 PyObject
*resultobj
= 0;
19879 wxDC
*arg1
= (wxDC
*) 0 ;
19894 PyObject
* obj0
= 0 ;
19895 PyObject
* obj1
= 0 ;
19896 PyObject
* obj2
= 0 ;
19897 PyObject
* obj3
= 0 ;
19898 PyObject
* obj4
= 0 ;
19899 char * kwnames
[] = {
19900 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19905 if (!SWIG_IsOK(res1
)) {
19906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19908 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19910 if (!SWIG_IsOK(ecode2
)) {
19911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19913 arg2
= static_cast< int >(val2
);
19914 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19915 if (!SWIG_IsOK(ecode3
)) {
19916 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19918 arg3
= static_cast< int >(val3
);
19919 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19920 if (!SWIG_IsOK(ecode4
)) {
19921 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19923 arg4
= static_cast< int >(val4
);
19924 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19925 if (!SWIG_IsOK(ecode5
)) {
19926 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19928 arg5
= static_cast< int >(val5
);
19930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19931 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19935 resultobj
= SWIG_Py_Void();
19942 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19943 PyObject
*resultobj
= 0;
19944 wxDC
*arg1
= (wxDC
*) 0 ;
19945 wxPoint
*arg2
= 0 ;
19951 PyObject
* obj0
= 0 ;
19952 PyObject
* obj1
= 0 ;
19953 PyObject
* obj2
= 0 ;
19954 char * kwnames
[] = {
19955 (char *) "self",(char *) "pt",(char *) "sz", NULL
19958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19963 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19966 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19970 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19974 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19978 resultobj
= SWIG_Py_Void();
19985 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19986 PyObject
*resultobj
= 0;
19987 wxDC
*arg1
= (wxDC
*) 0 ;
19988 wxRegion
*arg2
= 0 ;
19993 PyObject
* obj0
= 0 ;
19994 PyObject
* obj1
= 0 ;
19995 char * kwnames
[] = {
19996 (char *) "self",(char *) "region", NULL
19999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20001 if (!SWIG_IsOK(res1
)) {
20002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20004 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20006 if (!SWIG_IsOK(res2
)) {
20007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20012 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20015 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20016 wxPyEndAllowThreads(__tstate
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= SWIG_Py_Void();
20026 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20027 PyObject
*resultobj
= 0;
20028 wxDC
*arg1
= (wxDC
*) 0 ;
20033 PyObject
* obj0
= 0 ;
20034 PyObject
* obj1
= 0 ;
20035 char * kwnames
[] = {
20036 (char *) "self",(char *) "rect", NULL
20039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20041 if (!SWIG_IsOK(res1
)) {
20042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20044 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20047 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20051 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 resultobj
= SWIG_Py_Void();
20062 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
= 0;
20064 wxDC
*arg1
= (wxDC
*) 0 ;
20066 wxPoint
*arg3
= (wxPoint
*) 0 ;
20067 int arg4
= (int) 0 ;
20068 int arg5
= (int) 0 ;
20075 PyObject
* obj0
= 0 ;
20076 PyObject
* obj1
= 0 ;
20077 PyObject
* obj2
= 0 ;
20078 PyObject
* obj3
= 0 ;
20079 char * kwnames
[] = {
20080 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20085 if (!SWIG_IsOK(res1
)) {
20086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20088 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20090 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20091 if (arg3
== NULL
) SWIG_fail
;
20094 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20095 if (!SWIG_IsOK(ecode4
)) {
20096 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20098 arg4
= static_cast< int >(val4
);
20101 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20102 if (!SWIG_IsOK(ecode5
)) {
20103 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20105 arg5
= static_cast< int >(val5
);
20108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20110 wxPyEndAllowThreads(__tstate
);
20111 if (PyErr_Occurred()) SWIG_fail
;
20113 resultobj
= SWIG_Py_Void();
20115 if (arg3
) delete [] arg3
;
20120 if (arg3
) delete [] arg3
;
20126 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20127 PyObject
*resultobj
= 0;
20128 wxDC
*arg1
= (wxDC
*) 0 ;
20130 wxPoint
*arg3
= (wxPoint
*) 0 ;
20131 int arg4
= (int) 0 ;
20132 int arg5
= (int) 0 ;
20133 int arg6
= (int) wxODDEVEN_RULE
;
20142 PyObject
* obj0
= 0 ;
20143 PyObject
* obj1
= 0 ;
20144 PyObject
* obj2
= 0 ;
20145 PyObject
* obj3
= 0 ;
20146 PyObject
* obj4
= 0 ;
20147 char * kwnames
[] = {
20148 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20153 if (!SWIG_IsOK(res1
)) {
20154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20156 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20158 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20159 if (arg3
== NULL
) SWIG_fail
;
20162 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20163 if (!SWIG_IsOK(ecode4
)) {
20164 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20166 arg4
= static_cast< int >(val4
);
20169 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20170 if (!SWIG_IsOK(ecode5
)) {
20171 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20173 arg5
= static_cast< int >(val5
);
20176 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20177 if (!SWIG_IsOK(ecode6
)) {
20178 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20180 arg6
= static_cast< int >(val6
);
20183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20184 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20185 wxPyEndAllowThreads(__tstate
);
20186 if (PyErr_Occurred()) SWIG_fail
;
20188 resultobj
= SWIG_Py_Void();
20190 if (arg3
) delete [] arg3
;
20195 if (arg3
) delete [] arg3
;
20201 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20202 PyObject
*resultobj
= 0;
20203 wxDC
*arg1
= (wxDC
*) 0 ;
20204 wxString
*arg2
= 0 ;
20206 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20207 int arg5
= (int) -1 ;
20210 bool temp2
= false ;
20216 PyObject
* obj0
= 0 ;
20217 PyObject
* obj1
= 0 ;
20218 PyObject
* obj2
= 0 ;
20219 PyObject
* obj3
= 0 ;
20220 PyObject
* obj4
= 0 ;
20221 char * kwnames
[] = {
20222 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20227 if (!SWIG_IsOK(res1
)) {
20228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20230 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20232 arg2
= wxString_in_helper(obj1
);
20233 if (arg2
== NULL
) SWIG_fail
;
20238 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20241 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20242 if (!SWIG_IsOK(ecode4
)) {
20243 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20245 arg4
= static_cast< int >(val4
);
20248 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20249 if (!SWIG_IsOK(ecode5
)) {
20250 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20252 arg5
= static_cast< int >(val5
);
20255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20256 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20257 wxPyEndAllowThreads(__tstate
);
20258 if (PyErr_Occurred()) SWIG_fail
;
20260 resultobj
= SWIG_Py_Void();
20275 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20276 PyObject
*resultobj
= 0;
20277 wxDC
*arg1
= (wxDC
*) 0 ;
20278 wxString
*arg2
= 0 ;
20279 wxBitmap
*arg3
= 0 ;
20281 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20282 int arg6
= (int) -1 ;
20286 bool temp2
= false ;
20294 PyObject
* obj0
= 0 ;
20295 PyObject
* obj1
= 0 ;
20296 PyObject
* obj2
= 0 ;
20297 PyObject
* obj3
= 0 ;
20298 PyObject
* obj4
= 0 ;
20299 PyObject
* obj5
= 0 ;
20300 char * kwnames
[] = {
20301 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20306 if (!SWIG_IsOK(res1
)) {
20307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20309 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20311 arg2
= wxString_in_helper(obj1
);
20312 if (arg2
== NULL
) SWIG_fail
;
20315 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20316 if (!SWIG_IsOK(res3
)) {
20317 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20320 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20322 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20325 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20328 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20329 if (!SWIG_IsOK(ecode5
)) {
20330 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20332 arg5
= static_cast< int >(val5
);
20335 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20336 if (!SWIG_IsOK(ecode6
)) {
20337 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20339 arg6
= static_cast< int >(val6
);
20342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20343 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20347 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20362 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20363 PyObject
*resultobj
= 0;
20364 wxDC
*arg1
= (wxDC
*) 0 ;
20366 wxPoint
*arg3
= (wxPoint
*) 0 ;
20369 PyObject
* obj0
= 0 ;
20370 PyObject
* obj1
= 0 ;
20371 char * kwnames
[] = {
20372 (char *) "self",(char *) "points", NULL
20375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20377 if (!SWIG_IsOK(res1
)) {
20378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20380 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20382 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20383 if (arg3
== NULL
) SWIG_fail
;
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 (arg1
)->DrawSpline(arg2
,arg3
);
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20391 resultobj
= SWIG_Py_Void();
20393 if (arg3
) delete [] arg3
;
20398 if (arg3
) delete [] arg3
;
20404 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20405 PyObject
*resultobj
= 0;
20406 wxDC
*arg1
= (wxDC
*) 0 ;
20409 PyObject
*swig_obj
[1] ;
20411 if (!args
) SWIG_fail
;
20412 swig_obj
[0] = args
;
20413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20414 if (!SWIG_IsOK(res1
)) {
20415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20417 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20424 resultobj
= SWIG_Py_Void();
20431 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20432 PyObject
*resultobj
= 0;
20433 wxDC
*arg1
= (wxDC
*) 0 ;
20434 wxString
*arg2
= 0 ;
20438 bool temp2
= false ;
20439 PyObject
* obj0
= 0 ;
20440 PyObject
* obj1
= 0 ;
20441 char * kwnames
[] = {
20442 (char *) "self",(char *) "message", NULL
20445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20447 if (!SWIG_IsOK(res1
)) {
20448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20450 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20452 arg2
= wxString_in_helper(obj1
);
20453 if (arg2
== NULL
) SWIG_fail
;
20457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20458 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20479 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20480 PyObject
*resultobj
= 0;
20481 wxDC
*arg1
= (wxDC
*) 0 ;
20484 PyObject
*swig_obj
[1] ;
20486 if (!args
) SWIG_fail
;
20487 swig_obj
[0] = args
;
20488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20489 if (!SWIG_IsOK(res1
)) {
20490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20492 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 wxPyEndAllowThreads(__tstate
);
20497 if (PyErr_Occurred()) SWIG_fail
;
20499 resultobj
= SWIG_Py_Void();
20506 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20507 PyObject
*resultobj
= 0;
20508 wxDC
*arg1
= (wxDC
*) 0 ;
20511 PyObject
*swig_obj
[1] ;
20513 if (!args
) SWIG_fail
;
20514 swig_obj
[0] = args
;
20515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20516 if (!SWIG_IsOK(res1
)) {
20517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20519 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20522 (arg1
)->StartPage();
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20526 resultobj
= SWIG_Py_Void();
20533 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20534 PyObject
*resultobj
= 0;
20535 wxDC
*arg1
= (wxDC
*) 0 ;
20538 PyObject
*swig_obj
[1] ;
20540 if (!args
) SWIG_fail
;
20541 swig_obj
[0] = args
;
20542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20543 if (!SWIG_IsOK(res1
)) {
20544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20546 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 resultobj
= SWIG_Py_Void();
20560 SWIGINTERN PyObject
*_wrap_DC_SetFont(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 *) "font", NULL
20574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",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_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20579 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20580 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20581 if (!SWIG_IsOK(res2
)) {
20582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20587 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 (arg1
)->SetFont((wxFont
const &)*arg2
);
20591 wxPyEndAllowThreads(__tstate
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20594 resultobj
= SWIG_Py_Void();
20601 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20602 PyObject
*resultobj
= 0;
20603 wxDC
*arg1
= (wxDC
*) 0 ;
20609 PyObject
* obj0
= 0 ;
20610 PyObject
* obj1
= 0 ;
20611 char * kwnames
[] = {
20612 (char *) "self",(char *) "pen", NULL
20615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",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_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20620 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20621 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20622 if (!SWIG_IsOK(res2
)) {
20623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20628 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 (arg1
)->SetPen((wxPen
const &)*arg2
);
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 resultobj
= SWIG_Py_Void();
20642 SWIGINTERN PyObject
*_wrap_DC_SetBrush(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_SetBrush",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_SetBrush" "', 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_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20669 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20672 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20673 wxPyEndAllowThreads(__tstate
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20676 resultobj
= SWIG_Py_Void();
20683 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20684 PyObject
*resultobj
= 0;
20685 wxDC
*arg1
= (wxDC
*) 0 ;
20686 wxBrush
*arg2
= 0 ;
20691 PyObject
* obj0
= 0 ;
20692 PyObject
* obj1
= 0 ;
20693 char * kwnames
[] = {
20694 (char *) "self",(char *) "brush", NULL
20697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",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_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20702 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20703 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20704 if (!SWIG_IsOK(res2
)) {
20705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20710 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20717 resultobj
= SWIG_Py_Void();
20724 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20725 PyObject
*resultobj
= 0;
20726 wxDC
*arg1
= (wxDC
*) 0 ;
20732 PyObject
* obj0
= 0 ;
20733 PyObject
* obj1
= 0 ;
20734 char * kwnames
[] = {
20735 (char *) "self",(char *) "mode", NULL
20738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20740 if (!SWIG_IsOK(res1
)) {
20741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20743 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20745 if (!SWIG_IsOK(ecode2
)) {
20746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20748 arg2
= static_cast< int >(val2
);
20750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20751 (arg1
)->SetBackgroundMode(arg2
);
20752 wxPyEndAllowThreads(__tstate
);
20753 if (PyErr_Occurred()) SWIG_fail
;
20755 resultobj
= SWIG_Py_Void();
20762 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20763 PyObject
*resultobj
= 0;
20764 wxDC
*arg1
= (wxDC
*) 0 ;
20765 wxPalette
*arg2
= 0 ;
20770 PyObject
* obj0
= 0 ;
20771 PyObject
* obj1
= 0 ;
20772 char * kwnames
[] = {
20773 (char *) "self",(char *) "palette", NULL
20776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20778 if (!SWIG_IsOK(res1
)) {
20779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20781 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20782 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20783 if (!SWIG_IsOK(res2
)) {
20784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20789 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20792 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20793 wxPyEndAllowThreads(__tstate
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20796 resultobj
= SWIG_Py_Void();
20803 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20804 PyObject
*resultobj
= 0;
20805 wxDC
*arg1
= (wxDC
*) 0 ;
20808 PyObject
*swig_obj
[1] ;
20810 if (!args
) SWIG_fail
;
20811 swig_obj
[0] = args
;
20812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20813 if (!SWIG_IsOK(res1
)) {
20814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20816 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20819 (arg1
)->DestroyClippingRegion();
20820 wxPyEndAllowThreads(__tstate
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20823 resultobj
= SWIG_Py_Void();
20830 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20831 PyObject
*resultobj
= 0;
20832 wxDC
*arg1
= (wxDC
*) 0 ;
20833 int *arg2
= (int *) 0 ;
20834 int *arg3
= (int *) 0 ;
20835 int *arg4
= (int *) 0 ;
20836 int *arg5
= (int *) 0 ;
20840 int res2
= SWIG_TMPOBJ
;
20842 int res3
= SWIG_TMPOBJ
;
20844 int res4
= SWIG_TMPOBJ
;
20846 int res5
= SWIG_TMPOBJ
;
20847 PyObject
*swig_obj
[1] ;
20853 if (!args
) SWIG_fail
;
20854 swig_obj
[0] = args
;
20855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20856 if (!SWIG_IsOK(res1
)) {
20857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20859 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20862 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20863 wxPyEndAllowThreads(__tstate
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20866 resultobj
= SWIG_Py_Void();
20867 if (SWIG_IsTmpObj(res2
)) {
20868 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20870 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20871 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20873 if (SWIG_IsTmpObj(res3
)) {
20874 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20876 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20877 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20879 if (SWIG_IsTmpObj(res4
)) {
20880 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20882 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20883 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20885 if (SWIG_IsTmpObj(res5
)) {
20886 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20888 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20889 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20897 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20898 PyObject
*resultobj
= 0;
20899 wxDC
*arg1
= (wxDC
*) 0 ;
20903 PyObject
*swig_obj
[1] ;
20905 if (!args
) SWIG_fail
;
20906 swig_obj
[0] = args
;
20907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20908 if (!SWIG_IsOK(res1
)) {
20909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20911 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20914 result
= wxDC_GetClippingRect(arg1
);
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20925 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20926 PyObject
*resultobj
= 0;
20927 wxDC
*arg1
= (wxDC
*) 0 ;
20931 PyObject
*swig_obj
[1] ;
20933 if (!args
) SWIG_fail
;
20934 swig_obj
[0] = args
;
20935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20936 if (!SWIG_IsOK(res1
)) {
20937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20939 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20942 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 resultobj
= SWIG_From_int(static_cast< int >(result
));
20953 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20954 PyObject
*resultobj
= 0;
20955 wxDC
*arg1
= (wxDC
*) 0 ;
20959 PyObject
*swig_obj
[1] ;
20961 if (!args
) SWIG_fail
;
20962 swig_obj
[0] = args
;
20963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20964 if (!SWIG_IsOK(res1
)) {
20965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20967 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20974 resultobj
= SWIG_From_int(static_cast< int >(result
));
20981 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
= 0;
20983 wxDC
*arg1
= (wxDC
*) 0 ;
20984 wxString
*arg2
= 0 ;
20985 int *arg3
= (int *) 0 ;
20986 int *arg4
= (int *) 0 ;
20989 bool temp2
= false ;
20991 int res3
= SWIG_TMPOBJ
;
20993 int res4
= SWIG_TMPOBJ
;
20994 PyObject
* obj0
= 0 ;
20995 PyObject
* obj1
= 0 ;
20996 char * kwnames
[] = {
20997 (char *) "self",(char *) "string", NULL
21002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21004 if (!SWIG_IsOK(res1
)) {
21005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21007 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21009 arg2
= wxString_in_helper(obj1
);
21010 if (arg2
== NULL
) SWIG_fail
;
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21019 resultobj
= SWIG_Py_Void();
21020 if (SWIG_IsTmpObj(res3
)) {
21021 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21023 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21024 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21026 if (SWIG_IsTmpObj(res4
)) {
21027 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21029 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21030 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21046 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21047 PyObject
*resultobj
= 0;
21048 wxDC
*arg1
= (wxDC
*) 0 ;
21049 wxString
*arg2
= 0 ;
21050 int *arg3
= (int *) 0 ;
21051 int *arg4
= (int *) 0 ;
21052 int *arg5
= (int *) 0 ;
21053 int *arg6
= (int *) 0 ;
21054 wxFont
*arg7
= (wxFont
*) NULL
;
21057 bool temp2
= false ;
21059 int res3
= SWIG_TMPOBJ
;
21061 int res4
= SWIG_TMPOBJ
;
21063 int res5
= SWIG_TMPOBJ
;
21065 int res6
= SWIG_TMPOBJ
;
21068 PyObject
* obj0
= 0 ;
21069 PyObject
* obj1
= 0 ;
21070 PyObject
* obj2
= 0 ;
21071 char * kwnames
[] = {
21072 (char *) "self",(char *) "string",(char *) "font", NULL
21079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21081 if (!SWIG_IsOK(res1
)) {
21082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21084 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21086 arg2
= wxString_in_helper(obj1
);
21087 if (arg2
== NULL
) SWIG_fail
;
21091 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21092 if (!SWIG_IsOK(res7
)) {
21093 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21095 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 resultobj
= SWIG_Py_Void();
21104 if (SWIG_IsTmpObj(res3
)) {
21105 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21107 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21108 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21110 if (SWIG_IsTmpObj(res4
)) {
21111 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21113 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21114 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21116 if (SWIG_IsTmpObj(res5
)) {
21117 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21119 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21122 if (SWIG_IsTmpObj(res6
)) {
21123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21125 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21142 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21143 PyObject
*resultobj
= 0;
21144 wxDC
*arg1
= (wxDC
*) 0 ;
21145 wxString
*arg2
= 0 ;
21146 int *arg3
= (int *) 0 ;
21147 int *arg4
= (int *) 0 ;
21148 int *arg5
= (int *) 0 ;
21149 wxFont
*arg6
= (wxFont
*) NULL
;
21152 bool temp2
= false ;
21154 int res3
= SWIG_TMPOBJ
;
21156 int res4
= SWIG_TMPOBJ
;
21158 int res5
= SWIG_TMPOBJ
;
21161 PyObject
* obj0
= 0 ;
21162 PyObject
* obj1
= 0 ;
21163 PyObject
* obj2
= 0 ;
21164 char * kwnames
[] = {
21165 (char *) "self",(char *) "text",(char *) "font", NULL
21171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21173 if (!SWIG_IsOK(res1
)) {
21174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21176 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21178 arg2
= wxString_in_helper(obj1
);
21179 if (arg2
== NULL
) SWIG_fail
;
21183 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21184 if (!SWIG_IsOK(res6
)) {
21185 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21187 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21191 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21192 wxPyEndAllowThreads(__tstate
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21195 resultobj
= SWIG_Py_Void();
21196 if (SWIG_IsTmpObj(res3
)) {
21197 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21199 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21200 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21202 if (SWIG_IsTmpObj(res4
)) {
21203 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21205 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21208 if (SWIG_IsTmpObj(res5
)) {
21209 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21211 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21228 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21229 PyObject
*resultobj
= 0;
21230 wxDC
*arg1
= (wxDC
*) 0 ;
21231 wxString
*arg2
= 0 ;
21235 bool temp2
= false ;
21236 PyObject
* obj0
= 0 ;
21237 PyObject
* obj1
= 0 ;
21238 char * kwnames
[] = {
21239 (char *) "self",(char *) "text", NULL
21242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21244 if (!SWIG_IsOK(res1
)) {
21245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21247 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21249 arg2
= wxString_in_helper(obj1
);
21250 if (arg2
== NULL
) SWIG_fail
;
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21260 resultobj
= wxArrayInt2PyList_helper(result
);
21276 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21277 PyObject
*resultobj
= 0;
21278 wxDC
*arg1
= (wxDC
*) 0 ;
21282 PyObject
*swig_obj
[1] ;
21284 if (!args
) SWIG_fail
;
21285 swig_obj
[0] = args
;
21286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21287 if (!SWIG_IsOK(res1
)) {
21288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21290 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 result
= (arg1
)->GetSize();
21294 wxPyEndAllowThreads(__tstate
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21297 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21304 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21305 PyObject
*resultobj
= 0;
21306 wxDC
*arg1
= (wxDC
*) 0 ;
21307 int *arg2
= (int *) 0 ;
21308 int *arg3
= (int *) 0 ;
21312 int res2
= SWIG_TMPOBJ
;
21314 int res3
= SWIG_TMPOBJ
;
21315 PyObject
*swig_obj
[1] ;
21319 if (!args
) SWIG_fail
;
21320 swig_obj
[0] = args
;
21321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21322 if (!SWIG_IsOK(res1
)) {
21323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21325 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 (arg1
)->GetSize(arg2
,arg3
);
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21332 resultobj
= SWIG_Py_Void();
21333 if (SWIG_IsTmpObj(res2
)) {
21334 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21336 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21337 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21339 if (SWIG_IsTmpObj(res3
)) {
21340 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21342 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21343 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21351 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21352 PyObject
*resultobj
= 0;
21353 wxDC
*arg1
= (wxDC
*) 0 ;
21357 PyObject
*swig_obj
[1] ;
21359 if (!args
) SWIG_fail
;
21360 swig_obj
[0] = args
;
21361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21362 if (!SWIG_IsOK(res1
)) {
21363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21365 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21372 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21379 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21380 PyObject
*resultobj
= 0;
21381 wxDC
*arg1
= (wxDC
*) 0 ;
21382 int *arg2
= (int *) 0 ;
21383 int *arg3
= (int *) 0 ;
21387 int res2
= SWIG_TMPOBJ
;
21389 int res3
= SWIG_TMPOBJ
;
21390 PyObject
*swig_obj
[1] ;
21394 if (!args
) SWIG_fail
;
21395 swig_obj
[0] = args
;
21396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21397 if (!SWIG_IsOK(res1
)) {
21398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21400 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21403 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21404 wxPyEndAllowThreads(__tstate
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21407 resultobj
= SWIG_Py_Void();
21408 if (SWIG_IsTmpObj(res2
)) {
21409 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21411 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21412 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21414 if (SWIG_IsTmpObj(res3
)) {
21415 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21417 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21418 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21426 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
= 0;
21428 wxDC
*arg1
= (wxDC
*) 0 ;
21435 PyObject
* obj0
= 0 ;
21436 PyObject
* obj1
= 0 ;
21437 char * kwnames
[] = {
21438 (char *) "self",(char *) "x", NULL
21441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21443 if (!SWIG_IsOK(res1
)) {
21444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21446 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21448 if (!SWIG_IsOK(ecode2
)) {
21449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21451 arg2
= static_cast< int >(val2
);
21453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21454 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21455 wxPyEndAllowThreads(__tstate
);
21456 if (PyErr_Occurred()) SWIG_fail
;
21458 resultobj
= SWIG_From_int(static_cast< int >(result
));
21465 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21466 PyObject
*resultobj
= 0;
21467 wxDC
*arg1
= (wxDC
*) 0 ;
21474 PyObject
* obj0
= 0 ;
21475 PyObject
* obj1
= 0 ;
21476 char * kwnames
[] = {
21477 (char *) "self",(char *) "y", NULL
21480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21482 if (!SWIG_IsOK(res1
)) {
21483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21485 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21486 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21487 if (!SWIG_IsOK(ecode2
)) {
21488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21490 arg2
= static_cast< int >(val2
);
21492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21493 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21494 wxPyEndAllowThreads(__tstate
);
21495 if (PyErr_Occurred()) SWIG_fail
;
21497 resultobj
= SWIG_From_int(static_cast< int >(result
));
21504 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21505 PyObject
*resultobj
= 0;
21506 wxDC
*arg1
= (wxDC
*) 0 ;
21513 PyObject
* obj0
= 0 ;
21514 PyObject
* obj1
= 0 ;
21515 char * kwnames
[] = {
21516 (char *) "self",(char *) "x", NULL
21519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21521 if (!SWIG_IsOK(res1
)) {
21522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21524 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21526 if (!SWIG_IsOK(ecode2
)) {
21527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21529 arg2
= static_cast< int >(val2
);
21531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21532 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21533 wxPyEndAllowThreads(__tstate
);
21534 if (PyErr_Occurred()) SWIG_fail
;
21536 resultobj
= SWIG_From_int(static_cast< int >(result
));
21543 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21544 PyObject
*resultobj
= 0;
21545 wxDC
*arg1
= (wxDC
*) 0 ;
21552 PyObject
* obj0
= 0 ;
21553 PyObject
* obj1
= 0 ;
21554 char * kwnames
[] = {
21555 (char *) "self",(char *) "y", NULL
21558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21560 if (!SWIG_IsOK(res1
)) {
21561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21563 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21565 if (!SWIG_IsOK(ecode2
)) {
21566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21568 arg2
= static_cast< int >(val2
);
21570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21571 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21572 wxPyEndAllowThreads(__tstate
);
21573 if (PyErr_Occurred()) SWIG_fail
;
21575 resultobj
= SWIG_From_int(static_cast< int >(result
));
21582 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21583 PyObject
*resultobj
= 0;
21584 wxDC
*arg1
= (wxDC
*) 0 ;
21591 PyObject
* obj0
= 0 ;
21592 PyObject
* obj1
= 0 ;
21593 char * kwnames
[] = {
21594 (char *) "self",(char *) "x", NULL
21597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21599 if (!SWIG_IsOK(res1
)) {
21600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21602 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21604 if (!SWIG_IsOK(ecode2
)) {
21605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21607 arg2
= static_cast< int >(val2
);
21609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21610 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21611 wxPyEndAllowThreads(__tstate
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21614 resultobj
= SWIG_From_int(static_cast< int >(result
));
21621 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21622 PyObject
*resultobj
= 0;
21623 wxDC
*arg1
= (wxDC
*) 0 ;
21630 PyObject
* obj0
= 0 ;
21631 PyObject
* obj1
= 0 ;
21632 char * kwnames
[] = {
21633 (char *) "self",(char *) "y", NULL
21636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21638 if (!SWIG_IsOK(res1
)) {
21639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21641 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21643 if (!SWIG_IsOK(ecode2
)) {
21644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21646 arg2
= static_cast< int >(val2
);
21648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21649 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21650 wxPyEndAllowThreads(__tstate
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21653 resultobj
= SWIG_From_int(static_cast< int >(result
));
21660 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21661 PyObject
*resultobj
= 0;
21662 wxDC
*arg1
= (wxDC
*) 0 ;
21669 PyObject
* obj0
= 0 ;
21670 PyObject
* obj1
= 0 ;
21671 char * kwnames
[] = {
21672 (char *) "self",(char *) "x", NULL
21675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21677 if (!SWIG_IsOK(res1
)) {
21678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21680 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21682 if (!SWIG_IsOK(ecode2
)) {
21683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21685 arg2
= static_cast< int >(val2
);
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21689 wxPyEndAllowThreads(__tstate
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21692 resultobj
= SWIG_From_int(static_cast< int >(result
));
21699 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21700 PyObject
*resultobj
= 0;
21701 wxDC
*arg1
= (wxDC
*) 0 ;
21708 PyObject
* obj0
= 0 ;
21709 PyObject
* obj1
= 0 ;
21710 char * kwnames
[] = {
21711 (char *) "self",(char *) "y", NULL
21714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21716 if (!SWIG_IsOK(res1
)) {
21717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21719 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21721 if (!SWIG_IsOK(ecode2
)) {
21722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21724 arg2
= static_cast< int >(val2
);
21726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21727 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21728 wxPyEndAllowThreads(__tstate
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21731 resultobj
= SWIG_From_int(static_cast< int >(result
));
21738 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21739 PyObject
*resultobj
= 0;
21740 wxDC
*arg1
= (wxDC
*) 0 ;
21744 PyObject
*swig_obj
[1] ;
21746 if (!args
) SWIG_fail
;
21747 swig_obj
[0] = args
;
21748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21749 if (!SWIG_IsOK(res1
)) {
21750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21752 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21756 wxPyEndAllowThreads(__tstate
);
21757 if (PyErr_Occurred()) SWIG_fail
;
21760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21768 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21769 PyObject
*resultobj
= 0;
21770 wxDC
*arg1
= (wxDC
*) 0 ;
21774 PyObject
*swig_obj
[1] ;
21776 if (!args
) SWIG_fail
;
21777 swig_obj
[0] = args
;
21778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21779 if (!SWIG_IsOK(res1
)) {
21780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21782 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21785 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21798 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21799 PyObject
*resultobj
= 0;
21800 wxDC
*arg1
= (wxDC
*) 0 ;
21804 PyObject
*swig_obj
[1] ;
21806 if (!args
) SWIG_fail
;
21807 swig_obj
[0] = args
;
21808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21809 if (!SWIG_IsOK(res1
)) {
21810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21812 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21819 resultobj
= SWIG_From_int(static_cast< int >(result
));
21826 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21827 PyObject
*resultobj
= 0;
21828 wxDC
*arg1
= (wxDC
*) 0 ;
21832 PyObject
*swig_obj
[1] ;
21834 if (!args
) SWIG_fail
;
21835 swig_obj
[0] = args
;
21836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21837 if (!SWIG_IsOK(res1
)) {
21838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21840 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21843 result
= ((wxDC
const *)arg1
)->GetPPI();
21844 wxPyEndAllowThreads(__tstate
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21847 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21854 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21855 PyObject
*resultobj
= 0;
21856 wxDC
*arg1
= (wxDC
*) 0 ;
21860 PyObject
*swig_obj
[1] ;
21862 if (!args
) SWIG_fail
;
21863 swig_obj
[0] = args
;
21864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21865 if (!SWIG_IsOK(res1
)) {
21866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21868 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21871 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21872 wxPyEndAllowThreads(__tstate
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21884 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21885 PyObject
*resultobj
= 0;
21886 wxDC
*arg1
= (wxDC
*) 0 ;
21890 PyObject
*swig_obj
[1] ;
21892 if (!args
) SWIG_fail
;
21893 swig_obj
[0] = args
;
21894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21895 if (!SWIG_IsOK(res1
)) {
21896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21898 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21905 resultobj
= SWIG_From_int(static_cast< int >(result
));
21912 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21913 PyObject
*resultobj
= 0;
21914 wxDC
*arg1
= (wxDC
*) 0 ;
21915 wxBrush
*result
= 0 ;
21918 PyObject
*swig_obj
[1] ;
21920 if (!args
) SWIG_fail
;
21921 swig_obj
[0] = args
;
21922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21923 if (!SWIG_IsOK(res1
)) {
21924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21926 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21931 result
= (wxBrush
*) &_result_ref
;
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21937 wxBrush
* resultptr
= new wxBrush(*result
);
21938 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21946 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21947 PyObject
*resultobj
= 0;
21948 wxDC
*arg1
= (wxDC
*) 0 ;
21949 wxBrush
*result
= 0 ;
21952 PyObject
*swig_obj
[1] ;
21954 if (!args
) SWIG_fail
;
21955 swig_obj
[0] = args
;
21956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21957 if (!SWIG_IsOK(res1
)) {
21958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21960 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21965 result
= (wxBrush
*) &_result_ref
;
21967 wxPyEndAllowThreads(__tstate
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21971 wxBrush
* resultptr
= new wxBrush(*result
);
21972 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21980 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21981 PyObject
*resultobj
= 0;
21982 wxDC
*arg1
= (wxDC
*) 0 ;
21983 wxFont
*result
= 0 ;
21986 PyObject
*swig_obj
[1] ;
21988 if (!args
) SWIG_fail
;
21989 swig_obj
[0] = args
;
21990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21991 if (!SWIG_IsOK(res1
)) {
21992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21994 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21999 result
= (wxFont
*) &_result_ref
;
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22005 wxFont
* resultptr
= new wxFont(*result
);
22006 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22014 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22015 PyObject
*resultobj
= 0;
22016 wxDC
*arg1
= (wxDC
*) 0 ;
22017 wxPen
*result
= 0 ;
22020 PyObject
*swig_obj
[1] ;
22022 if (!args
) SWIG_fail
;
22023 swig_obj
[0] = args
;
22024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22025 if (!SWIG_IsOK(res1
)) {
22026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22028 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22033 result
= (wxPen
*) &_result_ref
;
22035 wxPyEndAllowThreads(__tstate
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22039 wxPen
* resultptr
= new wxPen(*result
);
22040 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22048 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22049 PyObject
*resultobj
= 0;
22050 wxDC
*arg1
= (wxDC
*) 0 ;
22051 wxColour
*result
= 0 ;
22054 PyObject
*swig_obj
[1] ;
22056 if (!args
) SWIG_fail
;
22057 swig_obj
[0] = args
;
22058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22059 if (!SWIG_IsOK(res1
)) {
22060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22062 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22067 result
= (wxColour
*) &_result_ref
;
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22079 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22080 PyObject
*resultobj
= 0;
22081 wxDC
*arg1
= (wxDC
*) 0 ;
22082 wxColour
*result
= 0 ;
22085 PyObject
*swig_obj
[1] ;
22087 if (!args
) SWIG_fail
;
22088 swig_obj
[0] = args
;
22089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22090 if (!SWIG_IsOK(res1
)) {
22091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22093 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22098 result
= (wxColour
*) &_result_ref
;
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22110 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22111 PyObject
*resultobj
= 0;
22112 wxDC
*arg1
= (wxDC
*) 0 ;
22113 wxColour
*arg2
= 0 ;
22117 PyObject
* obj0
= 0 ;
22118 PyObject
* obj1
= 0 ;
22119 char * kwnames
[] = {
22120 (char *) "self",(char *) "colour", NULL
22123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22125 if (!SWIG_IsOK(res1
)) {
22126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22128 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22131 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22135 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22136 wxPyEndAllowThreads(__tstate
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22139 resultobj
= SWIG_Py_Void();
22146 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22147 PyObject
*resultobj
= 0;
22148 wxDC
*arg1
= (wxDC
*) 0 ;
22149 wxColour
*arg2
= 0 ;
22153 PyObject
* obj0
= 0 ;
22154 PyObject
* obj1
= 0 ;
22155 char * kwnames
[] = {
22156 (char *) "self",(char *) "colour", NULL
22159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22161 if (!SWIG_IsOK(res1
)) {
22162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22164 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22167 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22171 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22175 resultobj
= SWIG_Py_Void();
22182 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22183 PyObject
*resultobj
= 0;
22184 wxDC
*arg1
= (wxDC
*) 0 ;
22188 PyObject
*swig_obj
[1] ;
22190 if (!args
) SWIG_fail
;
22191 swig_obj
[0] = args
;
22192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22193 if (!SWIG_IsOK(res1
)) {
22194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22196 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22203 resultobj
= SWIG_From_int(static_cast< int >(result
));
22210 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
= 0;
22212 wxDC
*arg1
= (wxDC
*) 0 ;
22218 PyObject
* obj0
= 0 ;
22219 PyObject
* obj1
= 0 ;
22220 char * kwnames
[] = {
22221 (char *) "self",(char *) "mode", NULL
22224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22226 if (!SWIG_IsOK(res1
)) {
22227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22229 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22231 if (!SWIG_IsOK(ecode2
)) {
22232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22234 arg2
= static_cast< int >(val2
);
22236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22237 (arg1
)->SetMapMode(arg2
);
22238 wxPyEndAllowThreads(__tstate
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22241 resultobj
= SWIG_Py_Void();
22248 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22249 PyObject
*resultobj
= 0;
22250 wxDC
*arg1
= (wxDC
*) 0 ;
22251 double *arg2
= (double *) 0 ;
22252 double *arg3
= (double *) 0 ;
22256 int res2
= SWIG_TMPOBJ
;
22258 int res3
= SWIG_TMPOBJ
;
22259 PyObject
*swig_obj
[1] ;
22263 if (!args
) SWIG_fail
;
22264 swig_obj
[0] = args
;
22265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22266 if (!SWIG_IsOK(res1
)) {
22267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22269 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22276 resultobj
= SWIG_Py_Void();
22277 if (SWIG_IsTmpObj(res2
)) {
22278 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22280 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22281 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22283 if (SWIG_IsTmpObj(res3
)) {
22284 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22286 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22287 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22295 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
= 0;
22297 wxDC
*arg1
= (wxDC
*) 0 ;
22306 PyObject
* obj0
= 0 ;
22307 PyObject
* obj1
= 0 ;
22308 PyObject
* obj2
= 0 ;
22309 char * kwnames
[] = {
22310 (char *) "self",(char *) "x",(char *) "y", NULL
22313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22315 if (!SWIG_IsOK(res1
)) {
22316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22318 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22319 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22320 if (!SWIG_IsOK(ecode2
)) {
22321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22323 arg2
= static_cast< double >(val2
);
22324 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22325 if (!SWIG_IsOK(ecode3
)) {
22326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22328 arg3
= static_cast< double >(val3
);
22330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22331 (arg1
)->SetUserScale(arg2
,arg3
);
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22335 resultobj
= SWIG_Py_Void();
22342 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22343 PyObject
*resultobj
= 0;
22344 wxDC
*arg1
= (wxDC
*) 0 ;
22345 double *arg2
= (double *) 0 ;
22346 double *arg3
= (double *) 0 ;
22350 int res2
= SWIG_TMPOBJ
;
22352 int res3
= SWIG_TMPOBJ
;
22353 PyObject
*swig_obj
[1] ;
22357 if (!args
) SWIG_fail
;
22358 swig_obj
[0] = args
;
22359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22360 if (!SWIG_IsOK(res1
)) {
22361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22363 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22366 (arg1
)->GetLogicalScale(arg2
,arg3
);
22367 wxPyEndAllowThreads(__tstate
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22370 resultobj
= SWIG_Py_Void();
22371 if (SWIG_IsTmpObj(res2
)) {
22372 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22374 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22377 if (SWIG_IsTmpObj(res3
)) {
22378 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22380 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22381 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22389 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22390 PyObject
*resultobj
= 0;
22391 wxDC
*arg1
= (wxDC
*) 0 ;
22400 PyObject
* obj0
= 0 ;
22401 PyObject
* obj1
= 0 ;
22402 PyObject
* obj2
= 0 ;
22403 char * kwnames
[] = {
22404 (char *) "self",(char *) "x",(char *) "y", NULL
22407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22409 if (!SWIG_IsOK(res1
)) {
22410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22412 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22413 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22414 if (!SWIG_IsOK(ecode2
)) {
22415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22417 arg2
= static_cast< double >(val2
);
22418 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22419 if (!SWIG_IsOK(ecode3
)) {
22420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22422 arg3
= static_cast< double >(val3
);
22424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22425 (arg1
)->SetLogicalScale(arg2
,arg3
);
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22429 resultobj
= SWIG_Py_Void();
22436 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22437 PyObject
*resultobj
= 0;
22438 wxDC
*arg1
= (wxDC
*) 0 ;
22442 PyObject
*swig_obj
[1] ;
22444 if (!args
) SWIG_fail
;
22445 swig_obj
[0] = args
;
22446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22447 if (!SWIG_IsOK(res1
)) {
22448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22450 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22453 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22454 wxPyEndAllowThreads(__tstate
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22457 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22464 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22465 PyObject
*resultobj
= 0;
22466 wxDC
*arg1
= (wxDC
*) 0 ;
22467 int *arg2
= (int *) 0 ;
22468 int *arg3
= (int *) 0 ;
22472 int res2
= SWIG_TMPOBJ
;
22474 int res3
= SWIG_TMPOBJ
;
22475 PyObject
*swig_obj
[1] ;
22479 if (!args
) SWIG_fail
;
22480 swig_obj
[0] = args
;
22481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22482 if (!SWIG_IsOK(res1
)) {
22483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22485 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22488 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22489 wxPyEndAllowThreads(__tstate
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22492 resultobj
= SWIG_Py_Void();
22493 if (SWIG_IsTmpObj(res2
)) {
22494 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22496 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22497 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22499 if (SWIG_IsTmpObj(res3
)) {
22500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22502 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22503 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22511 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22512 PyObject
*resultobj
= 0;
22513 wxDC
*arg1
= (wxDC
*) 0 ;
22522 PyObject
* obj0
= 0 ;
22523 PyObject
* obj1
= 0 ;
22524 PyObject
* obj2
= 0 ;
22525 char * kwnames
[] = {
22526 (char *) "self",(char *) "x",(char *) "y", NULL
22529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22531 if (!SWIG_IsOK(res1
)) {
22532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22534 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22536 if (!SWIG_IsOK(ecode2
)) {
22537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22539 arg2
= static_cast< int >(val2
);
22540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22541 if (!SWIG_IsOK(ecode3
)) {
22542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22544 arg3
= static_cast< int >(val3
);
22546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22547 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22551 resultobj
= SWIG_Py_Void();
22558 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22559 PyObject
*resultobj
= 0;
22560 wxDC
*arg1
= (wxDC
*) 0 ;
22561 wxPoint
*arg2
= 0 ;
22565 PyObject
* obj0
= 0 ;
22566 PyObject
* obj1
= 0 ;
22567 char * kwnames
[] = {
22568 (char *) "self",(char *) "point", NULL
22571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22573 if (!SWIG_IsOK(res1
)) {
22574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22579 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22583 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22584 wxPyEndAllowThreads(__tstate
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22587 resultobj
= SWIG_Py_Void();
22594 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22595 PyObject
*resultobj
= 0;
22596 wxDC
*arg1
= (wxDC
*) 0 ;
22600 PyObject
*swig_obj
[1] ;
22602 if (!args
) SWIG_fail
;
22603 swig_obj
[0] = args
;
22604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22605 if (!SWIG_IsOK(res1
)) {
22606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22608 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22612 wxPyEndAllowThreads(__tstate
);
22613 if (PyErr_Occurred()) SWIG_fail
;
22615 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22622 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22623 PyObject
*resultobj
= 0;
22624 wxDC
*arg1
= (wxDC
*) 0 ;
22625 int *arg2
= (int *) 0 ;
22626 int *arg3
= (int *) 0 ;
22630 int res2
= SWIG_TMPOBJ
;
22632 int res3
= SWIG_TMPOBJ
;
22633 PyObject
*swig_obj
[1] ;
22637 if (!args
) SWIG_fail
;
22638 swig_obj
[0] = args
;
22639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22640 if (!SWIG_IsOK(res1
)) {
22641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22643 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22646 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22647 wxPyEndAllowThreads(__tstate
);
22648 if (PyErr_Occurred()) SWIG_fail
;
22650 resultobj
= SWIG_Py_Void();
22651 if (SWIG_IsTmpObj(res2
)) {
22652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22654 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22657 if (SWIG_IsTmpObj(res3
)) {
22658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22660 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22669 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22670 PyObject
*resultobj
= 0;
22671 wxDC
*arg1
= (wxDC
*) 0 ;
22680 PyObject
* obj0
= 0 ;
22681 PyObject
* obj1
= 0 ;
22682 PyObject
* obj2
= 0 ;
22683 char * kwnames
[] = {
22684 (char *) "self",(char *) "x",(char *) "y", NULL
22687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22689 if (!SWIG_IsOK(res1
)) {
22690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22692 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22694 if (!SWIG_IsOK(ecode2
)) {
22695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22697 arg2
= static_cast< int >(val2
);
22698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22699 if (!SWIG_IsOK(ecode3
)) {
22700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22702 arg3
= static_cast< int >(val3
);
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22706 wxPyEndAllowThreads(__tstate
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22709 resultobj
= SWIG_Py_Void();
22716 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22717 PyObject
*resultobj
= 0;
22718 wxDC
*arg1
= (wxDC
*) 0 ;
22719 wxPoint
*arg2
= 0 ;
22723 PyObject
* obj0
= 0 ;
22724 PyObject
* obj1
= 0 ;
22725 char * kwnames
[] = {
22726 (char *) "self",(char *) "point", NULL
22729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) 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_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22734 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22737 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 resultobj
= SWIG_Py_Void();
22752 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22753 PyObject
*resultobj
= 0;
22754 wxDC
*arg1
= (wxDC
*) 0 ;
22763 PyObject
* obj0
= 0 ;
22764 PyObject
* obj1
= 0 ;
22765 PyObject
* obj2
= 0 ;
22766 char * kwnames
[] = {
22767 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22772 if (!SWIG_IsOK(res1
)) {
22773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22775 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22776 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22777 if (!SWIG_IsOK(ecode2
)) {
22778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22780 arg2
= static_cast< bool >(val2
);
22781 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22782 if (!SWIG_IsOK(ecode3
)) {
22783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22785 arg3
= static_cast< bool >(val3
);
22787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22788 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22789 wxPyEndAllowThreads(__tstate
);
22790 if (PyErr_Occurred()) SWIG_fail
;
22792 resultobj
= SWIG_Py_Void();
22799 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22800 PyObject
*resultobj
= 0;
22801 wxDC
*arg1
= (wxDC
*) 0 ;
22805 PyObject
*swig_obj
[1] ;
22807 if (!args
) SWIG_fail
;
22808 swig_obj
[0] = args
;
22809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22810 if (!SWIG_IsOK(res1
)) {
22811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22813 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22816 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22817 wxPyEndAllowThreads(__tstate
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22820 resultobj
= SWIG_From_int(static_cast< int >(result
));
22827 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22828 PyObject
*resultobj
= 0;
22829 wxDC
*arg1
= (wxDC
*) 0 ;
22835 PyObject
* obj0
= 0 ;
22836 PyObject
* obj1
= 0 ;
22837 char * kwnames
[] = {
22838 (char *) "self",(char *) "function", NULL
22841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22843 if (!SWIG_IsOK(res1
)) {
22844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22846 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22848 if (!SWIG_IsOK(ecode2
)) {
22849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22851 arg2
= static_cast< int >(val2
);
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 (arg1
)->SetLogicalFunction(arg2
);
22855 wxPyEndAllowThreads(__tstate
);
22856 if (PyErr_Occurred()) SWIG_fail
;
22858 resultobj
= SWIG_Py_Void();
22865 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22866 PyObject
*resultobj
= 0;
22867 wxDC
*arg1
= (wxDC
*) 0 ;
22870 PyObject
*swig_obj
[1] ;
22872 if (!args
) SWIG_fail
;
22873 swig_obj
[0] = args
;
22874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22875 if (!SWIG_IsOK(res1
)) {
22876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22878 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 (arg1
)->ComputeScaleAndOrigin();
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22885 resultobj
= SWIG_Py_Void();
22892 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22893 PyObject
*resultobj
= 0;
22894 wxDC
*arg1
= (wxDC
*) 0 ;
22903 PyObject
* obj0
= 0 ;
22904 PyObject
* obj1
= 0 ;
22905 PyObject
* obj2
= 0 ;
22906 char * kwnames
[] = {
22907 (char *) "self",(char *) "x",(char *) "y", NULL
22910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22912 if (!SWIG_IsOK(res1
)) {
22913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22915 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22917 if (!SWIG_IsOK(ecode2
)) {
22918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22920 arg2
= static_cast< int >(val2
);
22921 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22922 if (!SWIG_IsOK(ecode3
)) {
22923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22925 arg3
= static_cast< int >(val3
);
22927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22928 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22929 wxPyEndAllowThreads(__tstate
);
22930 if (PyErr_Occurred()) SWIG_fail
;
22932 resultobj
= SWIG_Py_Void();
22939 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22940 PyObject
*resultobj
= 0;
22941 wxDC
*arg1
= (wxDC
*) 0 ;
22942 wxPoint
*arg2
= 0 ;
22946 PyObject
* obj0
= 0 ;
22947 PyObject
* obj1
= 0 ;
22948 char * kwnames
[] = {
22949 (char *) "self",(char *) "point", NULL
22952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22954 if (!SWIG_IsOK(res1
)) {
22955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22957 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22960 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22964 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22965 wxPyEndAllowThreads(__tstate
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22968 resultobj
= SWIG_Py_Void();
22975 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22976 PyObject
*resultobj
= 0;
22977 wxDC
*arg1
= (wxDC
*) 0 ;
22980 PyObject
*swig_obj
[1] ;
22982 if (!args
) SWIG_fail
;
22983 swig_obj
[0] = args
;
22984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22985 if (!SWIG_IsOK(res1
)) {
22986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22988 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22991 (arg1
)->ResetBoundingBox();
22992 wxPyEndAllowThreads(__tstate
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22995 resultobj
= SWIG_Py_Void();
23002 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23003 PyObject
*resultobj
= 0;
23004 wxDC
*arg1
= (wxDC
*) 0 ;
23008 PyObject
*swig_obj
[1] ;
23010 if (!args
) SWIG_fail
;
23011 swig_obj
[0] = args
;
23012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23013 if (!SWIG_IsOK(res1
)) {
23014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23016 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23019 result
= (int)((wxDC
const *)arg1
)->MinX();
23020 wxPyEndAllowThreads(__tstate
);
23021 if (PyErr_Occurred()) SWIG_fail
;
23023 resultobj
= SWIG_From_int(static_cast< int >(result
));
23030 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23031 PyObject
*resultobj
= 0;
23032 wxDC
*arg1
= (wxDC
*) 0 ;
23036 PyObject
*swig_obj
[1] ;
23038 if (!args
) SWIG_fail
;
23039 swig_obj
[0] = args
;
23040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23041 if (!SWIG_IsOK(res1
)) {
23042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23044 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23047 result
= (int)((wxDC
const *)arg1
)->MaxX();
23048 wxPyEndAllowThreads(__tstate
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23051 resultobj
= SWIG_From_int(static_cast< int >(result
));
23058 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23059 PyObject
*resultobj
= 0;
23060 wxDC
*arg1
= (wxDC
*) 0 ;
23064 PyObject
*swig_obj
[1] ;
23066 if (!args
) SWIG_fail
;
23067 swig_obj
[0] = args
;
23068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23069 if (!SWIG_IsOK(res1
)) {
23070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23072 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23075 result
= (int)((wxDC
const *)arg1
)->MinY();
23076 wxPyEndAllowThreads(__tstate
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23079 resultobj
= SWIG_From_int(static_cast< int >(result
));
23086 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23087 PyObject
*resultobj
= 0;
23088 wxDC
*arg1
= (wxDC
*) 0 ;
23092 PyObject
*swig_obj
[1] ;
23094 if (!args
) SWIG_fail
;
23095 swig_obj
[0] = args
;
23096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23097 if (!SWIG_IsOK(res1
)) {
23098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23100 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 result
= (int)((wxDC
const *)arg1
)->MaxY();
23104 wxPyEndAllowThreads(__tstate
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23107 resultobj
= SWIG_From_int(static_cast< int >(result
));
23114 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23115 PyObject
*resultobj
= 0;
23116 wxDC
*arg1
= (wxDC
*) 0 ;
23117 int *arg2
= (int *) 0 ;
23118 int *arg3
= (int *) 0 ;
23119 int *arg4
= (int *) 0 ;
23120 int *arg5
= (int *) 0 ;
23124 int res2
= SWIG_TMPOBJ
;
23126 int res3
= SWIG_TMPOBJ
;
23128 int res4
= SWIG_TMPOBJ
;
23130 int res5
= SWIG_TMPOBJ
;
23131 PyObject
*swig_obj
[1] ;
23137 if (!args
) SWIG_fail
;
23138 swig_obj
[0] = args
;
23139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23140 if (!SWIG_IsOK(res1
)) {
23141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23143 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23146 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23150 resultobj
= SWIG_Py_Void();
23151 if (SWIG_IsTmpObj(res2
)) {
23152 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23154 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23157 if (SWIG_IsTmpObj(res3
)) {
23158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23160 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23163 if (SWIG_IsTmpObj(res4
)) {
23164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23166 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23167 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23169 if (SWIG_IsTmpObj(res5
)) {
23170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23172 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23181 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23182 PyObject
*resultobj
= 0;
23183 wxDC
*arg1
= (wxDC
*) 0 ;
23184 wxLayoutDirection result
;
23187 PyObject
*swig_obj
[1] ;
23189 if (!args
) SWIG_fail
;
23190 swig_obj
[0] = args
;
23191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23192 if (!SWIG_IsOK(res1
)) {
23193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23195 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23198 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23199 wxPyEndAllowThreads(__tstate
);
23200 if (PyErr_Occurred()) SWIG_fail
;
23202 resultobj
= SWIG_From_int(static_cast< int >(result
));
23209 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23210 PyObject
*resultobj
= 0;
23211 wxDC
*arg1
= (wxDC
*) 0 ;
23212 wxLayoutDirection arg2
;
23217 PyObject
* obj0
= 0 ;
23218 PyObject
* obj1
= 0 ;
23219 char * kwnames
[] = {
23220 (char *) "self",(char *) "dir", NULL
23223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) 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_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23228 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23230 if (!SWIG_IsOK(ecode2
)) {
23231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23233 arg2
= static_cast< wxLayoutDirection
>(val2
);
23235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23236 (arg1
)->SetLayoutDirection(arg2
);
23237 wxPyEndAllowThreads(__tstate
);
23238 if (PyErr_Occurred()) SWIG_fail
;
23240 resultobj
= SWIG_Py_Void();
23247 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23248 PyObject
*resultobj
= 0;
23249 wxDC
*arg1
= (wxDC
*) 0 ;
23250 PyObject
*arg2
= (PyObject
*) 0 ;
23251 PyObject
*arg3
= (PyObject
*) 0 ;
23252 PyObject
*arg4
= (PyObject
*) 0 ;
23253 PyObject
*result
= 0 ;
23256 PyObject
* obj0
= 0 ;
23257 PyObject
* obj1
= 0 ;
23258 PyObject
* obj2
= 0 ;
23259 PyObject
* obj3
= 0 ;
23260 char * kwnames
[] = {
23261 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23266 if (!SWIG_IsOK(res1
)) {
23267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23269 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23275 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23276 wxPyEndAllowThreads(__tstate
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23279 resultobj
= result
;
23286 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
= 0;
23288 wxDC
*arg1
= (wxDC
*) 0 ;
23289 PyObject
*arg2
= (PyObject
*) 0 ;
23290 PyObject
*arg3
= (PyObject
*) 0 ;
23291 PyObject
*arg4
= (PyObject
*) 0 ;
23292 PyObject
*result
= 0 ;
23295 PyObject
* obj0
= 0 ;
23296 PyObject
* obj1
= 0 ;
23297 PyObject
* obj2
= 0 ;
23298 PyObject
* obj3
= 0 ;
23299 char * kwnames
[] = {
23300 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23305 if (!SWIG_IsOK(res1
)) {
23306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23308 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23318 resultobj
= result
;
23325 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23326 PyObject
*resultobj
= 0;
23327 wxDC
*arg1
= (wxDC
*) 0 ;
23328 PyObject
*arg2
= (PyObject
*) 0 ;
23329 PyObject
*arg3
= (PyObject
*) 0 ;
23330 PyObject
*arg4
= (PyObject
*) 0 ;
23331 PyObject
*result
= 0 ;
23334 PyObject
* obj0
= 0 ;
23335 PyObject
* obj1
= 0 ;
23336 PyObject
* obj2
= 0 ;
23337 PyObject
* obj3
= 0 ;
23338 char * kwnames
[] = {
23339 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23344 if (!SWIG_IsOK(res1
)) {
23345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23347 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23353 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23357 resultobj
= result
;
23364 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23365 PyObject
*resultobj
= 0;
23366 wxDC
*arg1
= (wxDC
*) 0 ;
23367 PyObject
*arg2
= (PyObject
*) 0 ;
23368 PyObject
*arg3
= (PyObject
*) 0 ;
23369 PyObject
*arg4
= (PyObject
*) 0 ;
23370 PyObject
*result
= 0 ;
23373 PyObject
* obj0
= 0 ;
23374 PyObject
* obj1
= 0 ;
23375 PyObject
* obj2
= 0 ;
23376 PyObject
* obj3
= 0 ;
23377 char * kwnames
[] = {
23378 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23383 if (!SWIG_IsOK(res1
)) {
23384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23386 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23393 wxPyEndAllowThreads(__tstate
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23396 resultobj
= result
;
23403 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23404 PyObject
*resultobj
= 0;
23405 wxDC
*arg1
= (wxDC
*) 0 ;
23406 PyObject
*arg2
= (PyObject
*) 0 ;
23407 PyObject
*arg3
= (PyObject
*) 0 ;
23408 PyObject
*arg4
= (PyObject
*) 0 ;
23409 PyObject
*result
= 0 ;
23412 PyObject
* obj0
= 0 ;
23413 PyObject
* obj1
= 0 ;
23414 PyObject
* obj2
= 0 ;
23415 PyObject
* obj3
= 0 ;
23416 char * kwnames
[] = {
23417 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23425 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23431 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23435 resultobj
= result
;
23442 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23443 PyObject
*resultobj
= 0;
23444 wxDC
*arg1
= (wxDC
*) 0 ;
23445 PyObject
*arg2
= (PyObject
*) 0 ;
23446 PyObject
*arg3
= (PyObject
*) 0 ;
23447 PyObject
*arg4
= (PyObject
*) 0 ;
23448 PyObject
*arg5
= (PyObject
*) 0 ;
23449 PyObject
*result
= 0 ;
23452 PyObject
* obj0
= 0 ;
23453 PyObject
* obj1
= 0 ;
23454 PyObject
* obj2
= 0 ;
23455 PyObject
* obj3
= 0 ;
23456 PyObject
* obj4
= 0 ;
23457 char * kwnames
[] = {
23458 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23463 if (!SWIG_IsOK(res1
)) {
23464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23466 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23473 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23474 wxPyEndAllowThreads(__tstate
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23477 resultobj
= result
;
23484 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23486 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23487 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23488 return SWIG_Py_Void();
23491 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23492 PyObject
*resultobj
= 0;
23494 wxColour
*arg2
= 0 ;
23495 wxDCTextColourChanger
*result
= 0 ;
23499 PyObject
* obj0
= 0 ;
23500 PyObject
* obj1
= 0 ;
23501 char * kwnames
[] = {
23502 (char *) "dc",(char *) "col", NULL
23505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23506 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23507 if (!SWIG_IsOK(res1
)) {
23508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23513 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23516 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23521 wxPyEndAllowThreads(__tstate
);
23522 if (PyErr_Occurred()) SWIG_fail
;
23524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23531 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23532 PyObject
*resultobj
= 0;
23533 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23536 PyObject
*swig_obj
[1] ;
23538 if (!args
) SWIG_fail
;
23539 swig_obj
[0] = args
;
23540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23541 if (!SWIG_IsOK(res1
)) {
23542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23544 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23552 resultobj
= SWIG_Py_Void();
23559 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23561 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23562 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23563 return SWIG_Py_Void();
23566 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23567 return SWIG_Python_InitShadowInstance(args
);
23570 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
= 0;
23574 wxDCPenChanger
*result
= 0 ;
23579 PyObject
* obj0
= 0 ;
23580 PyObject
* obj1
= 0 ;
23581 char * kwnames
[] = {
23582 (char *) "dc",(char *) "pen", NULL
23585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23586 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23587 if (!SWIG_IsOK(res1
)) {
23588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23591 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23593 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23594 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23595 if (!SWIG_IsOK(res2
)) {
23596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23601 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23605 wxPyEndAllowThreads(__tstate
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23615 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23616 PyObject
*resultobj
= 0;
23617 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23620 PyObject
*swig_obj
[1] ;
23622 if (!args
) SWIG_fail
;
23623 swig_obj
[0] = args
;
23624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23625 if (!SWIG_IsOK(res1
)) {
23626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23628 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23633 wxPyEndAllowThreads(__tstate
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23636 resultobj
= SWIG_Py_Void();
23643 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23645 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23646 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23647 return SWIG_Py_Void();
23650 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23651 return SWIG_Python_InitShadowInstance(args
);
23654 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
= 0;
23657 wxBrush
*arg2
= 0 ;
23658 wxDCBrushChanger
*result
= 0 ;
23663 PyObject
* obj0
= 0 ;
23664 PyObject
* obj1
= 0 ;
23665 char * kwnames
[] = {
23666 (char *) "dc",(char *) "brush", NULL
23669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23670 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23671 if (!SWIG_IsOK(res1
)) {
23672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23677 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23678 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23679 if (!SWIG_IsOK(res2
)) {
23680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23685 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23688 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23689 wxPyEndAllowThreads(__tstate
);
23690 if (PyErr_Occurred()) SWIG_fail
;
23692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23699 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23700 PyObject
*resultobj
= 0;
23701 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23704 PyObject
*swig_obj
[1] ;
23706 if (!args
) SWIG_fail
;
23707 swig_obj
[0] = args
;
23708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23709 if (!SWIG_IsOK(res1
)) {
23710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23712 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23717 wxPyEndAllowThreads(__tstate
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23720 resultobj
= SWIG_Py_Void();
23727 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23729 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23730 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23731 return SWIG_Py_Void();
23734 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23735 return SWIG_Python_InitShadowInstance(args
);
23738 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23739 PyObject
*resultobj
= 0;
23741 wxRegion
*arg2
= 0 ;
23742 wxDCClipper
*result
= 0 ;
23748 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23750 if (!SWIG_IsOK(res1
)) {
23751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23756 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23757 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23758 if (!SWIG_IsOK(res2
)) {
23759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23764 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23778 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23779 PyObject
*resultobj
= 0;
23782 wxDCClipper
*result
= 0 ;
23787 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23789 if (!SWIG_IsOK(res1
)) {
23790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23798 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23813 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23814 PyObject
*resultobj
= 0;
23820 wxDCClipper
*result
= 0 ;
23832 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23834 if (!SWIG_IsOK(res1
)) {
23835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23840 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23841 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23842 if (!SWIG_IsOK(ecode2
)) {
23843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23845 arg2
= static_cast< int >(val2
);
23846 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23847 if (!SWIG_IsOK(ecode3
)) {
23848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23850 arg3
= static_cast< int >(val3
);
23851 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23852 if (!SWIG_IsOK(ecode4
)) {
23853 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23855 arg4
= static_cast< int >(val4
);
23856 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23857 if (!SWIG_IsOK(ecode5
)) {
23858 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23860 arg5
= static_cast< int >(val5
);
23862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23863 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23864 wxPyEndAllowThreads(__tstate
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23874 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23878 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23883 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23884 _v
= SWIG_CheckState(res
);
23886 if (!_v
) goto check_1
;
23887 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23892 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23895 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23899 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23904 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23905 PyObject
*resultobj
= 0;
23906 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23909 PyObject
*swig_obj
[1] ;
23911 if (!args
) SWIG_fail
;
23912 swig_obj
[0] = args
;
23913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23914 if (!SWIG_IsOK(res1
)) {
23915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23917 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 wxPyEndAllowThreads(__tstate
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23925 resultobj
= SWIG_Py_Void();
23932 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23934 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23935 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23936 return SWIG_Py_Void();
23939 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23940 return SWIG_Python_InitShadowInstance(args
);
23943 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23944 PyObject
*resultobj
= 0;
23945 wxScreenDC
*result
= 0 ;
23947 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23949 if (!wxPyCheckForApp()) SWIG_fail
;
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 result
= (wxScreenDC
*)new wxScreenDC();
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23962 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23963 PyObject
*resultobj
= 0;
23964 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23965 wxWindow
*arg2
= (wxWindow
*) 0 ;
23971 PyObject
* obj0
= 0 ;
23972 PyObject
* obj1
= 0 ;
23973 char * kwnames
[] = {
23974 (char *) "self",(char *) "window", NULL
23977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23979 if (!SWIG_IsOK(res1
)) {
23980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23982 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23983 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23984 if (!SWIG_IsOK(res2
)) {
23985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23987 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23990 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23991 wxPyEndAllowThreads(__tstate
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24003 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24004 PyObject
*resultobj
= 0;
24005 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24006 wxRect
*arg2
= (wxRect
*) NULL
;
24012 PyObject
* obj0
= 0 ;
24013 PyObject
* obj1
= 0 ;
24014 char * kwnames
[] = {
24015 (char *) "self",(char *) "rect", NULL
24018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24020 if (!SWIG_IsOK(res1
)) {
24021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24023 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24025 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24026 if (!SWIG_IsOK(res2
)) {
24027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24029 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24033 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24046 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24047 PyObject
*resultobj
= 0;
24048 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24052 PyObject
*swig_obj
[1] ;
24054 if (!args
) SWIG_fail
;
24055 swig_obj
[0] = args
;
24056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24057 if (!SWIG_IsOK(res1
)) {
24058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24060 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 result
= (bool)(arg1
)->EndDrawingOnTop();
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24076 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24079 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24080 return SWIG_Py_Void();
24083 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24084 return SWIG_Python_InitShadowInstance(args
);
24087 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24088 PyObject
*resultobj
= 0;
24089 wxWindow
*arg1
= (wxWindow
*) 0 ;
24090 wxWindowDC
*result
= 0 ;
24093 PyObject
* obj0
= 0 ;
24094 char * kwnames
[] = {
24095 (char *) "win", NULL
24098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24100 if (!SWIG_IsOK(res1
)) {
24101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24103 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24105 if (!wxPyCheckForApp()) SWIG_fail
;
24106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24107 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24118 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24120 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24121 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24122 return SWIG_Py_Void();
24125 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24126 return SWIG_Python_InitShadowInstance(args
);
24129 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24130 PyObject
*resultobj
= 0;
24131 wxWindow
*arg1
= (wxWindow
*) 0 ;
24132 wxClientDC
*result
= 0 ;
24135 PyObject
* obj0
= 0 ;
24136 char * kwnames
[] = {
24137 (char *) "win", NULL
24140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24142 if (!SWIG_IsOK(res1
)) {
24143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24145 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24147 if (!wxPyCheckForApp()) SWIG_fail
;
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 result
= (wxClientDC
*)new wxClientDC(arg1
);
24150 wxPyEndAllowThreads(__tstate
);
24151 if (PyErr_Occurred()) SWIG_fail
;
24153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24160 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24162 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24163 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24164 return SWIG_Py_Void();
24167 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24168 return SWIG_Python_InitShadowInstance(args
);
24171 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24172 PyObject
*resultobj
= 0;
24173 wxWindow
*arg1
= (wxWindow
*) 0 ;
24174 wxPaintDC
*result
= 0 ;
24177 PyObject
* obj0
= 0 ;
24178 char * kwnames
[] = {
24179 (char *) "win", NULL
24182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24184 if (!SWIG_IsOK(res1
)) {
24185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24187 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24189 if (!wxPyCheckForApp()) SWIG_fail
;
24190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24192 wxPyEndAllowThreads(__tstate
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24202 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24204 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24205 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24206 return SWIG_Py_Void();
24209 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24210 return SWIG_Python_InitShadowInstance(args
);
24213 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24214 PyObject
*resultobj
= 0;
24215 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24216 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24217 wxMemoryDC
*result
= 0 ;
24220 PyObject
* obj0
= 0 ;
24221 char * kwnames
[] = {
24222 (char *) "bitmap", NULL
24225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24227 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24228 if (!SWIG_IsOK(res1
)) {
24229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24232 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24234 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24237 if (!wxPyCheckForApp()) SWIG_fail
;
24238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24239 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24240 wxPyEndAllowThreads(__tstate
);
24241 if (PyErr_Occurred()) SWIG_fail
;
24243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24250 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24251 PyObject
*resultobj
= 0;
24252 wxDC
*arg1
= (wxDC
*) 0 ;
24253 wxMemoryDC
*result
= 0 ;
24256 PyObject
* obj0
= 0 ;
24257 char * kwnames
[] = {
24258 (char *) "oldDC", NULL
24261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24263 if (!SWIG_IsOK(res1
)) {
24264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24266 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24268 if (!wxPyCheckForApp()) SWIG_fail
;
24269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24270 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24271 wxPyEndAllowThreads(__tstate
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24281 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24282 PyObject
*resultobj
= 0;
24283 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24284 wxBitmap
*arg2
= 0 ;
24289 PyObject
* obj0
= 0 ;
24290 PyObject
* obj1
= 0 ;
24291 char * kwnames
[] = {
24292 (char *) "self",(char *) "bitmap", NULL
24295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24297 if (!SWIG_IsOK(res1
)) {
24298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24300 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24301 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24302 if (!SWIG_IsOK(res2
)) {
24303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24308 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24311 (arg1
)->SelectObject(*arg2
);
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24315 resultobj
= SWIG_Py_Void();
24322 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24323 PyObject
*resultobj
= 0;
24324 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24325 wxBitmap
*arg2
= 0 ;
24330 PyObject
* obj0
= 0 ;
24331 PyObject
* obj1
= 0 ;
24332 char * kwnames
[] = {
24333 (char *) "self",(char *) "bmp", NULL
24336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24338 if (!SWIG_IsOK(res1
)) {
24339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24341 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24342 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24343 if (!SWIG_IsOK(res2
)) {
24344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24349 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24352 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24353 wxPyEndAllowThreads(__tstate
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24356 resultobj
= SWIG_Py_Void();
24363 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24365 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24366 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24367 return SWIG_Py_Void();
24370 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24371 return SWIG_Python_InitShadowInstance(args
);
24374 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24375 PyObject
*resultobj
= 0;
24376 wxDC
*arg1
= (wxDC
*) 0 ;
24377 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24378 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24379 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24380 wxBufferedDC
*result
= 0 ;
24388 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24390 if (!SWIG_IsOK(res1
)) {
24391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24393 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24395 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24396 if (!SWIG_IsOK(res2
)) {
24397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24402 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24405 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24406 if (!SWIG_IsOK(ecode3
)) {
24407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24409 arg3
= static_cast< int >(val3
);
24412 if (!wxPyCheckForApp()) SWIG_fail
;
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24414 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24415 wxPyEndAllowThreads(__tstate
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24425 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24426 PyObject
*resultobj
= 0;
24427 wxDC
*arg1
= (wxDC
*) 0 ;
24429 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24430 wxBufferedDC
*result
= 0 ;
24437 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24439 if (!SWIG_IsOK(res1
)) {
24440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24442 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24445 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24448 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24449 if (!SWIG_IsOK(ecode3
)) {
24450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24452 arg3
= static_cast< int >(val3
);
24455 if (!wxPyCheckForApp()) SWIG_fail
;
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24458 wxPyEndAllowThreads(__tstate
);
24459 if (PyErr_Occurred()) SWIG_fail
;
24461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24468 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24472 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24474 if ((argc
>= 1) && (argc
<= 3)) {
24479 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24480 _v
= SWIG_CheckState(res
);
24482 if (!_v
) goto check_1
;
24484 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24488 if ((argc
>= 2) && (argc
<= 3)) {
24489 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24493 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24498 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24499 PyObject
*resultobj
= 0;
24500 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24503 PyObject
*swig_obj
[1] ;
24505 if (!args
) SWIG_fail
;
24506 swig_obj
[0] = args
;
24507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24508 if (!SWIG_IsOK(res1
)) {
24509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24511 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24516 wxPyEndAllowThreads(__tstate
);
24517 if (PyErr_Occurred()) SWIG_fail
;
24519 resultobj
= SWIG_Py_Void();
24526 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24527 PyObject
*resultobj
= 0;
24528 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24531 PyObject
*swig_obj
[1] ;
24533 if (!args
) SWIG_fail
;
24534 swig_obj
[0] = args
;
24535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24536 if (!SWIG_IsOK(res1
)) {
24537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24539 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24543 wxPyEndAllowThreads(__tstate
);
24544 if (PyErr_Occurred()) SWIG_fail
;
24546 resultobj
= SWIG_Py_Void();
24553 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24554 PyObject
*resultobj
= 0;
24555 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24561 PyObject
* obj0
= 0 ;
24562 PyObject
* obj1
= 0 ;
24563 char * kwnames
[] = {
24564 (char *) "self",(char *) "style", NULL
24567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24569 if (!SWIG_IsOK(res1
)) {
24570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24572 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24574 if (!SWIG_IsOK(ecode2
)) {
24575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24577 arg2
= static_cast< int >(val2
);
24579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24580 (arg1
)->SetStyle(arg2
);
24581 wxPyEndAllowThreads(__tstate
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24584 resultobj
= SWIG_Py_Void();
24591 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24592 PyObject
*resultobj
= 0;
24593 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24597 PyObject
*swig_obj
[1] ;
24599 if (!args
) SWIG_fail
;
24600 swig_obj
[0] = args
;
24601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24602 if (!SWIG_IsOK(res1
)) {
24603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24605 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24608 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24612 resultobj
= SWIG_From_int(static_cast< int >(result
));
24619 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24621 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24622 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24623 return SWIG_Py_Void();
24626 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24627 return SWIG_Python_InitShadowInstance(args
);
24630 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24631 PyObject
*resultobj
= 0;
24632 wxWindow
*arg1
= (wxWindow
*) 0 ;
24633 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24634 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24635 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24636 wxBufferedPaintDC
*result
= 0 ;
24643 PyObject
* obj0
= 0 ;
24644 PyObject
* obj1
= 0 ;
24645 PyObject
* obj2
= 0 ;
24646 char * kwnames
[] = {
24647 (char *) "window",(char *) "buffer",(char *) "style", NULL
24650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24652 if (!SWIG_IsOK(res1
)) {
24653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24655 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24657 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24658 if (!SWIG_IsOK(res2
)) {
24659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24664 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24668 if (!SWIG_IsOK(ecode3
)) {
24669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24671 arg3
= static_cast< int >(val3
);
24674 if (!wxPyCheckForApp()) SWIG_fail
;
24675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24676 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24687 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24689 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24690 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24691 return SWIG_Py_Void();
24694 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24695 return SWIG_Python_InitShadowInstance(args
);
24698 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
= 0;
24700 wxWindow
*arg1
= (wxWindow
*) 0 ;
24701 wxAutoBufferedPaintDC
*result
= 0 ;
24704 PyObject
* obj0
= 0 ;
24705 char * kwnames
[] = {
24706 (char *) "win", NULL
24709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",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 '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24714 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24717 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24718 wxPyEndAllowThreads(__tstate
);
24719 if (PyErr_Occurred()) SWIG_fail
;
24721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24728 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24730 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24731 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24732 return SWIG_Py_Void();
24735 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24736 return SWIG_Python_InitShadowInstance(args
);
24739 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24740 PyObject
*resultobj
= 0;
24741 wxWindow
*arg1
= (wxWindow
*) 0 ;
24745 PyObject
* obj0
= 0 ;
24746 char * kwnames
[] = {
24747 (char *) "window", NULL
24750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24752 if (!SWIG_IsOK(res1
)) {
24753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24755 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24758 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24763 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24771 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24772 PyObject
*resultobj
= 0;
24775 wxMirrorDC
*result
= 0 ;
24780 PyObject
* obj0
= 0 ;
24781 PyObject
* obj1
= 0 ;
24782 char * kwnames
[] = {
24783 (char *) "dc",(char *) "mirror", NULL
24786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24787 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24788 if (!SWIG_IsOK(res1
)) {
24789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24792 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24794 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24795 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24796 if (!SWIG_IsOK(ecode2
)) {
24797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24799 arg2
= static_cast< bool >(val2
);
24801 if (!wxPyCheckForApp()) SWIG_fail
;
24802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24803 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24814 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24816 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24817 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24818 return SWIG_Py_Void();
24821 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24822 return SWIG_Python_InitShadowInstance(args
);
24825 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24826 PyObject
*resultobj
= 0;
24827 wxPrintData
*arg1
= 0 ;
24828 wxPostScriptDC
*result
= 0 ;
24831 PyObject
* obj0
= 0 ;
24832 char * kwnames
[] = {
24833 (char *) "printData", NULL
24836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24837 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24838 if (!SWIG_IsOK(res1
)) {
24839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24844 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24846 if (!wxPyCheckForApp()) SWIG_fail
;
24847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24848 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24859 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24860 PyObject
*resultobj
= 0;
24861 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24862 wxPrintData
*result
= 0 ;
24865 PyObject
*swig_obj
[1] ;
24867 if (!args
) SWIG_fail
;
24868 swig_obj
[0] = args
;
24869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24870 if (!SWIG_IsOK(res1
)) {
24871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24873 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24877 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24878 result
= (wxPrintData
*) &_result_ref
;
24880 wxPyEndAllowThreads(__tstate
);
24881 if (PyErr_Occurred()) SWIG_fail
;
24883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24890 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24891 PyObject
*resultobj
= 0;
24892 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24893 wxPrintData
*arg2
= 0 ;
24898 PyObject
* obj0
= 0 ;
24899 PyObject
* obj1
= 0 ;
24900 char * kwnames
[] = {
24901 (char *) "self",(char *) "data", NULL
24904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24906 if (!SWIG_IsOK(res1
)) {
24907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24909 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24910 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24911 if (!SWIG_IsOK(res2
)) {
24912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24917 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24920 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24921 wxPyEndAllowThreads(__tstate
);
24922 if (PyErr_Occurred()) SWIG_fail
;
24924 resultobj
= SWIG_Py_Void();
24931 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24932 PyObject
*resultobj
= 0;
24936 PyObject
* obj0
= 0 ;
24937 char * kwnames
[] = {
24938 (char *) "ppi", NULL
24941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24942 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24943 if (!SWIG_IsOK(ecode1
)) {
24944 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24946 arg1
= static_cast< int >(val1
);
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 wxPostScriptDC::SetResolution(arg1
);
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24953 resultobj
= SWIG_Py_Void();
24960 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24961 PyObject
*resultobj
= 0;
24964 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 result
= (int)wxPostScriptDC::GetResolution();
24968 wxPyEndAllowThreads(__tstate
);
24969 if (PyErr_Occurred()) SWIG_fail
;
24971 resultobj
= SWIG_From_int(static_cast< int >(result
));
24978 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24980 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24981 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24982 return SWIG_Py_Void();
24985 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24986 return SWIG_Python_InitShadowInstance(args
);
24989 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24990 PyObject
*resultobj
= 0;
24991 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24992 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24993 wxMetaFile
*result
= 0 ;
24994 bool temp1
= false ;
24995 PyObject
* obj0
= 0 ;
24996 char * kwnames
[] = {
24997 (char *) "filename", NULL
25000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25003 arg1
= wxString_in_helper(obj0
);
25004 if (arg1
== NULL
) SWIG_fail
;
25009 if (!wxPyCheckForApp()) SWIG_fail
;
25010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25011 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25012 wxPyEndAllowThreads(__tstate
);
25013 if (PyErr_Occurred()) SWIG_fail
;
25015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25030 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25031 PyObject
*resultobj
= 0;
25032 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25035 PyObject
*swig_obj
[1] ;
25037 if (!args
) SWIG_fail
;
25038 swig_obj
[0] = args
;
25039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25040 if (!SWIG_IsOK(res1
)) {
25041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25043 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 wxPyEndAllowThreads(__tstate
);
25049 if (PyErr_Occurred()) SWIG_fail
;
25051 resultobj
= SWIG_Py_Void();
25058 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25059 PyObject
*resultobj
= 0;
25060 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25064 PyObject
*swig_obj
[1] ;
25066 if (!args
) SWIG_fail
;
25067 swig_obj
[0] = args
;
25068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25069 if (!SWIG_IsOK(res1
)) {
25070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25072 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 result
= (bool)(arg1
)->IsOk();
25076 wxPyEndAllowThreads(__tstate
);
25077 if (PyErr_Occurred()) SWIG_fail
;
25080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25088 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25089 PyObject
*resultobj
= 0;
25090 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25091 int arg2
= (int) 0 ;
25092 int arg3
= (int) 0 ;
25100 PyObject
* obj0
= 0 ;
25101 PyObject
* obj1
= 0 ;
25102 PyObject
* obj2
= 0 ;
25103 char * kwnames
[] = {
25104 (char *) "self",(char *) "width",(char *) "height", NULL
25107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25109 if (!SWIG_IsOK(res1
)) {
25110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25112 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25115 if (!SWIG_IsOK(ecode2
)) {
25116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25118 arg2
= static_cast< int >(val2
);
25121 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25122 if (!SWIG_IsOK(ecode3
)) {
25123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25125 arg3
= static_cast< int >(val3
);
25128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25129 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25130 wxPyEndAllowThreads(__tstate
);
25131 if (PyErr_Occurred()) SWIG_fail
;
25134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25142 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25143 PyObject
*resultobj
= 0;
25144 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25148 PyObject
*swig_obj
[1] ;
25150 if (!args
) SWIG_fail
;
25151 swig_obj
[0] = args
;
25152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25153 if (!SWIG_IsOK(res1
)) {
25154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25156 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 result
= (arg1
)->GetSize();
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25163 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25170 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25171 PyObject
*resultobj
= 0;
25172 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25176 PyObject
*swig_obj
[1] ;
25178 if (!args
) SWIG_fail
;
25179 swig_obj
[0] = args
;
25180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25181 if (!SWIG_IsOK(res1
)) {
25182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25184 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25187 result
= (int)(arg1
)->GetWidth();
25188 wxPyEndAllowThreads(__tstate
);
25189 if (PyErr_Occurred()) SWIG_fail
;
25191 resultobj
= SWIG_From_int(static_cast< int >(result
));
25198 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25199 PyObject
*resultobj
= 0;
25200 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25204 PyObject
*swig_obj
[1] ;
25206 if (!args
) SWIG_fail
;
25207 swig_obj
[0] = args
;
25208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25209 if (!SWIG_IsOK(res1
)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25212 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 result
= (int)(arg1
)->GetHeight();
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25219 resultobj
= SWIG_From_int(static_cast< int >(result
));
25226 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25228 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25229 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25230 return SWIG_Py_Void();
25233 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25234 return SWIG_Python_InitShadowInstance(args
);
25237 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25238 PyObject
*resultobj
= 0;
25239 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25240 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25241 int arg2
= (int) 0 ;
25242 int arg3
= (int) 0 ;
25243 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25244 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25245 wxMetaFileDC
*result
= 0 ;
25246 bool temp1
= false ;
25251 bool temp4
= false ;
25252 PyObject
* obj0
= 0 ;
25253 PyObject
* obj1
= 0 ;
25254 PyObject
* obj2
= 0 ;
25255 PyObject
* obj3
= 0 ;
25256 char * kwnames
[] = {
25257 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25263 arg1
= wxString_in_helper(obj0
);
25264 if (arg1
== NULL
) SWIG_fail
;
25269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25270 if (!SWIG_IsOK(ecode2
)) {
25271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25273 arg2
= static_cast< int >(val2
);
25276 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25277 if (!SWIG_IsOK(ecode3
)) {
25278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25280 arg3
= static_cast< int >(val3
);
25284 arg4
= wxString_in_helper(obj3
);
25285 if (arg4
== NULL
) SWIG_fail
;
25290 if (!wxPyCheckForApp()) SWIG_fail
;
25291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25292 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25293 wxPyEndAllowThreads(__tstate
);
25294 if (PyErr_Occurred()) SWIG_fail
;
25296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25319 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25320 PyObject
*resultobj
= 0;
25321 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25322 wxMetaFile
*result
= 0 ;
25325 PyObject
*swig_obj
[1] ;
25327 if (!args
) SWIG_fail
;
25328 swig_obj
[0] = args
;
25329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25330 if (!SWIG_IsOK(res1
)) {
25331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25333 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25336 result
= (wxMetaFile
*)(arg1
)->Close();
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25347 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25350 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25351 return SWIG_Py_Void();
25354 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25355 return SWIG_Python_InitShadowInstance(args
);
25358 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25359 PyObject
*resultobj
= 0;
25360 wxPrintData
*arg1
= 0 ;
25361 wxPrinterDC
*result
= 0 ;
25364 PyObject
* obj0
= 0 ;
25365 char * kwnames
[] = {
25366 (char *) "printData", NULL
25369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25370 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25371 if (!SWIG_IsOK(res1
)) {
25372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25377 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25379 if (!wxPyCheckForApp()) SWIG_fail
;
25380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25381 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25382 wxPyEndAllowThreads(__tstate
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25392 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25394 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25395 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25396 return SWIG_Py_Void();
25399 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25400 return SWIG_Python_InitShadowInstance(args
);
25403 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25404 PyObject
*resultobj
= 0;
25405 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25406 wxGraphicsObject
*result
= 0 ;
25409 PyObject
* obj0
= 0 ;
25410 char * kwnames
[] = {
25411 (char *) "renderer", NULL
25414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25417 if (!SWIG_IsOK(res1
)) {
25418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25420 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25423 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25424 if (PyErr_Occurred()) SWIG_fail
;
25426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25433 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25434 PyObject
*resultobj
= 0;
25435 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25438 PyObject
*swig_obj
[1] ;
25440 if (!args
) SWIG_fail
;
25441 swig_obj
[0] = args
;
25442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25443 if (!SWIG_IsOK(res1
)) {
25444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25446 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25450 if (PyErr_Occurred()) SWIG_fail
;
25452 resultobj
= SWIG_Py_Void();
25459 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25460 PyObject
*resultobj
= 0;
25461 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25465 PyObject
*swig_obj
[1] ;
25467 if (!args
) SWIG_fail
;
25468 swig_obj
[0] = args
;
25469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25470 if (!SWIG_IsOK(res1
)) {
25471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25473 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25475 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25476 if (PyErr_Occurred()) SWIG_fail
;
25479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25487 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25488 PyObject
*resultobj
= 0;
25489 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25490 wxGraphicsRenderer
*result
= 0 ;
25493 PyObject
*swig_obj
[1] ;
25495 if (!args
) SWIG_fail
;
25496 swig_obj
[0] = args
;
25497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25498 if (!SWIG_IsOK(res1
)) {
25499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25501 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25503 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25504 if (PyErr_Occurred()) SWIG_fail
;
25506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25513 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25515 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25516 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25517 return SWIG_Py_Void();
25520 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25521 return SWIG_Python_InitShadowInstance(args
);
25524 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25525 PyObject
*resultobj
= 0;
25526 wxGraphicsPen
*result
= 0 ;
25528 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25530 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25531 if (PyErr_Occurred()) SWIG_fail
;
25533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25540 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25541 PyObject
*resultobj
= 0;
25542 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25545 PyObject
*swig_obj
[1] ;
25547 if (!args
) SWIG_fail
;
25548 swig_obj
[0] = args
;
25549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25550 if (!SWIG_IsOK(res1
)) {
25551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25553 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25557 if (PyErr_Occurred()) SWIG_fail
;
25559 resultobj
= SWIG_Py_Void();
25566 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25568 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25569 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25570 return SWIG_Py_Void();
25573 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25574 return SWIG_Python_InitShadowInstance(args
);
25577 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25578 PyObject
*resultobj
= 0;
25579 wxGraphicsBrush
*result
= 0 ;
25581 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25583 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25584 if (PyErr_Occurred()) SWIG_fail
;
25586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25593 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25594 PyObject
*resultobj
= 0;
25595 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25598 PyObject
*swig_obj
[1] ;
25600 if (!args
) SWIG_fail
;
25601 swig_obj
[0] = args
;
25602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25603 if (!SWIG_IsOK(res1
)) {
25604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25606 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25610 if (PyErr_Occurred()) SWIG_fail
;
25612 resultobj
= SWIG_Py_Void();
25619 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25621 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25622 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25623 return SWIG_Py_Void();
25626 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25627 return SWIG_Python_InitShadowInstance(args
);
25630 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25631 PyObject
*resultobj
= 0;
25632 wxGraphicsFont
*result
= 0 ;
25634 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25636 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25637 if (PyErr_Occurred()) SWIG_fail
;
25639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25646 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25647 PyObject
*resultobj
= 0;
25648 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25651 PyObject
*swig_obj
[1] ;
25653 if (!args
) SWIG_fail
;
25654 swig_obj
[0] = args
;
25655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25656 if (!SWIG_IsOK(res1
)) {
25657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25659 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25665 resultobj
= SWIG_Py_Void();
25672 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25675 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25676 return SWIG_Py_Void();
25679 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25680 return SWIG_Python_InitShadowInstance(args
);
25683 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25684 PyObject
*resultobj
= 0;
25685 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25688 PyObject
*swig_obj
[1] ;
25690 if (!args
) SWIG_fail
;
25691 swig_obj
[0] = args
;
25692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25693 if (!SWIG_IsOK(res1
)) {
25694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25696 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25700 if (PyErr_Occurred()) SWIG_fail
;
25702 resultobj
= SWIG_Py_Void();
25709 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25710 PyObject
*resultobj
= 0;
25711 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25712 wxGraphicsMatrix
*arg2
= 0 ;
25717 PyObject
* obj0
= 0 ;
25718 PyObject
* obj1
= 0 ;
25719 char * kwnames
[] = {
25720 (char *) "self",(char *) "t", NULL
25723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25725 if (!SWIG_IsOK(res1
)) {
25726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25728 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25729 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25730 if (!SWIG_IsOK(res2
)) {
25731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25736 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25738 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25739 if (PyErr_Occurred()) SWIG_fail
;
25741 resultobj
= SWIG_Py_Void();
25748 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25749 PyObject
*resultobj
= 0;
25750 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25751 wxDouble arg2
= (wxDouble
) 1.0 ;
25752 wxDouble arg3
= (wxDouble
) 0.0 ;
25753 wxDouble arg4
= (wxDouble
) 0.0 ;
25754 wxDouble arg5
= (wxDouble
) 1.0 ;
25755 wxDouble arg6
= (wxDouble
) 0.0 ;
25756 wxDouble arg7
= (wxDouble
) 0.0 ;
25771 PyObject
* obj0
= 0 ;
25772 PyObject
* obj1
= 0 ;
25773 PyObject
* obj2
= 0 ;
25774 PyObject
* obj3
= 0 ;
25775 PyObject
* obj4
= 0 ;
25776 PyObject
* obj5
= 0 ;
25777 PyObject
* obj6
= 0 ;
25778 char * kwnames
[] = {
25779 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25784 if (!SWIG_IsOK(res1
)) {
25785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25787 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25789 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25790 if (!SWIG_IsOK(ecode2
)) {
25791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25793 arg2
= static_cast< wxDouble
>(val2
);
25796 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25797 if (!SWIG_IsOK(ecode3
)) {
25798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25800 arg3
= static_cast< wxDouble
>(val3
);
25803 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25804 if (!SWIG_IsOK(ecode4
)) {
25805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25807 arg4
= static_cast< wxDouble
>(val4
);
25810 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25811 if (!SWIG_IsOK(ecode5
)) {
25812 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25814 arg5
= static_cast< wxDouble
>(val5
);
25817 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25818 if (!SWIG_IsOK(ecode6
)) {
25819 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25821 arg6
= static_cast< wxDouble
>(val6
);
25824 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25825 if (!SWIG_IsOK(ecode7
)) {
25826 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25828 arg7
= static_cast< wxDouble
>(val7
);
25831 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25832 if (PyErr_Occurred()) SWIG_fail
;
25834 resultobj
= SWIG_Py_Void();
25841 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25842 PyObject
*resultobj
= 0;
25843 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25844 wxDouble
*arg2
= (wxDouble
*) 0 ;
25845 wxDouble
*arg3
= (wxDouble
*) 0 ;
25846 wxDouble
*arg4
= (wxDouble
*) 0 ;
25847 wxDouble
*arg5
= (wxDouble
*) 0 ;
25848 wxDouble
*arg6
= (wxDouble
*) 0 ;
25849 wxDouble
*arg7
= (wxDouble
*) 0 ;
25853 int res2
= SWIG_TMPOBJ
;
25855 int res3
= SWIG_TMPOBJ
;
25857 int res4
= SWIG_TMPOBJ
;
25859 int res5
= SWIG_TMPOBJ
;
25861 int res6
= SWIG_TMPOBJ
;
25863 int res7
= SWIG_TMPOBJ
;
25864 PyObject
*swig_obj
[1] ;
25872 if (!args
) SWIG_fail
;
25873 swig_obj
[0] = args
;
25874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25875 if (!SWIG_IsOK(res1
)) {
25876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25878 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25880 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25881 if (PyErr_Occurred()) SWIG_fail
;
25883 resultobj
= SWIG_Py_Void();
25884 if (SWIG_IsTmpObj(res2
)) {
25885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25887 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25890 if (SWIG_IsTmpObj(res3
)) {
25891 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25893 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25896 if (SWIG_IsTmpObj(res4
)) {
25897 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25899 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25900 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25902 if (SWIG_IsTmpObj(res5
)) {
25903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25905 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25908 if (SWIG_IsTmpObj(res6
)) {
25909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25911 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25914 if (SWIG_IsTmpObj(res7
)) {
25915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
25917 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
25926 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25927 PyObject
*resultobj
= 0;
25928 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25931 PyObject
*swig_obj
[1] ;
25933 if (!args
) SWIG_fail
;
25934 swig_obj
[0] = args
;
25935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25936 if (!SWIG_IsOK(res1
)) {
25937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25939 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25942 if (PyErr_Occurred()) SWIG_fail
;
25944 resultobj
= SWIG_Py_Void();
25951 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25952 PyObject
*resultobj
= 0;
25953 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25954 wxGraphicsMatrix
*arg2
= 0 ;
25960 PyObject
* obj0
= 0 ;
25961 PyObject
* obj1
= 0 ;
25962 char * kwnames
[] = {
25963 (char *) "self",(char *) "t", NULL
25966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25968 if (!SWIG_IsOK(res1
)) {
25969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25971 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25972 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25973 if (!SWIG_IsOK(res2
)) {
25974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25979 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25981 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25993 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25994 PyObject
*resultobj
= 0;
25995 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25999 PyObject
*swig_obj
[1] ;
26001 if (!args
) SWIG_fail
;
26002 swig_obj
[0] = args
;
26003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26004 if (!SWIG_IsOK(res1
)) {
26005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26007 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26009 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26010 if (PyErr_Occurred()) SWIG_fail
;
26013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26021 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26022 PyObject
*resultobj
= 0;
26023 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26032 PyObject
* obj0
= 0 ;
26033 PyObject
* obj1
= 0 ;
26034 PyObject
* obj2
= 0 ;
26035 char * kwnames
[] = {
26036 (char *) "self",(char *) "dx",(char *) "dy", NULL
26039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26041 if (!SWIG_IsOK(res1
)) {
26042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26044 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26045 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26046 if (!SWIG_IsOK(ecode2
)) {
26047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26049 arg2
= static_cast< wxDouble
>(val2
);
26050 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26051 if (!SWIG_IsOK(ecode3
)) {
26052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26054 arg3
= static_cast< wxDouble
>(val3
);
26056 (arg1
)->Translate(arg2
,arg3
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26059 resultobj
= SWIG_Py_Void();
26066 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26067 PyObject
*resultobj
= 0;
26068 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26077 PyObject
* obj0
= 0 ;
26078 PyObject
* obj1
= 0 ;
26079 PyObject
* obj2
= 0 ;
26080 char * kwnames
[] = {
26081 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26086 if (!SWIG_IsOK(res1
)) {
26087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26089 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26090 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26091 if (!SWIG_IsOK(ecode2
)) {
26092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26094 arg2
= static_cast< wxDouble
>(val2
);
26095 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26096 if (!SWIG_IsOK(ecode3
)) {
26097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26099 arg3
= static_cast< wxDouble
>(val3
);
26101 (arg1
)->Scale(arg2
,arg3
);
26102 if (PyErr_Occurred()) SWIG_fail
;
26104 resultobj
= SWIG_Py_Void();
26111 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26112 PyObject
*resultobj
= 0;
26113 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26119 PyObject
* obj0
= 0 ;
26120 PyObject
* obj1
= 0 ;
26121 char * kwnames
[] = {
26122 (char *) "self",(char *) "angle", NULL
26125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26127 if (!SWIG_IsOK(res1
)) {
26128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26130 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26131 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26132 if (!SWIG_IsOK(ecode2
)) {
26133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26135 arg2
= static_cast< wxDouble
>(val2
);
26137 (arg1
)->Rotate(arg2
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26140 resultobj
= SWIG_Py_Void();
26147 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26148 PyObject
*resultobj
= 0;
26149 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26150 wxDouble
*arg2
= (wxDouble
*) 0 ;
26151 wxDouble
*arg3
= (wxDouble
*) 0 ;
26158 PyObject
* obj0
= 0 ;
26159 PyObject
* obj1
= 0 ;
26160 PyObject
* obj2
= 0 ;
26161 char * kwnames
[] = {
26162 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26167 if (!SWIG_IsOK(res1
)) {
26168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26170 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26171 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26173 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26174 if (!SWIG_IsOK(ecode
)) {
26175 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26177 temp2
= static_cast< wxDouble
>(val
);
26179 res2
= SWIG_AddTmpMask(ecode
);
26181 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26183 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26184 if (!SWIG_IsOK(ecode
)) {
26185 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26187 temp3
= static_cast< wxDouble
>(val
);
26189 res3
= SWIG_AddTmpMask(ecode
);
26192 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26193 if (PyErr_Occurred()) SWIG_fail
;
26195 resultobj
= SWIG_Py_Void();
26196 if (SWIG_IsTmpObj(res2
)) {
26197 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26199 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26200 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26202 if (SWIG_IsTmpObj(res3
)) {
26203 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26205 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26214 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26215 PyObject
*resultobj
= 0;
26216 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26217 wxDouble
*arg2
= (wxDouble
*) 0 ;
26218 wxDouble
*arg3
= (wxDouble
*) 0 ;
26225 PyObject
* obj0
= 0 ;
26226 PyObject
* obj1
= 0 ;
26227 PyObject
* obj2
= 0 ;
26228 char * kwnames
[] = {
26229 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26234 if (!SWIG_IsOK(res1
)) {
26235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26237 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26238 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26240 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26241 if (!SWIG_IsOK(ecode
)) {
26242 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26244 temp2
= static_cast< wxDouble
>(val
);
26246 res2
= SWIG_AddTmpMask(ecode
);
26248 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26250 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26251 if (!SWIG_IsOK(ecode
)) {
26252 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26254 temp3
= static_cast< wxDouble
>(val
);
26256 res3
= SWIG_AddTmpMask(ecode
);
26259 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26262 resultobj
= SWIG_Py_Void();
26263 if (SWIG_IsTmpObj(res2
)) {
26264 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26266 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26267 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26269 if (SWIG_IsTmpObj(res3
)) {
26270 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26272 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26273 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26281 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26282 PyObject
*resultobj
= 0;
26283 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26287 PyObject
*swig_obj
[1] ;
26289 if (!args
) SWIG_fail
;
26290 swig_obj
[0] = args
;
26291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26292 if (!SWIG_IsOK(res1
)) {
26293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26295 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26297 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26298 if (PyErr_Occurred()) SWIG_fail
;
26300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26307 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26309 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26310 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26311 return SWIG_Py_Void();
26314 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26315 PyObject
*resultobj
= 0;
26316 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26319 PyObject
*swig_obj
[1] ;
26321 if (!args
) SWIG_fail
;
26322 swig_obj
[0] = args
;
26323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26324 if (!SWIG_IsOK(res1
)) {
26325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26327 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26331 if (PyErr_Occurred()) SWIG_fail
;
26333 resultobj
= SWIG_Py_Void();
26340 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26341 PyObject
*resultobj
= 0;
26342 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26352 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26354 if (!SWIG_IsOK(res1
)) {
26355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26357 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26358 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26359 if (!SWIG_IsOK(ecode2
)) {
26360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26362 arg2
= static_cast< wxDouble
>(val2
);
26363 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26364 if (!SWIG_IsOK(ecode3
)) {
26365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26367 arg3
= static_cast< wxDouble
>(val3
);
26369 (arg1
)->MoveToPoint(arg2
,arg3
);
26370 if (PyErr_Occurred()) SWIG_fail
;
26372 resultobj
= SWIG_Py_Void();
26379 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26380 PyObject
*resultobj
= 0;
26381 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26382 wxPoint2D
*arg2
= 0 ;
26387 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26389 if (!SWIG_IsOK(res1
)) {
26390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26392 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26395 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26398 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26399 if (PyErr_Occurred()) SWIG_fail
;
26401 resultobj
= SWIG_Py_Void();
26408 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26412 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26415 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26418 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26422 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26427 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26428 PyObject
*resultobj
= 0;
26429 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26439 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26441 if (!SWIG_IsOK(res1
)) {
26442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26444 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26445 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26446 if (!SWIG_IsOK(ecode2
)) {
26447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26449 arg2
= static_cast< wxDouble
>(val2
);
26450 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26451 if (!SWIG_IsOK(ecode3
)) {
26452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26454 arg3
= static_cast< wxDouble
>(val3
);
26456 (arg1
)->AddLineToPoint(arg2
,arg3
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26459 resultobj
= SWIG_Py_Void();
26466 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26467 PyObject
*resultobj
= 0;
26468 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26469 wxPoint2D
*arg2
= 0 ;
26474 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26476 if (!SWIG_IsOK(res1
)) {
26477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26479 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26482 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26485 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26486 if (PyErr_Occurred()) SWIG_fail
;
26488 resultobj
= SWIG_Py_Void();
26495 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26499 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26502 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26505 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26509 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26514 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26515 PyObject
*resultobj
= 0;
26516 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26538 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26540 if (!SWIG_IsOK(res1
)) {
26541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26543 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26544 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26545 if (!SWIG_IsOK(ecode2
)) {
26546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26548 arg2
= static_cast< wxDouble
>(val2
);
26549 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26550 if (!SWIG_IsOK(ecode3
)) {
26551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26553 arg3
= static_cast< wxDouble
>(val3
);
26554 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26555 if (!SWIG_IsOK(ecode4
)) {
26556 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26558 arg4
= static_cast< wxDouble
>(val4
);
26559 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26560 if (!SWIG_IsOK(ecode5
)) {
26561 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26563 arg5
= static_cast< wxDouble
>(val5
);
26564 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26565 if (!SWIG_IsOK(ecode6
)) {
26566 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26568 arg6
= static_cast< wxDouble
>(val6
);
26569 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26570 if (!SWIG_IsOK(ecode7
)) {
26571 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26573 arg7
= static_cast< wxDouble
>(val7
);
26575 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26576 if (PyErr_Occurred()) SWIG_fail
;
26578 resultobj
= SWIG_Py_Void();
26585 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26586 PyObject
*resultobj
= 0;
26587 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26588 wxPoint2D
*arg2
= 0 ;
26589 wxPoint2D
*arg3
= 0 ;
26590 wxPoint2D
*arg4
= 0 ;
26597 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26599 if (!SWIG_IsOK(res1
)) {
26600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26602 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26605 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26609 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26613 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26616 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26619 resultobj
= SWIG_Py_Void();
26626 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26630 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26633 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26636 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26640 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26645 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26646 PyObject
*resultobj
= 0;
26647 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26648 wxGraphicsPath
*arg2
= 0 ;
26653 PyObject
* obj0
= 0 ;
26654 PyObject
* obj1
= 0 ;
26655 char * kwnames
[] = {
26656 (char *) "self",(char *) "path", NULL
26659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26661 if (!SWIG_IsOK(res1
)) {
26662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26664 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26665 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26666 if (!SWIG_IsOK(res2
)) {
26667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26672 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26674 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26677 resultobj
= SWIG_Py_Void();
26684 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26685 PyObject
*resultobj
= 0;
26686 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26689 PyObject
*swig_obj
[1] ;
26691 if (!args
) SWIG_fail
;
26692 swig_obj
[0] = args
;
26693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26694 if (!SWIG_IsOK(res1
)) {
26695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26697 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26699 (arg1
)->CloseSubpath();
26700 if (PyErr_Occurred()) SWIG_fail
;
26702 resultobj
= SWIG_Py_Void();
26709 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26710 PyObject
*resultobj
= 0;
26711 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26715 PyObject
*swig_obj
[1] ;
26717 if (!args
) SWIG_fail
;
26718 swig_obj
[0] = args
;
26719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26720 if (!SWIG_IsOK(res1
)) {
26721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26723 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26725 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26726 if (PyErr_Occurred()) SWIG_fail
;
26728 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26735 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26736 PyObject
*resultobj
= 0;
26737 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26743 bool arg7
= (bool) true ;
26759 if ((nobjs
< 6) || (nobjs
> 7)) SWIG_fail
;
26760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26761 if (!SWIG_IsOK(res1
)) {
26762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26764 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26765 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26766 if (!SWIG_IsOK(ecode2
)) {
26767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26769 arg2
= static_cast< wxDouble
>(val2
);
26770 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26771 if (!SWIG_IsOK(ecode3
)) {
26772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26774 arg3
= static_cast< wxDouble
>(val3
);
26775 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26776 if (!SWIG_IsOK(ecode4
)) {
26777 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26779 arg4
= static_cast< wxDouble
>(val4
);
26780 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26781 if (!SWIG_IsOK(ecode5
)) {
26782 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26784 arg5
= static_cast< wxDouble
>(val5
);
26785 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26786 if (!SWIG_IsOK(ecode6
)) {
26787 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26789 arg6
= static_cast< wxDouble
>(val6
);
26791 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26792 if (!SWIG_IsOK(ecode7
)) {
26793 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26795 arg7
= static_cast< bool >(val7
);
26798 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26799 if (PyErr_Occurred()) SWIG_fail
;
26801 resultobj
= SWIG_Py_Void();
26808 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26809 PyObject
*resultobj
= 0;
26810 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26811 wxPoint2D
*arg2
= 0 ;
26815 bool arg6
= (bool) true ;
26828 if ((nobjs
< 5) || (nobjs
> 6)) SWIG_fail
;
26829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26830 if (!SWIG_IsOK(res1
)) {
26831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26833 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26836 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26838 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26839 if (!SWIG_IsOK(ecode3
)) {
26840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26842 arg3
= static_cast< wxDouble
>(val3
);
26843 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26844 if (!SWIG_IsOK(ecode4
)) {
26845 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26847 arg4
= static_cast< wxDouble
>(val4
);
26848 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26849 if (!SWIG_IsOK(ecode5
)) {
26850 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26852 arg5
= static_cast< wxDouble
>(val5
);
26854 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26855 if (!SWIG_IsOK(ecode6
)) {
26856 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26858 arg6
= static_cast< bool >(val6
);
26861 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26864 resultobj
= SWIG_Py_Void();
26871 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26875 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26877 if ((argc
>= 5) && (argc
<= 6)) {
26881 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
26884 if (!_v
) goto check_1
;
26888 int res
= SWIG_AsVal_bool(argv
[5], NULL
);
26889 _v
= SWIG_CheckState(res
);
26892 if (!_v
) goto check_1
;
26894 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26898 if ((argc
>= 6) && (argc
<= 7)) {
26899 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26903 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26908 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26909 PyObject
*resultobj
= 0;
26910 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26925 PyObject
* obj0
= 0 ;
26926 PyObject
* obj1
= 0 ;
26927 PyObject
* obj2
= 0 ;
26928 PyObject
* obj3
= 0 ;
26929 PyObject
* obj4
= 0 ;
26930 char * kwnames
[] = {
26931 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26936 if (!SWIG_IsOK(res1
)) {
26937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26939 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26940 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26941 if (!SWIG_IsOK(ecode2
)) {
26942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26944 arg2
= static_cast< wxDouble
>(val2
);
26945 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26946 if (!SWIG_IsOK(ecode3
)) {
26947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26949 arg3
= static_cast< wxDouble
>(val3
);
26950 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26951 if (!SWIG_IsOK(ecode4
)) {
26952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26954 arg4
= static_cast< wxDouble
>(val4
);
26955 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26956 if (!SWIG_IsOK(ecode5
)) {
26957 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26959 arg5
= static_cast< wxDouble
>(val5
);
26961 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26964 resultobj
= SWIG_Py_Void();
26971 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26972 PyObject
*resultobj
= 0;
26973 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26988 PyObject
* obj0
= 0 ;
26989 PyObject
* obj1
= 0 ;
26990 PyObject
* obj2
= 0 ;
26991 PyObject
* obj3
= 0 ;
26992 PyObject
* obj4
= 0 ;
26993 char * kwnames
[] = {
26994 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26999 if (!SWIG_IsOK(res1
)) {
27000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27002 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27003 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27004 if (!SWIG_IsOK(ecode2
)) {
27005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27007 arg2
= static_cast< wxDouble
>(val2
);
27008 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27009 if (!SWIG_IsOK(ecode3
)) {
27010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27012 arg3
= static_cast< wxDouble
>(val3
);
27013 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27014 if (!SWIG_IsOK(ecode4
)) {
27015 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27017 arg4
= static_cast< wxDouble
>(val4
);
27018 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27019 if (!SWIG_IsOK(ecode5
)) {
27020 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27022 arg5
= static_cast< wxDouble
>(val5
);
27024 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27025 if (PyErr_Occurred()) SWIG_fail
;
27027 resultobj
= SWIG_Py_Void();
27034 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27035 PyObject
*resultobj
= 0;
27036 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27048 PyObject
* obj0
= 0 ;
27049 PyObject
* obj1
= 0 ;
27050 PyObject
* obj2
= 0 ;
27051 PyObject
* obj3
= 0 ;
27052 char * kwnames
[] = {
27053 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27058 if (!SWIG_IsOK(res1
)) {
27059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27061 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27062 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27063 if (!SWIG_IsOK(ecode2
)) {
27064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27066 arg2
= static_cast< wxDouble
>(val2
);
27067 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27068 if (!SWIG_IsOK(ecode3
)) {
27069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27071 arg3
= static_cast< wxDouble
>(val3
);
27072 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27073 if (!SWIG_IsOK(ecode4
)) {
27074 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27076 arg4
= static_cast< wxDouble
>(val4
);
27078 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27079 if (PyErr_Occurred()) SWIG_fail
;
27081 resultobj
= SWIG_Py_Void();
27088 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27089 PyObject
*resultobj
= 0;
27090 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27108 PyObject
* obj0
= 0 ;
27109 PyObject
* obj1
= 0 ;
27110 PyObject
* obj2
= 0 ;
27111 PyObject
* obj3
= 0 ;
27112 PyObject
* obj4
= 0 ;
27113 PyObject
* obj5
= 0 ;
27114 char * kwnames
[] = {
27115 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27120 if (!SWIG_IsOK(res1
)) {
27121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27123 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27124 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27125 if (!SWIG_IsOK(ecode2
)) {
27126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27128 arg2
= static_cast< wxDouble
>(val2
);
27129 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27130 if (!SWIG_IsOK(ecode3
)) {
27131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27133 arg3
= static_cast< wxDouble
>(val3
);
27134 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27135 if (!SWIG_IsOK(ecode4
)) {
27136 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27138 arg4
= static_cast< wxDouble
>(val4
);
27139 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27140 if (!SWIG_IsOK(ecode5
)) {
27141 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27143 arg5
= static_cast< wxDouble
>(val5
);
27144 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27145 if (!SWIG_IsOK(ecode6
)) {
27146 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27148 arg6
= static_cast< wxDouble
>(val6
);
27150 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27153 resultobj
= SWIG_Py_Void();
27160 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27161 PyObject
*resultobj
= 0;
27162 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27177 PyObject
* obj0
= 0 ;
27178 PyObject
* obj1
= 0 ;
27179 PyObject
* obj2
= 0 ;
27180 PyObject
* obj3
= 0 ;
27181 PyObject
* obj4
= 0 ;
27182 char * kwnames
[] = {
27183 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27188 if (!SWIG_IsOK(res1
)) {
27189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27191 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27192 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27193 if (!SWIG_IsOK(ecode2
)) {
27194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27196 arg2
= static_cast< wxDouble
>(val2
);
27197 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27198 if (!SWIG_IsOK(ecode3
)) {
27199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27201 arg3
= static_cast< wxDouble
>(val3
);
27202 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27203 if (!SWIG_IsOK(ecode4
)) {
27204 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27206 arg4
= static_cast< wxDouble
>(val4
);
27207 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27208 if (!SWIG_IsOK(ecode5
)) {
27209 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27211 arg5
= static_cast< wxDouble
>(val5
);
27213 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27216 resultobj
= SWIG_Py_Void();
27223 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27224 PyObject
*resultobj
= 0;
27225 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27243 PyObject
* obj0
= 0 ;
27244 PyObject
* obj1
= 0 ;
27245 PyObject
* obj2
= 0 ;
27246 PyObject
* obj3
= 0 ;
27247 PyObject
* obj4
= 0 ;
27248 PyObject
* obj5
= 0 ;
27249 char * kwnames
[] = {
27250 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27255 if (!SWIG_IsOK(res1
)) {
27256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27258 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27259 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27260 if (!SWIG_IsOK(ecode2
)) {
27261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27263 arg2
= static_cast< wxDouble
>(val2
);
27264 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27265 if (!SWIG_IsOK(ecode3
)) {
27266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27268 arg3
= static_cast< wxDouble
>(val3
);
27269 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27270 if (!SWIG_IsOK(ecode4
)) {
27271 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27273 arg4
= static_cast< wxDouble
>(val4
);
27274 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27275 if (!SWIG_IsOK(ecode5
)) {
27276 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27278 arg5
= static_cast< wxDouble
>(val5
);
27279 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27280 if (!SWIG_IsOK(ecode6
)) {
27281 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27283 arg6
= static_cast< wxDouble
>(val6
);
27285 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27286 if (PyErr_Occurred()) SWIG_fail
;
27288 resultobj
= SWIG_Py_Void();
27295 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27296 PyObject
*resultobj
= 0;
27297 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27301 PyObject
*swig_obj
[1] ;
27303 if (!args
) SWIG_fail
;
27304 swig_obj
[0] = args
;
27305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27306 if (!SWIG_IsOK(res1
)) {
27307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27309 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27311 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27312 if (PyErr_Occurred()) SWIG_fail
;
27314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27321 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27322 PyObject
*resultobj
= 0;
27323 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27324 void *arg2
= (void *) 0 ;
27328 PyObject
* obj0
= 0 ;
27329 PyObject
* obj1
= 0 ;
27330 char * kwnames
[] = {
27331 (char *) "self",(char *) "p", NULL
27334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27336 if (!SWIG_IsOK(res1
)) {
27337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27339 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27340 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27341 if (!SWIG_IsOK(res2
)) {
27342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27345 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27346 if (PyErr_Occurred()) SWIG_fail
;
27348 resultobj
= SWIG_Py_Void();
27355 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27356 PyObject
*resultobj
= 0;
27357 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27358 wxGraphicsMatrix
*arg2
= 0 ;
27363 PyObject
* obj0
= 0 ;
27364 PyObject
* obj1
= 0 ;
27365 char * kwnames
[] = {
27366 (char *) "self",(char *) "matrix", NULL
27369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27371 if (!SWIG_IsOK(res1
)) {
27372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27374 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27375 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27376 if (!SWIG_IsOK(res2
)) {
27377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27382 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27384 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27387 resultobj
= SWIG_Py_Void();
27394 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27395 PyObject
*resultobj
= 0;
27396 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27400 PyObject
*swig_obj
[1] ;
27402 if (!args
) SWIG_fail
;
27403 swig_obj
[0] = args
;
27404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27405 if (!SWIG_IsOK(res1
)) {
27406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27408 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27410 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27411 if (PyErr_Occurred()) SWIG_fail
;
27413 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
27420 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27421 PyObject
*resultobj
= 0;
27422 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27425 int arg4
= (int) wxODDEVEN_RULE
;
27436 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27438 if (!SWIG_IsOK(res1
)) {
27439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27441 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27442 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27443 if (!SWIG_IsOK(ecode2
)) {
27444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27446 arg2
= static_cast< wxDouble
>(val2
);
27447 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27448 if (!SWIG_IsOK(ecode3
)) {
27449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27451 arg3
= static_cast< wxDouble
>(val3
);
27453 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27454 if (!SWIG_IsOK(ecode4
)) {
27455 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27457 arg4
= static_cast< int >(val4
);
27460 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27461 if (PyErr_Occurred()) SWIG_fail
;
27464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27472 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27473 PyObject
*resultobj
= 0;
27474 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27475 wxPoint2D
*arg2
= 0 ;
27476 int arg3
= (int) wxODDEVEN_RULE
;
27484 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27486 if (!SWIG_IsOK(res1
)) {
27487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27489 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27492 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27495 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27496 if (!SWIG_IsOK(ecode3
)) {
27497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27499 arg3
= static_cast< int >(val3
);
27502 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27514 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27518 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27520 if ((argc
>= 2) && (argc
<= 3)) {
27524 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27527 if (!_v
) goto check_1
;
27531 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27532 _v
= SWIG_CheckState(res
);
27535 if (!_v
) goto check_1
;
27537 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27541 if ((argc
>= 3) && (argc
<= 4)) {
27542 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27546 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27551 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27553 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27554 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27555 return SWIG_Py_Void();
27558 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27559 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27564 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27565 PyObject
*pyobj
= 0;
27567 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27572 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27573 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27578 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27579 PyObject
*pyobj
= 0;
27581 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27586 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27587 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27592 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27593 PyObject
*pyobj
= 0;
27595 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27600 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27601 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27606 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27607 PyObject
*pyobj
= 0;
27609 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27614 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27615 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27620 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27621 PyObject
*pyobj
= 0;
27623 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27628 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27629 PyObject
*resultobj
= 0;
27630 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27633 PyObject
*swig_obj
[1] ;
27635 if (!args
) SWIG_fail
;
27636 swig_obj
[0] = args
;
27637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27638 if (!SWIG_IsOK(res1
)) {
27639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27641 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27647 resultobj
= SWIG_Py_Void();
27654 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27655 PyObject
*resultobj
= 0;
27656 wxWindowDC
*arg1
= 0 ;
27657 wxGraphicsContext
*result
= 0 ;
27661 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27663 if (!SWIG_IsOK(res1
)) {
27664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27669 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27671 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27681 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27682 PyObject
*resultobj
= 0;
27683 wxWindow
*arg1
= (wxWindow
*) 0 ;
27684 wxGraphicsContext
*result
= 0 ;
27688 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27690 if (!SWIG_IsOK(res1
)) {
27691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27693 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27695 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27696 if (PyErr_Occurred()) SWIG_fail
;
27698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27705 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27709 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27714 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27715 _v
= SWIG_CheckState(res
);
27717 if (!_v
) goto check_1
;
27718 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27723 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27727 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27732 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27733 PyObject
*resultobj
= 0;
27734 wxGraphicsContext
*result
= 0 ;
27736 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
27738 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
27739 if (PyErr_Occurred()) SWIG_fail
;
27741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27748 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27749 PyObject
*resultobj
= 0;
27750 void *arg1
= (void *) 0 ;
27751 wxGraphicsContext
*result
= 0 ;
27753 PyObject
* obj0
= 0 ;
27754 char * kwnames
[] = {
27755 (char *) "context", NULL
27758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27759 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27760 if (!SWIG_IsOK(res1
)) {
27761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27764 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27765 if (PyErr_Occurred()) SWIG_fail
;
27767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27774 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27775 PyObject
*resultobj
= 0;
27776 void *arg1
= (void *) 0 ;
27777 wxGraphicsContext
*result
= 0 ;
27779 PyObject
* obj0
= 0 ;
27780 char * kwnames
[] = {
27781 (char *) "window", NULL
27784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27785 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27786 if (!SWIG_IsOK(res1
)) {
27787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27790 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27800 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27801 PyObject
*resultobj
= 0;
27802 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27803 wxGraphicsPath result
;
27806 PyObject
*swig_obj
[1] ;
27808 if (!args
) SWIG_fail
;
27809 swig_obj
[0] = args
;
27810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27811 if (!SWIG_IsOK(res1
)) {
27812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27814 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27816 result
= (arg1
)->CreatePath();
27817 if (PyErr_Occurred()) SWIG_fail
;
27819 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27826 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27827 PyObject
*resultobj
= 0;
27828 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27830 wxGraphicsPen result
;
27835 PyObject
* obj0
= 0 ;
27836 PyObject
* obj1
= 0 ;
27837 char * kwnames
[] = {
27838 (char *) "self",(char *) "pen", NULL
27841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27843 if (!SWIG_IsOK(res1
)) {
27844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27846 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27847 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27848 if (!SWIG_IsOK(res2
)) {
27849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27852 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27854 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27856 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27857 if (PyErr_Occurred()) SWIG_fail
;
27859 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27866 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27867 PyObject
*resultobj
= 0;
27868 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27869 wxBrush
*arg2
= 0 ;
27870 wxGraphicsBrush result
;
27875 PyObject
* obj0
= 0 ;
27876 PyObject
* obj1
= 0 ;
27877 char * kwnames
[] = {
27878 (char *) "self",(char *) "brush", NULL
27881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27883 if (!SWIG_IsOK(res1
)) {
27884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27886 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27887 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27888 if (!SWIG_IsOK(res2
)) {
27889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27894 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27896 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
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_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27907 PyObject
*resultobj
= 0;
27908 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27913 wxColour
*arg6
= 0 ;
27914 wxColour
*arg7
= 0 ;
27915 wxGraphicsBrush result
;
27928 PyObject
* obj0
= 0 ;
27929 PyObject
* obj1
= 0 ;
27930 PyObject
* obj2
= 0 ;
27931 PyObject
* obj3
= 0 ;
27932 PyObject
* obj4
= 0 ;
27933 PyObject
* obj5
= 0 ;
27934 PyObject
* obj6
= 0 ;
27935 char * kwnames
[] = {
27936 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27941 if (!SWIG_IsOK(res1
)) {
27942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27944 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27945 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27946 if (!SWIG_IsOK(ecode2
)) {
27947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27949 arg2
= static_cast< wxDouble
>(val2
);
27950 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27951 if (!SWIG_IsOK(ecode3
)) {
27952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27954 arg3
= static_cast< wxDouble
>(val3
);
27955 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27956 if (!SWIG_IsOK(ecode4
)) {
27957 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27959 arg4
= static_cast< wxDouble
>(val4
);
27960 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27961 if (!SWIG_IsOK(ecode5
)) {
27962 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27964 arg5
= static_cast< wxDouble
>(val5
);
27967 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27971 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27974 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27975 if (PyErr_Occurred()) SWIG_fail
;
27977 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27984 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27985 PyObject
*resultobj
= 0;
27986 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27992 wxColour
*arg7
= 0 ;
27993 wxColour
*arg8
= 0 ;
27994 wxGraphicsBrush result
;
28009 PyObject
* obj0
= 0 ;
28010 PyObject
* obj1
= 0 ;
28011 PyObject
* obj2
= 0 ;
28012 PyObject
* obj3
= 0 ;
28013 PyObject
* obj4
= 0 ;
28014 PyObject
* obj5
= 0 ;
28015 PyObject
* obj6
= 0 ;
28016 PyObject
* obj7
= 0 ;
28017 char * kwnames
[] = {
28018 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28023 if (!SWIG_IsOK(res1
)) {
28024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28026 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28027 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28028 if (!SWIG_IsOK(ecode2
)) {
28029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28031 arg2
= static_cast< wxDouble
>(val2
);
28032 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28033 if (!SWIG_IsOK(ecode3
)) {
28034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28036 arg3
= static_cast< wxDouble
>(val3
);
28037 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28038 if (!SWIG_IsOK(ecode4
)) {
28039 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28041 arg4
= static_cast< wxDouble
>(val4
);
28042 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28043 if (!SWIG_IsOK(ecode5
)) {
28044 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28046 arg5
= static_cast< wxDouble
>(val5
);
28047 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28048 if (!SWIG_IsOK(ecode6
)) {
28049 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28051 arg6
= static_cast< wxDouble
>(val6
);
28054 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28058 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28061 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28062 if (PyErr_Occurred()) SWIG_fail
;
28064 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28071 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28072 PyObject
*resultobj
= 0;
28073 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28075 wxColour
const &arg3_defvalue
= *wxBLACK
;
28076 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28077 wxGraphicsFont result
;
28083 PyObject
* obj0
= 0 ;
28084 PyObject
* obj1
= 0 ;
28085 PyObject
* obj2
= 0 ;
28086 char * kwnames
[] = {
28087 (char *) "self",(char *) "font",(char *) "col", NULL
28090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28092 if (!SWIG_IsOK(res1
)) {
28093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28095 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28096 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28097 if (!SWIG_IsOK(res2
)) {
28098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28103 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28107 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28111 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28114 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28121 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28122 PyObject
*resultobj
= 0;
28123 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28124 wxDouble arg2
= (wxDouble
) 1.0 ;
28125 wxDouble arg3
= (wxDouble
) 0.0 ;
28126 wxDouble arg4
= (wxDouble
) 0.0 ;
28127 wxDouble arg5
= (wxDouble
) 1.0 ;
28128 wxDouble arg6
= (wxDouble
) 0.0 ;
28129 wxDouble arg7
= (wxDouble
) 0.0 ;
28130 wxGraphicsMatrix result
;
28145 PyObject
* obj0
= 0 ;
28146 PyObject
* obj1
= 0 ;
28147 PyObject
* obj2
= 0 ;
28148 PyObject
* obj3
= 0 ;
28149 PyObject
* obj4
= 0 ;
28150 PyObject
* obj5
= 0 ;
28151 PyObject
* obj6
= 0 ;
28152 char * kwnames
[] = {
28153 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28158 if (!SWIG_IsOK(res1
)) {
28159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28161 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28163 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28164 if (!SWIG_IsOK(ecode2
)) {
28165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28167 arg2
= static_cast< wxDouble
>(val2
);
28170 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28171 if (!SWIG_IsOK(ecode3
)) {
28172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28174 arg3
= static_cast< wxDouble
>(val3
);
28177 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28178 if (!SWIG_IsOK(ecode4
)) {
28179 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28181 arg4
= static_cast< wxDouble
>(val4
);
28184 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28185 if (!SWIG_IsOK(ecode5
)) {
28186 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28188 arg5
= static_cast< wxDouble
>(val5
);
28191 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28192 if (!SWIG_IsOK(ecode6
)) {
28193 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28195 arg6
= static_cast< wxDouble
>(val6
);
28198 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28199 if (!SWIG_IsOK(ecode7
)) {
28200 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28202 arg7
= static_cast< wxDouble
>(val7
);
28205 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28206 if (PyErr_Occurred()) SWIG_fail
;
28208 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28215 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28216 PyObject
*resultobj
= 0;
28217 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28220 PyObject
*swig_obj
[1] ;
28222 if (!args
) SWIG_fail
;
28223 swig_obj
[0] = args
;
28224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28225 if (!SWIG_IsOK(res1
)) {
28226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28228 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28230 (arg1
)->PushState();
28231 if (PyErr_Occurred()) SWIG_fail
;
28233 resultobj
= SWIG_Py_Void();
28240 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28241 PyObject
*resultobj
= 0;
28242 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28245 PyObject
*swig_obj
[1] ;
28247 if (!args
) SWIG_fail
;
28248 swig_obj
[0] = args
;
28249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28250 if (!SWIG_IsOK(res1
)) {
28251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28253 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28255 (arg1
)->PopState();
28256 if (PyErr_Occurred()) SWIG_fail
;
28258 resultobj
= SWIG_Py_Void();
28265 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28266 PyObject
*resultobj
= 0;
28267 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28268 wxRegion
*arg2
= 0 ;
28273 PyObject
* obj0
= 0 ;
28274 PyObject
* obj1
= 0 ;
28275 char * kwnames
[] = {
28276 (char *) "self",(char *) "region", NULL
28279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28281 if (!SWIG_IsOK(res1
)) {
28282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28284 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28285 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28286 if (!SWIG_IsOK(res2
)) {
28287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28292 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28294 (arg1
)->Clip((wxRegion
const &)*arg2
);
28295 if (PyErr_Occurred()) SWIG_fail
;
28297 resultobj
= SWIG_Py_Void();
28304 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28305 PyObject
*resultobj
= 0;
28306 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28321 PyObject
* obj0
= 0 ;
28322 PyObject
* obj1
= 0 ;
28323 PyObject
* obj2
= 0 ;
28324 PyObject
* obj3
= 0 ;
28325 PyObject
* obj4
= 0 ;
28326 char * kwnames
[] = {
28327 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28332 if (!SWIG_IsOK(res1
)) {
28333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28335 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28336 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28337 if (!SWIG_IsOK(ecode2
)) {
28338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28340 arg2
= static_cast< wxDouble
>(val2
);
28341 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28342 if (!SWIG_IsOK(ecode3
)) {
28343 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28345 arg3
= static_cast< wxDouble
>(val3
);
28346 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28347 if (!SWIG_IsOK(ecode4
)) {
28348 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28350 arg4
= static_cast< wxDouble
>(val4
);
28351 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28352 if (!SWIG_IsOK(ecode5
)) {
28353 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28355 arg5
= static_cast< wxDouble
>(val5
);
28357 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28358 if (PyErr_Occurred()) SWIG_fail
;
28360 resultobj
= SWIG_Py_Void();
28367 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28368 PyObject
*resultobj
= 0;
28369 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28372 PyObject
*swig_obj
[1] ;
28374 if (!args
) SWIG_fail
;
28375 swig_obj
[0] = args
;
28376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28377 if (!SWIG_IsOK(res1
)) {
28378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28380 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28382 (arg1
)->ResetClip();
28383 if (PyErr_Occurred()) SWIG_fail
;
28385 resultobj
= SWIG_Py_Void();
28392 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28393 PyObject
*resultobj
= 0;
28394 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28398 PyObject
*swig_obj
[1] ;
28400 if (!args
) SWIG_fail
;
28401 swig_obj
[0] = args
;
28402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28403 if (!SWIG_IsOK(res1
)) {
28404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28406 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28408 result
= (void *)(arg1
)->GetNativeContext();
28409 if (PyErr_Occurred()) SWIG_fail
;
28411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28418 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28419 PyObject
*resultobj
= 0;
28420 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28424 PyObject
*swig_obj
[1] ;
28426 if (!args
) SWIG_fail
;
28427 swig_obj
[0] = args
;
28428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28429 if (!SWIG_IsOK(res1
)) {
28430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28432 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28434 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
28435 if (PyErr_Occurred()) SWIG_fail
;
28437 resultobj
= SWIG_From_int(static_cast< int >(result
));
28444 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28445 PyObject
*resultobj
= 0;
28446 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28453 PyObject
* obj0
= 0 ;
28454 PyObject
* obj1
= 0 ;
28455 char * kwnames
[] = {
28456 (char *) "self",(char *) "function", NULL
28459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28461 if (!SWIG_IsOK(res1
)) {
28462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28464 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28466 if (!SWIG_IsOK(ecode2
)) {
28467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
28469 arg2
= static_cast< int >(val2
);
28471 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
28472 if (PyErr_Occurred()) SWIG_fail
;
28475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28483 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28484 PyObject
*resultobj
= 0;
28485 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28494 PyObject
* obj0
= 0 ;
28495 PyObject
* obj1
= 0 ;
28496 PyObject
* obj2
= 0 ;
28497 char * kwnames
[] = {
28498 (char *) "self",(char *) "dx",(char *) "dy", NULL
28501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28503 if (!SWIG_IsOK(res1
)) {
28504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28506 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28507 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28508 if (!SWIG_IsOK(ecode2
)) {
28509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28511 arg2
= static_cast< wxDouble
>(val2
);
28512 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28513 if (!SWIG_IsOK(ecode3
)) {
28514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28516 arg3
= static_cast< wxDouble
>(val3
);
28518 (arg1
)->Translate(arg2
,arg3
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28521 resultobj
= SWIG_Py_Void();
28528 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28529 PyObject
*resultobj
= 0;
28530 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28539 PyObject
* obj0
= 0 ;
28540 PyObject
* obj1
= 0 ;
28541 PyObject
* obj2
= 0 ;
28542 char * kwnames
[] = {
28543 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28548 if (!SWIG_IsOK(res1
)) {
28549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28551 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28552 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28553 if (!SWIG_IsOK(ecode2
)) {
28554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28556 arg2
= static_cast< wxDouble
>(val2
);
28557 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28558 if (!SWIG_IsOK(ecode3
)) {
28559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28561 arg3
= static_cast< wxDouble
>(val3
);
28563 (arg1
)->Scale(arg2
,arg3
);
28564 if (PyErr_Occurred()) SWIG_fail
;
28566 resultobj
= SWIG_Py_Void();
28573 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28574 PyObject
*resultobj
= 0;
28575 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28581 PyObject
* obj0
= 0 ;
28582 PyObject
* obj1
= 0 ;
28583 char * kwnames
[] = {
28584 (char *) "self",(char *) "angle", NULL
28587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28589 if (!SWIG_IsOK(res1
)) {
28590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28592 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28593 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28594 if (!SWIG_IsOK(ecode2
)) {
28595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28597 arg2
= static_cast< wxDouble
>(val2
);
28599 (arg1
)->Rotate(arg2
);
28600 if (PyErr_Occurred()) SWIG_fail
;
28602 resultobj
= SWIG_Py_Void();
28609 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28610 PyObject
*resultobj
= 0;
28611 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28612 wxGraphicsMatrix
*arg2
= 0 ;
28617 PyObject
* obj0
= 0 ;
28618 PyObject
* obj1
= 0 ;
28619 char * kwnames
[] = {
28620 (char *) "self",(char *) "matrix", NULL
28623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28625 if (!SWIG_IsOK(res1
)) {
28626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28628 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28629 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28630 if (!SWIG_IsOK(res2
)) {
28631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28636 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28638 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28639 if (PyErr_Occurred()) SWIG_fail
;
28641 resultobj
= SWIG_Py_Void();
28648 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28649 PyObject
*resultobj
= 0;
28650 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28651 wxGraphicsMatrix
*arg2
= 0 ;
28656 PyObject
* obj0
= 0 ;
28657 PyObject
* obj1
= 0 ;
28658 char * kwnames
[] = {
28659 (char *) "self",(char *) "matrix", NULL
28662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28664 if (!SWIG_IsOK(res1
)) {
28665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28667 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28668 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28669 if (!SWIG_IsOK(res2
)) {
28670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28675 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28677 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28678 if (PyErr_Occurred()) SWIG_fail
;
28680 resultobj
= SWIG_Py_Void();
28687 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28688 PyObject
*resultobj
= 0;
28689 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28690 wxGraphicsMatrix result
;
28693 PyObject
*swig_obj
[1] ;
28695 if (!args
) SWIG_fail
;
28696 swig_obj
[0] = args
;
28697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28698 if (!SWIG_IsOK(res1
)) {
28699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28701 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28703 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28704 if (PyErr_Occurred()) SWIG_fail
;
28706 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28713 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28714 PyObject
*resultobj
= 0;
28715 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28716 wxGraphicsPen
*arg2
= 0 ;
28722 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28724 if (!SWIG_IsOK(res1
)) {
28725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28727 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28728 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28729 if (!SWIG_IsOK(res2
)) {
28730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28735 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28737 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28738 if (PyErr_Occurred()) SWIG_fail
;
28740 resultobj
= SWIG_Py_Void();
28747 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28748 PyObject
*resultobj
= 0;
28749 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28756 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28758 if (!SWIG_IsOK(res1
)) {
28759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28761 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28762 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28763 if (!SWIG_IsOK(res2
)) {
28764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28769 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28771 (arg1
)->SetPen((wxPen
const &)*arg2
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28774 resultobj
= SWIG_Py_Void();
28781 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28785 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28790 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28791 _v
= SWIG_CheckState(res
);
28793 if (!_v
) goto check_1
;
28794 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28799 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28803 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28808 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28809 PyObject
*resultobj
= 0;
28810 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28811 wxGraphicsBrush
*arg2
= 0 ;
28817 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28819 if (!SWIG_IsOK(res1
)) {
28820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28822 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28823 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28824 if (!SWIG_IsOK(res2
)) {
28825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28830 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28832 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28833 if (PyErr_Occurred()) SWIG_fail
;
28835 resultobj
= SWIG_Py_Void();
28842 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28843 PyObject
*resultobj
= 0;
28844 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28845 wxBrush
*arg2
= 0 ;
28851 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28853 if (!SWIG_IsOK(res1
)) {
28854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28856 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28857 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28858 if (!SWIG_IsOK(res2
)) {
28859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28864 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28866 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28867 if (PyErr_Occurred()) SWIG_fail
;
28869 resultobj
= SWIG_Py_Void();
28876 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28880 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28885 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28886 _v
= SWIG_CheckState(res
);
28888 if (!_v
) goto check_1
;
28889 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28894 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28898 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28903 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28904 PyObject
*resultobj
= 0;
28905 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28906 wxGraphicsFont
*arg2
= 0 ;
28912 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28914 if (!SWIG_IsOK(res1
)) {
28915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28917 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28918 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28919 if (!SWIG_IsOK(res2
)) {
28920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28925 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28927 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28928 if (PyErr_Occurred()) SWIG_fail
;
28930 resultobj
= SWIG_Py_Void();
28937 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28938 PyObject
*resultobj
= 0;
28939 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28941 wxColour
const &arg3_defvalue
= *wxBLACK
;
28942 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28949 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28951 if (!SWIG_IsOK(res1
)) {
28952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28954 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28955 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28956 if (!SWIG_IsOK(res2
)) {
28957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28962 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28966 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28970 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28971 if (PyErr_Occurred()) SWIG_fail
;
28973 resultobj
= SWIG_Py_Void();
28980 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28984 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28989 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28990 _v
= SWIG_CheckState(res
);
28992 if (!_v
) goto check_1
;
28993 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28997 if ((argc
>= 2) && (argc
<= 3)) {
28998 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29002 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29007 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29008 PyObject
*resultobj
= 0;
29009 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29010 wxGraphicsPath
*arg2
= 0 ;
29015 PyObject
* obj0
= 0 ;
29016 PyObject
* obj1
= 0 ;
29017 char * kwnames
[] = {
29018 (char *) "self",(char *) "path", NULL
29021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29023 if (!SWIG_IsOK(res1
)) {
29024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29026 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29027 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29028 if (!SWIG_IsOK(res2
)) {
29029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29034 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29036 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29037 if (PyErr_Occurred()) SWIG_fail
;
29039 resultobj
= SWIG_Py_Void();
29046 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29047 PyObject
*resultobj
= 0;
29048 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29049 wxGraphicsPath
*arg2
= 0 ;
29050 int arg3
= (int) wxODDEVEN_RULE
;
29057 PyObject
* obj0
= 0 ;
29058 PyObject
* obj1
= 0 ;
29059 PyObject
* obj2
= 0 ;
29060 char * kwnames
[] = {
29061 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29066 if (!SWIG_IsOK(res1
)) {
29067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29069 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29070 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29071 if (!SWIG_IsOK(res2
)) {
29072 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29077 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29080 if (!SWIG_IsOK(ecode3
)) {
29081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29083 arg3
= static_cast< int >(val3
);
29086 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29087 if (PyErr_Occurred()) SWIG_fail
;
29089 resultobj
= SWIG_Py_Void();
29096 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29097 PyObject
*resultobj
= 0;
29098 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29099 wxGraphicsPath
*arg2
= 0 ;
29100 int arg3
= (int) wxODDEVEN_RULE
;
29107 PyObject
* obj0
= 0 ;
29108 PyObject
* obj1
= 0 ;
29109 PyObject
* obj2
= 0 ;
29110 char * kwnames
[] = {
29111 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29116 if (!SWIG_IsOK(res1
)) {
29117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29119 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29120 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29121 if (!SWIG_IsOK(res2
)) {
29122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29127 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29129 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29130 if (!SWIG_IsOK(ecode3
)) {
29131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29133 arg3
= static_cast< int >(val3
);
29136 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29137 if (PyErr_Occurred()) SWIG_fail
;
29139 resultobj
= SWIG_Py_Void();
29146 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29147 PyObject
*resultobj
= 0;
29148 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29149 wxString
*arg2
= 0 ;
29152 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29153 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29156 bool temp2
= false ;
29163 PyObject
* obj0
= 0 ;
29164 PyObject
* obj1
= 0 ;
29165 PyObject
* obj2
= 0 ;
29166 PyObject
* obj3
= 0 ;
29167 PyObject
* obj4
= 0 ;
29168 char * kwnames
[] = {
29169 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29174 if (!SWIG_IsOK(res1
)) {
29175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29177 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29179 arg2
= wxString_in_helper(obj1
);
29180 if (arg2
== NULL
) SWIG_fail
;
29183 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29184 if (!SWIG_IsOK(ecode3
)) {
29185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29187 arg3
= static_cast< wxDouble
>(val3
);
29188 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29189 if (!SWIG_IsOK(ecode4
)) {
29190 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29192 arg4
= static_cast< wxDouble
>(val4
);
29194 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29195 if (!SWIG_IsOK(res5
)) {
29196 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29199 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29201 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29204 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29205 if (PyErr_Occurred()) SWIG_fail
;
29207 resultobj
= SWIG_Py_Void();
29222 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29223 PyObject
*resultobj
= 0;
29224 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29225 wxString
*arg2
= 0 ;
29229 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29230 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29233 bool temp2
= false ;
29242 PyObject
* obj0
= 0 ;
29243 PyObject
* obj1
= 0 ;
29244 PyObject
* obj2
= 0 ;
29245 PyObject
* obj3
= 0 ;
29246 PyObject
* obj4
= 0 ;
29247 PyObject
* obj5
= 0 ;
29248 char * kwnames
[] = {
29249 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29254 if (!SWIG_IsOK(res1
)) {
29255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29257 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29259 arg2
= wxString_in_helper(obj1
);
29260 if (arg2
== NULL
) SWIG_fail
;
29263 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29264 if (!SWIG_IsOK(ecode3
)) {
29265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29267 arg3
= static_cast< wxDouble
>(val3
);
29268 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29269 if (!SWIG_IsOK(ecode4
)) {
29270 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29272 arg4
= static_cast< wxDouble
>(val4
);
29273 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29274 if (!SWIG_IsOK(ecode5
)) {
29275 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29277 arg5
= static_cast< wxDouble
>(val5
);
29279 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29280 if (!SWIG_IsOK(res6
)) {
29281 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29286 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29289 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29290 if (PyErr_Occurred()) SWIG_fail
;
29292 resultobj
= SWIG_Py_Void();
29307 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29308 PyObject
*resultobj
= 0;
29309 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29310 wxString
*arg2
= 0 ;
29311 wxDouble
*arg3
= (wxDouble
*) 0 ;
29312 wxDouble
*arg4
= (wxDouble
*) 0 ;
29313 wxDouble
*arg5
= (wxDouble
*) 0 ;
29314 wxDouble
*arg6
= (wxDouble
*) 0 ;
29317 bool temp2
= false ;
29319 int res3
= SWIG_TMPOBJ
;
29321 int res4
= SWIG_TMPOBJ
;
29323 int res5
= SWIG_TMPOBJ
;
29325 int res6
= SWIG_TMPOBJ
;
29326 PyObject
* obj0
= 0 ;
29327 PyObject
* obj1
= 0 ;
29328 char * kwnames
[] = {
29329 (char *) "self",(char *) "text", NULL
29336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29338 if (!SWIG_IsOK(res1
)) {
29339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29341 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29343 arg2
= wxString_in_helper(obj1
);
29344 if (arg2
== NULL
) SWIG_fail
;
29348 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29349 if (PyErr_Occurred()) SWIG_fail
;
29351 resultobj
= SWIG_Py_Void();
29352 if (SWIG_IsTmpObj(res3
)) {
29353 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29355 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29356 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29358 if (SWIG_IsTmpObj(res4
)) {
29359 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29361 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29362 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29364 if (SWIG_IsTmpObj(res5
)) {
29365 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29367 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29370 if (SWIG_IsTmpObj(res6
)) {
29371 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29373 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29374 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29390 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29391 PyObject
*resultobj
= 0;
29392 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29393 wxString
*arg2
= 0 ;
29394 PyObject
*result
= 0 ;
29397 bool temp2
= false ;
29398 PyObject
* obj0
= 0 ;
29399 PyObject
* obj1
= 0 ;
29400 char * kwnames
[] = {
29401 (char *) "self",(char *) "text", NULL
29404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29406 if (!SWIG_IsOK(res1
)) {
29407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29409 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29411 arg2
= wxString_in_helper(obj1
);
29412 if (arg2
== NULL
) SWIG_fail
;
29416 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29417 if (PyErr_Occurred()) SWIG_fail
;
29419 resultobj
= result
;
29434 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29435 PyObject
*resultobj
= 0;
29436 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29437 wxString
*arg2
= 0 ;
29438 wxArrayDouble result
;
29441 bool temp2
= false ;
29442 PyObject
* obj0
= 0 ;
29443 PyObject
* obj1
= 0 ;
29444 char * kwnames
[] = {
29445 (char *) "self",(char *) "text", NULL
29448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29450 if (!SWIG_IsOK(res1
)) {
29451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29453 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29455 arg2
= wxString_in_helper(obj1
);
29456 if (arg2
== NULL
) SWIG_fail
;
29460 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29461 if (PyErr_Occurred()) SWIG_fail
;
29464 resultobj
= wxArrayDouble2PyList_helper(result
);
29480 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29481 PyObject
*resultobj
= 0;
29482 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29483 wxBitmap
*arg2
= 0 ;
29500 PyObject
* obj0
= 0 ;
29501 PyObject
* obj1
= 0 ;
29502 PyObject
* obj2
= 0 ;
29503 PyObject
* obj3
= 0 ;
29504 PyObject
* obj4
= 0 ;
29505 PyObject
* obj5
= 0 ;
29506 char * kwnames
[] = {
29507 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29512 if (!SWIG_IsOK(res1
)) {
29513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29515 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29516 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29517 if (!SWIG_IsOK(res2
)) {
29518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29523 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29524 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29525 if (!SWIG_IsOK(ecode3
)) {
29526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29528 arg3
= static_cast< wxDouble
>(val3
);
29529 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29530 if (!SWIG_IsOK(ecode4
)) {
29531 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29533 arg4
= static_cast< wxDouble
>(val4
);
29534 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29535 if (!SWIG_IsOK(ecode5
)) {
29536 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29538 arg5
= static_cast< wxDouble
>(val5
);
29539 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29540 if (!SWIG_IsOK(ecode6
)) {
29541 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29543 arg6
= static_cast< wxDouble
>(val6
);
29545 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29546 if (PyErr_Occurred()) SWIG_fail
;
29548 resultobj
= SWIG_Py_Void();
29555 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29556 PyObject
*resultobj
= 0;
29557 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29575 PyObject
* obj0
= 0 ;
29576 PyObject
* obj1
= 0 ;
29577 PyObject
* obj2
= 0 ;
29578 PyObject
* obj3
= 0 ;
29579 PyObject
* obj4
= 0 ;
29580 PyObject
* obj5
= 0 ;
29581 char * kwnames
[] = {
29582 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29587 if (!SWIG_IsOK(res1
)) {
29588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29590 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29591 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29592 if (!SWIG_IsOK(res2
)) {
29593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29596 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29598 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29599 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29600 if (!SWIG_IsOK(ecode3
)) {
29601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29603 arg3
= static_cast< wxDouble
>(val3
);
29604 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29605 if (!SWIG_IsOK(ecode4
)) {
29606 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29608 arg4
= static_cast< wxDouble
>(val4
);
29609 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29610 if (!SWIG_IsOK(ecode5
)) {
29611 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29613 arg5
= static_cast< wxDouble
>(val5
);
29614 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29615 if (!SWIG_IsOK(ecode6
)) {
29616 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29618 arg6
= static_cast< wxDouble
>(val6
);
29620 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29623 resultobj
= SWIG_Py_Void();
29630 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29631 PyObject
*resultobj
= 0;
29632 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29647 PyObject
* obj0
= 0 ;
29648 PyObject
* obj1
= 0 ;
29649 PyObject
* obj2
= 0 ;
29650 PyObject
* obj3
= 0 ;
29651 PyObject
* obj4
= 0 ;
29652 char * kwnames
[] = {
29653 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29658 if (!SWIG_IsOK(res1
)) {
29659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29661 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29662 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29663 if (!SWIG_IsOK(ecode2
)) {
29664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29666 arg2
= static_cast< wxDouble
>(val2
);
29667 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29668 if (!SWIG_IsOK(ecode3
)) {
29669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29671 arg3
= static_cast< wxDouble
>(val3
);
29672 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29673 if (!SWIG_IsOK(ecode4
)) {
29674 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29676 arg4
= static_cast< wxDouble
>(val4
);
29677 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29678 if (!SWIG_IsOK(ecode5
)) {
29679 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29681 arg5
= static_cast< wxDouble
>(val5
);
29683 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29684 if (PyErr_Occurred()) SWIG_fail
;
29686 resultobj
= SWIG_Py_Void();
29693 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29694 PyObject
*resultobj
= 0;
29695 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29697 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29700 PyObject
* obj0
= 0 ;
29701 PyObject
* obj1
= 0 ;
29702 char * kwnames
[] = {
29703 (char *) "self",(char *) "points", NULL
29706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29708 if (!SWIG_IsOK(res1
)) {
29709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29711 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29713 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29714 if (arg3
== NULL
) SWIG_fail
;
29717 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29718 if (PyErr_Occurred()) SWIG_fail
;
29720 resultobj
= SWIG_Py_Void();
29722 if (arg3
) delete [] arg3
;
29727 if (arg3
) delete [] arg3
;
29733 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29734 PyObject
*resultobj
= 0;
29735 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29736 PyObject
*arg2
= (PyObject
*) 0 ;
29737 PyObject
*arg3
= (PyObject
*) 0 ;
29740 PyObject
* obj0
= 0 ;
29741 PyObject
* obj1
= 0 ;
29742 PyObject
* obj2
= 0 ;
29743 char * kwnames
[] = {
29744 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29749 if (!SWIG_IsOK(res1
)) {
29750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29752 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29756 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29757 if (PyErr_Occurred()) SWIG_fail
;
29759 resultobj
= SWIG_Py_Void();
29766 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29767 PyObject
*resultobj
= 0;
29768 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29770 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29771 int arg4
= (int) wxODDEVEN_RULE
;
29776 PyObject
* obj0
= 0 ;
29777 PyObject
* obj1
= 0 ;
29778 PyObject
* obj2
= 0 ;
29779 char * kwnames
[] = {
29780 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29785 if (!SWIG_IsOK(res1
)) {
29786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29788 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29790 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29791 if (arg3
== NULL
) SWIG_fail
;
29794 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29795 if (!SWIG_IsOK(ecode4
)) {
29796 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29798 arg4
= static_cast< int >(val4
);
29801 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29802 if (PyErr_Occurred()) SWIG_fail
;
29804 resultobj
= SWIG_Py_Void();
29806 if (arg3
) delete [] arg3
;
29811 if (arg3
) delete [] arg3
;
29817 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29818 PyObject
*resultobj
= 0;
29819 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29834 PyObject
* obj0
= 0 ;
29835 PyObject
* obj1
= 0 ;
29836 PyObject
* obj2
= 0 ;
29837 PyObject
* obj3
= 0 ;
29838 PyObject
* obj4
= 0 ;
29839 char * kwnames
[] = {
29840 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29845 if (!SWIG_IsOK(res1
)) {
29846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29848 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29849 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29850 if (!SWIG_IsOK(ecode2
)) {
29851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29853 arg2
= static_cast< wxDouble
>(val2
);
29854 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29855 if (!SWIG_IsOK(ecode3
)) {
29856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29858 arg3
= static_cast< wxDouble
>(val3
);
29859 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29860 if (!SWIG_IsOK(ecode4
)) {
29861 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29863 arg4
= static_cast< wxDouble
>(val4
);
29864 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29865 if (!SWIG_IsOK(ecode5
)) {
29866 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29868 arg5
= static_cast< wxDouble
>(val5
);
29870 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29871 if (PyErr_Occurred()) SWIG_fail
;
29873 resultobj
= SWIG_Py_Void();
29880 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29881 PyObject
*resultobj
= 0;
29882 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29897 PyObject
* obj0
= 0 ;
29898 PyObject
* obj1
= 0 ;
29899 PyObject
* obj2
= 0 ;
29900 PyObject
* obj3
= 0 ;
29901 PyObject
* obj4
= 0 ;
29902 char * kwnames
[] = {
29903 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29908 if (!SWIG_IsOK(res1
)) {
29909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29911 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29912 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29913 if (!SWIG_IsOK(ecode2
)) {
29914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29916 arg2
= static_cast< wxDouble
>(val2
);
29917 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29918 if (!SWIG_IsOK(ecode3
)) {
29919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29921 arg3
= static_cast< wxDouble
>(val3
);
29922 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29923 if (!SWIG_IsOK(ecode4
)) {
29924 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29926 arg4
= static_cast< wxDouble
>(val4
);
29927 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29928 if (!SWIG_IsOK(ecode5
)) {
29929 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29931 arg5
= static_cast< wxDouble
>(val5
);
29933 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29936 resultobj
= SWIG_Py_Void();
29943 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29944 PyObject
*resultobj
= 0;
29945 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29963 PyObject
* obj0
= 0 ;
29964 PyObject
* obj1
= 0 ;
29965 PyObject
* obj2
= 0 ;
29966 PyObject
* obj3
= 0 ;
29967 PyObject
* obj4
= 0 ;
29968 PyObject
* obj5
= 0 ;
29969 char * kwnames
[] = {
29970 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29975 if (!SWIG_IsOK(res1
)) {
29976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29978 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29979 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29980 if (!SWIG_IsOK(ecode2
)) {
29981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29983 arg2
= static_cast< wxDouble
>(val2
);
29984 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29985 if (!SWIG_IsOK(ecode3
)) {
29986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29988 arg3
= static_cast< wxDouble
>(val3
);
29989 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29990 if (!SWIG_IsOK(ecode4
)) {
29991 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29993 arg4
= static_cast< wxDouble
>(val4
);
29994 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29995 if (!SWIG_IsOK(ecode5
)) {
29996 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29998 arg5
= static_cast< wxDouble
>(val5
);
29999 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30000 if (!SWIG_IsOK(ecode6
)) {
30001 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30003 arg6
= static_cast< wxDouble
>(val6
);
30005 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30006 if (PyErr_Occurred()) SWIG_fail
;
30008 resultobj
= SWIG_Py_Void();
30015 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30016 PyObject
*resultobj
= 0;
30017 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30021 PyObject
*swig_obj
[1] ;
30023 if (!args
) SWIG_fail
;
30024 swig_obj
[0] = args
;
30025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30026 if (!SWIG_IsOK(res1
)) {
30027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30029 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30031 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30032 if (PyErr_Occurred()) SWIG_fail
;
30035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30043 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30045 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30046 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30047 return SWIG_Py_Void();
30050 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30051 PyObject
*resultobj
= 0;
30052 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30055 PyObject
*swig_obj
[1] ;
30057 if (!args
) SWIG_fail
;
30058 swig_obj
[0] = args
;
30059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30060 if (!SWIG_IsOK(res1
)) {
30061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30063 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30067 if (PyErr_Occurred()) SWIG_fail
;
30069 resultobj
= SWIG_Py_Void();
30076 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30077 PyObject
*resultobj
= 0;
30078 wxGraphicsRenderer
*result
= 0 ;
30080 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30082 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30083 if (PyErr_Occurred()) SWIG_fail
;
30085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30092 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30093 PyObject
*resultobj
= 0;
30094 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30095 wxWindowDC
*arg2
= 0 ;
30096 wxGraphicsContext
*result
= 0 ;
30102 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30104 if (!SWIG_IsOK(res1
)) {
30105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30107 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30108 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30109 if (!SWIG_IsOK(res2
)) {
30110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30115 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30117 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30118 if (PyErr_Occurred()) SWIG_fail
;
30120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30127 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30128 PyObject
*resultobj
= 0;
30129 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30130 wxWindow
*arg2
= (wxWindow
*) 0 ;
30131 wxGraphicsContext
*result
= 0 ;
30137 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30139 if (!SWIG_IsOK(res1
)) {
30140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30142 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30143 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30144 if (!SWIG_IsOK(res2
)) {
30145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30147 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30149 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30150 if (PyErr_Occurred()) SWIG_fail
;
30152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30159 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30163 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30168 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30169 _v
= SWIG_CheckState(res
);
30171 if (!_v
) goto check_1
;
30172 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30177 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30181 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30186 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30187 PyObject
*resultobj
= 0;
30188 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30189 wxGraphicsContext
*result
= 0 ;
30192 PyObject
*swig_obj
[1] ;
30194 if (!args
) SWIG_fail
;
30195 swig_obj
[0] = args
;
30196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30197 if (!SWIG_IsOK(res1
)) {
30198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30200 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30202 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30203 if (PyErr_Occurred()) SWIG_fail
;
30205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30212 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30213 PyObject
*resultobj
= 0;
30214 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30215 void *arg2
= (void *) 0 ;
30216 wxGraphicsContext
*result
= 0 ;
30220 PyObject
* obj0
= 0 ;
30221 PyObject
* obj1
= 0 ;
30222 char * kwnames
[] = {
30223 (char *) "self",(char *) "context", NULL
30226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30228 if (!SWIG_IsOK(res1
)) {
30229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30231 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30232 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30233 if (!SWIG_IsOK(res2
)) {
30234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30237 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30238 if (PyErr_Occurred()) SWIG_fail
;
30240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30247 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30248 PyObject
*resultobj
= 0;
30249 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30250 void *arg2
= (void *) 0 ;
30251 wxGraphicsContext
*result
= 0 ;
30255 PyObject
* obj0
= 0 ;
30256 PyObject
* obj1
= 0 ;
30257 char * kwnames
[] = {
30258 (char *) "self",(char *) "window", NULL
30261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30263 if (!SWIG_IsOK(res1
)) {
30264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30266 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30267 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30268 if (!SWIG_IsOK(res2
)) {
30269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30272 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30273 if (PyErr_Occurred()) SWIG_fail
;
30275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30282 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30283 PyObject
*resultobj
= 0;
30284 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30285 wxGraphicsPath result
;
30288 PyObject
*swig_obj
[1] ;
30290 if (!args
) SWIG_fail
;
30291 swig_obj
[0] = args
;
30292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30293 if (!SWIG_IsOK(res1
)) {
30294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30296 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30298 result
= (arg1
)->CreatePath();
30299 if (PyErr_Occurred()) SWIG_fail
;
30301 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30308 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30309 PyObject
*resultobj
= 0;
30310 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30311 wxDouble arg2
= (wxDouble
) 1.0 ;
30312 wxDouble arg3
= (wxDouble
) 0.0 ;
30313 wxDouble arg4
= (wxDouble
) 0.0 ;
30314 wxDouble arg5
= (wxDouble
) 1.0 ;
30315 wxDouble arg6
= (wxDouble
) 0.0 ;
30316 wxDouble arg7
= (wxDouble
) 0.0 ;
30317 wxGraphicsMatrix result
;
30332 PyObject
* obj0
= 0 ;
30333 PyObject
* obj1
= 0 ;
30334 PyObject
* obj2
= 0 ;
30335 PyObject
* obj3
= 0 ;
30336 PyObject
* obj4
= 0 ;
30337 PyObject
* obj5
= 0 ;
30338 PyObject
* obj6
= 0 ;
30339 char * kwnames
[] = {
30340 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30345 if (!SWIG_IsOK(res1
)) {
30346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30348 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30350 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30351 if (!SWIG_IsOK(ecode2
)) {
30352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30354 arg2
= static_cast< wxDouble
>(val2
);
30357 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30358 if (!SWIG_IsOK(ecode3
)) {
30359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30361 arg3
= static_cast< wxDouble
>(val3
);
30364 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30365 if (!SWIG_IsOK(ecode4
)) {
30366 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30368 arg4
= static_cast< wxDouble
>(val4
);
30371 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30372 if (!SWIG_IsOK(ecode5
)) {
30373 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30375 arg5
= static_cast< wxDouble
>(val5
);
30378 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30379 if (!SWIG_IsOK(ecode6
)) {
30380 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30382 arg6
= static_cast< wxDouble
>(val6
);
30385 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30386 if (!SWIG_IsOK(ecode7
)) {
30387 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30389 arg7
= static_cast< wxDouble
>(val7
);
30392 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30393 if (PyErr_Occurred()) SWIG_fail
;
30395 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30402 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30403 PyObject
*resultobj
= 0;
30404 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30406 wxGraphicsPen result
;
30411 PyObject
* obj0
= 0 ;
30412 PyObject
* obj1
= 0 ;
30413 char * kwnames
[] = {
30414 (char *) "self",(char *) "pen", NULL
30417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30419 if (!SWIG_IsOK(res1
)) {
30420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30422 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30423 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30424 if (!SWIG_IsOK(res2
)) {
30425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30430 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30432 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30433 if (PyErr_Occurred()) SWIG_fail
;
30435 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30442 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30443 PyObject
*resultobj
= 0;
30444 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30445 wxBrush
*arg2
= 0 ;
30446 wxGraphicsBrush result
;
30451 PyObject
* obj0
= 0 ;
30452 PyObject
* obj1
= 0 ;
30453 char * kwnames
[] = {
30454 (char *) "self",(char *) "brush", NULL
30457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30459 if (!SWIG_IsOK(res1
)) {
30460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30462 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30463 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30464 if (!SWIG_IsOK(res2
)) {
30465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30470 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30472 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30473 if (PyErr_Occurred()) SWIG_fail
;
30475 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30482 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30483 PyObject
*resultobj
= 0;
30484 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30489 wxColour
*arg6
= 0 ;
30490 wxColour
*arg7
= 0 ;
30491 wxGraphicsBrush result
;
30504 PyObject
* obj0
= 0 ;
30505 PyObject
* obj1
= 0 ;
30506 PyObject
* obj2
= 0 ;
30507 PyObject
* obj3
= 0 ;
30508 PyObject
* obj4
= 0 ;
30509 PyObject
* obj5
= 0 ;
30510 PyObject
* obj6
= 0 ;
30511 char * kwnames
[] = {
30512 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30517 if (!SWIG_IsOK(res1
)) {
30518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30520 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30521 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30522 if (!SWIG_IsOK(ecode2
)) {
30523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30525 arg2
= static_cast< wxDouble
>(val2
);
30526 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30527 if (!SWIG_IsOK(ecode3
)) {
30528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30530 arg3
= static_cast< wxDouble
>(val3
);
30531 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30532 if (!SWIG_IsOK(ecode4
)) {
30533 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30535 arg4
= static_cast< wxDouble
>(val4
);
30536 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30537 if (!SWIG_IsOK(ecode5
)) {
30538 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30540 arg5
= static_cast< wxDouble
>(val5
);
30543 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30547 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30550 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30551 if (PyErr_Occurred()) SWIG_fail
;
30553 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30560 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30561 PyObject
*resultobj
= 0;
30562 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30568 wxColour
*arg7
= 0 ;
30569 wxColour
*arg8
= 0 ;
30570 wxGraphicsBrush result
;
30585 PyObject
* obj0
= 0 ;
30586 PyObject
* obj1
= 0 ;
30587 PyObject
* obj2
= 0 ;
30588 PyObject
* obj3
= 0 ;
30589 PyObject
* obj4
= 0 ;
30590 PyObject
* obj5
= 0 ;
30591 PyObject
* obj6
= 0 ;
30592 PyObject
* obj7
= 0 ;
30593 char * kwnames
[] = {
30594 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30599 if (!SWIG_IsOK(res1
)) {
30600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30602 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30603 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30604 if (!SWIG_IsOK(ecode2
)) {
30605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30607 arg2
= static_cast< wxDouble
>(val2
);
30608 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30609 if (!SWIG_IsOK(ecode3
)) {
30610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30612 arg3
= static_cast< wxDouble
>(val3
);
30613 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30614 if (!SWIG_IsOK(ecode4
)) {
30615 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30617 arg4
= static_cast< wxDouble
>(val4
);
30618 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30619 if (!SWIG_IsOK(ecode5
)) {
30620 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30622 arg5
= static_cast< wxDouble
>(val5
);
30623 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30624 if (!SWIG_IsOK(ecode6
)) {
30625 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30627 arg6
= static_cast< wxDouble
>(val6
);
30630 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30634 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30637 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30638 if (PyErr_Occurred()) SWIG_fail
;
30640 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30647 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30648 PyObject
*resultobj
= 0;
30649 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30651 wxColour
const &arg3_defvalue
= *wxBLACK
;
30652 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30653 wxGraphicsFont result
;
30659 PyObject
* obj0
= 0 ;
30660 PyObject
* obj1
= 0 ;
30661 PyObject
* obj2
= 0 ;
30662 char * kwnames
[] = {
30663 (char *) "self",(char *) "font",(char *) "col", NULL
30666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30668 if (!SWIG_IsOK(res1
)) {
30669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30671 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30672 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30673 if (!SWIG_IsOK(res2
)) {
30674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30679 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30683 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30687 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30688 if (PyErr_Occurred()) SWIG_fail
;
30690 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30697 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30699 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30700 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30701 return SWIG_Py_Void();
30704 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30705 PyObject
*resultobj
= 0;
30706 wxWindowDC
*arg1
= 0 ;
30707 wxGCDC
*result
= 0 ;
30711 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30713 if (!SWIG_IsOK(res1
)) {
30714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30719 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30721 if (!wxPyCheckForApp()) SWIG_fail
;
30722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30723 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30724 wxPyEndAllowThreads(__tstate
);
30725 if (PyErr_Occurred()) SWIG_fail
;
30727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30734 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30735 PyObject
*resultobj
= 0;
30736 wxWindow
*arg1
= (wxWindow
*) 0 ;
30737 wxGCDC
*result
= 0 ;
30741 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30743 if (!SWIG_IsOK(res1
)) {
30744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
30746 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30748 if (!wxPyCheckForApp()) SWIG_fail
;
30749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30750 result
= (wxGCDC
*)new wxGCDC(arg1
);
30751 wxPyEndAllowThreads(__tstate
);
30752 if (PyErr_Occurred()) SWIG_fail
;
30754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30761 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
30765 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
30770 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
30771 _v
= SWIG_CheckState(res
);
30773 if (!_v
) goto check_1
;
30774 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
30779 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
30783 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
30788 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30789 PyObject
*resultobj
= 0;
30790 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30793 PyObject
*swig_obj
[1] ;
30795 if (!args
) SWIG_fail
;
30796 swig_obj
[0] = args
;
30797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30798 if (!SWIG_IsOK(res1
)) {
30799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30801 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30805 if (PyErr_Occurred()) SWIG_fail
;
30807 resultobj
= SWIG_Py_Void();
30814 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30815 PyObject
*resultobj
= 0;
30816 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30817 wxGraphicsContext
*result
= 0 ;
30820 PyObject
*swig_obj
[1] ;
30822 if (!args
) SWIG_fail
;
30823 swig_obj
[0] = args
;
30824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30825 if (!SWIG_IsOK(res1
)) {
30826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30828 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30830 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30831 if (PyErr_Occurred()) SWIG_fail
;
30833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30840 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30841 PyObject
*resultobj
= 0;
30842 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30843 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30848 PyObject
* obj0
= 0 ;
30849 PyObject
* obj1
= 0 ;
30850 char * kwnames
[] = {
30851 (char *) "self",(char *) "ctx", NULL
30854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30856 if (!SWIG_IsOK(res1
)) {
30857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30859 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30860 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30861 if (!SWIG_IsOK(res2
)) {
30862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30864 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30866 (arg1
)->SetGraphicsContext(arg2
);
30867 if (PyErr_Occurred()) SWIG_fail
;
30869 resultobj
= SWIG_Py_Void();
30876 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30878 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30879 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30880 return SWIG_Py_Void();
30883 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30884 return SWIG_Python_InitShadowInstance(args
);
30887 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30888 PyObject
*resultobj
= 0;
30889 wxOverlay
*result
= 0 ;
30891 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30894 result
= (wxOverlay
*)new wxOverlay();
30895 wxPyEndAllowThreads(__tstate
);
30896 if (PyErr_Occurred()) SWIG_fail
;
30898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30905 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30906 PyObject
*resultobj
= 0;
30907 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30910 PyObject
*swig_obj
[1] ;
30912 if (!args
) SWIG_fail
;
30913 swig_obj
[0] = args
;
30914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30915 if (!SWIG_IsOK(res1
)) {
30916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30918 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30923 wxPyEndAllowThreads(__tstate
);
30924 if (PyErr_Occurred()) SWIG_fail
;
30926 resultobj
= SWIG_Py_Void();
30933 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30934 PyObject
*resultobj
= 0;
30935 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30938 PyObject
*swig_obj
[1] ;
30940 if (!args
) SWIG_fail
;
30941 swig_obj
[0] = args
;
30942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30943 if (!SWIG_IsOK(res1
)) {
30944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30946 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30950 wxPyEndAllowThreads(__tstate
);
30951 if (PyErr_Occurred()) SWIG_fail
;
30953 resultobj
= SWIG_Py_Void();
30960 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30962 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30963 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30964 return SWIG_Py_Void();
30967 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30968 return SWIG_Python_InitShadowInstance(args
);
30971 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30972 PyObject
*resultobj
= 0;
30973 wxOverlay
*arg1
= 0 ;
30974 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30979 wxDCOverlay
*result
= 0 ;
30993 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30995 if (!SWIG_IsOK(res1
)) {
30996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31001 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31002 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31003 if (!SWIG_IsOK(res2
)) {
31004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31006 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31007 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31008 if (!SWIG_IsOK(ecode3
)) {
31009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31011 arg3
= static_cast< int >(val3
);
31012 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31013 if (!SWIG_IsOK(ecode4
)) {
31014 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31016 arg4
= static_cast< int >(val4
);
31017 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31018 if (!SWIG_IsOK(ecode5
)) {
31019 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31021 arg5
= static_cast< int >(val5
);
31022 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31023 if (!SWIG_IsOK(ecode6
)) {
31024 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31026 arg6
= static_cast< int >(val6
);
31028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31029 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31030 wxPyEndAllowThreads(__tstate
);
31031 if (PyErr_Occurred()) SWIG_fail
;
31033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31040 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31041 PyObject
*resultobj
= 0;
31042 wxOverlay
*arg1
= 0 ;
31043 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31044 wxDCOverlay
*result
= 0 ;
31050 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31052 if (!SWIG_IsOK(res1
)) {
31053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31058 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31059 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31060 if (!SWIG_IsOK(res2
)) {
31061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31063 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31066 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31067 wxPyEndAllowThreads(__tstate
);
31068 if (PyErr_Occurred()) SWIG_fail
;
31070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31077 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31081 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31084 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31087 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31091 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31096 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31097 PyObject
*resultobj
= 0;
31098 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31101 PyObject
*swig_obj
[1] ;
31103 if (!args
) SWIG_fail
;
31104 swig_obj
[0] = args
;
31105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31106 if (!SWIG_IsOK(res1
)) {
31107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31109 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31114 wxPyEndAllowThreads(__tstate
);
31115 if (PyErr_Occurred()) SWIG_fail
;
31117 resultobj
= SWIG_Py_Void();
31124 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31125 PyObject
*resultobj
= 0;
31126 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31129 PyObject
*swig_obj
[1] ;
31131 if (!args
) SWIG_fail
;
31132 swig_obj
[0] = args
;
31133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31134 if (!SWIG_IsOK(res1
)) {
31135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31137 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31141 wxPyEndAllowThreads(__tstate
);
31142 if (PyErr_Occurred()) SWIG_fail
;
31144 resultobj
= SWIG_Py_Void();
31151 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31153 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31154 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31155 return SWIG_Py_Void();
31158 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31159 return SWIG_Python_InitShadowInstance(args
);
31162 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31163 PyObject
*resultobj
= 0;
31166 int arg3
= (int) true ;
31167 int arg4
= (int) 1 ;
31168 wxImageList
*result
= 0 ;
31177 PyObject
* obj0
= 0 ;
31178 PyObject
* obj1
= 0 ;
31179 PyObject
* obj2
= 0 ;
31180 PyObject
* obj3
= 0 ;
31181 char * kwnames
[] = {
31182 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31186 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31187 if (!SWIG_IsOK(ecode1
)) {
31188 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31190 arg1
= static_cast< int >(val1
);
31191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31192 if (!SWIG_IsOK(ecode2
)) {
31193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31195 arg2
= static_cast< int >(val2
);
31197 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31198 if (!SWIG_IsOK(ecode3
)) {
31199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31201 arg3
= static_cast< int >(val3
);
31204 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31205 if (!SWIG_IsOK(ecode4
)) {
31206 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31208 arg4
= static_cast< int >(val4
);
31211 if (!wxPyCheckForApp()) SWIG_fail
;
31212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31213 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31214 wxPyEndAllowThreads(__tstate
);
31215 if (PyErr_Occurred()) SWIG_fail
;
31217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31224 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31225 PyObject
*resultobj
= 0;
31226 wxImageList
*arg1
= (wxImageList
*) 0 ;
31229 PyObject
*swig_obj
[1] ;
31231 if (!args
) SWIG_fail
;
31232 swig_obj
[0] = args
;
31233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31234 if (!SWIG_IsOK(res1
)) {
31235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31237 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31242 wxPyEndAllowThreads(__tstate
);
31243 if (PyErr_Occurred()) SWIG_fail
;
31245 resultobj
= SWIG_Py_Void();
31252 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31253 PyObject
*resultobj
= 0;
31254 wxImageList
*arg1
= (wxImageList
*) 0 ;
31255 wxBitmap
*arg2
= 0 ;
31256 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31257 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31265 PyObject
* obj0
= 0 ;
31266 PyObject
* obj1
= 0 ;
31267 PyObject
* obj2
= 0 ;
31268 char * kwnames
[] = {
31269 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31274 if (!SWIG_IsOK(res1
)) {
31275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31277 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31278 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31279 if (!SWIG_IsOK(res2
)) {
31280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31285 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31287 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31288 if (!SWIG_IsOK(res3
)) {
31289 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31294 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31298 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31299 wxPyEndAllowThreads(__tstate
);
31300 if (PyErr_Occurred()) SWIG_fail
;
31302 resultobj
= SWIG_From_int(static_cast< int >(result
));
31309 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31310 PyObject
*resultobj
= 0;
31311 wxImageList
*arg1
= (wxImageList
*) 0 ;
31312 wxBitmap
*arg2
= 0 ;
31313 wxColour
*arg3
= 0 ;
31320 PyObject
* obj0
= 0 ;
31321 PyObject
* obj1
= 0 ;
31322 PyObject
* obj2
= 0 ;
31323 char * kwnames
[] = {
31324 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31329 if (!SWIG_IsOK(res1
)) {
31330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31332 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31333 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31334 if (!SWIG_IsOK(res2
)) {
31335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31340 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31343 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31347 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31348 wxPyEndAllowThreads(__tstate
);
31349 if (PyErr_Occurred()) SWIG_fail
;
31351 resultobj
= SWIG_From_int(static_cast< int >(result
));
31358 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31359 PyObject
*resultobj
= 0;
31360 wxImageList
*arg1
= (wxImageList
*) 0 ;
31367 PyObject
* obj0
= 0 ;
31368 PyObject
* obj1
= 0 ;
31369 char * kwnames
[] = {
31370 (char *) "self",(char *) "icon", NULL
31373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31375 if (!SWIG_IsOK(res1
)) {
31376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31378 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31379 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31380 if (!SWIG_IsOK(res2
)) {
31381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31384 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31386 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31389 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31390 wxPyEndAllowThreads(__tstate
);
31391 if (PyErr_Occurred()) SWIG_fail
;
31393 resultobj
= SWIG_From_int(static_cast< int >(result
));
31400 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
= 0;
31402 wxImageList
*arg1
= (wxImageList
*) 0 ;
31404 SwigValueWrapper
<wxBitmap
> result
;
31409 PyObject
* obj0
= 0 ;
31410 PyObject
* obj1
= 0 ;
31411 char * kwnames
[] = {
31412 (char *) "self",(char *) "index", NULL
31415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31417 if (!SWIG_IsOK(res1
)) {
31418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31420 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31422 if (!SWIG_IsOK(ecode2
)) {
31423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31425 arg2
= static_cast< int >(val2
);
31427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31428 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31429 wxPyEndAllowThreads(__tstate
);
31430 if (PyErr_Occurred()) SWIG_fail
;
31432 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31439 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31440 PyObject
*resultobj
= 0;
31441 wxImageList
*arg1
= (wxImageList
*) 0 ;
31448 PyObject
* obj0
= 0 ;
31449 PyObject
* obj1
= 0 ;
31450 char * kwnames
[] = {
31451 (char *) "self",(char *) "index", NULL
31454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31456 if (!SWIG_IsOK(res1
)) {
31457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31459 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31461 if (!SWIG_IsOK(ecode2
)) {
31462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31464 arg2
= static_cast< int >(val2
);
31466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31467 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31468 wxPyEndAllowThreads(__tstate
);
31469 if (PyErr_Occurred()) SWIG_fail
;
31471 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31478 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31479 PyObject
*resultobj
= 0;
31480 wxImageList
*arg1
= (wxImageList
*) 0 ;
31482 wxBitmap
*arg3
= 0 ;
31483 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31484 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31494 PyObject
* obj0
= 0 ;
31495 PyObject
* obj1
= 0 ;
31496 PyObject
* obj2
= 0 ;
31497 PyObject
* obj3
= 0 ;
31498 char * kwnames
[] = {
31499 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31504 if (!SWIG_IsOK(res1
)) {
31505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31507 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31509 if (!SWIG_IsOK(ecode2
)) {
31510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31512 arg2
= static_cast< int >(val2
);
31513 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31514 if (!SWIG_IsOK(res3
)) {
31515 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31520 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31522 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31523 if (!SWIG_IsOK(res4
)) {
31524 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31529 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31533 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31534 wxPyEndAllowThreads(__tstate
);
31535 if (PyErr_Occurred()) SWIG_fail
;
31538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31546 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31547 PyObject
*resultobj
= 0;
31548 wxImageList
*arg1
= (wxImageList
*) 0 ;
31553 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31554 bool arg7
= (bool) (bool)false ;
31570 PyObject
* obj0
= 0 ;
31571 PyObject
* obj1
= 0 ;
31572 PyObject
* obj2
= 0 ;
31573 PyObject
* obj3
= 0 ;
31574 PyObject
* obj4
= 0 ;
31575 PyObject
* obj5
= 0 ;
31576 PyObject
* obj6
= 0 ;
31577 char * kwnames
[] = {
31578 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31583 if (!SWIG_IsOK(res1
)) {
31584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31586 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31588 if (!SWIG_IsOK(ecode2
)) {
31589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31591 arg2
= static_cast< int >(val2
);
31592 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31593 if (!SWIG_IsOK(res3
)) {
31594 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31599 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31600 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31601 if (!SWIG_IsOK(ecode4
)) {
31602 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31604 arg4
= static_cast< int >(val4
);
31605 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31606 if (!SWIG_IsOK(ecode5
)) {
31607 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31609 arg5
= static_cast< int >(val5
);
31611 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31612 if (!SWIG_IsOK(ecode6
)) {
31613 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31615 arg6
= static_cast< int >(val6
);
31618 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31619 if (!SWIG_IsOK(ecode7
)) {
31620 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31622 arg7
= static_cast< bool >(val7
);
31625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31626 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31627 wxPyEndAllowThreads(__tstate
);
31628 if (PyErr_Occurred()) SWIG_fail
;
31631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31639 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31640 PyObject
*resultobj
= 0;
31641 wxImageList
*arg1
= (wxImageList
*) 0 ;
31645 PyObject
*swig_obj
[1] ;
31647 if (!args
) SWIG_fail
;
31648 swig_obj
[0] = args
;
31649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31650 if (!SWIG_IsOK(res1
)) {
31651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31653 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31656 result
= (int)(arg1
)->GetImageCount();
31657 wxPyEndAllowThreads(__tstate
);
31658 if (PyErr_Occurred()) SWIG_fail
;
31660 resultobj
= SWIG_From_int(static_cast< int >(result
));
31667 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31668 PyObject
*resultobj
= 0;
31669 wxImageList
*arg1
= (wxImageList
*) 0 ;
31676 PyObject
* obj0
= 0 ;
31677 PyObject
* obj1
= 0 ;
31678 char * kwnames
[] = {
31679 (char *) "self",(char *) "index", NULL
31682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31684 if (!SWIG_IsOK(res1
)) {
31685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31687 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31689 if (!SWIG_IsOK(ecode2
)) {
31690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31692 arg2
= static_cast< int >(val2
);
31694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31695 result
= (bool)(arg1
)->Remove(arg2
);
31696 wxPyEndAllowThreads(__tstate
);
31697 if (PyErr_Occurred()) SWIG_fail
;
31700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31708 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31709 PyObject
*resultobj
= 0;
31710 wxImageList
*arg1
= (wxImageList
*) 0 ;
31714 PyObject
*swig_obj
[1] ;
31716 if (!args
) SWIG_fail
;
31717 swig_obj
[0] = args
;
31718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31719 if (!SWIG_IsOK(res1
)) {
31720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31722 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31725 result
= (bool)(arg1
)->RemoveAll();
31726 wxPyEndAllowThreads(__tstate
);
31727 if (PyErr_Occurred()) SWIG_fail
;
31730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31738 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31739 PyObject
*resultobj
= 0;
31740 wxImageList
*arg1
= (wxImageList
*) 0 ;
31749 int res3
= SWIG_TMPOBJ
;
31751 int res4
= SWIG_TMPOBJ
;
31752 PyObject
* obj0
= 0 ;
31753 PyObject
* obj1
= 0 ;
31754 char * kwnames
[] = {
31755 (char *) "self",(char *) "index", NULL
31760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31762 if (!SWIG_IsOK(res1
)) {
31763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31765 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31767 if (!SWIG_IsOK(ecode2
)) {
31768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31770 arg2
= static_cast< int >(val2
);
31772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31773 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31774 wxPyEndAllowThreads(__tstate
);
31775 if (PyErr_Occurred()) SWIG_fail
;
31777 resultobj
= SWIG_Py_Void();
31778 if (SWIG_IsTmpObj(res3
)) {
31779 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31781 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31782 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31784 if (SWIG_IsTmpObj(res4
)) {
31785 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31787 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31788 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31796 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31798 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31799 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31800 return SWIG_Py_Void();
31803 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31804 return SWIG_Python_InitShadowInstance(args
);
31807 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31808 PyObject
*resultobj
= 0;
31809 wxStockGDI
*result
= 0 ;
31811 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31814 result
= (wxStockGDI
*)new wxStockGDI();
31815 wxPyEndAllowThreads(__tstate
);
31816 if (PyErr_Occurred()) SWIG_fail
;
31818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31825 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31826 PyObject
*resultobj
= 0;
31827 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31830 PyObject
*swig_obj
[1] ;
31832 if (!args
) SWIG_fail
;
31833 swig_obj
[0] = args
;
31834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31835 if (!SWIG_IsOK(res1
)) {
31836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31838 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31843 wxPyEndAllowThreads(__tstate
);
31844 if (PyErr_Occurred()) SWIG_fail
;
31846 resultobj
= SWIG_Py_Void();
31853 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31854 PyObject
*resultobj
= 0;
31856 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31859 wxStockGDI::DeleteAll();
31860 wxPyEndAllowThreads(__tstate
);
31861 if (PyErr_Occurred()) SWIG_fail
;
31863 resultobj
= SWIG_Py_Void();
31870 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31871 PyObject
*resultobj
= 0;
31872 wxStockGDI
*result
= 0 ;
31874 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31878 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31879 result
= (wxStockGDI
*) &_result_ref
;
31881 wxPyEndAllowThreads(__tstate
);
31882 if (PyErr_Occurred()) SWIG_fail
;
31884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31891 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31892 PyObject
*resultobj
= 0;
31893 wxStockGDI::Item arg1
;
31894 wxBrush
*result
= 0 ;
31897 PyObject
* obj0
= 0 ;
31898 char * kwnames
[] = {
31899 (char *) "item", NULL
31902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31903 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31904 if (!SWIG_IsOK(ecode1
)) {
31905 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31907 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31910 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31911 wxPyEndAllowThreads(__tstate
);
31912 if (PyErr_Occurred()) SWIG_fail
;
31914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31921 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31922 PyObject
*resultobj
= 0;
31923 wxStockGDI::Item arg1
;
31924 wxColour
*result
= 0 ;
31927 PyObject
* obj0
= 0 ;
31928 char * kwnames
[] = {
31929 (char *) "item", NULL
31932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31933 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31934 if (!SWIG_IsOK(ecode1
)) {
31935 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31937 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31940 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31941 wxPyEndAllowThreads(__tstate
);
31942 if (PyErr_Occurred()) SWIG_fail
;
31944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31951 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31952 PyObject
*resultobj
= 0;
31953 wxStockGDI::Item arg1
;
31954 wxCursor
*result
= 0 ;
31957 PyObject
* obj0
= 0 ;
31958 char * kwnames
[] = {
31959 (char *) "item", NULL
31962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31963 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31964 if (!SWIG_IsOK(ecode1
)) {
31965 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31967 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31970 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31971 wxPyEndAllowThreads(__tstate
);
31972 if (PyErr_Occurred()) SWIG_fail
;
31974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31981 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31982 PyObject
*resultobj
= 0;
31983 wxStockGDI::Item arg1
;
31984 wxPen
*result
= 0 ;
31987 PyObject
* obj0
= 0 ;
31988 char * kwnames
[] = {
31989 (char *) "item", NULL
31992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31993 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31994 if (!SWIG_IsOK(ecode1
)) {
31995 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31997 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32000 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32001 wxPyEndAllowThreads(__tstate
);
32002 if (PyErr_Occurred()) SWIG_fail
;
32004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32011 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32012 PyObject
*resultobj
= 0;
32013 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32014 wxStockGDI::Item arg2
;
32015 wxFont
*result
= 0 ;
32020 PyObject
* obj0
= 0 ;
32021 PyObject
* obj1
= 0 ;
32022 char * kwnames
[] = {
32023 (char *) "self",(char *) "item", NULL
32026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32028 if (!SWIG_IsOK(res1
)) {
32029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32031 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32033 if (!SWIG_IsOK(ecode2
)) {
32034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32036 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32039 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32040 wxPyEndAllowThreads(__tstate
);
32041 if (PyErr_Occurred()) SWIG_fail
;
32043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32050 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32053 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32054 return SWIG_Py_Void();
32057 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32058 return SWIG_Python_InitShadowInstance(args
);
32061 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32062 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32067 SWIGINTERN PyObject
*NullBitmap_get(void) {
32068 PyObject
*pyobj
= 0;
32070 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32075 SWIGINTERN
int NullIcon_set(PyObject
*) {
32076 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32081 SWIGINTERN PyObject
*NullIcon_get(void) {
32082 PyObject
*pyobj
= 0;
32084 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32089 SWIGINTERN
int NullCursor_set(PyObject
*) {
32090 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32095 SWIGINTERN PyObject
*NullCursor_get(void) {
32096 PyObject
*pyobj
= 0;
32098 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32103 SWIGINTERN
int NullPen_set(PyObject
*) {
32104 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32109 SWIGINTERN PyObject
*NullPen_get(void) {
32110 PyObject
*pyobj
= 0;
32112 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32117 SWIGINTERN
int NullBrush_set(PyObject
*) {
32118 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32123 SWIGINTERN PyObject
*NullBrush_get(void) {
32124 PyObject
*pyobj
= 0;
32126 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32131 SWIGINTERN
int NullPalette_set(PyObject
*) {
32132 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32137 SWIGINTERN PyObject
*NullPalette_get(void) {
32138 PyObject
*pyobj
= 0;
32140 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32145 SWIGINTERN
int NullFont_set(PyObject
*) {
32146 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32151 SWIGINTERN PyObject
*NullFont_get(void) {
32152 PyObject
*pyobj
= 0;
32154 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32159 SWIGINTERN
int NullColour_set(PyObject
*) {
32160 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32165 SWIGINTERN PyObject
*NullColour_get(void) {
32166 PyObject
*pyobj
= 0;
32168 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32173 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32174 PyObject
*resultobj
= 0;
32175 wxGDIObjListBase
*result
= 0 ;
32177 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32180 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32181 wxPyEndAllowThreads(__tstate
);
32182 if (PyErr_Occurred()) SWIG_fail
;
32184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32191 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32192 PyObject
*resultobj
= 0;
32193 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32196 PyObject
*swig_obj
[1] ;
32198 if (!args
) SWIG_fail
;
32199 swig_obj
[0] = args
;
32200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32201 if (!SWIG_IsOK(res1
)) {
32202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32204 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32209 wxPyEndAllowThreads(__tstate
);
32210 if (PyErr_Occurred()) SWIG_fail
;
32212 resultobj
= SWIG_Py_Void();
32219 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32222 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32223 return SWIG_Py_Void();
32226 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32227 return SWIG_Python_InitShadowInstance(args
);
32230 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32231 PyObject
*resultobj
= 0;
32232 wxPenList
*arg1
= (wxPenList
*) 0 ;
32233 wxColour
*arg2
= 0 ;
32236 wxPen
*result
= 0 ;
32244 PyObject
* obj0
= 0 ;
32245 PyObject
* obj1
= 0 ;
32246 PyObject
* obj2
= 0 ;
32247 PyObject
* obj3
= 0 ;
32248 char * kwnames
[] = {
32249 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32254 if (!SWIG_IsOK(res1
)) {
32255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32257 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32260 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32262 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32263 if (!SWIG_IsOK(ecode3
)) {
32264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32266 arg3
= static_cast< int >(val3
);
32267 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32268 if (!SWIG_IsOK(ecode4
)) {
32269 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32271 arg4
= static_cast< int >(val4
);
32273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32274 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32275 wxPyEndAllowThreads(__tstate
);
32276 if (PyErr_Occurred()) SWIG_fail
;
32278 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32285 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32286 PyObject
*resultobj
= 0;
32287 wxPenList
*arg1
= (wxPenList
*) 0 ;
32288 wxPen
*arg2
= (wxPen
*) 0 ;
32293 PyObject
* obj0
= 0 ;
32294 PyObject
* obj1
= 0 ;
32295 char * kwnames
[] = {
32296 (char *) "self",(char *) "pen", NULL
32299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32301 if (!SWIG_IsOK(res1
)) {
32302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32304 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32305 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32306 if (!SWIG_IsOK(res2
)) {
32307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32309 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32312 (arg1
)->AddPen(arg2
);
32313 wxPyEndAllowThreads(__tstate
);
32314 if (PyErr_Occurred()) SWIG_fail
;
32316 resultobj
= SWIG_Py_Void();
32323 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32324 PyObject
*resultobj
= 0;
32325 wxPenList
*arg1
= (wxPenList
*) 0 ;
32326 wxPen
*arg2
= (wxPen
*) 0 ;
32331 PyObject
* obj0
= 0 ;
32332 PyObject
* obj1
= 0 ;
32333 char * kwnames
[] = {
32334 (char *) "self",(char *) "pen", NULL
32337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32339 if (!SWIG_IsOK(res1
)) {
32340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32342 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32343 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32344 if (!SWIG_IsOK(res2
)) {
32345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32347 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32350 (arg1
)->RemovePen(arg2
);
32351 wxPyEndAllowThreads(__tstate
);
32352 if (PyErr_Occurred()) SWIG_fail
;
32354 resultobj
= SWIG_Py_Void();
32361 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32363 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32364 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32365 return SWIG_Py_Void();
32368 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32369 PyObject
*resultobj
= 0;
32370 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32371 wxColour
*arg2
= 0 ;
32372 int arg3
= (int) wxSOLID
;
32373 wxBrush
*result
= 0 ;
32379 PyObject
* obj0
= 0 ;
32380 PyObject
* obj1
= 0 ;
32381 PyObject
* obj2
= 0 ;
32382 char * kwnames
[] = {
32383 (char *) "self",(char *) "colour",(char *) "style", NULL
32386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32388 if (!SWIG_IsOK(res1
)) {
32389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32391 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32394 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32397 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32398 if (!SWIG_IsOK(ecode3
)) {
32399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32401 arg3
= static_cast< int >(val3
);
32404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32405 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32406 wxPyEndAllowThreads(__tstate
);
32407 if (PyErr_Occurred()) SWIG_fail
;
32409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32416 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32417 PyObject
*resultobj
= 0;
32418 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32419 wxBrush
*arg2
= (wxBrush
*) 0 ;
32424 PyObject
* obj0
= 0 ;
32425 PyObject
* obj1
= 0 ;
32426 char * kwnames
[] = {
32427 (char *) "self",(char *) "brush", NULL
32430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32432 if (!SWIG_IsOK(res1
)) {
32433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32435 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32436 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32437 if (!SWIG_IsOK(res2
)) {
32438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32440 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32443 (arg1
)->AddBrush(arg2
);
32444 wxPyEndAllowThreads(__tstate
);
32445 if (PyErr_Occurred()) SWIG_fail
;
32447 resultobj
= SWIG_Py_Void();
32454 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32455 PyObject
*resultobj
= 0;
32456 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32457 wxBrush
*arg2
= (wxBrush
*) 0 ;
32462 PyObject
* obj0
= 0 ;
32463 PyObject
* obj1
= 0 ;
32464 char * kwnames
[] = {
32465 (char *) "self",(char *) "brush", NULL
32468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32470 if (!SWIG_IsOK(res1
)) {
32471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32473 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32474 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32475 if (!SWIG_IsOK(res2
)) {
32476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32478 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32481 (arg1
)->RemoveBrush(arg2
);
32482 wxPyEndAllowThreads(__tstate
);
32483 if (PyErr_Occurred()) SWIG_fail
;
32485 resultobj
= SWIG_Py_Void();
32492 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32495 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32496 return SWIG_Py_Void();
32499 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32500 PyObject
*resultobj
= 0;
32501 wxFontList
*arg1
= (wxFontList
*) 0 ;
32506 bool arg6
= (bool) false ;
32507 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32508 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32509 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32510 wxFont
*result
= 0 ;
32523 bool temp7
= false ;
32526 PyObject
* obj0
= 0 ;
32527 PyObject
* obj1
= 0 ;
32528 PyObject
* obj2
= 0 ;
32529 PyObject
* obj3
= 0 ;
32530 PyObject
* obj4
= 0 ;
32531 PyObject
* obj5
= 0 ;
32532 PyObject
* obj6
= 0 ;
32533 PyObject
* obj7
= 0 ;
32534 char * kwnames
[] = {
32535 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32540 if (!SWIG_IsOK(res1
)) {
32541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32543 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32545 if (!SWIG_IsOK(ecode2
)) {
32546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32548 arg2
= static_cast< int >(val2
);
32549 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32550 if (!SWIG_IsOK(ecode3
)) {
32551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32553 arg3
= static_cast< int >(val3
);
32554 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32555 if (!SWIG_IsOK(ecode4
)) {
32556 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32558 arg4
= static_cast< int >(val4
);
32559 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32560 if (!SWIG_IsOK(ecode5
)) {
32561 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32563 arg5
= static_cast< int >(val5
);
32565 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32566 if (!SWIG_IsOK(ecode6
)) {
32567 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32569 arg6
= static_cast< bool >(val6
);
32573 arg7
= wxString_in_helper(obj6
);
32574 if (arg7
== NULL
) SWIG_fail
;
32579 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32580 if (!SWIG_IsOK(ecode8
)) {
32581 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32583 arg8
= static_cast< wxFontEncoding
>(val8
);
32586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32587 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32588 wxPyEndAllowThreads(__tstate
);
32589 if (PyErr_Occurred()) SWIG_fail
;
32591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32606 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32607 PyObject
*resultobj
= 0;
32608 wxFontList
*arg1
= (wxFontList
*) 0 ;
32609 wxFont
*arg2
= (wxFont
*) 0 ;
32614 PyObject
* obj0
= 0 ;
32615 PyObject
* obj1
= 0 ;
32616 char * kwnames
[] = {
32617 (char *) "self",(char *) "font", NULL
32620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32622 if (!SWIG_IsOK(res1
)) {
32623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32625 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32626 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32627 if (!SWIG_IsOK(res2
)) {
32628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32630 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32633 (arg1
)->AddFont(arg2
);
32634 wxPyEndAllowThreads(__tstate
);
32635 if (PyErr_Occurred()) SWIG_fail
;
32637 resultobj
= SWIG_Py_Void();
32644 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32645 PyObject
*resultobj
= 0;
32646 wxFontList
*arg1
= (wxFontList
*) 0 ;
32647 wxFont
*arg2
= (wxFont
*) 0 ;
32652 PyObject
* obj0
= 0 ;
32653 PyObject
* obj1
= 0 ;
32654 char * kwnames
[] = {
32655 (char *) "self",(char *) "font", NULL
32658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32660 if (!SWIG_IsOK(res1
)) {
32661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32663 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32665 if (!SWIG_IsOK(res2
)) {
32666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32668 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32671 (arg1
)->RemoveFont(arg2
);
32672 wxPyEndAllowThreads(__tstate
);
32673 if (PyErr_Occurred()) SWIG_fail
;
32675 resultobj
= SWIG_Py_Void();
32682 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32684 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32685 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32686 return SWIG_Py_Void();
32689 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32690 PyObject
*resultobj
= 0;
32691 wxColourDatabase
*result
= 0 ;
32693 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32695 if (!wxPyCheckForApp()) SWIG_fail
;
32696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32697 result
= (wxColourDatabase
*)new wxColourDatabase();
32698 wxPyEndAllowThreads(__tstate
);
32699 if (PyErr_Occurred()) SWIG_fail
;
32701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32708 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32709 PyObject
*resultobj
= 0;
32710 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32713 PyObject
*swig_obj
[1] ;
32715 if (!args
) SWIG_fail
;
32716 swig_obj
[0] = args
;
32717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32718 if (!SWIG_IsOK(res1
)) {
32719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32721 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32726 wxPyEndAllowThreads(__tstate
);
32727 if (PyErr_Occurred()) SWIG_fail
;
32729 resultobj
= SWIG_Py_Void();
32736 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32737 PyObject
*resultobj
= 0;
32738 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32739 wxString
*arg2
= 0 ;
32743 bool temp2
= false ;
32744 PyObject
* obj0
= 0 ;
32745 PyObject
* obj1
= 0 ;
32746 char * kwnames
[] = {
32747 (char *) "self",(char *) "name", NULL
32750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32752 if (!SWIG_IsOK(res1
)) {
32753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32755 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32757 arg2
= wxString_in_helper(obj1
);
32758 if (arg2
== NULL
) SWIG_fail
;
32762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32763 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32764 wxPyEndAllowThreads(__tstate
);
32765 if (PyErr_Occurred()) SWIG_fail
;
32767 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32782 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32783 PyObject
*resultobj
= 0;
32784 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32785 wxColour
*arg2
= 0 ;
32790 PyObject
* obj0
= 0 ;
32791 PyObject
* obj1
= 0 ;
32792 char * kwnames
[] = {
32793 (char *) "self",(char *) "colour", NULL
32796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32798 if (!SWIG_IsOK(res1
)) {
32799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32801 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32804 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32808 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32809 wxPyEndAllowThreads(__tstate
);
32810 if (PyErr_Occurred()) SWIG_fail
;
32814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32825 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32826 PyObject
*resultobj
= 0;
32827 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32828 wxString
*arg2
= 0 ;
32829 wxColour
*arg3
= 0 ;
32832 bool temp2
= false ;
32834 PyObject
* obj0
= 0 ;
32835 PyObject
* obj1
= 0 ;
32836 PyObject
* obj2
= 0 ;
32837 char * kwnames
[] = {
32838 (char *) "self",(char *) "name",(char *) "colour", NULL
32841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32843 if (!SWIG_IsOK(res1
)) {
32844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32846 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32848 arg2
= wxString_in_helper(obj1
);
32849 if (arg2
== NULL
) SWIG_fail
;
32854 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32858 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32859 wxPyEndAllowThreads(__tstate
);
32860 if (PyErr_Occurred()) SWIG_fail
;
32862 resultobj
= SWIG_Py_Void();
32877 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32878 PyObject
*resultobj
= 0;
32879 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32880 wxString
*arg2
= 0 ;
32886 bool temp2
= false ;
32893 PyObject
* obj0
= 0 ;
32894 PyObject
* obj1
= 0 ;
32895 PyObject
* obj2
= 0 ;
32896 PyObject
* obj3
= 0 ;
32897 PyObject
* obj4
= 0 ;
32898 char * kwnames
[] = {
32899 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32904 if (!SWIG_IsOK(res1
)) {
32905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32907 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32909 arg2
= wxString_in_helper(obj1
);
32910 if (arg2
== NULL
) SWIG_fail
;
32913 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32914 if (!SWIG_IsOK(ecode3
)) {
32915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32917 arg3
= static_cast< int >(val3
);
32918 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32919 if (!SWIG_IsOK(ecode4
)) {
32920 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32922 arg4
= static_cast< int >(val4
);
32923 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32924 if (!SWIG_IsOK(ecode5
)) {
32925 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32927 arg5
= static_cast< int >(val5
);
32929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32930 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32931 wxPyEndAllowThreads(__tstate
);
32932 if (PyErr_Occurred()) SWIG_fail
;
32934 resultobj
= SWIG_Py_Void();
32949 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32952 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32953 return SWIG_Py_Void();
32956 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32957 return SWIG_Python_InitShadowInstance(args
);
32960 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32961 PyObject
*resultobj
= 0;
32962 wxFontList
*result
= 0 ;
32964 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32967 result
= (wxFontList
*)_wxPyInitTheFontList();
32968 wxPyEndAllowThreads(__tstate
);
32969 if (PyErr_Occurred()) SWIG_fail
;
32971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32978 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32979 PyObject
*resultobj
= 0;
32980 wxPenList
*result
= 0 ;
32982 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32985 result
= (wxPenList
*)_wxPyInitThePenList();
32986 wxPyEndAllowThreads(__tstate
);
32987 if (PyErr_Occurred()) SWIG_fail
;
32989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32996 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32997 PyObject
*resultobj
= 0;
32998 wxBrushList
*result
= 0 ;
33000 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33003 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33004 wxPyEndAllowThreads(__tstate
);
33005 if (PyErr_Occurred()) SWIG_fail
;
33007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33014 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33015 PyObject
*resultobj
= 0;
33016 wxColourDatabase
*result
= 0 ;
33018 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33021 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33022 wxPyEndAllowThreads(__tstate
);
33023 if (PyErr_Occurred()) SWIG_fail
;
33025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33032 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33033 PyObject
*resultobj
= 0;
33034 wxEffects
*result
= 0 ;
33036 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33039 result
= (wxEffects
*)new wxEffects();
33040 wxPyEndAllowThreads(__tstate
);
33041 if (PyErr_Occurred()) SWIG_fail
;
33043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33050 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33051 PyObject
*resultobj
= 0;
33052 wxEffects
*arg1
= (wxEffects
*) 0 ;
33056 PyObject
*swig_obj
[1] ;
33058 if (!args
) SWIG_fail
;
33059 swig_obj
[0] = args
;
33060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33061 if (!SWIG_IsOK(res1
)) {
33062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33064 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33067 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33068 wxPyEndAllowThreads(__tstate
);
33069 if (PyErr_Occurred()) SWIG_fail
;
33071 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33078 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33079 PyObject
*resultobj
= 0;
33080 wxEffects
*arg1
= (wxEffects
*) 0 ;
33084 PyObject
*swig_obj
[1] ;
33086 if (!args
) SWIG_fail
;
33087 swig_obj
[0] = args
;
33088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33089 if (!SWIG_IsOK(res1
)) {
33090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33092 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33095 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33096 wxPyEndAllowThreads(__tstate
);
33097 if (PyErr_Occurred()) SWIG_fail
;
33099 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33106 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33107 PyObject
*resultobj
= 0;
33108 wxEffects
*arg1
= (wxEffects
*) 0 ;
33112 PyObject
*swig_obj
[1] ;
33114 if (!args
) SWIG_fail
;
33115 swig_obj
[0] = args
;
33116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33117 if (!SWIG_IsOK(res1
)) {
33118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33120 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33123 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33124 wxPyEndAllowThreads(__tstate
);
33125 if (PyErr_Occurred()) SWIG_fail
;
33127 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33134 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33135 PyObject
*resultobj
= 0;
33136 wxEffects
*arg1
= (wxEffects
*) 0 ;
33140 PyObject
*swig_obj
[1] ;
33142 if (!args
) SWIG_fail
;
33143 swig_obj
[0] = args
;
33144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33145 if (!SWIG_IsOK(res1
)) {
33146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33148 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33151 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33152 wxPyEndAllowThreads(__tstate
);
33153 if (PyErr_Occurred()) SWIG_fail
;
33155 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33162 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33163 PyObject
*resultobj
= 0;
33164 wxEffects
*arg1
= (wxEffects
*) 0 ;
33168 PyObject
*swig_obj
[1] ;
33170 if (!args
) SWIG_fail
;
33171 swig_obj
[0] = args
;
33172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33173 if (!SWIG_IsOK(res1
)) {
33174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33176 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33179 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33180 wxPyEndAllowThreads(__tstate
);
33181 if (PyErr_Occurred()) SWIG_fail
;
33183 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33190 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33191 PyObject
*resultobj
= 0;
33192 wxEffects
*arg1
= (wxEffects
*) 0 ;
33193 wxColour
*arg2
= 0 ;
33197 PyObject
* obj0
= 0 ;
33198 PyObject
* obj1
= 0 ;
33199 char * kwnames
[] = {
33200 (char *) "self",(char *) "c", NULL
33203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33205 if (!SWIG_IsOK(res1
)) {
33206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33208 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33211 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33215 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33216 wxPyEndAllowThreads(__tstate
);
33217 if (PyErr_Occurred()) SWIG_fail
;
33219 resultobj
= SWIG_Py_Void();
33226 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33227 PyObject
*resultobj
= 0;
33228 wxEffects
*arg1
= (wxEffects
*) 0 ;
33229 wxColour
*arg2
= 0 ;
33233 PyObject
* obj0
= 0 ;
33234 PyObject
* obj1
= 0 ;
33235 char * kwnames
[] = {
33236 (char *) "self",(char *) "c", NULL
33239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33241 if (!SWIG_IsOK(res1
)) {
33242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33244 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33247 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33251 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33252 wxPyEndAllowThreads(__tstate
);
33253 if (PyErr_Occurred()) SWIG_fail
;
33255 resultobj
= SWIG_Py_Void();
33262 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33263 PyObject
*resultobj
= 0;
33264 wxEffects
*arg1
= (wxEffects
*) 0 ;
33265 wxColour
*arg2
= 0 ;
33269 PyObject
* obj0
= 0 ;
33270 PyObject
* obj1
= 0 ;
33271 char * kwnames
[] = {
33272 (char *) "self",(char *) "c", NULL
33275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33277 if (!SWIG_IsOK(res1
)) {
33278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33280 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33283 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33287 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33288 wxPyEndAllowThreads(__tstate
);
33289 if (PyErr_Occurred()) SWIG_fail
;
33291 resultobj
= SWIG_Py_Void();
33298 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33299 PyObject
*resultobj
= 0;
33300 wxEffects
*arg1
= (wxEffects
*) 0 ;
33301 wxColour
*arg2
= 0 ;
33305 PyObject
* obj0
= 0 ;
33306 PyObject
* obj1
= 0 ;
33307 char * kwnames
[] = {
33308 (char *) "self",(char *) "c", NULL
33311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33313 if (!SWIG_IsOK(res1
)) {
33314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33316 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33319 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33323 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33324 wxPyEndAllowThreads(__tstate
);
33325 if (PyErr_Occurred()) SWIG_fail
;
33327 resultobj
= SWIG_Py_Void();
33334 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33335 PyObject
*resultobj
= 0;
33336 wxEffects
*arg1
= (wxEffects
*) 0 ;
33337 wxColour
*arg2
= 0 ;
33341 PyObject
* obj0
= 0 ;
33342 PyObject
* obj1
= 0 ;
33343 char * kwnames
[] = {
33344 (char *) "self",(char *) "c", NULL
33347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33349 if (!SWIG_IsOK(res1
)) {
33350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33352 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33355 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33359 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33360 wxPyEndAllowThreads(__tstate
);
33361 if (PyErr_Occurred()) SWIG_fail
;
33363 resultobj
= SWIG_Py_Void();
33370 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33371 PyObject
*resultobj
= 0;
33372 wxEffects
*arg1
= (wxEffects
*) 0 ;
33373 wxColour
*arg2
= 0 ;
33374 wxColour
*arg3
= 0 ;
33375 wxColour
*arg4
= 0 ;
33376 wxColour
*arg5
= 0 ;
33377 wxColour
*arg6
= 0 ;
33385 PyObject
* obj0
= 0 ;
33386 PyObject
* obj1
= 0 ;
33387 PyObject
* obj2
= 0 ;
33388 PyObject
* obj3
= 0 ;
33389 PyObject
* obj4
= 0 ;
33390 PyObject
* obj5
= 0 ;
33391 char * kwnames
[] = {
33392 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33397 if (!SWIG_IsOK(res1
)) {
33398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33400 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33403 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33407 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33411 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33415 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33419 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33423 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33424 wxPyEndAllowThreads(__tstate
);
33425 if (PyErr_Occurred()) SWIG_fail
;
33427 resultobj
= SWIG_Py_Void();
33434 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33435 PyObject
*resultobj
= 0;
33436 wxEffects
*arg1
= (wxEffects
*) 0 ;
33439 int arg4
= (int) 1 ;
33447 PyObject
* obj0
= 0 ;
33448 PyObject
* obj1
= 0 ;
33449 PyObject
* obj2
= 0 ;
33450 PyObject
* obj3
= 0 ;
33451 char * kwnames
[] = {
33452 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33457 if (!SWIG_IsOK(res1
)) {
33458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33460 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33461 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33462 if (!SWIG_IsOK(res2
)) {
33463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33468 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33471 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33474 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33475 if (!SWIG_IsOK(ecode4
)) {
33476 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33478 arg4
= static_cast< int >(val4
);
33481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33482 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33483 wxPyEndAllowThreads(__tstate
);
33484 if (PyErr_Occurred()) SWIG_fail
;
33486 resultobj
= SWIG_Py_Void();
33493 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33494 PyObject
*resultobj
= 0;
33495 wxEffects
*arg1
= (wxEffects
*) 0 ;
33498 wxBitmap
*arg4
= 0 ;
33507 PyObject
* obj0
= 0 ;
33508 PyObject
* obj1
= 0 ;
33509 PyObject
* obj2
= 0 ;
33510 PyObject
* obj3
= 0 ;
33511 char * kwnames
[] = {
33512 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33517 if (!SWIG_IsOK(res1
)) {
33518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33520 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33523 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33525 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33526 if (!SWIG_IsOK(res3
)) {
33527 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33532 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33533 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33534 if (!SWIG_IsOK(res4
)) {
33535 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33540 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33543 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33544 wxPyEndAllowThreads(__tstate
);
33545 if (PyErr_Occurred()) SWIG_fail
;
33548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33556 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33558 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33559 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33560 return SWIG_Py_Void();
33563 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33564 return SWIG_Python_InitShadowInstance(args
);
33567 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33568 PyObject
*resultobj
= 0;
33572 wxSplitterRenderParams
*result
= 0 ;
33579 PyObject
* obj0
= 0 ;
33580 PyObject
* obj1
= 0 ;
33581 PyObject
* obj2
= 0 ;
33582 char * kwnames
[] = {
33583 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33587 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33588 if (!SWIG_IsOK(ecode1
)) {
33589 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33591 arg1
= static_cast< int >(val1
);
33592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33593 if (!SWIG_IsOK(ecode2
)) {
33594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33596 arg2
= static_cast< int >(val2
);
33597 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33598 if (!SWIG_IsOK(ecode3
)) {
33599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33601 arg3
= static_cast< bool >(val3
);
33603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33604 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33605 wxPyEndAllowThreads(__tstate
);
33606 if (PyErr_Occurred()) SWIG_fail
;
33608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33615 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33616 PyObject
*resultobj
= 0;
33617 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33620 PyObject
*swig_obj
[1] ;
33622 if (!args
) SWIG_fail
;
33623 swig_obj
[0] = args
;
33624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33625 if (!SWIG_IsOK(res1
)) {
33626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33628 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33633 wxPyEndAllowThreads(__tstate
);
33634 if (PyErr_Occurred()) SWIG_fail
;
33636 resultobj
= SWIG_Py_Void();
33643 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33644 PyObject
*resultobj
= 0;
33645 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33649 PyObject
*swig_obj
[1] ;
33651 if (!args
) SWIG_fail
;
33652 swig_obj
[0] = args
;
33653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33654 if (!SWIG_IsOK(res1
)) {
33655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33657 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33658 result
= (int)(int) ((arg1
)->widthSash
);
33659 resultobj
= SWIG_From_int(static_cast< int >(result
));
33666 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33667 PyObject
*resultobj
= 0;
33668 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33672 PyObject
*swig_obj
[1] ;
33674 if (!args
) SWIG_fail
;
33675 swig_obj
[0] = args
;
33676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33677 if (!SWIG_IsOK(res1
)) {
33678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33680 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33681 result
= (int)(int) ((arg1
)->border
);
33682 resultobj
= SWIG_From_int(static_cast< int >(result
));
33689 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33690 PyObject
*resultobj
= 0;
33691 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33695 PyObject
*swig_obj
[1] ;
33697 if (!args
) SWIG_fail
;
33698 swig_obj
[0] = args
;
33699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33700 if (!SWIG_IsOK(res1
)) {
33701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33703 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33704 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33705 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33712 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33714 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33715 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33716 return SWIG_Py_Void();
33719 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33720 return SWIG_Python_InitShadowInstance(args
);
33723 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33724 PyObject
*resultobj
= 0;
33725 wxHeaderButtonParams
*result
= 0 ;
33727 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33730 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33731 wxPyEndAllowThreads(__tstate
);
33732 if (PyErr_Occurred()) SWIG_fail
;
33734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33741 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33742 PyObject
*resultobj
= 0;
33743 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33746 PyObject
*swig_obj
[1] ;
33748 if (!args
) SWIG_fail
;
33749 swig_obj
[0] = args
;
33750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33751 if (!SWIG_IsOK(res1
)) {
33752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33754 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33759 wxPyEndAllowThreads(__tstate
);
33760 if (PyErr_Occurred()) SWIG_fail
;
33762 resultobj
= SWIG_Py_Void();
33769 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33770 PyObject
*resultobj
= 0;
33771 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33772 wxColour
*arg2
= (wxColour
*) 0 ;
33776 PyObject
*swig_obj
[2] ;
33778 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
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_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33783 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33786 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33788 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33790 resultobj
= SWIG_Py_Void();
33797 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33798 PyObject
*resultobj
= 0;
33799 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33800 wxColour
*result
= 0 ;
33803 PyObject
*swig_obj
[1] ;
33805 if (!args
) SWIG_fail
;
33806 swig_obj
[0] = args
;
33807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33808 if (!SWIG_IsOK(res1
)) {
33809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33811 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33812 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33820 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33821 PyObject
*resultobj
= 0;
33822 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33823 wxColour
*arg2
= (wxColour
*) 0 ;
33827 PyObject
*swig_obj
[2] ;
33829 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33831 if (!SWIG_IsOK(res1
)) {
33832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33834 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33837 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33839 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33841 resultobj
= SWIG_Py_Void();
33848 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33849 PyObject
*resultobj
= 0;
33850 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33851 wxColour
*result
= 0 ;
33854 PyObject
*swig_obj
[1] ;
33856 if (!args
) SWIG_fail
;
33857 swig_obj
[0] = args
;
33858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33859 if (!SWIG_IsOK(res1
)) {
33860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33862 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33863 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33871 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33872 PyObject
*resultobj
= 0;
33873 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33874 wxString
*arg2
= (wxString
*) 0 ;
33877 bool temp2
= false ;
33878 PyObject
*swig_obj
[2] ;
33880 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33882 if (!SWIG_IsOK(res1
)) {
33883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33885 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33887 arg2
= wxString_in_helper(swig_obj
[1]);
33888 if (arg2
== NULL
) SWIG_fail
;
33891 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33893 resultobj
= SWIG_Py_Void();
33908 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33909 PyObject
*resultobj
= 0;
33910 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33911 wxString
*result
= 0 ;
33914 PyObject
*swig_obj
[1] ;
33916 if (!args
) SWIG_fail
;
33917 swig_obj
[0] = args
;
33918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33919 if (!SWIG_IsOK(res1
)) {
33920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33922 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33923 result
= (wxString
*)& ((arg1
)->m_labelText
);
33926 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33928 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33937 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33938 PyObject
*resultobj
= 0;
33939 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33940 wxFont
*arg2
= (wxFont
*) 0 ;
33945 PyObject
*swig_obj
[2] ;
33947 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33949 if (!SWIG_IsOK(res1
)) {
33950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33952 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33953 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33954 if (!SWIG_IsOK(res2
)) {
33955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33957 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33958 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33960 resultobj
= SWIG_Py_Void();
33967 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33968 PyObject
*resultobj
= 0;
33969 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33970 wxFont
*result
= 0 ;
33973 PyObject
*swig_obj
[1] ;
33975 if (!args
) SWIG_fail
;
33976 swig_obj
[0] = args
;
33977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33978 if (!SWIG_IsOK(res1
)) {
33979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33981 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33982 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33990 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33991 PyObject
*resultobj
= 0;
33992 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33993 wxColour
*arg2
= (wxColour
*) 0 ;
33997 PyObject
*swig_obj
[2] ;
33999 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34001 if (!SWIG_IsOK(res1
)) {
34002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34004 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34007 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34009 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34011 resultobj
= SWIG_Py_Void();
34018 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34019 PyObject
*resultobj
= 0;
34020 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34021 wxColour
*result
= 0 ;
34024 PyObject
*swig_obj
[1] ;
34026 if (!args
) SWIG_fail
;
34027 swig_obj
[0] = args
;
34028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34029 if (!SWIG_IsOK(res1
)) {
34030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34032 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34033 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34041 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34042 PyObject
*resultobj
= 0;
34043 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34044 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34049 PyObject
*swig_obj
[2] ;
34051 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34053 if (!SWIG_IsOK(res1
)) {
34054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34056 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34057 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34058 if (!SWIG_IsOK(res2
)) {
34059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34061 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34062 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34064 resultobj
= SWIG_Py_Void();
34071 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34072 PyObject
*resultobj
= 0;
34073 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34074 wxBitmap
*result
= 0 ;
34077 PyObject
*swig_obj
[1] ;
34079 if (!args
) SWIG_fail
;
34080 swig_obj
[0] = args
;
34081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34082 if (!SWIG_IsOK(res1
)) {
34083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34085 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34086 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34094 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34095 PyObject
*resultobj
= 0;
34096 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34102 PyObject
*swig_obj
[2] ;
34104 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34106 if (!SWIG_IsOK(res1
)) {
34107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34109 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34110 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34111 if (!SWIG_IsOK(ecode2
)) {
34112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34114 arg2
= static_cast< int >(val2
);
34115 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34117 resultobj
= SWIG_Py_Void();
34124 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34125 PyObject
*resultobj
= 0;
34126 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34130 PyObject
*swig_obj
[1] ;
34132 if (!args
) SWIG_fail
;
34133 swig_obj
[0] = args
;
34134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34135 if (!SWIG_IsOK(res1
)) {
34136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34138 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34139 result
= (int) ((arg1
)->m_labelAlignment
);
34140 resultobj
= SWIG_From_int(static_cast< int >(result
));
34147 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34150 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34151 return SWIG_Py_Void();
34154 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34155 return SWIG_Python_InitShadowInstance(args
);
34158 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34159 PyObject
*resultobj
= 0;
34162 wxRendererVersion
*result
= 0 ;
34167 PyObject
* obj0
= 0 ;
34168 PyObject
* obj1
= 0 ;
34169 char * kwnames
[] = {
34170 (char *) "version_",(char *) "age_", NULL
34173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34174 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34175 if (!SWIG_IsOK(ecode1
)) {
34176 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34178 arg1
= static_cast< int >(val1
);
34179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34180 if (!SWIG_IsOK(ecode2
)) {
34181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34183 arg2
= static_cast< int >(val2
);
34185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34186 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34187 wxPyEndAllowThreads(__tstate
);
34188 if (PyErr_Occurred()) SWIG_fail
;
34190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34197 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34198 PyObject
*resultobj
= 0;
34199 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34202 PyObject
*swig_obj
[1] ;
34204 if (!args
) SWIG_fail
;
34205 swig_obj
[0] = args
;
34206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34207 if (!SWIG_IsOK(res1
)) {
34208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34210 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34215 wxPyEndAllowThreads(__tstate
);
34216 if (PyErr_Occurred()) SWIG_fail
;
34218 resultobj
= SWIG_Py_Void();
34225 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34226 PyObject
*resultobj
= 0;
34227 wxRendererVersion
*arg1
= 0 ;
34231 PyObject
* obj0
= 0 ;
34232 char * kwnames
[] = {
34233 (char *) "ver", NULL
34236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34237 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34238 if (!SWIG_IsOK(res1
)) {
34239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34244 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34247 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34248 wxPyEndAllowThreads(__tstate
);
34249 if (PyErr_Occurred()) SWIG_fail
;
34252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34260 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34261 PyObject
*resultobj
= 0;
34262 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34266 PyObject
*swig_obj
[1] ;
34268 if (!args
) SWIG_fail
;
34269 swig_obj
[0] = args
;
34270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34271 if (!SWIG_IsOK(res1
)) {
34272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34274 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34275 result
= (int)(int) ((arg1
)->version
);
34276 resultobj
= SWIG_From_int(static_cast< int >(result
));
34283 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34284 PyObject
*resultobj
= 0;
34285 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34289 PyObject
*swig_obj
[1] ;
34291 if (!args
) SWIG_fail
;
34292 swig_obj
[0] = args
;
34293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34294 if (!SWIG_IsOK(res1
)) {
34295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34297 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34298 result
= (int)(int) ((arg1
)->age
);
34299 resultobj
= SWIG_From_int(static_cast< int >(result
));
34306 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34309 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34310 return SWIG_Py_Void();
34313 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34314 return SWIG_Python_InitShadowInstance(args
);
34317 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34318 PyObject
*resultobj
= 0;
34319 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34320 wxWindow
*arg2
= (wxWindow
*) 0 ;
34323 int arg5
= (int) 0 ;
34324 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34325 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34340 PyObject
* obj0
= 0 ;
34341 PyObject
* obj1
= 0 ;
34342 PyObject
* obj2
= 0 ;
34343 PyObject
* obj3
= 0 ;
34344 PyObject
* obj4
= 0 ;
34345 PyObject
* obj5
= 0 ;
34346 PyObject
* obj6
= 0 ;
34347 char * kwnames
[] = {
34348 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34353 if (!SWIG_IsOK(res1
)) {
34354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34356 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34357 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34358 if (!SWIG_IsOK(res2
)) {
34359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34361 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34362 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34363 if (!SWIG_IsOK(res3
)) {
34364 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34369 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34372 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34375 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34376 if (!SWIG_IsOK(ecode5
)) {
34377 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34379 arg5
= static_cast< int >(val5
);
34382 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34383 if (!SWIG_IsOK(ecode6
)) {
34384 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34386 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34389 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34390 if (!SWIG_IsOK(res7
)) {
34391 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34393 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34397 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34398 wxPyEndAllowThreads(__tstate
);
34399 if (PyErr_Occurred()) SWIG_fail
;
34401 resultobj
= SWIG_From_int(static_cast< int >(result
));
34408 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34409 PyObject
*resultobj
= 0;
34410 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34411 wxWindow
*arg2
= (wxWindow
*) 0 ;
34414 int arg5
= (int) 0 ;
34415 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34416 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34431 PyObject
* obj0
= 0 ;
34432 PyObject
* obj1
= 0 ;
34433 PyObject
* obj2
= 0 ;
34434 PyObject
* obj3
= 0 ;
34435 PyObject
* obj4
= 0 ;
34436 PyObject
* obj5
= 0 ;
34437 PyObject
* obj6
= 0 ;
34438 char * kwnames
[] = {
34439 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34444 if (!SWIG_IsOK(res1
)) {
34445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34447 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34448 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34449 if (!SWIG_IsOK(res2
)) {
34450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34452 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34453 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34454 if (!SWIG_IsOK(res3
)) {
34455 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34460 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34463 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34466 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34467 if (!SWIG_IsOK(ecode5
)) {
34468 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34470 arg5
= static_cast< int >(val5
);
34473 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34474 if (!SWIG_IsOK(ecode6
)) {
34475 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34477 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34480 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34481 if (!SWIG_IsOK(res7
)) {
34482 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34484 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34488 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34489 wxPyEndAllowThreads(__tstate
);
34490 if (PyErr_Occurred()) SWIG_fail
;
34492 resultobj
= SWIG_From_int(static_cast< int >(result
));
34499 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34500 PyObject
*resultobj
= 0;
34501 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34502 wxWindow
*arg2
= (wxWindow
*) 0 ;
34508 PyObject
* obj0
= 0 ;
34509 PyObject
* obj1
= 0 ;
34510 char * kwnames
[] = {
34511 (char *) "self",(char *) "win", NULL
34514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34516 if (!SWIG_IsOK(res1
)) {
34517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34519 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34520 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34521 if (!SWIG_IsOK(res2
)) {
34522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34524 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34527 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34528 wxPyEndAllowThreads(__tstate
);
34529 if (PyErr_Occurred()) SWIG_fail
;
34531 resultobj
= SWIG_From_int(static_cast< int >(result
));
34538 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34539 PyObject
*resultobj
= 0;
34540 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34541 wxWindow
*arg2
= (wxWindow
*) 0 ;
34544 int arg5
= (int) 0 ;
34554 PyObject
* obj0
= 0 ;
34555 PyObject
* obj1
= 0 ;
34556 PyObject
* obj2
= 0 ;
34557 PyObject
* obj3
= 0 ;
34558 PyObject
* obj4
= 0 ;
34559 char * kwnames
[] = {
34560 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34565 if (!SWIG_IsOK(res1
)) {
34566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34568 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34569 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34570 if (!SWIG_IsOK(res2
)) {
34571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34573 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34574 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34575 if (!SWIG_IsOK(res3
)) {
34576 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34581 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34584 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34587 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34588 if (!SWIG_IsOK(ecode5
)) {
34589 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34591 arg5
= static_cast< int >(val5
);
34594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34595 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34596 wxPyEndAllowThreads(__tstate
);
34597 if (PyErr_Occurred()) SWIG_fail
;
34599 resultobj
= SWIG_Py_Void();
34606 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34607 PyObject
*resultobj
= 0;
34608 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34609 wxWindow
*arg2
= (wxWindow
*) 0 ;
34612 int arg5
= (int) 0 ;
34622 PyObject
* obj0
= 0 ;
34623 PyObject
* obj1
= 0 ;
34624 PyObject
* obj2
= 0 ;
34625 PyObject
* obj3
= 0 ;
34626 PyObject
* obj4
= 0 ;
34627 char * kwnames
[] = {
34628 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34633 if (!SWIG_IsOK(res1
)) {
34634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34636 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34637 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34638 if (!SWIG_IsOK(res2
)) {
34639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34641 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34642 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34643 if (!SWIG_IsOK(res3
)) {
34644 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34649 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34652 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34655 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34656 if (!SWIG_IsOK(ecode5
)) {
34657 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34659 arg5
= static_cast< int >(val5
);
34662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34663 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34664 wxPyEndAllowThreads(__tstate
);
34665 if (PyErr_Occurred()) SWIG_fail
;
34667 resultobj
= SWIG_Py_Void();
34674 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34675 PyObject
*resultobj
= 0;
34676 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34677 wxWindow
*arg2
= (wxWindow
*) 0 ;
34681 wxOrientation arg6
;
34682 int arg7
= (int) 0 ;
34696 PyObject
* obj0
= 0 ;
34697 PyObject
* obj1
= 0 ;
34698 PyObject
* obj2
= 0 ;
34699 PyObject
* obj3
= 0 ;
34700 PyObject
* obj4
= 0 ;
34701 PyObject
* obj5
= 0 ;
34702 PyObject
* obj6
= 0 ;
34703 char * kwnames
[] = {
34704 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34709 if (!SWIG_IsOK(res1
)) {
34710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34712 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34714 if (!SWIG_IsOK(res2
)) {
34715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34717 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34718 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34719 if (!SWIG_IsOK(res3
)) {
34720 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34725 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34728 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34730 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34731 if (!SWIG_IsOK(ecode5
)) {
34732 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34734 arg5
= static_cast< int >(val5
);
34735 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34736 if (!SWIG_IsOK(ecode6
)) {
34737 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34739 arg6
= static_cast< wxOrientation
>(val6
);
34741 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34742 if (!SWIG_IsOK(ecode7
)) {
34743 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34745 arg7
= static_cast< int >(val7
);
34748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34749 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34750 wxPyEndAllowThreads(__tstate
);
34751 if (PyErr_Occurred()) SWIG_fail
;
34753 resultobj
= SWIG_Py_Void();
34760 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34761 PyObject
*resultobj
= 0;
34762 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34763 wxWindow
*arg2
= (wxWindow
*) 0 ;
34766 int arg5
= (int) 0 ;
34776 PyObject
* obj0
= 0 ;
34777 PyObject
* obj1
= 0 ;
34778 PyObject
* obj2
= 0 ;
34779 PyObject
* obj3
= 0 ;
34780 PyObject
* obj4
= 0 ;
34781 char * kwnames
[] = {
34782 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34787 if (!SWIG_IsOK(res1
)) {
34788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34790 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34791 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34792 if (!SWIG_IsOK(res2
)) {
34793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34795 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34796 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34797 if (!SWIG_IsOK(res3
)) {
34798 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34803 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34806 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34809 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34810 if (!SWIG_IsOK(ecode5
)) {
34811 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34813 arg5
= static_cast< int >(val5
);
34816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34817 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34818 wxPyEndAllowThreads(__tstate
);
34819 if (PyErr_Occurred()) SWIG_fail
;
34821 resultobj
= SWIG_Py_Void();
34828 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34829 PyObject
*resultobj
= 0;
34830 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34831 wxWindow
*arg2
= (wxWindow
*) 0 ;
34834 int arg5
= (int) 0 ;
34844 PyObject
* obj0
= 0 ;
34845 PyObject
* obj1
= 0 ;
34846 PyObject
* obj2
= 0 ;
34847 PyObject
* obj3
= 0 ;
34848 PyObject
* obj4
= 0 ;
34849 char * kwnames
[] = {
34850 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34855 if (!SWIG_IsOK(res1
)) {
34856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34858 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34859 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34860 if (!SWIG_IsOK(res2
)) {
34861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34863 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34864 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34865 if (!SWIG_IsOK(res3
)) {
34866 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34871 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34874 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34877 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34878 if (!SWIG_IsOK(ecode5
)) {
34879 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34881 arg5
= static_cast< int >(val5
);
34884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34885 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34886 wxPyEndAllowThreads(__tstate
);
34887 if (PyErr_Occurred()) SWIG_fail
;
34889 resultobj
= SWIG_Py_Void();
34896 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34897 PyObject
*resultobj
= 0;
34898 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34899 wxWindow
*arg2
= (wxWindow
*) 0 ;
34902 int arg5
= (int) 0 ;
34912 PyObject
* obj0
= 0 ;
34913 PyObject
* obj1
= 0 ;
34914 PyObject
* obj2
= 0 ;
34915 PyObject
* obj3
= 0 ;
34916 PyObject
* obj4
= 0 ;
34917 char * kwnames
[] = {
34918 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34923 if (!SWIG_IsOK(res1
)) {
34924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34926 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34927 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34928 if (!SWIG_IsOK(res2
)) {
34929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34931 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34932 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34933 if (!SWIG_IsOK(res3
)) {
34934 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34939 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34942 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34945 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34946 if (!SWIG_IsOK(ecode5
)) {
34947 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34949 arg5
= static_cast< int >(val5
);
34952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34953 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34954 wxPyEndAllowThreads(__tstate
);
34955 if (PyErr_Occurred()) SWIG_fail
;
34957 resultobj
= SWIG_Py_Void();
34964 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34965 PyObject
*resultobj
= 0;
34966 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34967 wxWindow
*arg2
= (wxWindow
*) 0 ;
34970 int arg5
= (int) 0 ;
34980 PyObject
* obj0
= 0 ;
34981 PyObject
* obj1
= 0 ;
34982 PyObject
* obj2
= 0 ;
34983 PyObject
* obj3
= 0 ;
34984 PyObject
* obj4
= 0 ;
34985 char * kwnames
[] = {
34986 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34991 if (!SWIG_IsOK(res1
)) {
34992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34994 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34995 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34996 if (!SWIG_IsOK(res2
)) {
34997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34999 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35000 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35001 if (!SWIG_IsOK(res3
)) {
35002 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35007 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35010 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35013 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35014 if (!SWIG_IsOK(ecode5
)) {
35015 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35017 arg5
= static_cast< int >(val5
);
35020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35021 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35022 wxPyEndAllowThreads(__tstate
);
35023 if (PyErr_Occurred()) SWIG_fail
;
35025 resultobj
= SWIG_Py_Void();
35032 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35033 PyObject
*resultobj
= 0;
35034 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35035 wxWindow
*arg2
= (wxWindow
*) 0 ;
35038 int arg5
= (int) 0 ;
35048 PyObject
* obj0
= 0 ;
35049 PyObject
* obj1
= 0 ;
35050 PyObject
* obj2
= 0 ;
35051 PyObject
* obj3
= 0 ;
35052 PyObject
* obj4
= 0 ;
35053 char * kwnames
[] = {
35054 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35059 if (!SWIG_IsOK(res1
)) {
35060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35062 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35063 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35064 if (!SWIG_IsOK(res2
)) {
35065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35067 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35068 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35069 if (!SWIG_IsOK(res3
)) {
35070 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35075 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35078 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35081 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35082 if (!SWIG_IsOK(ecode5
)) {
35083 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35085 arg5
= static_cast< int >(val5
);
35088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35089 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35090 wxPyEndAllowThreads(__tstate
);
35091 if (PyErr_Occurred()) SWIG_fail
;
35093 resultobj
= SWIG_Py_Void();
35100 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35101 PyObject
*resultobj
= 0;
35102 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35103 wxWindow
*arg2
= (wxWindow
*) 0 ;
35104 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35109 PyObject
* obj0
= 0 ;
35110 PyObject
* obj1
= 0 ;
35111 char * kwnames
[] = {
35112 (char *) "self",(char *) "win", NULL
35115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35117 if (!SWIG_IsOK(res1
)) {
35118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35120 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35121 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35122 if (!SWIG_IsOK(res2
)) {
35123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35125 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35128 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35129 wxPyEndAllowThreads(__tstate
);
35130 if (PyErr_Occurred()) SWIG_fail
;
35132 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35139 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35140 PyObject
*resultobj
= 0;
35141 wxRendererNative
*result
= 0 ;
35143 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35145 if (!wxPyCheckForApp()) SWIG_fail
;
35146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35148 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35149 result
= (wxRendererNative
*) &_result_ref
;
35151 wxPyEndAllowThreads(__tstate
);
35152 if (PyErr_Occurred()) SWIG_fail
;
35154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35161 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35162 PyObject
*resultobj
= 0;
35163 wxRendererNative
*result
= 0 ;
35165 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35167 if (!wxPyCheckForApp()) SWIG_fail
;
35168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35170 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35171 result
= (wxRendererNative
*) &_result_ref
;
35173 wxPyEndAllowThreads(__tstate
);
35174 if (PyErr_Occurred()) SWIG_fail
;
35176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35183 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35184 PyObject
*resultobj
= 0;
35185 wxRendererNative
*result
= 0 ;
35187 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35189 if (!wxPyCheckForApp()) SWIG_fail
;
35190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35192 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35193 result
= (wxRendererNative
*) &_result_ref
;
35195 wxPyEndAllowThreads(__tstate
);
35196 if (PyErr_Occurred()) SWIG_fail
;
35198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35205 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35206 PyObject
*resultobj
= 0;
35207 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35208 wxRendererNative
*result
= 0 ;
35211 PyObject
* obj0
= 0 ;
35212 char * kwnames
[] = {
35213 (char *) "renderer", NULL
35216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35218 if (!SWIG_IsOK(res1
)) {
35219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35221 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35223 if (!wxPyCheckForApp()) SWIG_fail
;
35224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35225 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35226 wxPyEndAllowThreads(__tstate
);
35227 if (PyErr_Occurred()) SWIG_fail
;
35229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35236 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35237 PyObject
*resultobj
= 0;
35238 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35239 SwigValueWrapper
<wxRendererVersion
> result
;
35242 PyObject
*swig_obj
[1] ;
35244 if (!args
) SWIG_fail
;
35245 swig_obj
[0] = args
;
35246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35247 if (!SWIG_IsOK(res1
)) {
35248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35250 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35253 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35254 wxPyEndAllowThreads(__tstate
);
35255 if (PyErr_Occurred()) SWIG_fail
;
35257 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35264 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35266 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35267 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35268 return SWIG_Py_Void();
35271 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35272 PyObject
*resultobj
= 0;
35273 wxPseudoDC
*result
= 0 ;
35275 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35278 result
= (wxPseudoDC
*)new wxPseudoDC();
35279 wxPyEndAllowThreads(__tstate
);
35280 if (PyErr_Occurred()) SWIG_fail
;
35282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35289 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35290 PyObject
*resultobj
= 0;
35291 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35294 PyObject
*swig_obj
[1] ;
35296 if (!args
) SWIG_fail
;
35297 swig_obj
[0] = args
;
35298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35299 if (!SWIG_IsOK(res1
)) {
35300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35302 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35305 (arg1
)->BeginDrawing();
35306 wxPyEndAllowThreads(__tstate
);
35307 if (PyErr_Occurred()) SWIG_fail
;
35309 resultobj
= SWIG_Py_Void();
35316 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35317 PyObject
*resultobj
= 0;
35318 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35321 PyObject
*swig_obj
[1] ;
35323 if (!args
) SWIG_fail
;
35324 swig_obj
[0] = args
;
35325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35326 if (!SWIG_IsOK(res1
)) {
35327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35329 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35332 (arg1
)->EndDrawing();
35333 wxPyEndAllowThreads(__tstate
);
35334 if (PyErr_Occurred()) SWIG_fail
;
35336 resultobj
= SWIG_Py_Void();
35343 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35344 PyObject
*resultobj
= 0;
35345 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35348 PyObject
*swig_obj
[1] ;
35350 if (!args
) SWIG_fail
;
35351 swig_obj
[0] = args
;
35352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35353 if (!SWIG_IsOK(res1
)) {
35354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35356 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35361 wxPyEndAllowThreads(__tstate
);
35362 if (PyErr_Occurred()) SWIG_fail
;
35364 resultobj
= SWIG_Py_Void();
35371 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35372 PyObject
*resultobj
= 0;
35373 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35376 PyObject
*swig_obj
[1] ;
35378 if (!args
) SWIG_fail
;
35379 swig_obj
[0] = args
;
35380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35381 if (!SWIG_IsOK(res1
)) {
35382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35384 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35387 (arg1
)->RemoveAll();
35388 wxPyEndAllowThreads(__tstate
);
35389 if (PyErr_Occurred()) SWIG_fail
;
35391 resultobj
= SWIG_Py_Void();
35398 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35399 PyObject
*resultobj
= 0;
35400 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35404 PyObject
*swig_obj
[1] ;
35406 if (!args
) SWIG_fail
;
35407 swig_obj
[0] = args
;
35408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35409 if (!SWIG_IsOK(res1
)) {
35410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35412 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35415 result
= (int)(arg1
)->GetLen();
35416 wxPyEndAllowThreads(__tstate
);
35417 if (PyErr_Occurred()) SWIG_fail
;
35419 resultobj
= SWIG_From_int(static_cast< int >(result
));
35426 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35427 PyObject
*resultobj
= 0;
35428 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35434 PyObject
* obj0
= 0 ;
35435 PyObject
* obj1
= 0 ;
35436 char * kwnames
[] = {
35437 (char *) "self",(char *) "id", NULL
35440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35442 if (!SWIG_IsOK(res1
)) {
35443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35445 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35447 if (!SWIG_IsOK(ecode2
)) {
35448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35450 arg2
= static_cast< int >(val2
);
35452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35453 (arg1
)->SetId(arg2
);
35454 wxPyEndAllowThreads(__tstate
);
35455 if (PyErr_Occurred()) SWIG_fail
;
35457 resultobj
= SWIG_Py_Void();
35464 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35465 PyObject
*resultobj
= 0;
35466 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35472 PyObject
* obj0
= 0 ;
35473 PyObject
* obj1
= 0 ;
35474 char * kwnames
[] = {
35475 (char *) "self",(char *) "id", NULL
35478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35480 if (!SWIG_IsOK(res1
)) {
35481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35483 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35485 if (!SWIG_IsOK(ecode2
)) {
35486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35488 arg2
= static_cast< int >(val2
);
35490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35491 (arg1
)->ClearId(arg2
);
35492 wxPyEndAllowThreads(__tstate
);
35493 if (PyErr_Occurred()) SWIG_fail
;
35495 resultobj
= SWIG_Py_Void();
35502 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35503 PyObject
*resultobj
= 0;
35504 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35510 PyObject
* obj0
= 0 ;
35511 PyObject
* obj1
= 0 ;
35512 char * kwnames
[] = {
35513 (char *) "self",(char *) "id", NULL
35516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35518 if (!SWIG_IsOK(res1
)) {
35519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35521 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35523 if (!SWIG_IsOK(ecode2
)) {
35524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35526 arg2
= static_cast< int >(val2
);
35528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35529 (arg1
)->RemoveId(arg2
);
35530 wxPyEndAllowThreads(__tstate
);
35531 if (PyErr_Occurred()) SWIG_fail
;
35533 resultobj
= SWIG_Py_Void();
35540 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35541 PyObject
*resultobj
= 0;
35542 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35554 PyObject
* obj0
= 0 ;
35555 PyObject
* obj1
= 0 ;
35556 PyObject
* obj2
= 0 ;
35557 PyObject
* obj3
= 0 ;
35558 char * kwnames
[] = {
35559 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35564 if (!SWIG_IsOK(res1
)) {
35565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35567 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35569 if (!SWIG_IsOK(ecode2
)) {
35570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35572 arg2
= static_cast< int >(val2
);
35573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35574 if (!SWIG_IsOK(ecode3
)) {
35575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35577 arg3
= static_cast< int >(val3
);
35578 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35579 if (!SWIG_IsOK(ecode4
)) {
35580 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35582 arg4
= static_cast< int >(val4
);
35584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35585 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35586 wxPyEndAllowThreads(__tstate
);
35587 if (PyErr_Occurred()) SWIG_fail
;
35589 resultobj
= SWIG_Py_Void();
35596 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35597 PyObject
*resultobj
= 0;
35598 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35600 bool arg3
= (bool) true ;
35607 PyObject
* obj0
= 0 ;
35608 PyObject
* obj1
= 0 ;
35609 PyObject
* obj2
= 0 ;
35610 char * kwnames
[] = {
35611 (char *) "self",(char *) "id",(char *) "greyout", NULL
35614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35616 if (!SWIG_IsOK(res1
)) {
35617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35619 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35621 if (!SWIG_IsOK(ecode2
)) {
35622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35624 arg2
= static_cast< int >(val2
);
35626 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35627 if (!SWIG_IsOK(ecode3
)) {
35628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35630 arg3
= static_cast< bool >(val3
);
35633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35634 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35635 wxPyEndAllowThreads(__tstate
);
35636 if (PyErr_Occurred()) SWIG_fail
;
35638 resultobj
= SWIG_Py_Void();
35645 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(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_GetIdGreyedOut",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_GetIdGreyedOut" "', 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_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35670 arg2
= static_cast< int >(val2
);
35672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35673 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35674 wxPyEndAllowThreads(__tstate
);
35675 if (PyErr_Occurred()) SWIG_fail
;
35678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35686 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35687 PyObject
*resultobj
= 0;
35688 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35691 int arg4
= (int) 1 ;
35692 wxColour
const &arg5_defvalue
= *wxWHITE
;
35693 wxColour
*arg5
= (wxColour
*) &arg5_defvalue
;
35694 PyObject
*result
= 0 ;
35704 PyObject
* obj0
= 0 ;
35705 PyObject
* obj1
= 0 ;
35706 PyObject
* obj2
= 0 ;
35707 PyObject
* obj3
= 0 ;
35708 PyObject
* obj4
= 0 ;
35709 char * kwnames
[] = {
35710 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35715 if (!SWIG_IsOK(res1
)) {
35716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35718 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35720 if (!SWIG_IsOK(ecode2
)) {
35721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35723 arg2
= static_cast< int >(val2
);
35724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35725 if (!SWIG_IsOK(ecode3
)) {
35726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35728 arg3
= static_cast< int >(val3
);
35730 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35731 if (!SWIG_IsOK(ecode4
)) {
35732 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35734 arg4
= static_cast< int >(val4
);
35739 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
35743 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColour
const &)*arg5
);
35744 if (PyErr_Occurred()) SWIG_fail
;
35746 resultobj
= result
;
35753 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35754 PyObject
*resultobj
= 0;
35755 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35758 PyObject
*result
= 0 ;
35765 PyObject
* obj0
= 0 ;
35766 PyObject
* obj1
= 0 ;
35767 PyObject
* obj2
= 0 ;
35768 char * kwnames
[] = {
35769 (char *) "self",(char *) "x",(char *) "y", NULL
35772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35774 if (!SWIG_IsOK(res1
)) {
35775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35777 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35779 if (!SWIG_IsOK(ecode2
)) {
35780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35782 arg2
= static_cast< int >(val2
);
35783 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35784 if (!SWIG_IsOK(ecode3
)) {
35785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35787 arg3
= static_cast< int >(val3
);
35789 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35790 if (PyErr_Occurred()) SWIG_fail
;
35792 resultobj
= result
;
35799 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35800 PyObject
*resultobj
= 0;
35801 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35803 wxDC
*arg3
= (wxDC
*) 0 ;
35810 PyObject
* obj0
= 0 ;
35811 PyObject
* obj1
= 0 ;
35812 PyObject
* obj2
= 0 ;
35813 char * kwnames
[] = {
35814 (char *) "self",(char *) "id",(char *) "dc", NULL
35817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35819 if (!SWIG_IsOK(res1
)) {
35820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35822 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35824 if (!SWIG_IsOK(ecode2
)) {
35825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35827 arg2
= static_cast< int >(val2
);
35828 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35829 if (!SWIG_IsOK(res3
)) {
35830 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35832 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35835 (arg1
)->DrawIdToDC(arg2
,arg3
);
35836 wxPyEndAllowThreads(__tstate
);
35837 if (PyErr_Occurred()) SWIG_fail
;
35839 resultobj
= SWIG_Py_Void();
35846 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35847 PyObject
*resultobj
= 0;
35848 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35856 PyObject
* obj0
= 0 ;
35857 PyObject
* obj1
= 0 ;
35858 PyObject
* obj2
= 0 ;
35859 char * kwnames
[] = {
35860 (char *) "self",(char *) "id",(char *) "rect", NULL
35863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35865 if (!SWIG_IsOK(res1
)) {
35866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35868 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35870 if (!SWIG_IsOK(ecode2
)) {
35871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35873 arg2
= static_cast< int >(val2
);
35876 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35880 (arg1
)->SetIdBounds(arg2
,*arg3
);
35881 wxPyEndAllowThreads(__tstate
);
35882 if (PyErr_Occurred()) SWIG_fail
;
35884 resultobj
= SWIG_Py_Void();
35891 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35892 PyObject
*resultobj
= 0;
35893 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35900 PyObject
* obj0
= 0 ;
35901 PyObject
* obj1
= 0 ;
35902 char * kwnames
[] = {
35903 (char *) "self",(char *) "id", NULL
35906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35908 if (!SWIG_IsOK(res1
)) {
35909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35911 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35913 if (!SWIG_IsOK(ecode2
)) {
35914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35916 arg2
= static_cast< int >(val2
);
35918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35919 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35920 wxPyEndAllowThreads(__tstate
);
35921 if (PyErr_Occurred()) SWIG_fail
;
35923 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35930 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35931 PyObject
*resultobj
= 0;
35932 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35933 wxDC
*arg2
= (wxDC
*) 0 ;
35940 PyObject
* obj0
= 0 ;
35941 PyObject
* obj1
= 0 ;
35942 PyObject
* obj2
= 0 ;
35943 char * kwnames
[] = {
35944 (char *) "self",(char *) "dc",(char *) "rect", NULL
35947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35949 if (!SWIG_IsOK(res1
)) {
35950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35952 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35953 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35954 if (!SWIG_IsOK(res2
)) {
35955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35957 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35960 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35964 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35965 wxPyEndAllowThreads(__tstate
);
35966 if (PyErr_Occurred()) SWIG_fail
;
35968 resultobj
= SWIG_Py_Void();
35975 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35976 PyObject
*resultobj
= 0;
35977 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35978 wxDC
*arg2
= (wxDC
*) 0 ;
35979 wxRegion
*arg3
= 0 ;
35986 PyObject
* obj0
= 0 ;
35987 PyObject
* obj1
= 0 ;
35988 PyObject
* obj2
= 0 ;
35989 char * kwnames
[] = {
35990 (char *) "self",(char *) "dc",(char *) "region", NULL
35993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35995 if (!SWIG_IsOK(res1
)) {
35996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35998 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35999 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36000 if (!SWIG_IsOK(res2
)) {
36001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36003 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36004 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36005 if (!SWIG_IsOK(res3
)) {
36006 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36011 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36014 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36015 wxPyEndAllowThreads(__tstate
);
36016 if (PyErr_Occurred()) SWIG_fail
;
36018 resultobj
= SWIG_Py_Void();
36025 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36026 PyObject
*resultobj
= 0;
36027 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36028 wxDC
*arg2
= (wxDC
*) 0 ;
36033 PyObject
* obj0
= 0 ;
36034 PyObject
* obj1
= 0 ;
36035 char * kwnames
[] = {
36036 (char *) "self",(char *) "dc", NULL
36039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36041 if (!SWIG_IsOK(res1
)) {
36042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36044 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36045 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36046 if (!SWIG_IsOK(res2
)) {
36047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36049 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36052 (arg1
)->DrawToDC(arg2
);
36053 wxPyEndAllowThreads(__tstate
);
36054 if (PyErr_Occurred()) SWIG_fail
;
36056 resultobj
= SWIG_Py_Void();
36063 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36064 PyObject
*resultobj
= 0;
36065 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36068 wxColour
*arg4
= 0 ;
36069 int arg5
= (int) wxFLOOD_SURFACE
;
36079 PyObject
* obj0
= 0 ;
36080 PyObject
* obj1
= 0 ;
36081 PyObject
* obj2
= 0 ;
36082 PyObject
* obj3
= 0 ;
36083 PyObject
* obj4
= 0 ;
36084 char * kwnames
[] = {
36085 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36090 if (!SWIG_IsOK(res1
)) {
36091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36093 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36095 if (!SWIG_IsOK(ecode2
)) {
36096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36098 arg2
= static_cast< int >(val2
);
36099 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36100 if (!SWIG_IsOK(ecode3
)) {
36101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36103 arg3
= static_cast< int >(val3
);
36106 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36109 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36110 if (!SWIG_IsOK(ecode5
)) {
36111 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36113 arg5
= static_cast< int >(val5
);
36116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36117 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36118 wxPyEndAllowThreads(__tstate
);
36119 if (PyErr_Occurred()) SWIG_fail
;
36121 resultobj
= SWIG_Py_Void();
36128 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36129 PyObject
*resultobj
= 0;
36130 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36131 wxPoint
*arg2
= 0 ;
36132 wxColour
*arg3
= 0 ;
36133 int arg4
= (int) wxFLOOD_SURFACE
;
36140 PyObject
* obj0
= 0 ;
36141 PyObject
* obj1
= 0 ;
36142 PyObject
* obj2
= 0 ;
36143 PyObject
* obj3
= 0 ;
36144 char * kwnames
[] = {
36145 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36150 if (!SWIG_IsOK(res1
)) {
36151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36153 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36156 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36160 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36163 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36164 if (!SWIG_IsOK(ecode4
)) {
36165 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36167 arg4
= static_cast< int >(val4
);
36170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36171 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36172 wxPyEndAllowThreads(__tstate
);
36173 if (PyErr_Occurred()) SWIG_fail
;
36175 resultobj
= SWIG_Py_Void();
36182 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36183 PyObject
*resultobj
= 0;
36184 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36199 PyObject
* obj0
= 0 ;
36200 PyObject
* obj1
= 0 ;
36201 PyObject
* obj2
= 0 ;
36202 PyObject
* obj3
= 0 ;
36203 PyObject
* obj4
= 0 ;
36204 char * kwnames
[] = {
36205 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36210 if (!SWIG_IsOK(res1
)) {
36211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36213 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36215 if (!SWIG_IsOK(ecode2
)) {
36216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36218 arg2
= static_cast< int >(val2
);
36219 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36220 if (!SWIG_IsOK(ecode3
)) {
36221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36223 arg3
= static_cast< int >(val3
);
36224 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36225 if (!SWIG_IsOK(ecode4
)) {
36226 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36228 arg4
= static_cast< int >(val4
);
36229 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36230 if (!SWIG_IsOK(ecode5
)) {
36231 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36233 arg5
= static_cast< int >(val5
);
36235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36236 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36237 wxPyEndAllowThreads(__tstate
);
36238 if (PyErr_Occurred()) SWIG_fail
;
36240 resultobj
= SWIG_Py_Void();
36247 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36248 PyObject
*resultobj
= 0;
36249 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36250 wxPoint
*arg2
= 0 ;
36251 wxPoint
*arg3
= 0 ;
36256 PyObject
* obj0
= 0 ;
36257 PyObject
* obj1
= 0 ;
36258 PyObject
* obj2
= 0 ;
36259 char * kwnames
[] = {
36260 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36265 if (!SWIG_IsOK(res1
)) {
36266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36268 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36271 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36275 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36279 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36280 wxPyEndAllowThreads(__tstate
);
36281 if (PyErr_Occurred()) SWIG_fail
;
36283 resultobj
= SWIG_Py_Void();
36290 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36291 PyObject
*resultobj
= 0;
36292 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36301 PyObject
* obj0
= 0 ;
36302 PyObject
* obj1
= 0 ;
36303 PyObject
* obj2
= 0 ;
36304 char * kwnames
[] = {
36305 (char *) "self",(char *) "x",(char *) "y", NULL
36308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36310 if (!SWIG_IsOK(res1
)) {
36311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36313 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36315 if (!SWIG_IsOK(ecode2
)) {
36316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36318 arg2
= static_cast< int >(val2
);
36319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36320 if (!SWIG_IsOK(ecode3
)) {
36321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36323 arg3
= static_cast< int >(val3
);
36325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36326 (arg1
)->CrossHair(arg2
,arg3
);
36327 wxPyEndAllowThreads(__tstate
);
36328 if (PyErr_Occurred()) SWIG_fail
;
36330 resultobj
= SWIG_Py_Void();
36337 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36338 PyObject
*resultobj
= 0;
36339 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36340 wxPoint
*arg2
= 0 ;
36344 PyObject
* obj0
= 0 ;
36345 PyObject
* obj1
= 0 ;
36346 char * kwnames
[] = {
36347 (char *) "self",(char *) "pt", NULL
36350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36352 if (!SWIG_IsOK(res1
)) {
36353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36355 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36358 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36362 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36363 wxPyEndAllowThreads(__tstate
);
36364 if (PyErr_Occurred()) SWIG_fail
;
36366 resultobj
= SWIG_Py_Void();
36373 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36374 PyObject
*resultobj
= 0;
36375 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36396 PyObject
* obj0
= 0 ;
36397 PyObject
* obj1
= 0 ;
36398 PyObject
* obj2
= 0 ;
36399 PyObject
* obj3
= 0 ;
36400 PyObject
* obj4
= 0 ;
36401 PyObject
* obj5
= 0 ;
36402 PyObject
* obj6
= 0 ;
36403 char * kwnames
[] = {
36404 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36409 if (!SWIG_IsOK(res1
)) {
36410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36412 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36414 if (!SWIG_IsOK(ecode2
)) {
36415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36417 arg2
= static_cast< int >(val2
);
36418 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36419 if (!SWIG_IsOK(ecode3
)) {
36420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36422 arg3
= static_cast< int >(val3
);
36423 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36424 if (!SWIG_IsOK(ecode4
)) {
36425 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36427 arg4
= static_cast< int >(val4
);
36428 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36429 if (!SWIG_IsOK(ecode5
)) {
36430 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36432 arg5
= static_cast< int >(val5
);
36433 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36434 if (!SWIG_IsOK(ecode6
)) {
36435 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36437 arg6
= static_cast< int >(val6
);
36438 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36439 if (!SWIG_IsOK(ecode7
)) {
36440 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36442 arg7
= static_cast< int >(val7
);
36444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36445 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36446 wxPyEndAllowThreads(__tstate
);
36447 if (PyErr_Occurred()) SWIG_fail
;
36449 resultobj
= SWIG_Py_Void();
36456 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36457 PyObject
*resultobj
= 0;
36458 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36459 wxPoint
*arg2
= 0 ;
36460 wxPoint
*arg3
= 0 ;
36461 wxPoint
*arg4
= 0 ;
36467 PyObject
* obj0
= 0 ;
36468 PyObject
* obj1
= 0 ;
36469 PyObject
* obj2
= 0 ;
36470 PyObject
* obj3
= 0 ;
36471 char * kwnames
[] = {
36472 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36477 if (!SWIG_IsOK(res1
)) {
36478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36480 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36483 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36487 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36491 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36495 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36496 wxPyEndAllowThreads(__tstate
);
36497 if (PyErr_Occurred()) SWIG_fail
;
36499 resultobj
= SWIG_Py_Void();
36506 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36507 PyObject
*resultobj
= 0;
36508 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36523 PyObject
* obj0
= 0 ;
36524 PyObject
* obj1
= 0 ;
36525 PyObject
* obj2
= 0 ;
36526 PyObject
* obj3
= 0 ;
36527 PyObject
* obj4
= 0 ;
36528 char * kwnames
[] = {
36529 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36534 if (!SWIG_IsOK(res1
)) {
36535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36537 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36539 if (!SWIG_IsOK(ecode2
)) {
36540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36542 arg2
= static_cast< int >(val2
);
36543 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36544 if (!SWIG_IsOK(ecode3
)) {
36545 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36547 arg3
= static_cast< int >(val3
);
36548 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36549 if (!SWIG_IsOK(ecode4
)) {
36550 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36552 arg4
= static_cast< int >(val4
);
36553 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36554 if (!SWIG_IsOK(ecode5
)) {
36555 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36557 arg5
= static_cast< int >(val5
);
36559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36560 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36561 wxPyEndAllowThreads(__tstate
);
36562 if (PyErr_Occurred()) SWIG_fail
;
36564 resultobj
= SWIG_Py_Void();
36571 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36572 PyObject
*resultobj
= 0;
36573 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36578 PyObject
* obj0
= 0 ;
36579 PyObject
* obj1
= 0 ;
36580 char * kwnames
[] = {
36581 (char *) "self",(char *) "rect", NULL
36584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36586 if (!SWIG_IsOK(res1
)) {
36587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36589 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36592 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36596 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36597 wxPyEndAllowThreads(__tstate
);
36598 if (PyErr_Occurred()) SWIG_fail
;
36600 resultobj
= SWIG_Py_Void();
36607 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36608 PyObject
*resultobj
= 0;
36609 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36630 PyObject
* obj0
= 0 ;
36631 PyObject
* obj1
= 0 ;
36632 PyObject
* obj2
= 0 ;
36633 PyObject
* obj3
= 0 ;
36634 PyObject
* obj4
= 0 ;
36635 PyObject
* obj5
= 0 ;
36636 PyObject
* obj6
= 0 ;
36637 char * kwnames
[] = {
36638 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36643 if (!SWIG_IsOK(res1
)) {
36644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36646 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36648 if (!SWIG_IsOK(ecode2
)) {
36649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36651 arg2
= static_cast< int >(val2
);
36652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36653 if (!SWIG_IsOK(ecode3
)) {
36654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36656 arg3
= static_cast< int >(val3
);
36657 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36658 if (!SWIG_IsOK(ecode4
)) {
36659 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36661 arg4
= static_cast< int >(val4
);
36662 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36663 if (!SWIG_IsOK(ecode5
)) {
36664 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36666 arg5
= static_cast< int >(val5
);
36667 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36668 if (!SWIG_IsOK(ecode6
)) {
36669 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36671 arg6
= static_cast< double >(val6
);
36672 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36673 if (!SWIG_IsOK(ecode7
)) {
36674 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36676 arg7
= static_cast< double >(val7
);
36678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36679 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36680 wxPyEndAllowThreads(__tstate
);
36681 if (PyErr_Occurred()) SWIG_fail
;
36683 resultobj
= SWIG_Py_Void();
36690 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36691 PyObject
*resultobj
= 0;
36692 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36693 wxPoint
*arg2
= 0 ;
36705 PyObject
* obj0
= 0 ;
36706 PyObject
* obj1
= 0 ;
36707 PyObject
* obj2
= 0 ;
36708 PyObject
* obj3
= 0 ;
36709 PyObject
* obj4
= 0 ;
36710 char * kwnames
[] = {
36711 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36716 if (!SWIG_IsOK(res1
)) {
36717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36719 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36722 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36726 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36728 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36729 if (!SWIG_IsOK(ecode4
)) {
36730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36732 arg4
= static_cast< double >(val4
);
36733 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36734 if (!SWIG_IsOK(ecode5
)) {
36735 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36737 arg5
= static_cast< double >(val5
);
36739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36740 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36741 wxPyEndAllowThreads(__tstate
);
36742 if (PyErr_Occurred()) SWIG_fail
;
36744 resultobj
= SWIG_Py_Void();
36751 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36752 PyObject
*resultobj
= 0;
36753 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36762 PyObject
* obj0
= 0 ;
36763 PyObject
* obj1
= 0 ;
36764 PyObject
* obj2
= 0 ;
36765 char * kwnames
[] = {
36766 (char *) "self",(char *) "x",(char *) "y", NULL
36769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36771 if (!SWIG_IsOK(res1
)) {
36772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36774 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36776 if (!SWIG_IsOK(ecode2
)) {
36777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36779 arg2
= static_cast< int >(val2
);
36780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36781 if (!SWIG_IsOK(ecode3
)) {
36782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36784 arg3
= static_cast< int >(val3
);
36786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36787 (arg1
)->DrawPoint(arg2
,arg3
);
36788 wxPyEndAllowThreads(__tstate
);
36789 if (PyErr_Occurred()) SWIG_fail
;
36791 resultobj
= SWIG_Py_Void();
36798 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36799 PyObject
*resultobj
= 0;
36800 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36801 wxPoint
*arg2
= 0 ;
36805 PyObject
* obj0
= 0 ;
36806 PyObject
* obj1
= 0 ;
36807 char * kwnames
[] = {
36808 (char *) "self",(char *) "pt", NULL
36811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36813 if (!SWIG_IsOK(res1
)) {
36814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36816 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36819 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36823 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36824 wxPyEndAllowThreads(__tstate
);
36825 if (PyErr_Occurred()) SWIG_fail
;
36827 resultobj
= SWIG_Py_Void();
36834 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36835 PyObject
*resultobj
= 0;
36836 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36851 PyObject
* obj0
= 0 ;
36852 PyObject
* obj1
= 0 ;
36853 PyObject
* obj2
= 0 ;
36854 PyObject
* obj3
= 0 ;
36855 PyObject
* obj4
= 0 ;
36856 char * kwnames
[] = {
36857 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36862 if (!SWIG_IsOK(res1
)) {
36863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36865 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36867 if (!SWIG_IsOK(ecode2
)) {
36868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36870 arg2
= static_cast< int >(val2
);
36871 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36872 if (!SWIG_IsOK(ecode3
)) {
36873 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36875 arg3
= static_cast< int >(val3
);
36876 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36877 if (!SWIG_IsOK(ecode4
)) {
36878 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36880 arg4
= static_cast< int >(val4
);
36881 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36882 if (!SWIG_IsOK(ecode5
)) {
36883 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36885 arg5
= static_cast< int >(val5
);
36887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36888 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36889 wxPyEndAllowThreads(__tstate
);
36890 if (PyErr_Occurred()) SWIG_fail
;
36892 resultobj
= SWIG_Py_Void();
36899 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36900 PyObject
*resultobj
= 0;
36901 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36906 PyObject
* obj0
= 0 ;
36907 PyObject
* obj1
= 0 ;
36908 char * kwnames
[] = {
36909 (char *) "self",(char *) "rect", NULL
36912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36914 if (!SWIG_IsOK(res1
)) {
36915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36917 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36920 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36924 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36925 wxPyEndAllowThreads(__tstate
);
36926 if (PyErr_Occurred()) SWIG_fail
;
36928 resultobj
= SWIG_Py_Void();
36935 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36936 PyObject
*resultobj
= 0;
36937 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36938 wxPoint
*arg2
= 0 ;
36944 PyObject
* obj0
= 0 ;
36945 PyObject
* obj1
= 0 ;
36946 PyObject
* obj2
= 0 ;
36947 char * kwnames
[] = {
36948 (char *) "self",(char *) "pt",(char *) "sz", NULL
36951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36953 if (!SWIG_IsOK(res1
)) {
36954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36956 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36959 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36963 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36967 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36968 wxPyEndAllowThreads(__tstate
);
36969 if (PyErr_Occurred()) SWIG_fail
;
36971 resultobj
= SWIG_Py_Void();
36978 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36979 PyObject
*resultobj
= 0;
36980 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36998 PyObject
* obj0
= 0 ;
36999 PyObject
* obj1
= 0 ;
37000 PyObject
* obj2
= 0 ;
37001 PyObject
* obj3
= 0 ;
37002 PyObject
* obj4
= 0 ;
37003 PyObject
* obj5
= 0 ;
37004 char * kwnames
[] = {
37005 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37010 if (!SWIG_IsOK(res1
)) {
37011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37013 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37015 if (!SWIG_IsOK(ecode2
)) {
37016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37018 arg2
= static_cast< int >(val2
);
37019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37020 if (!SWIG_IsOK(ecode3
)) {
37021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37023 arg3
= static_cast< int >(val3
);
37024 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37025 if (!SWIG_IsOK(ecode4
)) {
37026 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37028 arg4
= static_cast< int >(val4
);
37029 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37030 if (!SWIG_IsOK(ecode5
)) {
37031 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37033 arg5
= static_cast< int >(val5
);
37034 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37035 if (!SWIG_IsOK(ecode6
)) {
37036 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37038 arg6
= static_cast< double >(val6
);
37040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37041 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37042 wxPyEndAllowThreads(__tstate
);
37043 if (PyErr_Occurred()) SWIG_fail
;
37045 resultobj
= SWIG_Py_Void();
37052 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37053 PyObject
*resultobj
= 0;
37054 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37062 PyObject
* obj0
= 0 ;
37063 PyObject
* obj1
= 0 ;
37064 PyObject
* obj2
= 0 ;
37065 char * kwnames
[] = {
37066 (char *) "self",(char *) "r",(char *) "radius", NULL
37069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37071 if (!SWIG_IsOK(res1
)) {
37072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37074 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37077 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37079 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37080 if (!SWIG_IsOK(ecode3
)) {
37081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37083 arg3
= static_cast< double >(val3
);
37085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37086 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37087 wxPyEndAllowThreads(__tstate
);
37088 if (PyErr_Occurred()) SWIG_fail
;
37090 resultobj
= SWIG_Py_Void();
37097 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37098 PyObject
*resultobj
= 0;
37099 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37100 wxPoint
*arg2
= 0 ;
37109 PyObject
* obj0
= 0 ;
37110 PyObject
* obj1
= 0 ;
37111 PyObject
* obj2
= 0 ;
37112 PyObject
* obj3
= 0 ;
37113 char * kwnames
[] = {
37114 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37119 if (!SWIG_IsOK(res1
)) {
37120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37122 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37125 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37129 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37131 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37132 if (!SWIG_IsOK(ecode4
)) {
37133 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37135 arg4
= static_cast< double >(val4
);
37137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37138 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37139 wxPyEndAllowThreads(__tstate
);
37140 if (PyErr_Occurred()) SWIG_fail
;
37142 resultobj
= SWIG_Py_Void();
37149 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37150 PyObject
*resultobj
= 0;
37151 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37163 PyObject
* obj0
= 0 ;
37164 PyObject
* obj1
= 0 ;
37165 PyObject
* obj2
= 0 ;
37166 PyObject
* obj3
= 0 ;
37167 char * kwnames
[] = {
37168 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37173 if (!SWIG_IsOK(res1
)) {
37174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37176 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37178 if (!SWIG_IsOK(ecode2
)) {
37179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37181 arg2
= static_cast< int >(val2
);
37182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37183 if (!SWIG_IsOK(ecode3
)) {
37184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37186 arg3
= static_cast< int >(val3
);
37187 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37188 if (!SWIG_IsOK(ecode4
)) {
37189 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37191 arg4
= static_cast< int >(val4
);
37193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37194 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37195 wxPyEndAllowThreads(__tstate
);
37196 if (PyErr_Occurred()) SWIG_fail
;
37198 resultobj
= SWIG_Py_Void();
37205 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37206 PyObject
*resultobj
= 0;
37207 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37208 wxPoint
*arg2
= 0 ;
37215 PyObject
* obj0
= 0 ;
37216 PyObject
* obj1
= 0 ;
37217 PyObject
* obj2
= 0 ;
37218 char * kwnames
[] = {
37219 (char *) "self",(char *) "pt",(char *) "radius", NULL
37222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37224 if (!SWIG_IsOK(res1
)) {
37225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37227 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37230 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37233 if (!SWIG_IsOK(ecode3
)) {
37234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37236 arg3
= static_cast< int >(val3
);
37238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37239 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37240 wxPyEndAllowThreads(__tstate
);
37241 if (PyErr_Occurred()) SWIG_fail
;
37243 resultobj
= SWIG_Py_Void();
37250 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37251 PyObject
*resultobj
= 0;
37252 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37267 PyObject
* obj0
= 0 ;
37268 PyObject
* obj1
= 0 ;
37269 PyObject
* obj2
= 0 ;
37270 PyObject
* obj3
= 0 ;
37271 PyObject
* obj4
= 0 ;
37272 char * kwnames
[] = {
37273 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37278 if (!SWIG_IsOK(res1
)) {
37279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37281 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37283 if (!SWIG_IsOK(ecode2
)) {
37284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37286 arg2
= static_cast< int >(val2
);
37287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37288 if (!SWIG_IsOK(ecode3
)) {
37289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37291 arg3
= static_cast< int >(val3
);
37292 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37293 if (!SWIG_IsOK(ecode4
)) {
37294 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37296 arg4
= static_cast< int >(val4
);
37297 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37298 if (!SWIG_IsOK(ecode5
)) {
37299 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37301 arg5
= static_cast< int >(val5
);
37303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37304 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37305 wxPyEndAllowThreads(__tstate
);
37306 if (PyErr_Occurred()) SWIG_fail
;
37308 resultobj
= SWIG_Py_Void();
37315 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37316 PyObject
*resultobj
= 0;
37317 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37322 PyObject
* obj0
= 0 ;
37323 PyObject
* obj1
= 0 ;
37324 char * kwnames
[] = {
37325 (char *) "self",(char *) "rect", NULL
37328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37330 if (!SWIG_IsOK(res1
)) {
37331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37333 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37336 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37340 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37341 wxPyEndAllowThreads(__tstate
);
37342 if (PyErr_Occurred()) SWIG_fail
;
37344 resultobj
= SWIG_Py_Void();
37351 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37352 PyObject
*resultobj
= 0;
37353 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37354 wxPoint
*arg2
= 0 ;
37360 PyObject
* obj0
= 0 ;
37361 PyObject
* obj1
= 0 ;
37362 PyObject
* obj2
= 0 ;
37363 char * kwnames
[] = {
37364 (char *) "self",(char *) "pt",(char *) "sz", NULL
37367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37369 if (!SWIG_IsOK(res1
)) {
37370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37372 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37375 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37379 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37383 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37384 wxPyEndAllowThreads(__tstate
);
37385 if (PyErr_Occurred()) SWIG_fail
;
37387 resultobj
= SWIG_Py_Void();
37394 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37395 PyObject
*resultobj
= 0;
37396 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37408 PyObject
* obj0
= 0 ;
37409 PyObject
* obj1
= 0 ;
37410 PyObject
* obj2
= 0 ;
37411 PyObject
* obj3
= 0 ;
37412 char * kwnames
[] = {
37413 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37418 if (!SWIG_IsOK(res1
)) {
37419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37421 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37422 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37423 if (!SWIG_IsOK(res2
)) {
37424 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37429 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37430 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37431 if (!SWIG_IsOK(ecode3
)) {
37432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37434 arg3
= static_cast< int >(val3
);
37435 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37436 if (!SWIG_IsOK(ecode4
)) {
37437 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37439 arg4
= static_cast< int >(val4
);
37441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37442 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37443 wxPyEndAllowThreads(__tstate
);
37444 if (PyErr_Occurred()) SWIG_fail
;
37446 resultobj
= SWIG_Py_Void();
37453 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37454 PyObject
*resultobj
= 0;
37455 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37457 wxPoint
*arg3
= 0 ;
37463 PyObject
* obj0
= 0 ;
37464 PyObject
* obj1
= 0 ;
37465 PyObject
* obj2
= 0 ;
37466 char * kwnames
[] = {
37467 (char *) "self",(char *) "icon",(char *) "pt", NULL
37470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37472 if (!SWIG_IsOK(res1
)) {
37473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37475 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37476 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37477 if (!SWIG_IsOK(res2
)) {
37478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37483 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37486 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37490 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37491 wxPyEndAllowThreads(__tstate
);
37492 if (PyErr_Occurred()) SWIG_fail
;
37494 resultobj
= SWIG_Py_Void();
37501 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37502 PyObject
*resultobj
= 0;
37503 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37504 wxBitmap
*arg2
= 0 ;
37507 bool arg5
= (bool) false ;
37518 PyObject
* obj0
= 0 ;
37519 PyObject
* obj1
= 0 ;
37520 PyObject
* obj2
= 0 ;
37521 PyObject
* obj3
= 0 ;
37522 PyObject
* obj4
= 0 ;
37523 char * kwnames
[] = {
37524 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37529 if (!SWIG_IsOK(res1
)) {
37530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37532 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37533 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37534 if (!SWIG_IsOK(res2
)) {
37535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37540 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37542 if (!SWIG_IsOK(ecode3
)) {
37543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37545 arg3
= static_cast< int >(val3
);
37546 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37547 if (!SWIG_IsOK(ecode4
)) {
37548 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37550 arg4
= static_cast< int >(val4
);
37552 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37553 if (!SWIG_IsOK(ecode5
)) {
37554 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37556 arg5
= static_cast< bool >(val5
);
37559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37560 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37561 wxPyEndAllowThreads(__tstate
);
37562 if (PyErr_Occurred()) SWIG_fail
;
37564 resultobj
= SWIG_Py_Void();
37571 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37572 PyObject
*resultobj
= 0;
37573 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37574 wxBitmap
*arg2
= 0 ;
37575 wxPoint
*arg3
= 0 ;
37576 bool arg4
= (bool) false ;
37584 PyObject
* obj0
= 0 ;
37585 PyObject
* obj1
= 0 ;
37586 PyObject
* obj2
= 0 ;
37587 PyObject
* obj3
= 0 ;
37588 char * kwnames
[] = {
37589 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37594 if (!SWIG_IsOK(res1
)) {
37595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37597 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37598 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37599 if (!SWIG_IsOK(res2
)) {
37600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37605 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37608 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37611 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37612 if (!SWIG_IsOK(ecode4
)) {
37613 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37615 arg4
= static_cast< bool >(val4
);
37618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37619 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37620 wxPyEndAllowThreads(__tstate
);
37621 if (PyErr_Occurred()) SWIG_fail
;
37623 resultobj
= SWIG_Py_Void();
37630 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37631 PyObject
*resultobj
= 0;
37632 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37633 wxString
*arg2
= 0 ;
37638 bool temp2
= false ;
37643 PyObject
* obj0
= 0 ;
37644 PyObject
* obj1
= 0 ;
37645 PyObject
* obj2
= 0 ;
37646 PyObject
* obj3
= 0 ;
37647 char * kwnames
[] = {
37648 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37653 if (!SWIG_IsOK(res1
)) {
37654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37656 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37658 arg2
= wxString_in_helper(obj1
);
37659 if (arg2
== NULL
) SWIG_fail
;
37662 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37663 if (!SWIG_IsOK(ecode3
)) {
37664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37666 arg3
= static_cast< int >(val3
);
37667 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37668 if (!SWIG_IsOK(ecode4
)) {
37669 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37671 arg4
= static_cast< int >(val4
);
37673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37674 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37675 wxPyEndAllowThreads(__tstate
);
37676 if (PyErr_Occurred()) SWIG_fail
;
37678 resultobj
= SWIG_Py_Void();
37693 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37694 PyObject
*resultobj
= 0;
37695 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37696 wxString
*arg2
= 0 ;
37697 wxPoint
*arg3
= 0 ;
37700 bool temp2
= false ;
37702 PyObject
* obj0
= 0 ;
37703 PyObject
* obj1
= 0 ;
37704 PyObject
* obj2
= 0 ;
37705 char * kwnames
[] = {
37706 (char *) "self",(char *) "text",(char *) "pt", NULL
37709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37711 if (!SWIG_IsOK(res1
)) {
37712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37714 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37716 arg2
= wxString_in_helper(obj1
);
37717 if (arg2
== NULL
) SWIG_fail
;
37722 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37726 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37727 wxPyEndAllowThreads(__tstate
);
37728 if (PyErr_Occurred()) SWIG_fail
;
37730 resultobj
= SWIG_Py_Void();
37745 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37746 PyObject
*resultobj
= 0;
37747 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37748 wxString
*arg2
= 0 ;
37754 bool temp2
= false ;
37761 PyObject
* obj0
= 0 ;
37762 PyObject
* obj1
= 0 ;
37763 PyObject
* obj2
= 0 ;
37764 PyObject
* obj3
= 0 ;
37765 PyObject
* obj4
= 0 ;
37766 char * kwnames
[] = {
37767 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37772 if (!SWIG_IsOK(res1
)) {
37773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37775 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37777 arg2
= wxString_in_helper(obj1
);
37778 if (arg2
== NULL
) SWIG_fail
;
37781 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37782 if (!SWIG_IsOK(ecode3
)) {
37783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37785 arg3
= static_cast< int >(val3
);
37786 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37787 if (!SWIG_IsOK(ecode4
)) {
37788 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37790 arg4
= static_cast< int >(val4
);
37791 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37792 if (!SWIG_IsOK(ecode5
)) {
37793 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37795 arg5
= static_cast< double >(val5
);
37797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37798 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37799 wxPyEndAllowThreads(__tstate
);
37800 if (PyErr_Occurred()) SWIG_fail
;
37802 resultobj
= SWIG_Py_Void();
37817 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37818 PyObject
*resultobj
= 0;
37819 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37820 wxString
*arg2
= 0 ;
37821 wxPoint
*arg3
= 0 ;
37825 bool temp2
= false ;
37829 PyObject
* obj0
= 0 ;
37830 PyObject
* obj1
= 0 ;
37831 PyObject
* obj2
= 0 ;
37832 PyObject
* obj3
= 0 ;
37833 char * kwnames
[] = {
37834 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37839 if (!SWIG_IsOK(res1
)) {
37840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37842 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37844 arg2
= wxString_in_helper(obj1
);
37845 if (arg2
== NULL
) SWIG_fail
;
37850 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37852 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37853 if (!SWIG_IsOK(ecode4
)) {
37854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37856 arg4
= static_cast< double >(val4
);
37858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37859 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37860 wxPyEndAllowThreads(__tstate
);
37861 if (PyErr_Occurred()) SWIG_fail
;
37863 resultobj
= SWIG_Py_Void();
37878 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37879 PyObject
*resultobj
= 0;
37880 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37882 wxPoint
*arg3
= (wxPoint
*) 0 ;
37883 int arg4
= (int) 0 ;
37884 int arg5
= (int) 0 ;
37891 PyObject
* obj0
= 0 ;
37892 PyObject
* obj1
= 0 ;
37893 PyObject
* obj2
= 0 ;
37894 PyObject
* obj3
= 0 ;
37895 char * kwnames
[] = {
37896 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37901 if (!SWIG_IsOK(res1
)) {
37902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37904 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37906 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37907 if (arg3
== NULL
) SWIG_fail
;
37910 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37911 if (!SWIG_IsOK(ecode4
)) {
37912 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37914 arg4
= static_cast< int >(val4
);
37917 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37918 if (!SWIG_IsOK(ecode5
)) {
37919 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37921 arg5
= static_cast< int >(val5
);
37924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37925 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37926 wxPyEndAllowThreads(__tstate
);
37927 if (PyErr_Occurred()) SWIG_fail
;
37929 resultobj
= SWIG_Py_Void();
37931 if (arg3
) delete [] arg3
;
37936 if (arg3
) delete [] arg3
;
37942 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37943 PyObject
*resultobj
= 0;
37944 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37946 wxPoint
*arg3
= (wxPoint
*) 0 ;
37947 int arg4
= (int) 0 ;
37948 int arg5
= (int) 0 ;
37949 int arg6
= (int) wxODDEVEN_RULE
;
37958 PyObject
* obj0
= 0 ;
37959 PyObject
* obj1
= 0 ;
37960 PyObject
* obj2
= 0 ;
37961 PyObject
* obj3
= 0 ;
37962 PyObject
* obj4
= 0 ;
37963 char * kwnames
[] = {
37964 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37969 if (!SWIG_IsOK(res1
)) {
37970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37972 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37974 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37975 if (arg3
== NULL
) SWIG_fail
;
37978 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37979 if (!SWIG_IsOK(ecode4
)) {
37980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37982 arg4
= static_cast< int >(val4
);
37985 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37986 if (!SWIG_IsOK(ecode5
)) {
37987 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37989 arg5
= static_cast< int >(val5
);
37992 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37993 if (!SWIG_IsOK(ecode6
)) {
37994 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37996 arg6
= static_cast< int >(val6
);
37999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38000 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38001 wxPyEndAllowThreads(__tstate
);
38002 if (PyErr_Occurred()) SWIG_fail
;
38004 resultobj
= SWIG_Py_Void();
38006 if (arg3
) delete [] arg3
;
38011 if (arg3
) delete [] arg3
;
38017 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38018 PyObject
*resultobj
= 0;
38019 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38020 wxString
*arg2
= 0 ;
38022 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38023 int arg5
= (int) -1 ;
38026 bool temp2
= false ;
38032 PyObject
* obj0
= 0 ;
38033 PyObject
* obj1
= 0 ;
38034 PyObject
* obj2
= 0 ;
38035 PyObject
* obj3
= 0 ;
38036 PyObject
* obj4
= 0 ;
38037 char * kwnames
[] = {
38038 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38043 if (!SWIG_IsOK(res1
)) {
38044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38046 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38048 arg2
= wxString_in_helper(obj1
);
38049 if (arg2
== NULL
) SWIG_fail
;
38054 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38057 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38058 if (!SWIG_IsOK(ecode4
)) {
38059 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38061 arg4
= static_cast< int >(val4
);
38064 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38065 if (!SWIG_IsOK(ecode5
)) {
38066 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38068 arg5
= static_cast< int >(val5
);
38071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38072 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38073 wxPyEndAllowThreads(__tstate
);
38074 if (PyErr_Occurred()) SWIG_fail
;
38076 resultobj
= SWIG_Py_Void();
38091 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38092 PyObject
*resultobj
= 0;
38093 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38094 wxString
*arg2
= 0 ;
38095 wxBitmap
*arg3
= 0 ;
38097 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38098 int arg6
= (int) -1 ;
38101 bool temp2
= false ;
38109 PyObject
* obj0
= 0 ;
38110 PyObject
* obj1
= 0 ;
38111 PyObject
* obj2
= 0 ;
38112 PyObject
* obj3
= 0 ;
38113 PyObject
* obj4
= 0 ;
38114 PyObject
* obj5
= 0 ;
38115 char * kwnames
[] = {
38116 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38121 if (!SWIG_IsOK(res1
)) {
38122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38124 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38126 arg2
= wxString_in_helper(obj1
);
38127 if (arg2
== NULL
) SWIG_fail
;
38130 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38131 if (!SWIG_IsOK(res3
)) {
38132 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38137 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38140 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38143 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38144 if (!SWIG_IsOK(ecode5
)) {
38145 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38147 arg5
= static_cast< int >(val5
);
38150 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38151 if (!SWIG_IsOK(ecode6
)) {
38152 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38154 arg6
= static_cast< int >(val6
);
38157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38158 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38159 wxPyEndAllowThreads(__tstate
);
38160 if (PyErr_Occurred()) SWIG_fail
;
38162 resultobj
= SWIG_Py_Void();
38177 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38178 PyObject
*resultobj
= 0;
38179 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38181 wxPoint
*arg3
= (wxPoint
*) 0 ;
38184 PyObject
* obj0
= 0 ;
38185 PyObject
* obj1
= 0 ;
38186 char * kwnames
[] = {
38187 (char *) "self",(char *) "points", NULL
38190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38192 if (!SWIG_IsOK(res1
)) {
38193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38195 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38197 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38198 if (arg3
== NULL
) SWIG_fail
;
38201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38202 (arg1
)->DrawSpline(arg2
,arg3
);
38203 wxPyEndAllowThreads(__tstate
);
38204 if (PyErr_Occurred()) SWIG_fail
;
38206 resultobj
= SWIG_Py_Void();
38208 if (arg3
) delete [] arg3
;
38213 if (arg3
) delete [] arg3
;
38219 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38220 PyObject
*resultobj
= 0;
38221 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38224 PyObject
*swig_obj
[1] ;
38226 if (!args
) SWIG_fail
;
38227 swig_obj
[0] = args
;
38228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38229 if (!SWIG_IsOK(res1
)) {
38230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38232 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38236 wxPyEndAllowThreads(__tstate
);
38237 if (PyErr_Occurred()) SWIG_fail
;
38239 resultobj
= SWIG_Py_Void();
38246 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38247 PyObject
*resultobj
= 0;
38248 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38254 PyObject
* obj0
= 0 ;
38255 PyObject
* obj1
= 0 ;
38256 char * kwnames
[] = {
38257 (char *) "self",(char *) "font", NULL
38260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38262 if (!SWIG_IsOK(res1
)) {
38263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38265 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38266 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38267 if (!SWIG_IsOK(res2
)) {
38268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38273 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38276 (arg1
)->SetFont((wxFont
const &)*arg2
);
38277 wxPyEndAllowThreads(__tstate
);
38278 if (PyErr_Occurred()) SWIG_fail
;
38280 resultobj
= SWIG_Py_Void();
38287 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38288 PyObject
*resultobj
= 0;
38289 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38295 PyObject
* obj0
= 0 ;
38296 PyObject
* obj1
= 0 ;
38297 char * kwnames
[] = {
38298 (char *) "self",(char *) "pen", NULL
38301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38303 if (!SWIG_IsOK(res1
)) {
38304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38306 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38307 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38308 if (!SWIG_IsOK(res2
)) {
38309 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38312 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38314 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38317 (arg1
)->SetPen((wxPen
const &)*arg2
);
38318 wxPyEndAllowThreads(__tstate
);
38319 if (PyErr_Occurred()) SWIG_fail
;
38321 resultobj
= SWIG_Py_Void();
38328 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38329 PyObject
*resultobj
= 0;
38330 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38331 wxBrush
*arg2
= 0 ;
38336 PyObject
* obj0
= 0 ;
38337 PyObject
* obj1
= 0 ;
38338 char * kwnames
[] = {
38339 (char *) "self",(char *) "brush", NULL
38342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38344 if (!SWIG_IsOK(res1
)) {
38345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38347 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38348 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38349 if (!SWIG_IsOK(res2
)) {
38350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38355 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38358 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38359 wxPyEndAllowThreads(__tstate
);
38360 if (PyErr_Occurred()) SWIG_fail
;
38362 resultobj
= SWIG_Py_Void();
38369 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38370 PyObject
*resultobj
= 0;
38371 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38372 wxBrush
*arg2
= 0 ;
38377 PyObject
* obj0
= 0 ;
38378 PyObject
* obj1
= 0 ;
38379 char * kwnames
[] = {
38380 (char *) "self",(char *) "brush", NULL
38383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38385 if (!SWIG_IsOK(res1
)) {
38386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38388 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38389 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38390 if (!SWIG_IsOK(res2
)) {
38391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38394 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38396 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38399 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38400 wxPyEndAllowThreads(__tstate
);
38401 if (PyErr_Occurred()) SWIG_fail
;
38403 resultobj
= SWIG_Py_Void();
38410 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38411 PyObject
*resultobj
= 0;
38412 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38418 PyObject
* obj0
= 0 ;
38419 PyObject
* obj1
= 0 ;
38420 char * kwnames
[] = {
38421 (char *) "self",(char *) "mode", NULL
38424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38426 if (!SWIG_IsOK(res1
)) {
38427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38429 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38431 if (!SWIG_IsOK(ecode2
)) {
38432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38434 arg2
= static_cast< int >(val2
);
38436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38437 (arg1
)->SetBackgroundMode(arg2
);
38438 wxPyEndAllowThreads(__tstate
);
38439 if (PyErr_Occurred()) SWIG_fail
;
38441 resultobj
= SWIG_Py_Void();
38448 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38449 PyObject
*resultobj
= 0;
38450 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38451 wxPalette
*arg2
= 0 ;
38456 PyObject
* obj0
= 0 ;
38457 PyObject
* obj1
= 0 ;
38458 char * kwnames
[] = {
38459 (char *) "self",(char *) "palette", NULL
38462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38464 if (!SWIG_IsOK(res1
)) {
38465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38467 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38468 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38469 if (!SWIG_IsOK(res2
)) {
38470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38475 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38478 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38479 wxPyEndAllowThreads(__tstate
);
38480 if (PyErr_Occurred()) SWIG_fail
;
38482 resultobj
= SWIG_Py_Void();
38489 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38490 PyObject
*resultobj
= 0;
38491 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38492 wxColour
*arg2
= 0 ;
38496 PyObject
* obj0
= 0 ;
38497 PyObject
* obj1
= 0 ;
38498 char * kwnames
[] = {
38499 (char *) "self",(char *) "colour", NULL
38502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38504 if (!SWIG_IsOK(res1
)) {
38505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38507 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38510 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38514 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38515 wxPyEndAllowThreads(__tstate
);
38516 if (PyErr_Occurred()) SWIG_fail
;
38518 resultobj
= SWIG_Py_Void();
38525 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38526 PyObject
*resultobj
= 0;
38527 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38528 wxColour
*arg2
= 0 ;
38532 PyObject
* obj0
= 0 ;
38533 PyObject
* obj1
= 0 ;
38534 char * kwnames
[] = {
38535 (char *) "self",(char *) "colour", NULL
38538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38540 if (!SWIG_IsOK(res1
)) {
38541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38543 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38546 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38550 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38551 wxPyEndAllowThreads(__tstate
);
38552 if (PyErr_Occurred()) SWIG_fail
;
38554 resultobj
= SWIG_Py_Void();
38561 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38562 PyObject
*resultobj
= 0;
38563 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38569 PyObject
* obj0
= 0 ;
38570 PyObject
* obj1
= 0 ;
38571 char * kwnames
[] = {
38572 (char *) "self",(char *) "function", NULL
38575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38577 if (!SWIG_IsOK(res1
)) {
38578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38580 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38582 if (!SWIG_IsOK(ecode2
)) {
38583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38585 arg2
= static_cast< int >(val2
);
38587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38588 (arg1
)->SetLogicalFunction(arg2
);
38589 wxPyEndAllowThreads(__tstate
);
38590 if (PyErr_Occurred()) SWIG_fail
;
38592 resultobj
= SWIG_Py_Void();
38599 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38601 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38602 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38603 return SWIG_Py_Void();
38606 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38607 return SWIG_Python_InitShadowInstance(args
);
38610 static PyMethodDef SwigMethods
[] = {
38611 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38612 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38613 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38614 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38615 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38616 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38617 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38618 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38619 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38620 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38621 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38622 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38623 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38624 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38625 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38626 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38627 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38628 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38629 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38630 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38631 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38632 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38633 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38634 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38635 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38636 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38637 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38638 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38639 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38640 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38641 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38642 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38643 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38644 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38645 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38646 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38647 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38648 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38649 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38650 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38651 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38652 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38653 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38654 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38655 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38656 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38657 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38658 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38659 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38660 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38661 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38662 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38663 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38664 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38665 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38666 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38667 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38668 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38669 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38670 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38671 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38672 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38673 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38674 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38675 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
38676 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38677 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38678 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38679 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38680 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38681 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38682 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38683 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38684 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38685 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38686 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38687 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38688 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38689 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38690 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38691 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38692 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38693 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38694 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38695 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38696 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38697 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38698 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38699 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38701 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38702 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38703 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38708 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38709 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38710 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38711 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38713 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38714 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38715 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38716 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38717 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38718 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38719 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38720 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38721 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38722 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38723 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38724 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38725 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38726 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38727 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38728 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38729 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38730 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38731 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38734 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38736 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38737 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38738 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38739 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38740 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38741 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38742 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38743 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38744 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38745 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38746 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38747 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38748 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38749 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38750 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38751 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38752 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38753 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38754 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38755 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38756 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38757 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38758 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38759 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38760 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38761 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38762 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38763 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38764 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38765 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38766 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38767 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38768 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38769 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38770 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38771 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38772 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38773 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38775 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38777 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38778 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38779 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38780 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38781 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38782 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38783 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38784 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38785 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38786 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38787 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38788 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38789 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38790 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38791 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38792 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38793 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38794 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38795 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38796 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38797 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38798 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38799 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38800 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38801 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38802 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38803 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38804 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38805 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38806 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38807 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38808 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38809 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38810 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38811 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38812 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38813 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38814 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38815 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38816 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38817 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38818 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38820 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38821 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38823 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38824 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38825 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38826 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38827 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38828 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38829 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38830 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38831 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38832 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38833 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38834 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38835 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38836 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38837 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38838 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38839 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38840 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38841 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38842 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38843 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38844 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38845 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38846 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38847 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38848 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38849 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38850 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38851 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38852 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38853 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38855 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38856 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38857 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38858 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38859 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38860 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38861 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38863 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38864 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38865 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38866 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38867 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38868 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38869 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38870 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38871 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38873 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38874 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38875 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38876 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38877 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38878 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38879 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38880 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38881 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38882 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38883 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38884 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38885 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38886 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38887 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38888 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38889 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38890 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38891 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38892 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38893 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38895 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38896 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38898 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38899 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38900 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38902 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38903 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38904 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38905 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38906 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38907 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38909 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38910 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38911 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38912 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38913 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38914 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38915 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38916 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38917 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38918 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38919 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38920 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38921 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38922 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38923 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38924 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38925 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38926 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38927 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38928 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38929 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38931 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38932 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38933 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38934 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38936 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38937 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38938 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38939 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38940 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38941 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38942 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38944 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38945 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38946 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38947 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38948 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38949 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38950 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38952 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38953 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38954 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38955 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38956 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38957 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38958 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38959 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38960 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38961 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38962 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38963 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38964 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38965 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38967 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38968 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38969 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38970 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38971 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38972 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38973 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38974 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38975 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38976 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38977 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38978 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38980 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38981 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38982 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38983 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38984 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38985 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38986 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38987 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38988 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38989 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38991 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38992 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38993 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38995 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38996 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38997 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38998 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38999 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39000 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39001 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39002 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39003 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39004 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39005 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39006 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39007 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39008 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39009 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39010 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39011 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39013 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39014 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39015 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39016 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39017 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39018 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39019 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39020 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39021 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39022 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39023 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39024 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39025 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39026 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39027 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39028 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39029 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39030 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39031 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39032 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39033 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39034 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39035 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39036 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39037 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39038 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39039 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39040 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39041 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39042 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39043 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39044 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39045 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39046 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39047 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39048 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39049 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39050 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39051 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39052 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39054 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39055 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39056 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39057 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39058 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39059 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39060 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39061 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39062 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39063 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39064 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39065 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39067 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39068 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39069 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39070 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39071 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39072 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39073 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39074 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39076 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39078 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39079 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39080 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39081 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39082 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39083 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39084 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39085 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39086 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39088 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39090 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39091 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39092 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39093 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39094 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39095 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39096 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39097 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39098 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39099 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39100 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39101 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39103 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39104 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39105 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39106 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39107 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39108 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39110 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39111 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39114 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39115 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39119 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39121 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39122 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39123 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39124 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39125 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39126 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39127 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39128 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39129 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39130 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39131 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39132 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39138 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39140 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39141 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39142 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39144 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39145 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39146 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39147 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39148 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39149 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39150 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39151 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39152 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39153 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39154 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39155 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39157 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39158 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39159 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39160 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39162 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39163 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39165 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39166 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39168 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39169 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39171 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39172 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39173 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39174 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39175 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39176 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39177 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39178 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39180 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39181 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39182 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39184 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39185 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39187 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39188 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39189 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39190 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39191 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39192 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39194 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39195 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39197 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39198 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39199 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39201 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39202 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39203 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39204 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39205 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39206 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39207 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39208 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39209 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39210 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39211 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39212 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39214 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39215 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39216 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39217 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39218 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39219 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39220 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39221 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39222 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39223 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39224 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39225 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39226 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39227 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39228 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39229 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39230 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39231 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39232 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39233 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39234 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39236 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
39237 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39238 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39239 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39240 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39241 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39242 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39243 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39246 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39247 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39248 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39249 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39250 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39251 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39253 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39254 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39255 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39256 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39257 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39258 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39259 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39260 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39261 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39262 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39264 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39265 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39266 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39267 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39268 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39269 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39270 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39273 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39279 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39280 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39281 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39282 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39283 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39284 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39285 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
39286 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39289 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39290 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39293 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39294 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39295 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39296 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39299 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39300 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39301 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39305 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39306 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39314 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39315 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39316 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39317 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39318 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39319 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39322 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39329 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39330 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39331 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39332 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39334 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39335 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39336 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39337 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39338 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39339 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39340 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39341 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39342 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39343 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39344 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39345 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39347 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39351 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39355 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39357 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39359 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39360 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39361 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39362 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39363 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39364 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39365 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39368 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39369 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39370 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39371 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39372 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39373 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39374 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39375 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39376 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39378 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39379 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39383 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39384 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39385 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39387 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39388 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39389 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39390 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39391 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39392 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39393 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39394 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39395 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39396 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39397 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39398 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39399 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39400 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39401 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39402 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39403 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39404 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39405 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39407 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39408 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39409 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39410 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39411 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39412 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39413 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39414 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39415 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39416 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39417 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39418 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39419 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39420 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39421 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39422 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39423 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39424 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39425 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39426 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39427 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39428 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39429 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39430 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39431 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39432 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39433 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39434 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39435 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39436 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39437 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39438 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39439 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39440 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39441 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39442 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39444 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39445 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39446 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39447 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39448 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39449 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39450 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39451 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39452 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39453 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39454 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39455 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39456 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39457 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39459 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39460 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39461 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39462 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39463 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39464 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39465 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39466 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39467 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39468 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39469 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39470 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39471 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39472 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39473 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39474 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39475 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39476 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39477 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39478 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39479 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39480 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39481 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39482 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39483 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39484 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39492 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39493 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39495 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39496 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39497 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39498 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39500 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39501 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39502 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39503 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39504 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39505 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39506 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39507 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39508 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39509 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39510 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39511 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39512 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39513 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39514 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39515 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39516 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39517 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39518 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39519 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39520 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39521 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39522 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39523 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39524 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39527 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39528 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39529 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39530 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39532 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39534 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39535 { NULL
, NULL
, 0, NULL
}
39539 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39541 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39542 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39544 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39545 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39547 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39548 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39550 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39551 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39553 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39554 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39556 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39557 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39559 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39560 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39562 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39563 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39565 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39566 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39568 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39569 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39571 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39572 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39574 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39575 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39577 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39578 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39580 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39581 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39583 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39584 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39586 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39587 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39589 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39590 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39592 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39593 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39595 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39596 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39598 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39599 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39601 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39602 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39604 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39605 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39607 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39608 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39610 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39611 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39613 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39614 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39616 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39617 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39619 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39620 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39622 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39623 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39625 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39626 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39628 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39629 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39631 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39632 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39634 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39635 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39637 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39638 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39640 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39641 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39643 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39644 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39646 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39647 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39649 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39650 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39652 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39653 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39655 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39656 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39658 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39659 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39661 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39662 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39664 static void *_p_wxPenTo_p_wxObject(void *x
) {
39665 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39667 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39668 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39670 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
39671 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
39673 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39674 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39676 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39677 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39679 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39680 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39682 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39683 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39685 static void *_p_wxIconTo_p_wxObject(void *x
) {
39686 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39688 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39689 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39691 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39692 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39694 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39695 return (void *)((wxObject
*) ((wxSizer
*) x
));
39697 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39698 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39700 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39701 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39703 static void *_p_wxEventTo_p_wxObject(void *x
) {
39704 return (void *)((wxObject
*) ((wxEvent
*) x
));
39706 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39707 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39709 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39710 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39712 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39713 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39715 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39716 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39718 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39719 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39721 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39722 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39724 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39725 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39727 static void *_p_wxDCTo_p_wxObject(void *x
) {
39728 return (void *)((wxObject
*) ((wxDC
*) x
));
39730 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39731 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39733 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39734 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39736 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39737 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39739 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39740 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39742 static void *_p_wxControlTo_p_wxObject(void *x
) {
39743 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39745 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39746 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39748 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39749 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39751 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39752 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39754 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39755 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39757 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39758 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39760 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39761 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39763 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39764 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39766 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39767 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39769 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39770 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39772 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39773 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39775 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39776 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39778 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39779 return (void *)((wxObject
*) ((wxEffects
*) x
));
39781 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39782 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39784 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39785 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39787 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39788 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39790 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39791 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39793 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39794 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39796 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39797 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39799 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39800 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39802 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39803 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39805 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39806 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39808 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39809 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39811 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39812 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39814 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39815 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39817 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39818 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39820 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39821 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39823 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39824 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39826 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39827 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39829 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39830 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39832 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39833 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39835 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39836 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39838 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39839 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39841 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39842 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39844 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39845 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39847 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39848 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39850 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39851 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39853 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39854 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39856 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39857 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39859 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39860 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39862 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39863 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39865 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39866 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39868 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39869 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39871 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39872 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39874 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39875 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39877 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39878 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39880 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39881 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39883 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39884 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39886 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39887 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39889 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39890 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39892 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39893 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39895 static void *_p_wxImageTo_p_wxObject(void *x
) {
39896 return (void *)((wxObject
*) ((wxImage
*) x
));
39898 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39899 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39901 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39902 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39904 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39905 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39907 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39908 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39910 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39911 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39913 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39914 return (void *)((wxObject
*) ((wxImageList
*) x
));
39916 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39917 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39919 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39920 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39922 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39923 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39925 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39926 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39928 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39929 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39931 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39932 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39934 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39935 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39937 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39938 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39940 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39941 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39943 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39944 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39946 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39947 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39949 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39950 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39952 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39953 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39955 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39956 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39958 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39959 return (void *)((wxObject
*) ((wxMask
*) x
));
39961 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39962 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39964 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39965 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39967 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39968 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39970 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39971 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39973 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39974 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39976 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39977 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39979 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39980 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39982 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39983 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39985 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39986 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39988 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39989 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39991 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39992 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39994 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39995 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39997 static void *_p_wxFontTo_p_wxObject(void *x
) {
39998 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40000 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40001 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40003 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40004 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40006 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40007 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40009 static void *_p_wxColourTo_p_wxObject(void *x
) {
40010 return (void *)((wxObject
*) ((wxColour
*) x
));
40012 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40013 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40015 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40016 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40018 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40019 return (void *)((wxWindow
*) ((wxControl
*) x
));
40021 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40022 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40024 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40025 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40027 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40028 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40030 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40031 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40033 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40034 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40035 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40036 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};
40037 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40038 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40039 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40040 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40041 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40042 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40043 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40044 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40045 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40046 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40047 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40048 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40049 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40050 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40051 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40052 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40053 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40054 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40055 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40056 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40057 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40058 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40059 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40060 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40061 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40062 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40063 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40064 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40065 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40066 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40067 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40068 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40069 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40070 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40071 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40072 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40073 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40074 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40075 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40076 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40077 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40078 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40079 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40080 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40081 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40082 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40083 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40084 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40085 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40086 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40087 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40088 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40089 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40090 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40091 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40092 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40093 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40094 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40095 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40096 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40097 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40098 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
40099 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40100 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40101 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40102 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40103 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40104 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40105 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40106 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40107 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40108 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40109 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40110 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40111 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40112 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40113 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40114 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40115 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40116 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40117 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40118 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40119 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40120 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40121 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40122 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40123 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40124 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40125 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40126 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40127 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40128 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40129 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40130 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40131 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40132 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40133 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40134 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40135 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40136 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40137 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40138 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40139 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40140 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40141 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40142 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40143 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40144 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40145 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40146 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40147 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40148 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40149 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40150 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40151 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40152 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40153 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40154 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40155 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40156 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40157 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40158 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40159 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40160 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40161 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40162 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40163 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40164 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40165 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40166 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40167 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40168 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40169 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40170 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40171 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40172 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40173 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40174 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40175 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40176 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40177 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40178 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40179 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40180 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40181 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40182 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40183 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40184 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40185 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40186 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40187 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40188 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40189 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40190 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40191 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
40192 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40193 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40194 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40195 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40196 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40197 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40198 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40199 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40200 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40201 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40202 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40204 static swig_type_info
*swig_type_initial
[] = {
40208 &_swigt__p_form_ops_t
,
40210 &_swigt__p_unsigned_char
,
40211 &_swigt__p_unsigned_int
,
40212 &_swigt__p_unsigned_long
,
40214 &_swigt__p_wxANIHandler
,
40215 &_swigt__p_wxAcceleratorTable
,
40216 &_swigt__p_wxActivateEvent
,
40217 &_swigt__p_wxAlphaPixelData
,
40218 &_swigt__p_wxAlphaPixelData_Accessor
,
40219 &_swigt__p_wxAutoBufferedPaintDC
,
40220 &_swigt__p_wxBMPHandler
,
40221 &_swigt__p_wxBitmap
,
40222 &_swigt__p_wxBoxSizer
,
40223 &_swigt__p_wxBrush
,
40224 &_swigt__p_wxBrushList
,
40225 &_swigt__p_wxBufferedDC
,
40226 &_swigt__p_wxBufferedPaintDC
,
40227 &_swigt__p_wxCURHandler
,
40229 &_swigt__p_wxChildFocusEvent
,
40230 &_swigt__p_wxClientDC
,
40231 &_swigt__p_wxClipboardTextEvent
,
40232 &_swigt__p_wxCloseEvent
,
40233 &_swigt__p_wxColour
,
40234 &_swigt__p_wxColourDatabase
,
40235 &_swigt__p_wxCommandEvent
,
40236 &_swigt__p_wxContextMenuEvent
,
40237 &_swigt__p_wxControl
,
40238 &_swigt__p_wxControlWithItems
,
40239 &_swigt__p_wxCursor
,
40241 &_swigt__p_wxDCBrushChanger
,
40242 &_swigt__p_wxDCClipper
,
40243 &_swigt__p_wxDCOverlay
,
40244 &_swigt__p_wxDCPenChanger
,
40245 &_swigt__p_wxDCTextColourChanger
,
40247 &_swigt__p_wxDateEvent
,
40248 &_swigt__p_wxDisplayChangedEvent
,
40249 &_swigt__p_wxDropFilesEvent
,
40250 &_swigt__p_wxDuplexMode
,
40251 &_swigt__p_wxEffects
,
40252 &_swigt__p_wxEncodingConverter
,
40253 &_swigt__p_wxEraseEvent
,
40254 &_swigt__p_wxEvent
,
40255 &_swigt__p_wxEventBlocker
,
40256 &_swigt__p_wxEvtHandler
,
40257 &_swigt__p_wxFSFile
,
40258 &_swigt__p_wxFileSystem
,
40259 &_swigt__p_wxFlexGridSizer
,
40260 &_swigt__p_wxFocusEvent
,
40262 &_swigt__p_wxFontList
,
40263 &_swigt__p_wxFontMapper
,
40264 &_swigt__p_wxGBSizerItem
,
40266 &_swigt__p_wxGDIObjListBase
,
40267 &_swigt__p_wxGDIObject
,
40268 &_swigt__p_wxGIFHandler
,
40269 &_swigt__p_wxGraphicsBrush
,
40270 &_swigt__p_wxGraphicsContext
,
40271 &_swigt__p_wxGraphicsFont
,
40272 &_swigt__p_wxGraphicsMatrix
,
40273 &_swigt__p_wxGraphicsObject
,
40274 &_swigt__p_wxGraphicsPath
,
40275 &_swigt__p_wxGraphicsPen
,
40276 &_swigt__p_wxGraphicsRenderer
,
40277 &_swigt__p_wxGridBagSizer
,
40278 &_swigt__p_wxGridSizer
,
40279 &_swigt__p_wxHeaderButtonParams
,
40280 &_swigt__p_wxICOHandler
,
40282 &_swigt__p_wxIconBundle
,
40283 &_swigt__p_wxIconLocation
,
40284 &_swigt__p_wxIconizeEvent
,
40285 &_swigt__p_wxIdleEvent
,
40286 &_swigt__p_wxImage
,
40287 &_swigt__p_wxImageHandler
,
40288 &_swigt__p_wxImageList
,
40289 &_swigt__p_wxIndividualLayoutConstraint
,
40290 &_swigt__p_wxInitDialogEvent
,
40291 &_swigt__p_wxJPEGHandler
,
40292 &_swigt__p_wxKeyEvent
,
40293 &_swigt__p_wxLanguageInfo
,
40294 &_swigt__p_wxLayoutConstraints
,
40295 &_swigt__p_wxLocale
,
40297 &_swigt__p_wxMaximizeEvent
,
40298 &_swigt__p_wxMemoryDC
,
40300 &_swigt__p_wxMenuBar
,
40301 &_swigt__p_wxMenuEvent
,
40302 &_swigt__p_wxMenuItem
,
40303 &_swigt__p_wxMetaFile
,
40304 &_swigt__p_wxMetaFileDC
,
40305 &_swigt__p_wxMirrorDC
,
40306 &_swigt__p_wxMouseCaptureChangedEvent
,
40307 &_swigt__p_wxMouseCaptureLostEvent
,
40308 &_swigt__p_wxMouseEvent
,
40309 &_swigt__p_wxMoveEvent
,
40310 &_swigt__p_wxNativeEncodingInfo
,
40311 &_swigt__p_wxNativeFontInfo
,
40312 &_swigt__p_wxNativePixelData
,
40313 &_swigt__p_wxNativePixelData_Accessor
,
40314 &_swigt__p_wxNavigationKeyEvent
,
40315 &_swigt__p_wxNcPaintEvent
,
40316 &_swigt__p_wxNotifyEvent
,
40317 &_swigt__p_wxObject
,
40318 &_swigt__p_wxOverlay
,
40319 &_swigt__p_wxPCXHandler
,
40320 &_swigt__p_wxPNGHandler
,
40321 &_swigt__p_wxPNMHandler
,
40322 &_swigt__p_wxPaintDC
,
40323 &_swigt__p_wxPaintEvent
,
40324 &_swigt__p_wxPalette
,
40325 &_swigt__p_wxPaletteChangedEvent
,
40326 &_swigt__p_wxPaperSize
,
40328 &_swigt__p_wxPenList
,
40329 &_swigt__p_wxPixelDataBase
,
40330 &_swigt__p_wxPoint
,
40331 &_swigt__p_wxPoint2D
,
40332 &_swigt__p_wxPostScriptDC
,
40333 &_swigt__p_wxPrintData
,
40334 &_swigt__p_wxPrinterDC
,
40335 &_swigt__p_wxPseudoDC
,
40336 &_swigt__p_wxPyApp
,
40337 &_swigt__p_wxPyCommandEvent
,
40338 &_swigt__p_wxPyEvent
,
40339 &_swigt__p_wxPyFontEnumerator
,
40340 &_swigt__p_wxPyImageHandler
,
40341 &_swigt__p_wxPyLocale
,
40342 &_swigt__p_wxPySizer
,
40343 &_swigt__p_wxPyValidator
,
40344 &_swigt__p_wxQueryNewPaletteEvent
,
40346 &_swigt__p_wxRect2D
,
40347 &_swigt__p_wxRegion
,
40348 &_swigt__p_wxRegionIterator
,
40349 &_swigt__p_wxRendererNative
,
40350 &_swigt__p_wxRendererVersion
,
40351 &_swigt__p_wxScreenDC
,
40352 &_swigt__p_wxScrollEvent
,
40353 &_swigt__p_wxScrollWinEvent
,
40354 &_swigt__p_wxSetCursorEvent
,
40355 &_swigt__p_wxShowEvent
,
40357 &_swigt__p_wxSizeEvent
,
40358 &_swigt__p_wxSizer
,
40359 &_swigt__p_wxSizerItem
,
40360 &_swigt__p_wxSplitterRenderParams
,
40361 &_swigt__p_wxStaticBoxSizer
,
40362 &_swigt__p_wxStdDialogButtonSizer
,
40363 &_swigt__p_wxStockGDI
,
40364 &_swigt__p_wxString
,
40365 &_swigt__p_wxSysColourChangedEvent
,
40366 &_swigt__p_wxTGAHandler
,
40367 &_swigt__p_wxTIFFHandler
,
40368 &_swigt__p_wxUpdateUIEvent
,
40369 &_swigt__p_wxValidator
,
40370 &_swigt__p_wxWindow
,
40371 &_swigt__p_wxWindowCreateEvent
,
40372 &_swigt__p_wxWindowDC
,
40373 &_swigt__p_wxWindowDestroyEvent
,
40374 &_swigt__p_wxXPMHandler
,
40377 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40378 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40379 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40380 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40381 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40382 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40383 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40384 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40385 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40386 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40387 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40388 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40389 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40390 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40391 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40392 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}};
40393 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40394 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40395 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}};
40396 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40397 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40398 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40399 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}};
40400 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40401 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40402 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40403 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40404 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40405 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40406 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40407 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40408 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40409 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40410 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40411 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40412 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40413 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}};
40414 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}};
40415 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40416 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40417 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40418 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40419 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}};
40420 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40421 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40422 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40423 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40424 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40425 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40426 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40427 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40428 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40429 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40430 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}};
40431 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40432 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}};
40433 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40434 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40435 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40436 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40437 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40438 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40439 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40440 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40441 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
40442 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40443 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40444 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40445 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40446 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40447 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40448 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40449 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40450 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40451 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40452 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40453 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40454 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40455 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40456 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40457 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40458 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40459 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40460 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40461 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40462 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40463 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40464 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40465 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40466 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40467 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40468 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40469 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40470 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40471 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40472 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40473 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40474 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40475 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40476 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40477 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40478 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40479 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40480 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40481 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40482 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40483 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40484 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40485 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40486 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40487 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40488 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40489 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40490 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40491 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40492 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40493 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40494 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40495 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40496 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40497 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40498 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40499 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40500 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40501 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40502 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40503 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40504 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40505 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40506 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40507 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40508 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40509 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40510 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40511 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40512 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40513 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40514 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40515 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40516 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40517 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40518 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPseudoDC
, _p_wxPseudoDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPen
, _p_wxGraphicsPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsObject
, _p_wxGraphicsObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPath
, _p_wxGraphicsPathTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsContext
, _p_wxGraphicsContextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsRenderer
, _p_wxGraphicsRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
40519 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40520 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40521 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40522 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40523 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40524 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40525 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}};
40526 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40527 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40528 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40529 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40530 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40531 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40532 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40533 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40534 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40535 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
40536 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40537 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40538 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40539 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40540 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40541 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40542 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40543 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40544 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40545 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}};
40546 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
40548 static swig_cast_info
*swig_cast_initial
[] = {
40552 _swigc__p_form_ops_t
,
40554 _swigc__p_unsigned_char
,
40555 _swigc__p_unsigned_int
,
40556 _swigc__p_unsigned_long
,
40558 _swigc__p_wxANIHandler
,
40559 _swigc__p_wxAcceleratorTable
,
40560 _swigc__p_wxActivateEvent
,
40561 _swigc__p_wxAlphaPixelData
,
40562 _swigc__p_wxAlphaPixelData_Accessor
,
40563 _swigc__p_wxAutoBufferedPaintDC
,
40564 _swigc__p_wxBMPHandler
,
40565 _swigc__p_wxBitmap
,
40566 _swigc__p_wxBoxSizer
,
40568 _swigc__p_wxBrushList
,
40569 _swigc__p_wxBufferedDC
,
40570 _swigc__p_wxBufferedPaintDC
,
40571 _swigc__p_wxCURHandler
,
40573 _swigc__p_wxChildFocusEvent
,
40574 _swigc__p_wxClientDC
,
40575 _swigc__p_wxClipboardTextEvent
,
40576 _swigc__p_wxCloseEvent
,
40577 _swigc__p_wxColour
,
40578 _swigc__p_wxColourDatabase
,
40579 _swigc__p_wxCommandEvent
,
40580 _swigc__p_wxContextMenuEvent
,
40581 _swigc__p_wxControl
,
40582 _swigc__p_wxControlWithItems
,
40583 _swigc__p_wxCursor
,
40585 _swigc__p_wxDCBrushChanger
,
40586 _swigc__p_wxDCClipper
,
40587 _swigc__p_wxDCOverlay
,
40588 _swigc__p_wxDCPenChanger
,
40589 _swigc__p_wxDCTextColourChanger
,
40591 _swigc__p_wxDateEvent
,
40592 _swigc__p_wxDisplayChangedEvent
,
40593 _swigc__p_wxDropFilesEvent
,
40594 _swigc__p_wxDuplexMode
,
40595 _swigc__p_wxEffects
,
40596 _swigc__p_wxEncodingConverter
,
40597 _swigc__p_wxEraseEvent
,
40599 _swigc__p_wxEventBlocker
,
40600 _swigc__p_wxEvtHandler
,
40601 _swigc__p_wxFSFile
,
40602 _swigc__p_wxFileSystem
,
40603 _swigc__p_wxFlexGridSizer
,
40604 _swigc__p_wxFocusEvent
,
40606 _swigc__p_wxFontList
,
40607 _swigc__p_wxFontMapper
,
40608 _swigc__p_wxGBSizerItem
,
40610 _swigc__p_wxGDIObjListBase
,
40611 _swigc__p_wxGDIObject
,
40612 _swigc__p_wxGIFHandler
,
40613 _swigc__p_wxGraphicsBrush
,
40614 _swigc__p_wxGraphicsContext
,
40615 _swigc__p_wxGraphicsFont
,
40616 _swigc__p_wxGraphicsMatrix
,
40617 _swigc__p_wxGraphicsObject
,
40618 _swigc__p_wxGraphicsPath
,
40619 _swigc__p_wxGraphicsPen
,
40620 _swigc__p_wxGraphicsRenderer
,
40621 _swigc__p_wxGridBagSizer
,
40622 _swigc__p_wxGridSizer
,
40623 _swigc__p_wxHeaderButtonParams
,
40624 _swigc__p_wxICOHandler
,
40626 _swigc__p_wxIconBundle
,
40627 _swigc__p_wxIconLocation
,
40628 _swigc__p_wxIconizeEvent
,
40629 _swigc__p_wxIdleEvent
,
40631 _swigc__p_wxImageHandler
,
40632 _swigc__p_wxImageList
,
40633 _swigc__p_wxIndividualLayoutConstraint
,
40634 _swigc__p_wxInitDialogEvent
,
40635 _swigc__p_wxJPEGHandler
,
40636 _swigc__p_wxKeyEvent
,
40637 _swigc__p_wxLanguageInfo
,
40638 _swigc__p_wxLayoutConstraints
,
40639 _swigc__p_wxLocale
,
40641 _swigc__p_wxMaximizeEvent
,
40642 _swigc__p_wxMemoryDC
,
40644 _swigc__p_wxMenuBar
,
40645 _swigc__p_wxMenuEvent
,
40646 _swigc__p_wxMenuItem
,
40647 _swigc__p_wxMetaFile
,
40648 _swigc__p_wxMetaFileDC
,
40649 _swigc__p_wxMirrorDC
,
40650 _swigc__p_wxMouseCaptureChangedEvent
,
40651 _swigc__p_wxMouseCaptureLostEvent
,
40652 _swigc__p_wxMouseEvent
,
40653 _swigc__p_wxMoveEvent
,
40654 _swigc__p_wxNativeEncodingInfo
,
40655 _swigc__p_wxNativeFontInfo
,
40656 _swigc__p_wxNativePixelData
,
40657 _swigc__p_wxNativePixelData_Accessor
,
40658 _swigc__p_wxNavigationKeyEvent
,
40659 _swigc__p_wxNcPaintEvent
,
40660 _swigc__p_wxNotifyEvent
,
40661 _swigc__p_wxObject
,
40662 _swigc__p_wxOverlay
,
40663 _swigc__p_wxPCXHandler
,
40664 _swigc__p_wxPNGHandler
,
40665 _swigc__p_wxPNMHandler
,
40666 _swigc__p_wxPaintDC
,
40667 _swigc__p_wxPaintEvent
,
40668 _swigc__p_wxPalette
,
40669 _swigc__p_wxPaletteChangedEvent
,
40670 _swigc__p_wxPaperSize
,
40672 _swigc__p_wxPenList
,
40673 _swigc__p_wxPixelDataBase
,
40675 _swigc__p_wxPoint2D
,
40676 _swigc__p_wxPostScriptDC
,
40677 _swigc__p_wxPrintData
,
40678 _swigc__p_wxPrinterDC
,
40679 _swigc__p_wxPseudoDC
,
40681 _swigc__p_wxPyCommandEvent
,
40682 _swigc__p_wxPyEvent
,
40683 _swigc__p_wxPyFontEnumerator
,
40684 _swigc__p_wxPyImageHandler
,
40685 _swigc__p_wxPyLocale
,
40686 _swigc__p_wxPySizer
,
40687 _swigc__p_wxPyValidator
,
40688 _swigc__p_wxQueryNewPaletteEvent
,
40690 _swigc__p_wxRect2D
,
40691 _swigc__p_wxRegion
,
40692 _swigc__p_wxRegionIterator
,
40693 _swigc__p_wxRendererNative
,
40694 _swigc__p_wxRendererVersion
,
40695 _swigc__p_wxScreenDC
,
40696 _swigc__p_wxScrollEvent
,
40697 _swigc__p_wxScrollWinEvent
,
40698 _swigc__p_wxSetCursorEvent
,
40699 _swigc__p_wxShowEvent
,
40701 _swigc__p_wxSizeEvent
,
40703 _swigc__p_wxSizerItem
,
40704 _swigc__p_wxSplitterRenderParams
,
40705 _swigc__p_wxStaticBoxSizer
,
40706 _swigc__p_wxStdDialogButtonSizer
,
40707 _swigc__p_wxStockGDI
,
40708 _swigc__p_wxString
,
40709 _swigc__p_wxSysColourChangedEvent
,
40710 _swigc__p_wxTGAHandler
,
40711 _swigc__p_wxTIFFHandler
,
40712 _swigc__p_wxUpdateUIEvent
,
40713 _swigc__p_wxValidator
,
40714 _swigc__p_wxWindow
,
40715 _swigc__p_wxWindowCreateEvent
,
40716 _swigc__p_wxWindowDC
,
40717 _swigc__p_wxWindowDestroyEvent
,
40718 _swigc__p_wxXPMHandler
,
40722 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40724 static swig_const_info swig_const_table
[] = {
40725 {0, 0, 0, 0.0, 0, 0}};
40730 /* -----------------------------------------------------------------------------
40731 * Type initialization:
40732 * This problem is tough by the requirement that no dynamic
40733 * memory is used. Also, since swig_type_info structures store pointers to
40734 * swig_cast_info structures and swig_cast_info structures store pointers back
40735 * to swig_type_info structures, we need some lookup code at initialization.
40736 * The idea is that swig generates all the structures that are needed.
40737 * The runtime then collects these partially filled structures.
40738 * The SWIG_InitializeModule function takes these initial arrays out of
40739 * swig_module, and does all the lookup, filling in the swig_module.types
40740 * array with the correct data and linking the correct swig_cast_info
40741 * structures together.
40743 * The generated swig_type_info structures are assigned staticly to an initial
40744 * array. We just loop though that array, and handle each type individually.
40745 * First we lookup if this type has been already loaded, and if so, use the
40746 * loaded structure instead of the generated one. Then we have to fill in the
40747 * cast linked list. The cast data is initially stored in something like a
40748 * two-dimensional array. Each row corresponds to a type (there are the same
40749 * number of rows as there are in the swig_type_initial array). Each entry in
40750 * a column is one of the swig_cast_info structures for that type.
40751 * The cast_initial array is actually an array of arrays, because each row has
40752 * a variable number of columns. So to actually build the cast linked list,
40753 * we find the array of casts associated with the type, and loop through it
40754 * adding the casts to the list. The one last trick we need to do is making
40755 * sure the type pointer in the swig_cast_info struct is correct.
40757 * First off, we lookup the cast->type name to see if it is already loaded.
40758 * There are three cases to handle:
40759 * 1) If the cast->type has already been loaded AND the type we are adding
40760 * casting info to has not been loaded (it is in this module), THEN we
40761 * replace the cast->type pointer with the type pointer that has already
40763 * 2) If BOTH types (the one we are adding casting info to, and the
40764 * cast->type) are loaded, THEN the cast info has already been loaded by
40765 * the previous module so we just ignore it.
40766 * 3) Finally, if cast->type has not already been loaded, then we add that
40767 * swig_cast_info to the linked list (because the cast->type) pointer will
40769 * ----------------------------------------------------------------------------- */
40779 #define SWIGRUNTIME_DEBUG
40783 SWIG_InitializeModule(void *clientdata
) {
40785 swig_module_info
*module_head
;
40786 static int init_run
= 0;
40788 clientdata
= clientdata
;
40790 if (init_run
) return;
40793 /* Initialize the swig_module */
40794 swig_module
.type_initial
= swig_type_initial
;
40795 swig_module
.cast_initial
= swig_cast_initial
;
40797 /* Try and load any already created modules */
40798 module_head
= SWIG_GetModule(clientdata
);
40800 swig_module
.next
= module_head
->next
;
40801 module_head
->next
= &swig_module
;
40803 /* This is the first module loaded */
40804 swig_module
.next
= &swig_module
;
40805 SWIG_SetModule(clientdata
, &swig_module
);
40808 /* Now work on filling in swig_module.types */
40809 #ifdef SWIGRUNTIME_DEBUG
40810 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40812 for (i
= 0; i
< swig_module
.size
; ++i
) {
40813 swig_type_info
*type
= 0;
40814 swig_type_info
*ret
;
40815 swig_cast_info
*cast
;
40817 #ifdef SWIGRUNTIME_DEBUG
40818 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40821 /* if there is another module already loaded */
40822 if (swig_module
.next
!= &swig_module
) {
40823 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40826 /* Overwrite clientdata field */
40827 #ifdef SWIGRUNTIME_DEBUG
40828 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40830 if (swig_module
.type_initial
[i
]->clientdata
) {
40831 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40832 #ifdef SWIGRUNTIME_DEBUG
40833 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40837 type
= swig_module
.type_initial
[i
];
40840 /* Insert casting types */
40841 cast
= swig_module
.cast_initial
[i
];
40842 while (cast
->type
) {
40843 /* Don't need to add information already in the list */
40845 #ifdef SWIGRUNTIME_DEBUG
40846 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40848 if (swig_module
.next
!= &swig_module
) {
40849 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40850 #ifdef SWIGRUNTIME_DEBUG
40851 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40855 if (type
== swig_module
.type_initial
[i
]) {
40856 #ifdef SWIGRUNTIME_DEBUG
40857 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40862 /* Check for casting already in the list */
40863 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40864 #ifdef SWIGRUNTIME_DEBUG
40865 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40867 if (!ocast
) ret
= 0;
40872 #ifdef SWIGRUNTIME_DEBUG
40873 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40876 type
->cast
->prev
= cast
;
40877 cast
->next
= type
->cast
;
40883 /* Set entry in modules->types array equal to the type */
40884 swig_module
.types
[i
] = type
;
40886 swig_module
.types
[i
] = 0;
40888 #ifdef SWIGRUNTIME_DEBUG
40889 printf("**** SWIG_InitializeModule: Cast List ******\n");
40890 for (i
= 0; i
< swig_module
.size
; ++i
) {
40892 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40893 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40894 while (cast
->type
) {
40895 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40899 printf("---- Total casts: %d\n",j
);
40901 printf("**** SWIG_InitializeModule: Cast List ******\n");
40905 /* This function will propagate the clientdata field of type to
40906 * any new swig_type_info structures that have been added into the list
40907 * of equivalent types. It is like calling
40908 * SWIG_TypeClientData(type, clientdata) a second time.
40911 SWIG_PropagateClientData(void) {
40913 swig_cast_info
*equiv
;
40914 static int init_run
= 0;
40916 if (init_run
) return;
40919 for (i
= 0; i
< swig_module
.size
; i
++) {
40920 if (swig_module
.types
[i
]->clientdata
) {
40921 equiv
= swig_module
.types
[i
]->cast
;
40923 if (!equiv
->converter
) {
40924 if (equiv
->type
&& !equiv
->type
->clientdata
)
40925 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40927 equiv
= equiv
->next
;
40947 /* Python-specific SWIG API */
40948 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40949 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40950 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40952 /* -----------------------------------------------------------------------------
40953 * global variable support code.
40954 * ----------------------------------------------------------------------------- */
40956 typedef struct swig_globalvar
{
40957 char *name
; /* Name of global variable */
40958 PyObject
*(*get_attr
)(void); /* Return the current value */
40959 int (*set_attr
)(PyObject
*); /* Set the value */
40960 struct swig_globalvar
*next
;
40963 typedef struct swig_varlinkobject
{
40965 swig_globalvar
*vars
;
40966 } swig_varlinkobject
;
40968 SWIGINTERN PyObject
*
40969 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40970 return PyString_FromString("<Swig global variables>");
40973 SWIGINTERN PyObject
*
40974 swig_varlink_str(swig_varlinkobject
*v
) {
40975 PyObject
*str
= PyString_FromString("(");
40976 swig_globalvar
*var
;
40977 for (var
= v
->vars
; var
; var
=var
->next
) {
40978 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40979 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40981 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40986 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40987 PyObject
*str
= swig_varlink_str(v
);
40988 fprintf(fp
,"Swig global variables ");
40989 fprintf(fp
,"%s\n", PyString_AsString(str
));
40995 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40996 swig_globalvar
*var
= v
->vars
;
40998 swig_globalvar
*n
= var
->next
;
41005 SWIGINTERN PyObject
*
41006 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41007 PyObject
*res
= NULL
;
41008 swig_globalvar
*var
= v
->vars
;
41010 if (strcmp(var
->name
,n
) == 0) {
41011 res
= (*var
->get_attr
)();
41016 if (res
== NULL
&& !PyErr_Occurred()) {
41017 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41023 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41025 swig_globalvar
*var
= v
->vars
;
41027 if (strcmp(var
->name
,n
) == 0) {
41028 res
= (*var
->set_attr
)(p
);
41033 if (res
== 1 && !PyErr_Occurred()) {
41034 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41039 SWIGINTERN PyTypeObject
*
41040 swig_varlink_type(void) {
41041 static char varlink__doc__
[] = "Swig var link object";
41042 static PyTypeObject varlink_type
;
41043 static int type_init
= 0;
41045 const PyTypeObject tmp
41047 PyObject_HEAD_INIT(NULL
)
41048 0, /* Number of items in variable part (ob_size) */
41049 (char *)"swigvarlink", /* Type name (tp_name) */
41050 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41051 0, /* Itemsize (tp_itemsize) */
41052 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41053 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41054 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41055 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41056 0, /* tp_compare */
41057 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41058 0, /* tp_as_number */
41059 0, /* tp_as_sequence */
41060 0, /* tp_as_mapping */
41063 (reprfunc
)swig_varlink_str
, /* tp_str */
41064 0, /* tp_getattro */
41065 0, /* tp_setattro */
41066 0, /* tp_as_buffer */
41068 varlink__doc__
, /* tp_doc */
41069 0, /* tp_traverse */
41071 0, /* tp_richcompare */
41072 0, /* tp_weaklistoffset */
41073 #if PY_VERSION_HEX >= 0x02020000
41074 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41076 #if PY_VERSION_HEX >= 0x02030000
41079 #ifdef COUNT_ALLOCS
41080 0,0,0,0 /* tp_alloc -> tp_next */
41083 varlink_type
= tmp
;
41084 varlink_type
.ob_type
= &PyType_Type
;
41087 return &varlink_type
;
41090 /* Create a variable linking object for use later */
41091 SWIGINTERN PyObject
*
41092 SWIG_Python_newvarlink(void) {
41093 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41097 return ((PyObject
*) result
);
41101 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41102 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41103 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41105 size_t size
= strlen(name
)+1;
41106 gv
->name
= (char *)malloc(size
);
41108 strncpy(gv
->name
,name
,size
);
41109 gv
->get_attr
= get_attr
;
41110 gv
->set_attr
= set_attr
;
41111 gv
->next
= v
->vars
;
41117 SWIGINTERN PyObject
*
41119 static PyObject
*_SWIG_globals
= 0;
41120 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41121 return _SWIG_globals
;
41124 /* -----------------------------------------------------------------------------
41125 * constants/methods manipulation
41126 * ----------------------------------------------------------------------------- */
41128 /* Install Constants */
41130 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41133 for (i
= 0; constants
[i
].type
; ++i
) {
41134 switch(constants
[i
].type
) {
41135 case SWIG_PY_POINTER
:
41136 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41138 case SWIG_PY_BINARY
:
41139 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41146 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41152 /* -----------------------------------------------------------------------------*/
41153 /* Fix SwigMethods to carry the callback ptrs when needed */
41154 /* -----------------------------------------------------------------------------*/
41157 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41158 swig_const_info
*const_table
,
41159 swig_type_info
**types
,
41160 swig_type_info
**types_initial
) {
41162 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41163 const char *c
= methods
[i
].ml_doc
;
41164 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41166 swig_const_info
*ci
= 0;
41167 const char *name
= c
+ 10;
41168 for (j
= 0; const_table
[j
].type
; ++j
) {
41169 if (strncmp(const_table
[j
].name
, name
,
41170 strlen(const_table
[j
].name
)) == 0) {
41171 ci
= &(const_table
[j
]);
41176 size_t shift
= (ci
->ptype
) - types
;
41177 swig_type_info
*ty
= types_initial
[shift
];
41178 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41179 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41180 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41183 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41185 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41187 strncpy(buff
, "swig_ptr: ", 10);
41189 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41190 methods
[i
].ml_doc
= ndoc
;
41202 /* -----------------------------------------------------------------------------*
41203 * Partial Init method
41204 * -----------------------------------------------------------------------------*/
41209 SWIGEXPORT
void SWIG_init(void) {
41212 /* Fix SwigMethods to carry the callback ptrs when needed */
41213 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41215 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41216 d
= PyModule_GetDict(m
);
41218 SWIG_InitializeModule(0);
41219 SWIG_InstallConstants(d
,swig_const_table
);
41222 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41223 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41224 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41225 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41226 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41227 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41228 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41229 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41230 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41231 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41232 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41233 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41234 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41235 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41236 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41237 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41238 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41239 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41240 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41241 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41242 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41243 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41244 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41245 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41246 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41247 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41248 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41249 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41250 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41251 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41252 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41253 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41254 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41255 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41256 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41257 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41258 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41259 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41260 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41261 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41262 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41263 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41264 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41265 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41266 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41267 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41268 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41269 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41270 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41271 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41272 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41273 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41274 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41275 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41276 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41277 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41278 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41279 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41280 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41281 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41282 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41283 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41284 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41285 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41286 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41287 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41288 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41289 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41290 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41291 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41292 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41293 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41294 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41295 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41296 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41297 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41298 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41299 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41300 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41301 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41302 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41303 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41304 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41305 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41306 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41307 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41308 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41309 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41310 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41311 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41312 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41313 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41314 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41315 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41316 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41317 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41318 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41319 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41320 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41321 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41322 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41323 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41324 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41325 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41326 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41327 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41328 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41329 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41330 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41331 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41332 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41333 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41334 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41335 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41336 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41337 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41338 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41339 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41340 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41341 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41342 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41343 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41344 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41345 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41346 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41347 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41348 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41349 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41350 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41351 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41352 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41353 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41355 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41357 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41358 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41359 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41360 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41361 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41362 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41363 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41364 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41365 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41366 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41367 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41368 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41369 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41370 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41371 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41372 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41373 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41374 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41375 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41376 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41377 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41378 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41379 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41380 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41381 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41382 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41383 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41384 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41385 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41386 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41387 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41388 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41389 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41390 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41391 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41392 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41393 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41394 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41395 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41396 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41397 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41398 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41399 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41400 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41401 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41402 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41403 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41404 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41405 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41406 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41407 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41408 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41409 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41410 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41411 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41412 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41413 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41414 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41415 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41416 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41417 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41418 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41419 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41420 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41421 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41422 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41423 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41424 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41425 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41426 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41427 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41428 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41429 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41430 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41431 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41432 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41433 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41434 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41435 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41436 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41437 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41438 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41439 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41440 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41441 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41442 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41443 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41444 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41445 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41446 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41447 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41448 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41449 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41450 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41451 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41452 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41453 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41454 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41455 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41456 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41457 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41458 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41459 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41460 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41461 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41462 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41463 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41464 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41465 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41466 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41467 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41468 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41469 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41470 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41471 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41472 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41473 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41474 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41475 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41476 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41477 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41478 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41479 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41480 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41481 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41482 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41483 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41484 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41485 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41486 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41487 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41488 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41489 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41490 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41491 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41492 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41493 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41494 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41495 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41496 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41497 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41498 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41499 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41500 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41501 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41502 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41503 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41504 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41505 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41506 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41507 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41508 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41509 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41510 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41511 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41512 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41513 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41514 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41515 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41516 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41517 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41518 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41519 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41520 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41521 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41522 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41523 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41524 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41525 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41526 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41527 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41528 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41529 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41530 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41531 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41532 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41533 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41534 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41535 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41536 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41537 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41538 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41539 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41540 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41541 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41542 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41543 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41544 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41545 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41546 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41547 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41548 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41549 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41550 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41551 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41552 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41553 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41554 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41555 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41556 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41557 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41558 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41559 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41560 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41561 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41562 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41563 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41564 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41565 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41566 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41567 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41568 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41569 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41570 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41571 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41572 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41573 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41574 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41575 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41576 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41577 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41578 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41579 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41580 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41581 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41582 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41583 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41584 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41585 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41586 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41587 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41588 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41589 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41590 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41591 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41592 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41593 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41594 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41595 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41596 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41597 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41598 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41599 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41600 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41601 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41602 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41603 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41604 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41605 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41606 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41607 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41608 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41609 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41610 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41611 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41612 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41613 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41614 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41615 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41616 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41617 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41618 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41619 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41620 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41621 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41622 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41623 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41624 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41625 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41626 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41627 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41628 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41629 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41630 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41631 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41632 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41633 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41634 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41635 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41636 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41637 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41638 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41639 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41640 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41641 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41642 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41643 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41644 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41645 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41646 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41647 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41648 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41649 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41650 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41651 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41652 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41653 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41654 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41655 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41656 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41657 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41658 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41659 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41660 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41661 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41662 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41663 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41664 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41665 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41666 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41667 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41668 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41669 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41670 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41671 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41672 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41673 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41674 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41675 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41676 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41677 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41678 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41679 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41680 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41682 // Work around a chicken/egg problem in drawlist.cpp
41683 wxPyDrawList_SetAPIPtr();