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_wxANIHandler swig_types[8]
2475 #define SWIGTYPE_p_wxAcceleratorTable swig_types[9]
2476 #define SWIGTYPE_p_wxActivateEvent swig_types[10]
2477 #define SWIGTYPE_p_wxAlphaPixelData swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[12]
2479 #define SWIGTYPE_p_wxBMPHandler swig_types[13]
2480 #define SWIGTYPE_p_wxBitmap swig_types[14]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[15]
2482 #define SWIGTYPE_p_wxBrush swig_types[16]
2483 #define SWIGTYPE_p_wxBrushList swig_types[17]
2484 #define SWIGTYPE_p_wxBufferedDC swig_types[18]
2485 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[19]
2486 #define SWIGTYPE_p_wxCURHandler swig_types[20]
2487 #define SWIGTYPE_p_wxChar swig_types[21]
2488 #define SWIGTYPE_p_wxChildFocusEvent swig_types[22]
2489 #define SWIGTYPE_p_wxClientDC swig_types[23]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[24]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[25]
2492 #define SWIGTYPE_p_wxColor swig_types[26]
2493 #define SWIGTYPE_p_wxColour swig_types[27]
2494 #define SWIGTYPE_p_wxColourDatabase swig_types[28]
2495 #define SWIGTYPE_p_wxCommandEvent swig_types[29]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[30]
2497 #define SWIGTYPE_p_wxControl swig_types[31]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[32]
2499 #define SWIGTYPE_p_wxCursor swig_types[33]
2500 #define SWIGTYPE_p_wxDC swig_types[34]
2501 #define SWIGTYPE_p_wxDCOverlay swig_types[35]
2502 #define SWIGTYPE_p_wxDash swig_types[36]
2503 #define SWIGTYPE_p_wxDateEvent swig_types[37]
2504 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[38]
2505 #define SWIGTYPE_p_wxDropFilesEvent swig_types[39]
2506 #define SWIGTYPE_p_wxDuplexMode swig_types[40]
2507 #define SWIGTYPE_p_wxEffects swig_types[41]
2508 #define SWIGTYPE_p_wxEncodingConverter swig_types[42]
2509 #define SWIGTYPE_p_wxEraseEvent swig_types[43]
2510 #define SWIGTYPE_p_wxEvent swig_types[44]
2511 #define SWIGTYPE_p_wxEvtHandler swig_types[45]
2512 #define SWIGTYPE_p_wxFSFile swig_types[46]
2513 #define SWIGTYPE_p_wxFileSystem swig_types[47]
2514 #define SWIGTYPE_p_wxFlexGridSizer swig_types[48]
2515 #define SWIGTYPE_p_wxFocusEvent swig_types[49]
2516 #define SWIGTYPE_p_wxFont swig_types[50]
2517 #define SWIGTYPE_p_wxFontList swig_types[51]
2518 #define SWIGTYPE_p_wxFontMapper swig_types[52]
2519 #define SWIGTYPE_p_wxGBSizerItem swig_types[53]
2520 #define SWIGTYPE_p_wxGCDC swig_types[54]
2521 #define SWIGTYPE_p_wxGDIObjListBase swig_types[55]
2522 #define SWIGTYPE_p_wxGDIObject swig_types[56]
2523 #define SWIGTYPE_p_wxGIFHandler swig_types[57]
2524 #define SWIGTYPE_p_wxGraphicsContext swig_types[58]
2525 #define SWIGTYPE_p_wxGraphicsPath swig_types[59]
2526 #define SWIGTYPE_p_wxGridBagSizer swig_types[60]
2527 #define SWIGTYPE_p_wxGridSizer swig_types[61]
2528 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[62]
2529 #define SWIGTYPE_p_wxICOHandler swig_types[63]
2530 #define SWIGTYPE_p_wxIcon swig_types[64]
2531 #define SWIGTYPE_p_wxIconBundle swig_types[65]
2532 #define SWIGTYPE_p_wxIconLocation swig_types[66]
2533 #define SWIGTYPE_p_wxIconizeEvent swig_types[67]
2534 #define SWIGTYPE_p_wxIdleEvent swig_types[68]
2535 #define SWIGTYPE_p_wxImage swig_types[69]
2536 #define SWIGTYPE_p_wxImageHandler swig_types[70]
2537 #define SWIGTYPE_p_wxImageList swig_types[71]
2538 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[72]
2539 #define SWIGTYPE_p_wxInitDialogEvent swig_types[73]
2540 #define SWIGTYPE_p_wxJPEGHandler swig_types[74]
2541 #define SWIGTYPE_p_wxKeyEvent swig_types[75]
2542 #define SWIGTYPE_p_wxLanguageInfo swig_types[76]
2543 #define SWIGTYPE_p_wxLayoutConstraints swig_types[77]
2544 #define SWIGTYPE_p_wxLocale swig_types[78]
2545 #define SWIGTYPE_p_wxMask swig_types[79]
2546 #define SWIGTYPE_p_wxMaximizeEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMemoryDC swig_types[81]
2548 #define SWIGTYPE_p_wxMenu swig_types[82]
2549 #define SWIGTYPE_p_wxMenuBar swig_types[83]
2550 #define SWIGTYPE_p_wxMenuEvent swig_types[84]
2551 #define SWIGTYPE_p_wxMenuItem swig_types[85]
2552 #define SWIGTYPE_p_wxMetaFile swig_types[86]
2553 #define SWIGTYPE_p_wxMetaFileDC swig_types[87]
2554 #define SWIGTYPE_p_wxMirrorDC swig_types[88]
2555 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
2556 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[90]
2557 #define SWIGTYPE_p_wxMouseEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMoveEvent swig_types[92]
2559 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[93]
2560 #define SWIGTYPE_p_wxNativeFontInfo swig_types[94]
2561 #define SWIGTYPE_p_wxNativePixelData swig_types[95]
2562 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[96]
2563 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[97]
2564 #define SWIGTYPE_p_wxNcPaintEvent swig_types[98]
2565 #define SWIGTYPE_p_wxNotifyEvent swig_types[99]
2566 #define SWIGTYPE_p_wxObject swig_types[100]
2567 #define SWIGTYPE_p_wxOverlay swig_types[101]
2568 #define SWIGTYPE_p_wxPCXHandler swig_types[102]
2569 #define SWIGTYPE_p_wxPNGHandler swig_types[103]
2570 #define SWIGTYPE_p_wxPNMHandler swig_types[104]
2571 #define SWIGTYPE_p_wxPaintDC swig_types[105]
2572 #define SWIGTYPE_p_wxPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxPalette swig_types[107]
2574 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPaperSize swig_types[109]
2576 #define SWIGTYPE_p_wxPen swig_types[110]
2577 #define SWIGTYPE_p_wxPenList swig_types[111]
2578 #define SWIGTYPE_p_wxPixelDataBase swig_types[112]
2579 #define SWIGTYPE_p_wxPoint swig_types[113]
2580 #define SWIGTYPE_p_wxPoint2D swig_types[114]
2581 #define SWIGTYPE_p_wxPostScriptDC swig_types[115]
2582 #define SWIGTYPE_p_wxPrintData swig_types[116]
2583 #define SWIGTYPE_p_wxPrinterDC swig_types[117]
2584 #define SWIGTYPE_p_wxPseudoDC swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyEvent swig_types[121]
2588 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[122]
2589 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPyLocale swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[127]
2594 #define SWIGTYPE_p_wxRect swig_types[128]
2595 #define SWIGTYPE_p_wxRegion swig_types[129]
2596 #define SWIGTYPE_p_wxRegionIterator swig_types[130]
2597 #define SWIGTYPE_p_wxRendererNative swig_types[131]
2598 #define SWIGTYPE_p_wxRendererVersion swig_types[132]
2599 #define SWIGTYPE_p_wxScreenDC swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
2603 #define SWIGTYPE_p_wxShowEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[142]
2609 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[144]
2611 #define SWIGTYPE_p_wxStockGDI swig_types[145]
2612 #define SWIGTYPE_p_wxString swig_types[146]
2613 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[147]
2614 #define SWIGTYPE_p_wxTIFFHandler swig_types[148]
2615 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[149]
2616 #define SWIGTYPE_p_wxValidator swig_types[150]
2617 #define SWIGTYPE_p_wxWindow swig_types[151]
2618 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[152]
2619 #define SWIGTYPE_p_wxWindowDC swig_types[153]
2620 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[154]
2621 #define SWIGTYPE_p_wxXPMHandler swig_types[155]
2622 static swig_type_info
*swig_types
[157];
2623 static swig_module_info swig_module
= {swig_types
, 156, 0, 0, 0, 0};
2624 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2625 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2627 /* -------- TYPES TABLE (END) -------- */
2629 #if (PY_VERSION_HEX <= 0x02000000)
2630 # if !defined(SWIG_PYTHON_CLASSIC)
2631 # error "This python version requires to use swig with the '-classic' option"
2634 #if (PY_VERSION_HEX <= 0x02020000)
2635 # error "This python version requires to use swig with the '-nomodern' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodernargs' option"
2641 # error "This python version requires to use swig with the '-nofastunpack' option"
2644 /*-----------------------------------------------
2645 @(target):= _gdi_.so
2646 ------------------------------------------------*/
2647 #define SWIG_init init_gdi_
2649 #define SWIG_name "_gdi_"
2651 #define SWIGVERSION 0x010329
2654 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2655 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2658 #include <stdexcept>
2662 class PyObject_ptr
{
2667 PyObject_ptr() :_obj(0)
2671 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2676 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2678 if (initial_ref
) Py_XINCREF(_obj
);
2681 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2683 Py_XINCREF(item
._obj
);
2694 operator PyObject
*() const
2699 PyObject
*operator->() const
2708 struct PyObject_var
: PyObject_ptr
{
2709 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2711 PyObject_var
& operator = (PyObject
* obj
)
2721 #include "wx/wxPython/wxPython.h"
2722 #include "wx/wxPython/pyclasses.h"
2725 static const wxString
wxPyEmptyString(wxEmptyString
);
2727 #define SWIG_From_long PyInt_FromLong
2730 SWIGINTERNINLINE PyObject
*
2731 SWIG_From_int (int value
)
2733 return SWIG_From_long (value
);
2739 # define LLONG_MIN LONG_LONG_MIN
2742 # define LLONG_MAX LONG_LONG_MAX
2745 # define ULLONG_MAX ULONG_LONG_MAX
2750 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2752 if (PyNumber_Check(obj
)) {
2753 if (val
) *val
= PyInt_AsLong(obj
);
2756 return SWIG_TypeError
;
2761 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2764 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2765 return SWIG_TypeError
;
2768 *val
= (unsigned long)v
;
2774 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2777 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2778 if (SWIG_IsOK(res
)) {
2779 if ((v
> UCHAR_MAX
)) {
2780 return SWIG_OverflowError
;
2782 if (val
) *val
= static_cast< unsigned char >(v
);
2789 SWIGINTERNINLINE PyObject
*
2790 SWIG_From_unsigned_SS_long (unsigned long value
)
2792 return (value
> LONG_MAX
) ?
2793 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2797 SWIGINTERNINLINE PyObject
*
2798 SWIG_From_unsigned_SS_char (unsigned char value
)
2800 return SWIG_From_unsigned_SS_long (value
);
2803 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2804 wxColour temp
, *obj
= &temp
;
2805 if ( other
== Py_None
) return false;
2806 if ( ! wxColour_helper(other
, &obj
) ) {
2810 return self
->operator==(*obj
);
2812 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2813 wxColour temp
, *obj
= &temp
;
2814 if ( other
== Py_None
) return true;
2815 if ( ! wxColour_helper(other
, &obj
)) {
2819 return self
->operator!=(*obj
);
2823 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2825 if (obj
== Py_True
) {
2826 if (val
) *val
= true;
2828 } else if (obj
== Py_False
) {
2829 if (val
) *val
= false;
2833 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2834 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2839 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2840 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2844 int alpha
= wxALPHA_OPAQUE
;
2847 green
= self
->Green();
2848 blue
= self
->Blue();
2849 alpha
= self
->Alpha();
2851 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2852 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2853 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2855 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2858 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2859 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2863 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2866 int res
= SWIG_AsVal_long (obj
, &v
);
2867 if (SWIG_IsOK(res
)) {
2868 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2869 return SWIG_OverflowError
;
2871 if (val
) *val
= static_cast< int >(v
);
2877 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2879 int count
= self
->GetDashes(&dashes
);
2880 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2881 PyObject
* retval
= PyList_New(0);
2882 for (int x
=0; x
<count
; x
++) {
2883 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2884 PyList_Append(retval
, pyint
);
2887 wxPyEndBlockThreads(blocked
);
2890 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2891 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2892 int size
= PyList_Size(pyDashes
);
2893 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2895 // black magic warning! The array of wxDashes needs to exist as
2896 // long as the pen does because wxPen does not copy the array. So
2897 // stick a copy in a Python string object and attach it to _self,
2898 // and then call SetDashes with a pointer to that array. Then
2899 // when the Python pen object is destroyed the array will be
2901 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2902 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2904 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2906 Py_DECREF(strDashes
);
2907 wxPyEndBlockThreads(blocked
);
2909 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2910 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2912 #include <wx/rawbmp.h>
2915 #include <wx/image.h>
2917 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2918 char** cArray
= NULL
;
2921 if (!PyList_Check(listOfStrings
)) {
2922 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2925 count
= PyList_Size(listOfStrings
);
2926 cArray
= new char*[count
];
2928 for(int x
=0; x
<count
; x
++) {
2929 // TODO: Need some validation and error checking here
2930 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2936 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2937 char** cArray
= NULL
;
2940 cArray
= ConvertListOfStrings(listOfStrings
);
2943 bmp
= new wxBitmap(cArray
);
2947 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2950 PyString_AsStringAndSize(bits
, &buf
, &length
);
2951 return new wxBitmap(buf
, width
, height
, depth
);
2953 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2954 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2955 wxSize
size(self
->GetWidth(), self
->GetHeight());
2958 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2959 wxMask
*mask
= new wxMask(*self
, colour
);
2960 self
->SetMask(mask
);
2962 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2963 self
->SetWidth(size
.x
);
2964 self
->SetHeight(size
.y
);
2966 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2967 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2969 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2970 // appears to me that the other platforms are already doing it, so I'll just
2971 // automatically do it for wxMSW here.
2973 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2974 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2976 #define wxPy_premultiply(p, a) (p)
2977 #define wxPy_unpremultiply(p, a) (p)
2981 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2982 buffer data
, int DATASIZE
,
2983 buffer alpha
, int ALPHASIZE
)
2985 if (DATASIZE
!= width
*height
*3) {
2986 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2990 if (ALPHASIZE
!= width
*height
) {
2991 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2995 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
2996 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
2998 // raise an exception...
2999 wxPyErr_SetString(PyExc_RuntimeError
,
3000 "Failed to gain raw access to bitmap data.");
3005 wxAlphaPixelData::Iterator
p(pixData
);
3006 for (int y
=0; y
<height
; y
++) {
3007 wxAlphaPixelData::Iterator rowStart
= p
;
3008 for (int x
=0; x
<width
; x
++) {
3009 byte a
= *(alpha
++);
3010 p
.Red() = wxPy_premultiply(*(data
++), a
);
3011 p
.Green() = wxPy_premultiply(*(data
++), a
);
3012 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3017 p
.OffsetY(pixData
, 1);
3022 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3024 if (DATASIZE
!= width
*height
*3) {
3025 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3029 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3030 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3032 // raise an exception...
3033 wxPyErr_SetString(PyExc_RuntimeError
,
3034 "Failed to gain raw access to bitmap data.");
3038 wxNativePixelData::Iterator
p(pixData
);
3039 for (int y
=0; y
<height
; y
++) {
3040 wxNativePixelData::Iterator rowStart
= p
;
3041 for (int x
=0; x
<width
; x
++) {
3042 p
.Red() = *(data
++);
3043 p
.Green() = *(data
++);
3044 p
.Blue() = *(data
++);
3048 p
.OffsetY(pixData
, 1);
3054 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3056 if (DATASIZE
!= width
*height
*4) {
3057 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3061 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3062 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3064 // raise an exception...
3065 wxPyErr_SetString(PyExc_RuntimeError
,
3066 "Failed to gain raw access to bitmap data.");
3071 wxAlphaPixelData::Iterator
p(pixData
);
3072 for (int y
=0; y
<height
; y
++) {
3073 wxAlphaPixelData::Iterator rowStart
= p
;
3074 for (int x
=0; x
<width
; x
++) {
3076 p
.Red() = wxPy_premultiply(*(data
++), a
);
3077 p
.Green() = wxPy_premultiply(*(data
++), a
);
3078 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3079 p
.Alpha() = a
; data
++;
3083 p
.OffsetY(pixData
, 1);
3089 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3091 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3092 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3093 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3095 self
->Green() = green
;
3096 self
->Blue() = blue
;
3098 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3099 PyObject
* rv
= PyTuple_New(3);
3100 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3101 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3102 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3106 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3108 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3109 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3110 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3111 self
->Red() = wxPy_premultiply(red
, alpha
);
3112 self
->Green() = wxPy_premultiply(green
, alpha
);
3113 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3114 self
->Alpha() = alpha
;
3116 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3117 PyObject
* rv
= PyTuple_New(4);
3118 int red
= self
->Red();
3119 int green
= self
->Green();
3120 int blue
= self
->Blue();
3121 int alpha
= self
->Alpha();
3123 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3124 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3125 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3126 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3129 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3130 if ( !colour
.IsOk() )
3131 return new wxMask(bitmap
, *wxBLACK
);
3133 return new wxMask(bitmap
, colour
);
3136 #include <wx/iconbndl.h>
3138 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3139 wxIcon
* icon
= new wxIcon();
3140 icon
->CopyFromBitmap(bmp
);
3143 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3144 char** cArray
= NULL
;
3147 cArray
= ConvertListOfStrings(listOfStrings
);
3150 icon
= new wxIcon(cArray
);
3154 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3155 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3157 return new wxIconLocation(*filename
, num
);
3162 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3164 self
->SetIndex(num
);
3169 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3171 return self
->GetIndex();
3176 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3178 wxImage
img(cursorName
, type
);
3179 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3180 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3181 return new wxCursor(img
);
3183 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3186 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3189 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3192 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3193 return self
->operator bool();
3196 #include <wx/fontutil.h>
3197 #include <wx/fontmap.h>
3198 #include <wx/fontenum.h>
3200 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3201 return self
->ToString();
3204 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3205 { wxPyRaiseNotImplemented(); return NULL
; }
3207 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3208 { wxPyRaiseNotImplemented(); return false; }
3211 SWIGINTERNINLINE PyObject
*
3212 SWIG_From_size_t (size_t value
)
3214 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3218 SWIGINTERNINLINE
int
3219 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3222 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3223 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3227 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3228 wxFontEncoding alt_enc
;
3229 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3230 return PyInt_FromLong(alt_enc
);
3236 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3237 wxNativeFontInfo nfi
;
3238 nfi
.FromString(info
);
3239 return new wxFont(nfi
);
3241 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3242 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3244 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3245 return wxFontBase::New(pixelSize
, family
,
3246 style
, weight
, underlined
,
3249 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3250 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3252 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3253 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3255 class wxPyFontEnumerator
: public wxFontEnumerator
{
3257 wxPyFontEnumerator() {}
3258 ~wxPyFontEnumerator() {}
3260 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3261 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3266 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3267 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3270 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3272 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3273 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3274 ret
= wxArrayString2PyList_helper(arr
);
3275 wxPyEndBlockThreads(blocked
);
3278 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3280 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3281 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3282 ret
= wxArrayString2PyList_helper(arr
);
3283 wxPyEndBlockThreads(blocked
);
3289 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3292 loc
= new wxLocale();
3294 loc
= new wxLocale(language
, flags
);
3295 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3296 // for the floating point conversions and such to work right.
3297 #if PY_VERSION_HEX < 0x02040000
3298 setlocale(LC_NUMERIC
, "C");
3302 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3303 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3304 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3305 // for the floating point conversions and such to work right.
3306 #if PY_VERSION_HEX < 0x02040000
3307 setlocale(LC_NUMERIC
, "C");
3311 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3312 bool rc
= self
->Init(language
, flags
);
3313 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3314 // for the floating point conversions and such to work right.
3315 #if PY_VERSION_HEX < 0x02040000
3316 setlocale(LC_NUMERIC
, "C");
3321 class wxPyLocale
: public wxLocale
3326 wxPyLocale(const wxChar
*szName
, // name (for messages)
3327 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3328 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3329 bool bLoadDefault
= true, // preload wxstd.mo?
3330 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3332 wxPyLocale(int language
, // wxLanguage id or custom language
3333 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3337 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3338 const wxChar
*szDomain
= NULL
) const;
3339 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3340 const wxChar
*szOrigString2
, size_t n
,
3341 const wxChar
*szDomain
= NULL
) const;
3343 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3344 const wxChar
*szDomain
= NULL
) const;
3345 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3346 const wxChar
*szOrigString2
, size_t n
,
3347 const wxChar
*szDomain
= NULL
) const;
3351 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3354 wxPyLocale::wxPyLocale() : wxLocale()
3358 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3359 const wxChar
*szShort
, // dir prefix (for msg files)
3360 const wxChar
*szLocale
, // locale (for setlocale)
3361 bool bLoadDefault
, // preload wxstd.mo?
3362 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3363 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3367 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3368 int flags
) : wxLocale(language
, flags
)
3372 wxPyLocale::~wxPyLocale()
3376 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3377 const wxChar
*szDomain
) const
3379 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3380 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3383 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3384 const wxChar
*szOrigString2
, size_t n
,
3385 const wxChar
*szDomain
) const
3387 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3388 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3391 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3392 const wxChar
*szDomain
) const
3395 static wxString str
;
3396 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.
3397 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3398 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3399 PyObject
* param1
= wx2PyString(szOrigString
);
3400 PyObject
* param2
= wx2PyString(szDomain
);
3401 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3405 str
= Py2wxString(ret
);
3409 wxPyEndBlockThreads(blocked
);
3410 return (found
? (wxChar
*)str
.c_str() : NULL
);
3413 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3414 const wxChar
*szOrigString2
, size_t n
,
3415 const wxChar
*szDomain
) const
3418 static wxString str
;
3419 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.
3420 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3421 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3422 PyObject
* param1
= wx2PyString(szOrigString
);
3423 PyObject
* param2
= wx2PyString(szOrigString2
);
3424 PyObject
* param4
= wx2PyString(szDomain
);
3425 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3430 str
= Py2wxString(ret
);
3434 wxPyEndBlockThreads(blocked
);
3435 return (found
? (wxChar
*)str
.c_str() : NULL
);
3438 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3441 loc
= new wxPyLocale();
3443 loc
= new wxPyLocale(language
, flags
);
3444 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3445 // for the floating point conversions and such to work right.
3446 #if PY_VERSION_HEX < 0x02040000
3447 setlocale(LC_NUMERIC
, "C");
3452 #include "wx/wxPython/pydrawxxx.h"
3454 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3456 self
->GetPixel(x
, y
, &col
);
3459 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3461 self
->GetPixel(pt
, &col
);
3466 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3468 if (PyNumber_Check(obj
)) {
3469 if (val
) *val
= PyFloat_AsDouble(obj
);
3472 return SWIG_TypeError
;
3475 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3477 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3480 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3482 self
->GetClippingBox(rect
);
3485 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3487 self
->GetPartialTextExtents(text
, widths
);
3491 #define SWIG_From_double PyFloat_FromDouble
3493 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3494 self
->SetLogicalOrigin(point
.x
, point
.y
);
3496 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3497 self
->SetDeviceOrigin(point
.x
, point
.y
);
3499 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3500 self
->CalcBoundingBox(point
.x
, point
.y
);
3502 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3503 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3505 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3506 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3508 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3509 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3511 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3512 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3514 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3515 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3517 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3518 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3521 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3529 #include <wx/dcbuffer.h>
3532 #include <wx/dcps.h>
3535 #include <wx/metafile.h>
3538 #include <wx/graphics.h>
3541 #if !wxUSE_GRAPHICS_CONTEXT
3542 // C++ stub classes for platforms that don't have wxGraphicsContext yet.
3544 class wxGraphicsPath
3548 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3549 PyErr_SetString(PyExc_NotImplementedError
,
3550 "wxGraphicsPath is not available on this platform.");
3551 wxPyEndBlockThreads(blocked
);
3553 virtual ~wxGraphicsPath() {}
3555 void MoveToPoint( wxDouble
, wxDouble
) {}
3556 void AddLineToPoint( wxDouble
, wxDouble
) {}
3557 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3558 void CloseSubpath() {}
3559 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3560 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3562 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3563 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3564 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3565 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3567 wxPoint2DDouble
GetCurrentPoint() { return wxPoint2DDouble(0,0); }
3568 void MoveToPoint( const wxPoint2DDouble
& ) {}
3569 void AddLineToPoint( const wxPoint2DDouble
&) {}
3570 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3571 void AddArc( const wxPoint2DDouble
&, wxDouble
, wxDouble
, wxDouble
, bool) {}
3575 class wxGraphicsContext
3578 wxGraphicsContext() {
3579 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3580 PyErr_SetString(PyExc_NotImplementedError
,
3581 "wxGraphicsContext is not available on this platform.");
3582 wxPyEndBlockThreads(blocked
);
3584 virtual ~wxGraphicsContext() {}
3586 static wxGraphicsContext
* Create( const wxWindowDC
&) {
3587 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3588 PyErr_SetString(PyExc_NotImplementedError
,
3589 "wxGraphicsPath is not available on this platform.");
3590 wxPyEndBlockThreads(blocked
);
3594 wxGraphicsPath
* CreatePath() { return NULL
; }
3597 void Clip( const wxRegion
& ) {}
3598 void Translate( wxDouble
, wxDouble
) {}
3599 void Scale( wxDouble
, wxDouble
) {}
3600 void Rotate( wxDouble
) {}
3601 void SetPen( const wxPen
& ) {}
3602 void SetBrush( const wxBrush
& ) {}
3603 void SetLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3604 const wxColour
&, const wxColour
&) {}
3605 void SetRadialGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3606 const wxColour
&, const wxColour
&) {}
3607 void SetFont( const wxFont
& ) {}
3608 void SetTextColor( const wxColour
& ) {}
3609 void StrokePath( const wxGraphicsPath
* ) {}
3610 void FillPath( const wxGraphicsPath
*, int ) {}
3611 void DrawPath( const wxGraphicsPath
*, int ) {}
3612 void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3613 void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3614 void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3615 wxDouble
*, wxDouble
* ) const {}
3616 void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3617 void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3618 void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3619 void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3620 void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3621 void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3622 void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3623 void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3624 void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3625 void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3629 class wxGCDC
: public wxWindowDC
3632 wxGCDC(const wxWindowDC
&) {
3633 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3634 PyErr_SetString(PyExc_NotImplementedError
,
3635 "wxGCDC is not available on this platform.");
3636 wxPyEndBlockThreads(blocked
);
3640 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3641 PyErr_SetString(PyExc_NotImplementedError
,
3642 "wxGCDC is not available on this platform.");
3643 wxPyEndBlockThreads(blocked
);
3646 virtual ~wxGCDC() {}
3648 wxGraphicsContext
* GetGraphicContext() { return NULL
; }
3653 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3654 wxArrayDouble widths
;
3655 self
->GetPartialTextExtents(text
, widths
);
3658 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3659 size_t c1
, c2
, count
;
3660 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3661 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3663 if ( beginP
!= NULL
&& endP
!= NULL
)
3665 count
= wxMin(c1
, c2
);
3666 self
->StrokeLines(count
, beginP
, endP
);
3673 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3674 self
->AddColour(name
, wxColour(red
, green
, blue
));
3677 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3678 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3679 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3680 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3683 #include <wx/effects.h>
3686 #include "wx/renderer.h"
3689 SWIGINTERNINLINE PyObject
*
3690 SWIG_From_bool (bool value
)
3692 return PyBool_FromLong(value
? 1 : 0);
3696 #include "wx/wxPython/pseudodc.h"
3698 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3700 self
->GetIdBounds(id
, rect
);
3706 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3707 PyObject
*resultobj
= 0;
3708 wxGDIObject
*result
= 0 ;
3710 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3712 if (!wxPyCheckForApp()) SWIG_fail
;
3713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 result
= (wxGDIObject
*)new wxGDIObject();
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3725 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3726 PyObject
*resultobj
= 0;
3727 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3730 PyObject
*swig_obj
[1] ;
3732 if (!args
) SWIG_fail
;
3734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3735 if (!SWIG_IsOK(res1
)) {
3736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3738 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 resultobj
= SWIG_Py_Void();
3753 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3754 PyObject
*resultobj
= 0;
3755 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3759 PyObject
*swig_obj
[1] ;
3761 if (!args
) SWIG_fail
;
3763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3764 if (!SWIG_IsOK(res1
)) {
3765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3767 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 result
= (bool)(arg1
)->IsNull();
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3783 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3785 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3786 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3787 return SWIG_Py_Void();
3790 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3791 return SWIG_Python_InitShadowInstance(args
);
3794 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
*resultobj
= 0;
3796 byte arg1
= (byte
) 0 ;
3797 byte arg2
= (byte
) 0 ;
3798 byte arg3
= (byte
) 0 ;
3799 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3800 wxColour
*result
= 0 ;
3801 unsigned char val1
;
3803 unsigned char val2
;
3805 unsigned char val3
;
3807 unsigned char val4
;
3809 PyObject
* obj0
= 0 ;
3810 PyObject
* obj1
= 0 ;
3811 PyObject
* obj2
= 0 ;
3812 PyObject
* obj3
= 0 ;
3813 char * kwnames
[] = {
3814 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3819 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3820 if (!SWIG_IsOK(ecode1
)) {
3821 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3823 arg1
= static_cast< byte
>(val1
);
3826 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3827 if (!SWIG_IsOK(ecode2
)) {
3828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3830 arg2
= static_cast< byte
>(val2
);
3833 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3834 if (!SWIG_IsOK(ecode3
)) {
3835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3837 arg3
= static_cast< byte
>(val3
);
3840 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3841 if (!SWIG_IsOK(ecode4
)) {
3842 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3844 arg4
= static_cast< byte
>(val4
);
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3859 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
= 0;
3861 wxString
*arg1
= 0 ;
3862 wxColour
*result
= 0 ;
3863 bool temp1
= false ;
3864 PyObject
* obj0
= 0 ;
3865 char * kwnames
[] = {
3866 (char *) "colorName", NULL
3869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3871 arg1
= wxString_in_helper(obj0
);
3872 if (arg1
== NULL
) SWIG_fail
;
3876 if (!wxPyCheckForApp()) SWIG_fail
;
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3897 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
= 0;
3899 unsigned long arg1
;
3900 wxColour
*result
= 0 ;
3901 unsigned long val1
;
3903 PyObject
* obj0
= 0 ;
3904 char * kwnames
[] = {
3905 (char *) "colRGB", NULL
3908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3909 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3910 if (!SWIG_IsOK(ecode1
)) {
3911 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3913 arg1
= static_cast< unsigned long >(val1
);
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3916 result
= (wxColour
*)new wxColour(arg1
);
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3927 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3928 PyObject
*resultobj
= 0;
3929 wxColour
*arg1
= (wxColour
*) 0 ;
3932 PyObject
*swig_obj
[1] ;
3934 if (!args
) SWIG_fail
;
3936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3937 if (!SWIG_IsOK(res1
)) {
3938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3940 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3948 resultobj
= SWIG_Py_Void();
3955 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3956 PyObject
*resultobj
= 0;
3957 wxColour
*arg1
= (wxColour
*) 0 ;
3961 PyObject
*swig_obj
[1] ;
3963 if (!args
) SWIG_fail
;
3965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3966 if (!SWIG_IsOK(res1
)) {
3967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3969 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3972 result
= (byte
)(arg1
)->Red();
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3976 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3983 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3984 PyObject
*resultobj
= 0;
3985 wxColour
*arg1
= (wxColour
*) 0 ;
3989 PyObject
*swig_obj
[1] ;
3991 if (!args
) SWIG_fail
;
3993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3994 if (!SWIG_IsOK(res1
)) {
3995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3997 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 result
= (byte
)(arg1
)->Green();
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) SWIG_fail
;
4004 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4011 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4012 PyObject
*resultobj
= 0;
4013 wxColour
*arg1
= (wxColour
*) 0 ;
4017 PyObject
*swig_obj
[1] ;
4019 if (!args
) SWIG_fail
;
4021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4022 if (!SWIG_IsOK(res1
)) {
4023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4025 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 result
= (byte
)(arg1
)->Blue();
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4032 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4039 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4040 PyObject
*resultobj
= 0;
4041 wxColour
*arg1
= (wxColour
*) 0 ;
4045 PyObject
*swig_obj
[1] ;
4047 if (!args
) SWIG_fail
;
4049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4050 if (!SWIG_IsOK(res1
)) {
4051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4053 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 result
= (byte
)(arg1
)->Alpha();
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4067 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4068 PyObject
*resultobj
= 0;
4069 wxColour
*arg1
= (wxColour
*) 0 ;
4073 PyObject
*swig_obj
[1] ;
4075 if (!args
) SWIG_fail
;
4077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4078 if (!SWIG_IsOK(res1
)) {
4079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4081 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 result
= (bool)(arg1
)->IsOk();
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4097 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
*resultobj
= 0;
4099 wxColour
*arg1
= (wxColour
*) 0 ;
4103 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4106 unsigned char val2
;
4108 unsigned char val3
;
4110 unsigned char val4
;
4112 unsigned char val5
;
4114 PyObject
* obj0
= 0 ;
4115 PyObject
* obj1
= 0 ;
4116 PyObject
* obj2
= 0 ;
4117 PyObject
* obj3
= 0 ;
4118 PyObject
* obj4
= 0 ;
4119 char * kwnames
[] = {
4120 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4125 if (!SWIG_IsOK(res1
)) {
4126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4128 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4129 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4130 if (!SWIG_IsOK(ecode2
)) {
4131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4133 arg2
= static_cast< byte
>(val2
);
4134 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4135 if (!SWIG_IsOK(ecode3
)) {
4136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4138 arg3
= static_cast< byte
>(val3
);
4139 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4140 if (!SWIG_IsOK(ecode4
)) {
4141 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4143 arg4
= static_cast< byte
>(val4
);
4145 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4146 if (!SWIG_IsOK(ecode5
)) {
4147 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4149 arg5
= static_cast< byte
>(val5
);
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4157 resultobj
= SWIG_Py_Void();
4164 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
*resultobj
= 0;
4166 wxColour
*arg1
= (wxColour
*) 0 ;
4167 unsigned long arg2
;
4170 unsigned long val2
;
4172 PyObject
* obj0
= 0 ;
4173 PyObject
* obj1
= 0 ;
4174 char * kwnames
[] = {
4175 (char *) "self",(char *) "colRGB", NULL
4178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4180 if (!SWIG_IsOK(res1
)) {
4181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4183 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4184 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4185 if (!SWIG_IsOK(ecode2
)) {
4186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4188 arg2
= static_cast< unsigned long >(val2
);
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 wxPyEndAllowThreads(__tstate
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4195 resultobj
= SWIG_Py_Void();
4202 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
*resultobj
= 0;
4204 wxColour
*arg1
= (wxColour
*) 0 ;
4205 wxString
*arg2
= 0 ;
4208 bool temp2
= false ;
4209 PyObject
* obj0
= 0 ;
4210 PyObject
* obj1
= 0 ;
4211 char * kwnames
[] = {
4212 (char *) "self",(char *) "colourName", NULL
4215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4217 if (!SWIG_IsOK(res1
)) {
4218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4220 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4222 arg2
= wxString_in_helper(obj1
);
4223 if (arg2
== NULL
) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 (arg1
)->Set((wxString
const &)*arg2
);
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4232 resultobj
= SWIG_Py_Void();
4247 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
= 0;
4249 wxColour
*arg1
= (wxColour
*) 0 ;
4250 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4256 PyObject
* obj0
= 0 ;
4257 PyObject
* obj1
= 0 ;
4258 char * kwnames
[] = {
4259 (char *) "self",(char *) "flags", NULL
4262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4264 if (!SWIG_IsOK(res1
)) {
4265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4267 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4269 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4270 if (!SWIG_IsOK(ecode2
)) {
4271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4273 arg2
= static_cast< long >(val2
);
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) SWIG_fail
;
4283 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4285 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4294 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4295 PyObject
*resultobj
= 0;
4296 wxColour
*arg1
= (wxColour
*) 0 ;
4300 PyObject
*swig_obj
[1] ;
4302 if (!args
) SWIG_fail
;
4304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4305 if (!SWIG_IsOK(res1
)) {
4306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4308 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4315 resultobj
= SWIG_From_long(static_cast< long >(result
));
4322 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
*resultobj
= 0;
4324 wxColour
*arg1
= (wxColour
*) 0 ;
4325 PyObject
*arg2
= (PyObject
*) 0 ;
4329 PyObject
* obj0
= 0 ;
4330 PyObject
* obj1
= 0 ;
4331 char * kwnames
[] = {
4332 (char *) "self",(char *) "other", NULL
4335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4337 if (!SWIG_IsOK(res1
)) {
4338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4340 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4343 result
= (bool)wxColour___eq__(arg1
,arg2
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4355 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
= 0;
4357 wxColour
*arg1
= (wxColour
*) 0 ;
4358 PyObject
*arg2
= (PyObject
*) 0 ;
4362 PyObject
* obj0
= 0 ;
4363 PyObject
* obj1
= 0 ;
4364 char * kwnames
[] = {
4365 (char *) "self",(char *) "other", NULL
4368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4370 if (!SWIG_IsOK(res1
)) {
4371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4373 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4376 result
= (bool)wxColour___ne__(arg1
,arg2
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4388 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
*resultobj
= 0;
4390 wxColour
*arg1
= (wxColour
*) 0 ;
4391 bool arg2
= (bool) false ;
4392 PyObject
*result
= 0 ;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4399 char * kwnames
[] = {
4400 (char *) "self",(char *) "includeAlpha", NULL
4403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4405 if (!SWIG_IsOK(res1
)) {
4406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4408 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4410 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4411 if (!SWIG_IsOK(ecode2
)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4414 arg2
= static_cast< bool >(val2
);
4417 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4427 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4428 PyObject
*resultobj
= 0;
4429 wxColour
*arg1
= (wxColour
*) 0 ;
4430 unsigned long result
;
4433 PyObject
*swig_obj
[1] ;
4435 if (!args
) SWIG_fail
;
4437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4438 if (!SWIG_IsOK(res1
)) {
4439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4441 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4443 result
= (unsigned long)wxColour_GetRGB(arg1
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4446 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4453 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4455 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4456 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4457 return SWIG_Py_Void();
4460 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4461 return SWIG_Python_InitShadowInstance(args
);
4464 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
= 0;
4467 unsigned char *arg2
= (unsigned char *) 0 ;
4468 unsigned char *arg3
= (unsigned char *) 0 ;
4469 unsigned char *arg4
= (unsigned char *) 0 ;
4470 wxPalette
*result
= 0 ;
4479 PyObject
* obj0
= 0 ;
4480 PyObject
* obj1
= 0 ;
4481 PyObject
* obj2
= 0 ;
4482 PyObject
* obj3
= 0 ;
4483 char * kwnames
[] = {
4484 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4488 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4489 if (!SWIG_IsOK(ecode1
)) {
4490 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4492 arg1
= static_cast< int >(val1
);
4493 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4494 if (!SWIG_IsOK(res2
)) {
4495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4497 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4498 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4499 if (!SWIG_IsOK(res3
)) {
4500 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4502 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4503 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4504 if (!SWIG_IsOK(res4
)) {
4505 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4507 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4509 if (!wxPyCheckForApp()) SWIG_fail
;
4510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4515 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4522 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4523 PyObject
*resultobj
= 0;
4524 wxPalette
*arg1
= (wxPalette
*) 0 ;
4527 PyObject
*swig_obj
[1] ;
4529 if (!args
) SWIG_fail
;
4531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4532 if (!SWIG_IsOK(res1
)) {
4533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4535 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4543 resultobj
= SWIG_Py_Void();
4550 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
*resultobj
= 0;
4552 wxPalette
*arg1
= (wxPalette
*) 0 ;
4559 unsigned char val2
;
4561 unsigned char val3
;
4563 unsigned char val4
;
4565 PyObject
* obj0
= 0 ;
4566 PyObject
* obj1
= 0 ;
4567 PyObject
* obj2
= 0 ;
4568 PyObject
* obj3
= 0 ;
4569 char * kwnames
[] = {
4570 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4575 if (!SWIG_IsOK(res1
)) {
4576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4578 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4579 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4580 if (!SWIG_IsOK(ecode2
)) {
4581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4583 arg2
= static_cast< byte
>(val2
);
4584 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4585 if (!SWIG_IsOK(ecode3
)) {
4586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4588 arg3
= static_cast< byte
>(val3
);
4589 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4590 if (!SWIG_IsOK(ecode4
)) {
4591 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4593 arg4
= static_cast< byte
>(val4
);
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4597 wxPyEndAllowThreads(__tstate
);
4598 if (PyErr_Occurred()) SWIG_fail
;
4600 resultobj
= SWIG_From_int(static_cast< int >(result
));
4607 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
*resultobj
= 0;
4609 wxPalette
*arg1
= (wxPalette
*) 0 ;
4611 byte
*arg3
= (byte
*) 0 ;
4612 byte
*arg4
= (byte
*) 0 ;
4613 byte
*arg5
= (byte
*) 0 ;
4620 int res3
= SWIG_TMPOBJ
;
4622 int res4
= SWIG_TMPOBJ
;
4624 int res5
= SWIG_TMPOBJ
;
4625 PyObject
* obj0
= 0 ;
4626 PyObject
* obj1
= 0 ;
4627 char * kwnames
[] = {
4628 (char *) "self",(char *) "pixel", NULL
4634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4636 if (!SWIG_IsOK(res1
)) {
4637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4639 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4641 if (!SWIG_IsOK(ecode2
)) {
4642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4644 arg2
= static_cast< int >(val2
);
4646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4647 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4648 wxPyEndAllowThreads(__tstate
);
4649 if (PyErr_Occurred()) SWIG_fail
;
4652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4654 if (SWIG_IsTmpObj(res3
)) {
4655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4657 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4660 if (SWIG_IsTmpObj(res4
)) {
4661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4663 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4666 if (SWIG_IsTmpObj(res5
)) {
4667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4669 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4678 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4679 PyObject
*resultobj
= 0;
4680 wxPalette
*arg1
= (wxPalette
*) 0 ;
4684 PyObject
*swig_obj
[1] ;
4686 if (!args
) SWIG_fail
;
4688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4689 if (!SWIG_IsOK(res1
)) {
4690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4692 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4696 wxPyEndAllowThreads(__tstate
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4699 resultobj
= SWIG_From_int(static_cast< int >(result
));
4706 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4707 PyObject
*resultobj
= 0;
4708 wxPalette
*arg1
= (wxPalette
*) 0 ;
4712 PyObject
*swig_obj
[1] ;
4714 if (!args
) SWIG_fail
;
4716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4717 if (!SWIG_IsOK(res1
)) {
4718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4720 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= (bool)(arg1
)->IsOk();
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4736 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4738 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4739 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4740 return SWIG_Py_Void();
4743 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4744 return SWIG_Python_InitShadowInstance(args
);
4747 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
= 0;
4749 wxColour
*arg1
= 0 ;
4750 int arg2
= (int) 1 ;
4751 int arg3
= (int) wxSOLID
;
4758 PyObject
* obj0
= 0 ;
4759 PyObject
* obj1
= 0 ;
4760 PyObject
* obj2
= 0 ;
4761 char * kwnames
[] = {
4762 (char *) "colour",(char *) "width",(char *) "style", NULL
4765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4768 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4772 if (!SWIG_IsOK(ecode2
)) {
4773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4775 arg2
= static_cast< int >(val2
);
4778 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4779 if (!SWIG_IsOK(ecode3
)) {
4780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4782 arg3
= static_cast< int >(val3
);
4785 if (!wxPyCheckForApp()) SWIG_fail
;
4786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4787 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4798 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4799 PyObject
*resultobj
= 0;
4800 wxPen
*arg1
= (wxPen
*) 0 ;
4803 PyObject
*swig_obj
[1] ;
4805 if (!args
) SWIG_fail
;
4807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4808 if (!SWIG_IsOK(res1
)) {
4809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4811 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4819 resultobj
= SWIG_Py_Void();
4826 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4827 PyObject
*resultobj
= 0;
4828 wxPen
*arg1
= (wxPen
*) 0 ;
4832 PyObject
*swig_obj
[1] ;
4834 if (!args
) SWIG_fail
;
4836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4837 if (!SWIG_IsOK(res1
)) {
4838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4840 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 result
= (int)(arg1
)->GetCap();
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) SWIG_fail
;
4847 resultobj
= SWIG_From_int(static_cast< int >(result
));
4854 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4855 PyObject
*resultobj
= 0;
4856 wxPen
*arg1
= (wxPen
*) 0 ;
4860 PyObject
*swig_obj
[1] ;
4862 if (!args
) SWIG_fail
;
4864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4865 if (!SWIG_IsOK(res1
)) {
4866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4868 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 result
= (arg1
)->GetColour();
4872 wxPyEndAllowThreads(__tstate
);
4873 if (PyErr_Occurred()) SWIG_fail
;
4875 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4882 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4883 PyObject
*resultobj
= 0;
4884 wxPen
*arg1
= (wxPen
*) 0 ;
4888 PyObject
*swig_obj
[1] ;
4890 if (!args
) SWIG_fail
;
4892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4893 if (!SWIG_IsOK(res1
)) {
4894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4896 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 result
= (int)(arg1
)->GetJoin();
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4903 resultobj
= SWIG_From_int(static_cast< int >(result
));
4910 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4911 PyObject
*resultobj
= 0;
4912 wxPen
*arg1
= (wxPen
*) 0 ;
4916 PyObject
*swig_obj
[1] ;
4918 if (!args
) SWIG_fail
;
4920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4921 if (!SWIG_IsOK(res1
)) {
4922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4924 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 result
= (int)(arg1
)->GetStyle();
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4931 resultobj
= SWIG_From_int(static_cast< int >(result
));
4938 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4939 PyObject
*resultobj
= 0;
4940 wxPen
*arg1
= (wxPen
*) 0 ;
4944 PyObject
*swig_obj
[1] ;
4946 if (!args
) SWIG_fail
;
4948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4949 if (!SWIG_IsOK(res1
)) {
4950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4952 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 result
= (int)(arg1
)->GetWidth();
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4959 resultobj
= SWIG_From_int(static_cast< int >(result
));
4966 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4967 PyObject
*resultobj
= 0;
4968 wxPen
*arg1
= (wxPen
*) 0 ;
4972 PyObject
*swig_obj
[1] ;
4974 if (!args
) SWIG_fail
;
4976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4977 if (!SWIG_IsOK(res1
)) {
4978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
4980 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 result
= (bool)(arg1
)->IsOk();
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4996 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
= 0;
4998 wxPen
*arg1
= (wxPen
*) 0 ;
5004 PyObject
* obj0
= 0 ;
5005 PyObject
* obj1
= 0 ;
5006 char * kwnames
[] = {
5007 (char *) "self",(char *) "cap_style", NULL
5010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5012 if (!SWIG_IsOK(res1
)) {
5013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5015 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5017 if (!SWIG_IsOK(ecode2
)) {
5018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5020 arg2
= static_cast< int >(val2
);
5022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5023 (arg1
)->SetCap(arg2
);
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) SWIG_fail
;
5027 resultobj
= SWIG_Py_Void();
5034 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5035 PyObject
*resultobj
= 0;
5036 wxPen
*arg1
= (wxPen
*) 0 ;
5037 wxColour
*arg2
= 0 ;
5041 PyObject
* obj0
= 0 ;
5042 PyObject
* obj1
= 0 ;
5043 char * kwnames
[] = {
5044 (char *) "self",(char *) "colour", NULL
5047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5049 if (!SWIG_IsOK(res1
)) {
5050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5052 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5055 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5059 (arg1
)->SetColour(*arg2
);
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5063 resultobj
= SWIG_Py_Void();
5070 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
= 0;
5072 wxPen
*arg1
= (wxPen
*) 0 ;
5078 PyObject
* obj0
= 0 ;
5079 PyObject
* obj1
= 0 ;
5080 char * kwnames
[] = {
5081 (char *) "self",(char *) "join_style", NULL
5084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5086 if (!SWIG_IsOK(res1
)) {
5087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5089 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5091 if (!SWIG_IsOK(ecode2
)) {
5092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5094 arg2
= static_cast< int >(val2
);
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 (arg1
)->SetJoin(arg2
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= SWIG_Py_Void();
5108 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
= 0;
5110 wxPen
*arg1
= (wxPen
*) 0 ;
5116 PyObject
* obj0
= 0 ;
5117 PyObject
* obj1
= 0 ;
5118 char * kwnames
[] = {
5119 (char *) "self",(char *) "style", NULL
5122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5124 if (!SWIG_IsOK(res1
)) {
5125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5127 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5129 if (!SWIG_IsOK(ecode2
)) {
5130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5132 arg2
= static_cast< int >(val2
);
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 (arg1
)->SetStyle(arg2
);
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5139 resultobj
= SWIG_Py_Void();
5146 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
*resultobj
= 0;
5148 wxPen
*arg1
= (wxPen
*) 0 ;
5154 PyObject
* obj0
= 0 ;
5155 PyObject
* obj1
= 0 ;
5156 char * kwnames
[] = {
5157 (char *) "self",(char *) "width", NULL
5160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5162 if (!SWIG_IsOK(res1
)) {
5163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5165 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5167 if (!SWIG_IsOK(ecode2
)) {
5168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5170 arg2
= static_cast< int >(val2
);
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 (arg1
)->SetWidth(arg2
);
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= SWIG_Py_Void();
5184 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
*resultobj
= 0;
5186 wxPen
*arg1
= (wxPen
*) 0 ;
5188 wxDash
*arg3
= (wxDash
*) 0 ;
5191 PyObject
* obj0
= 0 ;
5192 PyObject
* obj1
= 0 ;
5193 char * kwnames
[] = {
5194 (char *) "self",(char *) "dashes", NULL
5197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5199 if (!SWIG_IsOK(res1
)) {
5200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5202 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5204 arg2
= PyList_Size(obj1
);
5205 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5206 if (arg3
== NULL
) SWIG_fail
;
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 (arg1
)->SetDashes(arg2
,arg3
);
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_Py_Void();
5216 if (arg3
) delete [] arg3
;
5221 if (arg3
) delete [] arg3
;
5227 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5228 PyObject
*resultobj
= 0;
5229 wxPen
*arg1
= (wxPen
*) 0 ;
5230 PyObject
*result
= 0 ;
5233 PyObject
*swig_obj
[1] ;
5235 if (!args
) SWIG_fail
;
5237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5238 if (!SWIG_IsOK(res1
)) {
5239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5241 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5255 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
*resultobj
= 0;
5257 wxPen
*arg1
= (wxPen
*) 0 ;
5258 PyObject
*arg2
= (PyObject
*) 0 ;
5259 PyObject
*arg3
= (PyObject
*) 0 ;
5262 PyObject
* obj0
= 0 ;
5263 PyObject
* obj1
= 0 ;
5264 PyObject
* obj2
= 0 ;
5265 char * kwnames
[] = {
5266 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5271 if (!SWIG_IsOK(res1
)) {
5272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5274 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 wxPen__SetDashes(arg1
,arg2
,arg3
);
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5283 resultobj
= SWIG_Py_Void();
5290 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5291 PyObject
*resultobj
= 0;
5292 wxPen
*arg1
= (wxPen
*) 0 ;
5296 PyObject
*swig_obj
[1] ;
5298 if (!args
) SWIG_fail
;
5300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5301 if (!SWIG_IsOK(res1
)) {
5302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5304 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5308 wxPyEndAllowThreads(__tstate
);
5309 if (PyErr_Occurred()) SWIG_fail
;
5311 resultobj
= SWIG_From_int(static_cast< int >(result
));
5318 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5319 PyObject
*resultobj
= 0;
5320 wxPen
*arg1
= (wxPen
*) 0 ;
5321 wxBitmap
*result
= 0 ;
5324 PyObject
*swig_obj
[1] ;
5326 if (!args
) SWIG_fail
;
5328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5329 if (!SWIG_IsOK(res1
)) {
5330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5332 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5335 result
= (wxBitmap
*)(arg1
)->GetStipple();
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5346 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5347 PyObject
*resultobj
= 0;
5348 wxPen
*arg1
= (wxPen
*) 0 ;
5349 wxBitmap
*arg2
= 0 ;
5354 PyObject
* obj0
= 0 ;
5355 PyObject
* obj1
= 0 ;
5356 char * kwnames
[] = {
5357 (char *) "self",(char *) "stipple", NULL
5360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",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_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5365 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5366 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5367 if (!SWIG_IsOK(res2
)) {
5368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5373 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 (arg1
)->SetStipple(*arg2
);
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5380 resultobj
= SWIG_Py_Void();
5387 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5388 PyObject
*resultobj
= 0;
5389 wxPen
*arg1
= (wxPen
*) 0 ;
5390 wxPen
*arg2
= (wxPen
*) 0 ;
5396 PyObject
* obj0
= 0 ;
5397 PyObject
* obj1
= 0 ;
5398 char * kwnames
[] = {
5399 (char *) "self",(char *) "other", NULL
5402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5404 if (!SWIG_IsOK(res1
)) {
5405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5407 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5408 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5409 if (!SWIG_IsOK(res2
)) {
5410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5412 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5428 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
*resultobj
= 0;
5430 wxPen
*arg1
= (wxPen
*) 0 ;
5431 wxPen
*arg2
= (wxPen
*) 0 ;
5437 PyObject
* obj0
= 0 ;
5438 PyObject
* obj1
= 0 ;
5439 char * kwnames
[] = {
5440 (char *) "self",(char *) "other", NULL
5443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5445 if (!SWIG_IsOK(res1
)) {
5446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5448 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5449 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5450 if (!SWIG_IsOK(res2
)) {
5451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5453 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) SWIG_fail
;
5461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5469 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5471 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5472 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5473 return SWIG_Py_Void();
5476 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5477 return SWIG_Python_InitShadowInstance(args
);
5480 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
= 0;
5482 wxColour
*arg1
= 0 ;
5483 int arg2
= (int) wxSOLID
;
5484 wxBrush
*result
= 0 ;
5488 PyObject
* obj0
= 0 ;
5489 PyObject
* obj1
= 0 ;
5490 char * kwnames
[] = {
5491 (char *) "colour",(char *) "style", NULL
5494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5497 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5501 if (!SWIG_IsOK(ecode2
)) {
5502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5504 arg2
= static_cast< int >(val2
);
5507 if (!wxPyCheckForApp()) SWIG_fail
;
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5520 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
*resultobj
= 0;
5522 wxBitmap
*arg1
= 0 ;
5523 wxBrush
*result
= 0 ;
5526 PyObject
* obj0
= 0 ;
5527 char * kwnames
[] = {
5528 (char *) "stippleBitmap", NULL
5531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5532 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5533 if (!SWIG_IsOK(res1
)) {
5534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5539 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5541 if (!wxPyCheckForApp()) SWIG_fail
;
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5554 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5555 PyObject
*resultobj
= 0;
5556 wxBrush
*arg1
= (wxBrush
*) 0 ;
5559 PyObject
*swig_obj
[1] ;
5561 if (!args
) SWIG_fail
;
5563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5564 if (!SWIG_IsOK(res1
)) {
5565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5567 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5575 resultobj
= SWIG_Py_Void();
5582 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
*resultobj
= 0;
5584 wxBrush
*arg1
= (wxBrush
*) 0 ;
5585 wxColour
*arg2
= 0 ;
5589 PyObject
* obj0
= 0 ;
5590 PyObject
* obj1
= 0 ;
5591 char * kwnames
[] = {
5592 (char *) "self",(char *) "col", NULL
5595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5597 if (!SWIG_IsOK(res1
)) {
5598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5600 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5603 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 (arg1
)->SetColour((wxColour
const &)*arg2
);
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5611 resultobj
= SWIG_Py_Void();
5618 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
*resultobj
= 0;
5620 wxBrush
*arg1
= (wxBrush
*) 0 ;
5626 PyObject
* obj0
= 0 ;
5627 PyObject
* obj1
= 0 ;
5628 char * kwnames
[] = {
5629 (char *) "self",(char *) "style", NULL
5632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5634 if (!SWIG_IsOK(res1
)) {
5635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5637 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5639 if (!SWIG_IsOK(ecode2
)) {
5640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5642 arg2
= static_cast< int >(val2
);
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 (arg1
)->SetStyle(arg2
);
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5649 resultobj
= SWIG_Py_Void();
5656 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
= 0;
5658 wxBrush
*arg1
= (wxBrush
*) 0 ;
5659 wxBitmap
*arg2
= 0 ;
5664 PyObject
* obj0
= 0 ;
5665 PyObject
* obj1
= 0 ;
5666 char * kwnames
[] = {
5667 (char *) "self",(char *) "stipple", NULL
5670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5672 if (!SWIG_IsOK(res1
)) {
5673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5675 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5676 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5677 if (!SWIG_IsOK(res2
)) {
5678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5683 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5690 resultobj
= SWIG_Py_Void();
5697 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5698 PyObject
*resultobj
= 0;
5699 wxBrush
*arg1
= (wxBrush
*) 0 ;
5703 PyObject
*swig_obj
[1] ;
5705 if (!args
) SWIG_fail
;
5707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5708 if (!SWIG_IsOK(res1
)) {
5709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5711 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 result
= ((wxBrush
const *)arg1
)->GetColour();
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5718 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5725 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5726 PyObject
*resultobj
= 0;
5727 wxBrush
*arg1
= (wxBrush
*) 0 ;
5731 PyObject
*swig_obj
[1] ;
5733 if (!args
) SWIG_fail
;
5735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5736 if (!SWIG_IsOK(res1
)) {
5737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5739 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5742 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5746 resultobj
= SWIG_From_int(static_cast< int >(result
));
5753 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5754 PyObject
*resultobj
= 0;
5755 wxBrush
*arg1
= (wxBrush
*) 0 ;
5756 wxBitmap
*result
= 0 ;
5759 PyObject
*swig_obj
[1] ;
5761 if (!args
) SWIG_fail
;
5763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5764 if (!SWIG_IsOK(res1
)) {
5765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5767 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5781 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5782 PyObject
*resultobj
= 0;
5783 wxBrush
*arg1
= (wxBrush
*) 0 ;
5787 PyObject
*swig_obj
[1] ;
5789 if (!args
) SWIG_fail
;
5791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5792 if (!SWIG_IsOK(res1
)) {
5793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5795 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5811 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5812 PyObject
*resultobj
= 0;
5813 wxBrush
*arg1
= (wxBrush
*) 0 ;
5817 PyObject
*swig_obj
[1] ;
5819 if (!args
) SWIG_fail
;
5821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5822 if (!SWIG_IsOK(res1
)) {
5823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
5825 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 result
= (bool)(arg1
)->IsOk();
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5841 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5843 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5844 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5845 return SWIG_Py_Void();
5848 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5849 return SWIG_Python_InitShadowInstance(args
);
5852 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5853 PyObject
*resultobj
= 0;
5854 wxString
*arg1
= 0 ;
5855 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5856 wxBitmap
*result
= 0 ;
5857 bool temp1
= false ;
5860 PyObject
* obj0
= 0 ;
5861 PyObject
* obj1
= 0 ;
5862 char * kwnames
[] = {
5863 (char *) "name",(char *) "type", NULL
5866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5868 arg1
= wxString_in_helper(obj0
);
5869 if (arg1
== NULL
) SWIG_fail
;
5873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5874 if (!SWIG_IsOK(ecode2
)) {
5875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5877 arg2
= static_cast< wxBitmapType
>(val2
);
5880 if (!wxPyCheckForApp()) SWIG_fail
;
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5901 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5902 PyObject
*resultobj
= 0;
5903 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5906 PyObject
*swig_obj
[1] ;
5908 if (!args
) SWIG_fail
;
5910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5911 if (!SWIG_IsOK(res1
)) {
5912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5914 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_Py_Void();
5927 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
= 0;
5931 int arg3
= (int) -1 ;
5932 wxBitmap
*result
= 0 ;
5939 PyObject
* obj0
= 0 ;
5940 PyObject
* obj1
= 0 ;
5941 PyObject
* obj2
= 0 ;
5942 char * kwnames
[] = {
5943 (char *) "width",(char *) "height",(char *) "depth", NULL
5946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5947 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5948 if (!SWIG_IsOK(ecode1
)) {
5949 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5951 arg1
= static_cast< int >(val1
);
5952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5953 if (!SWIG_IsOK(ecode2
)) {
5954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5956 arg2
= static_cast< int >(val2
);
5958 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5959 if (!SWIG_IsOK(ecode3
)) {
5960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5962 arg3
= static_cast< int >(val3
);
5965 if (!wxPyCheckForApp()) SWIG_fail
;
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) SWIG_fail
;
5971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5978 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
= 0;
5981 wxBitmap
*result
= 0 ;
5984 PyObject
* obj0
= 0 ;
5985 char * kwnames
[] = {
5986 (char *) "icon", NULL
5989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5990 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5991 if (!SWIG_IsOK(res1
)) {
5992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5997 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5999 if (!wxPyCheckForApp()) SWIG_fail
;
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6002 wxPyEndAllowThreads(__tstate
);
6003 if (PyErr_Occurred()) SWIG_fail
;
6005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6012 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
*resultobj
= 0;
6015 int arg2
= (int) -1 ;
6016 wxBitmap
*result
= 0 ;
6021 PyObject
* obj0
= 0 ;
6022 PyObject
* obj1
= 0 ;
6023 char * kwnames
[] = {
6024 (char *) "image",(char *) "depth", NULL
6027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6028 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6029 if (!SWIG_IsOK(res1
)) {
6030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6035 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6038 if (!SWIG_IsOK(ecode2
)) {
6039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6041 arg2
= static_cast< int >(val2
);
6044 if (!wxPyCheckForApp()) SWIG_fail
;
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6057 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
*resultobj
= 0;
6059 PyObject
*arg1
= (PyObject
*) 0 ;
6060 wxBitmap
*result
= 0 ;
6061 PyObject
* obj0
= 0 ;
6062 char * kwnames
[] = {
6063 (char *) "listOfStrings", NULL
6066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6069 if (!wxPyCheckForApp()) SWIG_fail
;
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6072 wxPyEndAllowThreads(__tstate
);
6073 if (PyErr_Occurred()) SWIG_fail
;
6075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6082 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6083 PyObject
*resultobj
= 0;
6084 PyObject
*arg1
= (PyObject
*) 0 ;
6087 int arg4
= (int) 1 ;
6088 wxBitmap
*result
= 0 ;
6095 PyObject
* obj0
= 0 ;
6096 PyObject
* obj1
= 0 ;
6097 PyObject
* obj2
= 0 ;
6098 PyObject
* obj3
= 0 ;
6099 char * kwnames
[] = {
6100 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6106 if (!SWIG_IsOK(ecode2
)) {
6107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6109 arg2
= static_cast< int >(val2
);
6110 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6111 if (!SWIG_IsOK(ecode3
)) {
6112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6114 arg3
= static_cast< int >(val3
);
6116 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6117 if (!SWIG_IsOK(ecode4
)) {
6118 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6120 arg4
= static_cast< int >(val4
);
6123 if (!wxPyCheckForApp()) SWIG_fail
;
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6136 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6137 PyObject
*resultobj
= 0;
6138 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6142 PyObject
*swig_obj
[1] ;
6144 if (!args
) SWIG_fail
;
6146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6147 if (!SWIG_IsOK(res1
)) {
6148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6150 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6152 result
= (long)(arg1
)->GetHandle();
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= SWIG_From_long(static_cast< long >(result
));
6162 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
= 0;
6164 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6170 PyObject
* obj0
= 0 ;
6171 PyObject
* obj1
= 0 ;
6172 char * kwnames
[] = {
6173 (char *) "self",(char *) "handle", NULL
6176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6178 if (!SWIG_IsOK(res1
)) {
6179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6181 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6182 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6183 if (!SWIG_IsOK(ecode2
)) {
6184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6186 arg2
= static_cast< long >(val2
);
6188 wxBitmap_SetHandle(arg1
,arg2
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6191 resultobj
= SWIG_Py_Void();
6198 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6199 PyObject
*resultobj
= 0;
6200 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6204 PyObject
*swig_obj
[1] ;
6206 if (!args
) SWIG_fail
;
6208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6209 if (!SWIG_IsOK(res1
)) {
6210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6212 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6214 result
= (bool)(arg1
)->IsOk();
6215 if (PyErr_Occurred()) SWIG_fail
;
6218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6226 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6227 PyObject
*resultobj
= 0;
6228 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6232 PyObject
*swig_obj
[1] ;
6234 if (!args
) SWIG_fail
;
6236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6237 if (!SWIG_IsOK(res1
)) {
6238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6240 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6242 result
= (int)(arg1
)->GetWidth();
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= SWIG_From_int(static_cast< int >(result
));
6252 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6253 PyObject
*resultobj
= 0;
6254 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6258 PyObject
*swig_obj
[1] ;
6260 if (!args
) SWIG_fail
;
6262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6263 if (!SWIG_IsOK(res1
)) {
6264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6266 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6268 result
= (int)(arg1
)->GetHeight();
6269 if (PyErr_Occurred()) SWIG_fail
;
6271 resultobj
= SWIG_From_int(static_cast< int >(result
));
6278 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6279 PyObject
*resultobj
= 0;
6280 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6284 PyObject
*swig_obj
[1] ;
6286 if (!args
) SWIG_fail
;
6288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6289 if (!SWIG_IsOK(res1
)) {
6290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6292 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6294 result
= (int)(arg1
)->GetDepth();
6295 if (PyErr_Occurred()) SWIG_fail
;
6297 resultobj
= SWIG_From_int(static_cast< int >(result
));
6304 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6305 PyObject
*resultobj
= 0;
6306 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6310 PyObject
*swig_obj
[1] ;
6312 if (!args
) SWIG_fail
;
6314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6315 if (!SWIG_IsOK(res1
)) {
6316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6318 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6320 result
= wxBitmap_GetSize(arg1
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6323 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6330 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6331 PyObject
*resultobj
= 0;
6332 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6333 SwigValueWrapper
<wxImage
> result
;
6336 PyObject
*swig_obj
[1] ;
6338 if (!args
) SWIG_fail
;
6340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6341 if (!SWIG_IsOK(res1
)) {
6342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6344 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6346 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6347 if (PyErr_Occurred()) SWIG_fail
;
6349 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6356 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6357 PyObject
*resultobj
= 0;
6358 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6359 wxMask
*result
= 0 ;
6362 PyObject
*swig_obj
[1] ;
6364 if (!args
) SWIG_fail
;
6366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6367 if (!SWIG_IsOK(res1
)) {
6368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6370 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6372 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6382 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
*resultobj
= 0;
6384 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6385 wxMask
*arg2
= (wxMask
*) 0 ;
6389 PyObject
* obj0
= 0 ;
6390 PyObject
* obj1
= 0 ;
6391 char * kwnames
[] = {
6392 (char *) "self",(char *) "mask", NULL
6395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6397 if (!SWIG_IsOK(res1
)) {
6398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6400 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6401 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6402 if (!SWIG_IsOK(res2
)) {
6403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6406 (arg1
)->SetMask(arg2
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6409 resultobj
= SWIG_Py_Void();
6416 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
*resultobj
= 0;
6418 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6419 wxColour
*arg2
= 0 ;
6423 PyObject
* obj0
= 0 ;
6424 PyObject
* obj1
= 0 ;
6425 char * kwnames
[] = {
6426 (char *) "self",(char *) "colour", NULL
6429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6431 if (!SWIG_IsOK(res1
)) {
6432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6434 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6437 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6440 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6443 resultobj
= SWIG_Py_Void();
6450 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6451 PyObject
*resultobj
= 0;
6452 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6454 SwigValueWrapper
<wxBitmap
> result
;
6458 PyObject
* obj0
= 0 ;
6459 PyObject
* obj1
= 0 ;
6460 char * kwnames
[] = {
6461 (char *) "self",(char *) "rect", NULL
6464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6466 if (!SWIG_IsOK(res1
)) {
6467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6469 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6472 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6475 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6485 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
*resultobj
= 0;
6487 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6488 wxString
*arg2
= 0 ;
6490 wxPalette
*arg4
= (wxPalette
*) NULL
;
6494 bool temp2
= false ;
6499 PyObject
* obj0
= 0 ;
6500 PyObject
* obj1
= 0 ;
6501 PyObject
* obj2
= 0 ;
6502 PyObject
* obj3
= 0 ;
6503 char * kwnames
[] = {
6504 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6509 if (!SWIG_IsOK(res1
)) {
6510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6512 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6514 arg2
= wxString_in_helper(obj1
);
6515 if (arg2
== NULL
) SWIG_fail
;
6518 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6519 if (!SWIG_IsOK(ecode3
)) {
6520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6522 arg3
= static_cast< wxBitmapType
>(val3
);
6524 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6525 if (!SWIG_IsOK(res4
)) {
6526 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6528 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6531 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6551 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
= 0;
6553 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6554 wxString
*arg2
= 0 ;
6559 bool temp2
= false ;
6562 PyObject
* obj0
= 0 ;
6563 PyObject
* obj1
= 0 ;
6564 PyObject
* obj2
= 0 ;
6565 char * kwnames
[] = {
6566 (char *) "self",(char *) "name",(char *) "type", NULL
6569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6571 if (!SWIG_IsOK(res1
)) {
6572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6574 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6576 arg2
= wxString_in_helper(obj1
);
6577 if (arg2
== NULL
) SWIG_fail
;
6580 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6581 if (!SWIG_IsOK(ecode3
)) {
6582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6584 arg3
= static_cast< wxBitmapType
>(val3
);
6586 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6606 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6607 PyObject
*resultobj
= 0;
6608 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6609 wxPalette
*result
= 0 ;
6612 PyObject
*swig_obj
[1] ;
6614 if (!args
) SWIG_fail
;
6616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6617 if (!SWIG_IsOK(res1
)) {
6618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6620 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6622 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6632 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
*resultobj
= 0;
6634 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6635 wxPalette
*arg2
= 0 ;
6640 PyObject
* obj0
= 0 ;
6641 PyObject
* obj1
= 0 ;
6642 char * kwnames
[] = {
6643 (char *) "self",(char *) "palette", NULL
6646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6648 if (!SWIG_IsOK(res1
)) {
6649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6651 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6652 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6653 if (!SWIG_IsOK(res2
)) {
6654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6659 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6661 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 resultobj
= SWIG_Py_Void();
6671 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
= 0;
6673 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6680 PyObject
* obj0
= 0 ;
6681 PyObject
* obj1
= 0 ;
6682 char * kwnames
[] = {
6683 (char *) "self",(char *) "icon", NULL
6686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6688 if (!SWIG_IsOK(res1
)) {
6689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6691 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6692 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6693 if (!SWIG_IsOK(res2
)) {
6694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6699 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6701 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6713 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
= 0;
6715 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6723 char * kwnames
[] = {
6724 (char *) "self",(char *) "height", NULL
6727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) 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_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6732 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6734 if (!SWIG_IsOK(ecode2
)) {
6735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6737 arg2
= static_cast< int >(val2
);
6739 (arg1
)->SetHeight(arg2
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6742 resultobj
= SWIG_Py_Void();
6749 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
*resultobj
= 0;
6751 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6757 PyObject
* obj0
= 0 ;
6758 PyObject
* obj1
= 0 ;
6759 char * kwnames
[] = {
6760 (char *) "self",(char *) "width", NULL
6763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6765 if (!SWIG_IsOK(res1
)) {
6766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6768 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6770 if (!SWIG_IsOK(ecode2
)) {
6771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6773 arg2
= static_cast< int >(val2
);
6775 (arg1
)->SetWidth(arg2
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 resultobj
= SWIG_Py_Void();
6785 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
= 0;
6787 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6793 PyObject
* obj0
= 0 ;
6794 PyObject
* obj1
= 0 ;
6795 char * kwnames
[] = {
6796 (char *) "self",(char *) "depth", NULL
6799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6801 if (!SWIG_IsOK(res1
)) {
6802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6804 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6806 if (!SWIG_IsOK(ecode2
)) {
6807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6809 arg2
= static_cast< int >(val2
);
6811 (arg1
)->SetDepth(arg2
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6814 resultobj
= SWIG_Py_Void();
6821 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6822 PyObject
*resultobj
= 0;
6823 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6828 PyObject
* obj0
= 0 ;
6829 PyObject
* obj1
= 0 ;
6830 char * kwnames
[] = {
6831 (char *) "self",(char *) "size", NULL
6834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6836 if (!SWIG_IsOK(res1
)) {
6837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6839 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6842 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6845 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6848 resultobj
= SWIG_Py_Void();
6855 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
= 0;
6857 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6858 wxCursor
*arg2
= 0 ;
6864 PyObject
* obj0
= 0 ;
6865 PyObject
* obj1
= 0 ;
6866 char * kwnames
[] = {
6867 (char *) "self",(char *) "cursor", NULL
6870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6872 if (!SWIG_IsOK(res1
)) {
6873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
6875 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6876 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
6877 if (!SWIG_IsOK(res2
)) {
6878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6883 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
6885 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
6886 if (PyErr_Occurred()) SWIG_fail
;
6889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6897 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
*resultobj
= 0;
6899 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6900 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6906 PyObject
* obj0
= 0 ;
6907 PyObject
* obj1
= 0 ;
6908 char * kwnames
[] = {
6909 (char *) "self",(char *) "other", NULL
6912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6914 if (!SWIG_IsOK(res1
)) {
6915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6917 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6918 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6919 if (!SWIG_IsOK(res2
)) {
6920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6922 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6924 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6936 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
= 0;
6938 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6939 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6945 PyObject
* obj0
= 0 ;
6946 PyObject
* obj1
= 0 ;
6947 char * kwnames
[] = {
6948 (char *) "self",(char *) "other", NULL
6951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6953 if (!SWIG_IsOK(res1
)) {
6954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6956 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6957 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6958 if (!SWIG_IsOK(res2
)) {
6959 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6961 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6963 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6975 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6977 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6978 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6979 return SWIG_Py_Void();
6982 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6983 return SWIG_Python_InitShadowInstance(args
);
6986 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
= 0;
6994 wxBitmap
*result
= 0 ;
7001 PyObject
* obj0
= 0 ;
7002 PyObject
* obj1
= 0 ;
7003 PyObject
* obj2
= 0 ;
7004 PyObject
* obj3
= 0 ;
7005 char * kwnames
[] = {
7006 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7010 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7011 if (!SWIG_IsOK(ecode1
)) {
7012 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7014 arg1
= static_cast< int >(val1
);
7015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7016 if (!SWIG_IsOK(ecode2
)) {
7017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7019 arg2
= static_cast< int >(val2
);
7021 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7025 if (obj3
!= Py_None
) {
7026 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7031 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7041 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
= 0;
7047 wxBitmap
*result
= 0 ;
7053 PyObject
* obj0
= 0 ;
7054 PyObject
* obj1
= 0 ;
7055 PyObject
* obj2
= 0 ;
7056 char * kwnames
[] = {
7057 (char *) "width",(char *) "height",(char *) "data", NULL
7060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7061 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7062 if (!SWIG_IsOK(ecode1
)) {
7063 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7065 arg1
= static_cast< int >(val1
);
7066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7067 if (!SWIG_IsOK(ecode2
)) {
7068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7070 arg2
= static_cast< int >(val2
);
7072 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7076 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7086 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
= 0;
7092 wxBitmap
*result
= 0 ;
7098 PyObject
* obj0
= 0 ;
7099 PyObject
* obj1
= 0 ;
7100 PyObject
* obj2
= 0 ;
7101 char * kwnames
[] = {
7102 (char *) "width",(char *) "height",(char *) "data", NULL
7105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7106 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7107 if (!SWIG_IsOK(ecode1
)) {
7108 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7110 arg1
= static_cast< int >(val1
);
7111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7112 if (!SWIG_IsOK(ecode2
)) {
7113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7115 arg2
= static_cast< int >(val2
);
7117 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7121 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7122 if (PyErr_Occurred()) SWIG_fail
;
7124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7131 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7132 PyObject
*resultobj
= 0;
7133 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7137 PyObject
*swig_obj
[1] ;
7139 if (!args
) SWIG_fail
;
7141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7142 if (!SWIG_IsOK(res1
)) {
7143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7145 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7147 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7148 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7157 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7158 PyObject
*resultobj
= 0;
7159 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7163 PyObject
*swig_obj
[1] ;
7165 if (!args
) SWIG_fail
;
7167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7168 if (!SWIG_IsOK(res1
)) {
7169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7171 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7173 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7174 if (PyErr_Occurred()) SWIG_fail
;
7176 resultobj
= SWIG_From_int(static_cast< int >(result
));
7183 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7184 PyObject
*resultobj
= 0;
7185 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7189 PyObject
*swig_obj
[1] ;
7191 if (!args
) SWIG_fail
;
7193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7194 if (!SWIG_IsOK(res1
)) {
7195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7197 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7199 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7200 if (PyErr_Occurred()) SWIG_fail
;
7202 resultobj
= SWIG_From_int(static_cast< int >(result
));
7209 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7210 PyObject
*resultobj
= 0;
7211 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7215 PyObject
*swig_obj
[1] ;
7217 if (!args
) SWIG_fail
;
7219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7220 if (!SWIG_IsOK(res1
)) {
7221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7223 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7225 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7226 if (PyErr_Occurred()) SWIG_fail
;
7228 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7235 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7236 PyObject
*resultobj
= 0;
7237 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7241 PyObject
*swig_obj
[1] ;
7243 if (!args
) SWIG_fail
;
7245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7246 if (!SWIG_IsOK(res1
)) {
7247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7249 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7251 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 resultobj
= SWIG_From_int(static_cast< int >(result
));
7261 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7263 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7264 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7265 return SWIG_Py_Void();
7268 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7269 PyObject
*resultobj
= 0;
7270 wxBitmap
*arg1
= 0 ;
7271 wxNativePixelData
*result
= 0 ;
7275 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7277 if (!SWIG_IsOK(res1
)) {
7278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7283 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7285 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7295 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7296 PyObject
*resultobj
= 0;
7297 wxBitmap
*arg1
= 0 ;
7299 wxNativePixelData
*result
= 0 ;
7304 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7306 if (!SWIG_IsOK(res1
)) {
7307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7312 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7315 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7318 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7328 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7329 PyObject
*resultobj
= 0;
7330 wxBitmap
*arg1
= 0 ;
7333 wxNativePixelData
*result
= 0 ;
7339 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7341 if (!SWIG_IsOK(res1
)) {
7342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7347 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7350 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7354 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7357 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7367 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7371 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7374 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7377 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7380 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7384 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7389 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7390 PyObject
*resultobj
= 0;
7391 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7394 PyObject
*swig_obj
[1] ;
7396 if (!args
) SWIG_fail
;
7398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7399 if (!SWIG_IsOK(res1
)) {
7400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7402 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= SWIG_Py_Void();
7415 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7416 PyObject
*resultobj
= 0;
7417 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7418 wxNativePixelData_Accessor result
;
7421 PyObject
*swig_obj
[1] ;
7423 if (!args
) SWIG_fail
;
7425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7426 if (!SWIG_IsOK(res1
)) {
7427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7429 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7431 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7432 if (PyErr_Occurred()) SWIG_fail
;
7434 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7441 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7442 PyObject
*resultobj
= 0;
7443 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7446 PyObject
*swig_obj
[1] ;
7448 if (!args
) SWIG_fail
;
7450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7451 if (!SWIG_IsOK(res1
)) {
7452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7454 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7459 resultobj
= SWIG_Py_Void();
7466 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7467 PyObject
*resultobj
= 0;
7468 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7472 PyObject
*swig_obj
[1] ;
7474 if (!args
) SWIG_fail
;
7476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7477 if (!SWIG_IsOK(res1
)) {
7478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7480 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7482 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7494 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7496 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7497 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7498 return SWIG_Py_Void();
7501 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7502 return SWIG_Python_InitShadowInstance(args
);
7505 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7506 PyObject
*resultobj
= 0;
7507 wxNativePixelData
*arg1
= 0 ;
7508 wxNativePixelData_Accessor
*result
= 0 ;
7512 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7514 if (!SWIG_IsOK(res1
)) {
7515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7520 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7522 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7532 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7533 PyObject
*resultobj
= 0;
7534 wxBitmap
*arg1
= 0 ;
7535 wxNativePixelData
*arg2
= 0 ;
7536 wxNativePixelData_Accessor
*result
= 0 ;
7542 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7544 if (!SWIG_IsOK(res1
)) {
7545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7550 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7551 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7552 if (!SWIG_IsOK(res2
)) {
7553 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7558 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7560 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7570 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7571 PyObject
*resultobj
= 0;
7572 wxNativePixelData_Accessor
*result
= 0 ;
7574 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7576 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7577 if (PyErr_Occurred()) SWIG_fail
;
7579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7586 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7590 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7593 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7596 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7599 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7603 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7608 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7609 PyObject
*resultobj
= 0;
7610 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7613 PyObject
*swig_obj
[1] ;
7615 if (!args
) SWIG_fail
;
7617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7618 if (!SWIG_IsOK(res1
)) {
7619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7621 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7627 resultobj
= SWIG_Py_Void();
7634 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
*resultobj
= 0;
7636 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7637 wxNativePixelData
*arg2
= 0 ;
7642 PyObject
* obj0
= 0 ;
7643 PyObject
* obj1
= 0 ;
7644 char * kwnames
[] = {
7645 (char *) "self",(char *) "data", NULL
7648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7650 if (!SWIG_IsOK(res1
)) {
7651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7653 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7654 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7655 if (!SWIG_IsOK(res2
)) {
7656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7661 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7663 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= SWIG_Py_Void();
7673 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7674 PyObject
*resultobj
= 0;
7675 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7679 PyObject
*swig_obj
[1] ;
7681 if (!args
) SWIG_fail
;
7683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7684 if (!SWIG_IsOK(res1
)) {
7685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7687 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7689 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7690 if (PyErr_Occurred()) SWIG_fail
;
7693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7701 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7702 PyObject
*resultobj
= 0;
7703 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7706 PyObject
*swig_obj
[1] ;
7708 if (!args
) SWIG_fail
;
7710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7711 if (!SWIG_IsOK(res1
)) {
7712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7714 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7716 wxNativePixelData_Accessor_nextPixel(arg1
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_Py_Void();
7726 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
= 0;
7728 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7729 wxNativePixelData
*arg2
= 0 ;
7740 PyObject
* obj0
= 0 ;
7741 PyObject
* obj1
= 0 ;
7742 PyObject
* obj2
= 0 ;
7743 PyObject
* obj3
= 0 ;
7744 char * kwnames
[] = {
7745 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7750 if (!SWIG_IsOK(res1
)) {
7751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7753 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7754 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7755 if (!SWIG_IsOK(res2
)) {
7756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7761 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7763 if (!SWIG_IsOK(ecode3
)) {
7764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7766 arg3
= static_cast< int >(val3
);
7767 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7768 if (!SWIG_IsOK(ecode4
)) {
7769 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7771 arg4
= static_cast< int >(val4
);
7773 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7776 resultobj
= SWIG_Py_Void();
7783 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
= 0;
7785 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7786 wxNativePixelData
*arg2
= 0 ;
7794 PyObject
* obj0
= 0 ;
7795 PyObject
* obj1
= 0 ;
7796 PyObject
* obj2
= 0 ;
7797 char * kwnames
[] = {
7798 (char *) "self",(char *) "data",(char *) "x", NULL
7801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7803 if (!SWIG_IsOK(res1
)) {
7804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7806 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7807 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7808 if (!SWIG_IsOK(res2
)) {
7809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7814 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7816 if (!SWIG_IsOK(ecode3
)) {
7817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7819 arg3
= static_cast< int >(val3
);
7821 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7824 resultobj
= SWIG_Py_Void();
7831 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
= 0;
7833 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7834 wxNativePixelData
*arg2
= 0 ;
7842 PyObject
* obj0
= 0 ;
7843 PyObject
* obj1
= 0 ;
7844 PyObject
* obj2
= 0 ;
7845 char * kwnames
[] = {
7846 (char *) "self",(char *) "data",(char *) "y", NULL
7849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7851 if (!SWIG_IsOK(res1
)) {
7852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7854 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7855 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7856 if (!SWIG_IsOK(res2
)) {
7857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7862 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7864 if (!SWIG_IsOK(ecode3
)) {
7865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7867 arg3
= static_cast< int >(val3
);
7869 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7870 if (PyErr_Occurred()) SWIG_fail
;
7872 resultobj
= SWIG_Py_Void();
7879 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7880 PyObject
*resultobj
= 0;
7881 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7882 wxNativePixelData
*arg2
= 0 ;
7893 PyObject
* obj0
= 0 ;
7894 PyObject
* obj1
= 0 ;
7895 PyObject
* obj2
= 0 ;
7896 PyObject
* obj3
= 0 ;
7897 char * kwnames
[] = {
7898 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7903 if (!SWIG_IsOK(res1
)) {
7904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7906 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7907 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7908 if (!SWIG_IsOK(res2
)) {
7909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7914 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7916 if (!SWIG_IsOK(ecode3
)) {
7917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7919 arg3
= static_cast< int >(val3
);
7920 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7921 if (!SWIG_IsOK(ecode4
)) {
7922 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7924 arg4
= static_cast< int >(val4
);
7926 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= SWIG_Py_Void();
7936 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
= 0;
7938 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7944 unsigned char val2
;
7946 unsigned char val3
;
7948 unsigned char val4
;
7950 PyObject
* obj0
= 0 ;
7951 PyObject
* obj1
= 0 ;
7952 PyObject
* obj2
= 0 ;
7953 PyObject
* obj3
= 0 ;
7954 char * kwnames
[] = {
7955 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7960 if (!SWIG_IsOK(res1
)) {
7961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7963 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7964 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7965 if (!SWIG_IsOK(ecode2
)) {
7966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7968 arg2
= static_cast< byte
>(val2
);
7969 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7970 if (!SWIG_IsOK(ecode3
)) {
7971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7973 arg3
= static_cast< byte
>(val3
);
7974 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7975 if (!SWIG_IsOK(ecode4
)) {
7976 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7978 arg4
= static_cast< byte
>(val4
);
7980 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7983 resultobj
= SWIG_Py_Void();
7990 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7991 PyObject
*resultobj
= 0;
7992 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7993 PyObject
*result
= 0 ;
7996 PyObject
*swig_obj
[1] ;
7998 if (!args
) SWIG_fail
;
8000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8001 if (!SWIG_IsOK(res1
)) {
8002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8004 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8006 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8016 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8018 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8019 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8020 return SWIG_Py_Void();
8023 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8024 return SWIG_Python_InitShadowInstance(args
);
8027 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8028 PyObject
*resultobj
= 0;
8029 wxBitmap
*arg1
= 0 ;
8030 wxAlphaPixelData
*result
= 0 ;
8034 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8036 if (!SWIG_IsOK(res1
)) {
8037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8042 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8044 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8054 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8055 PyObject
*resultobj
= 0;
8056 wxBitmap
*arg1
= 0 ;
8058 wxAlphaPixelData
*result
= 0 ;
8063 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8065 if (!SWIG_IsOK(res1
)) {
8066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8071 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8074 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8077 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8087 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8088 PyObject
*resultobj
= 0;
8089 wxBitmap
*arg1
= 0 ;
8092 wxAlphaPixelData
*result
= 0 ;
8098 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8100 if (!SWIG_IsOK(res1
)) {
8101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8106 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8109 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8113 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8116 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8126 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8130 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8133 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8136 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8139 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8143 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8148 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8149 PyObject
*resultobj
= 0;
8150 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8153 PyObject
*swig_obj
[1] ;
8155 if (!args
) SWIG_fail
;
8157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8158 if (!SWIG_IsOK(res1
)) {
8159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8161 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8165 if (PyErr_Occurred()) SWIG_fail
;
8167 resultobj
= SWIG_Py_Void();
8174 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8175 PyObject
*resultobj
= 0;
8176 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8177 wxAlphaPixelData_Accessor result
;
8180 PyObject
*swig_obj
[1] ;
8182 if (!args
) SWIG_fail
;
8184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8185 if (!SWIG_IsOK(res1
)) {
8186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8188 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8190 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8191 if (PyErr_Occurred()) SWIG_fail
;
8193 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8200 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8201 PyObject
*resultobj
= 0;
8202 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8205 PyObject
*swig_obj
[1] ;
8207 if (!args
) SWIG_fail
;
8209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8210 if (!SWIG_IsOK(res1
)) {
8211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8213 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 resultobj
= SWIG_Py_Void();
8225 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8226 PyObject
*resultobj
= 0;
8227 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8231 PyObject
*swig_obj
[1] ;
8233 if (!args
) SWIG_fail
;
8235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8236 if (!SWIG_IsOK(res1
)) {
8237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8239 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8241 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8253 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8256 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8257 return SWIG_Py_Void();
8260 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8261 return SWIG_Python_InitShadowInstance(args
);
8264 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8265 PyObject
*resultobj
= 0;
8266 wxAlphaPixelData
*arg1
= 0 ;
8267 wxAlphaPixelData_Accessor
*result
= 0 ;
8271 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8273 if (!SWIG_IsOK(res1
)) {
8274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8279 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8281 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8291 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8292 PyObject
*resultobj
= 0;
8293 wxBitmap
*arg1
= 0 ;
8294 wxAlphaPixelData
*arg2
= 0 ;
8295 wxAlphaPixelData_Accessor
*result
= 0 ;
8301 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8303 if (!SWIG_IsOK(res1
)) {
8304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8309 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8310 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8311 if (!SWIG_IsOK(res2
)) {
8312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8317 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8319 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8329 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8330 PyObject
*resultobj
= 0;
8331 wxAlphaPixelData_Accessor
*result
= 0 ;
8333 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8335 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8345 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8349 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8352 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8355 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8358 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8362 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8367 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8368 PyObject
*resultobj
= 0;
8369 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8372 PyObject
*swig_obj
[1] ;
8374 if (!args
) SWIG_fail
;
8376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8377 if (!SWIG_IsOK(res1
)) {
8378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8380 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8386 resultobj
= SWIG_Py_Void();
8393 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
= 0;
8395 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8396 wxAlphaPixelData
*arg2
= 0 ;
8401 PyObject
* obj0
= 0 ;
8402 PyObject
* obj1
= 0 ;
8403 char * kwnames
[] = {
8404 (char *) "self",(char *) "data", NULL
8407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8409 if (!SWIG_IsOK(res1
)) {
8410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8412 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8413 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8414 if (!SWIG_IsOK(res2
)) {
8415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8420 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8422 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8425 resultobj
= SWIG_Py_Void();
8432 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8433 PyObject
*resultobj
= 0;
8434 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8438 PyObject
*swig_obj
[1] ;
8440 if (!args
) SWIG_fail
;
8442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8443 if (!SWIG_IsOK(res1
)) {
8444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8446 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8448 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8449 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8460 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8461 PyObject
*resultobj
= 0;
8462 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8465 PyObject
*swig_obj
[1] ;
8467 if (!args
) SWIG_fail
;
8469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8470 if (!SWIG_IsOK(res1
)) {
8471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8473 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8475 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8478 resultobj
= SWIG_Py_Void();
8485 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
*resultobj
= 0;
8487 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8488 wxAlphaPixelData
*arg2
= 0 ;
8499 PyObject
* obj0
= 0 ;
8500 PyObject
* obj1
= 0 ;
8501 PyObject
* obj2
= 0 ;
8502 PyObject
* obj3
= 0 ;
8503 char * kwnames
[] = {
8504 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8509 if (!SWIG_IsOK(res1
)) {
8510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8512 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8513 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8514 if (!SWIG_IsOK(res2
)) {
8515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8520 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8521 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8522 if (!SWIG_IsOK(ecode3
)) {
8523 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8525 arg3
= static_cast< int >(val3
);
8526 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8527 if (!SWIG_IsOK(ecode4
)) {
8528 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8530 arg4
= static_cast< int >(val4
);
8532 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8535 resultobj
= SWIG_Py_Void();
8542 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
= 0;
8544 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8545 wxAlphaPixelData
*arg2
= 0 ;
8553 PyObject
* obj0
= 0 ;
8554 PyObject
* obj1
= 0 ;
8555 PyObject
* obj2
= 0 ;
8556 char * kwnames
[] = {
8557 (char *) "self",(char *) "data",(char *) "x", NULL
8560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8562 if (!SWIG_IsOK(res1
)) {
8563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8565 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8566 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8567 if (!SWIG_IsOK(res2
)) {
8568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8573 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8574 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8575 if (!SWIG_IsOK(ecode3
)) {
8576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8578 arg3
= static_cast< int >(val3
);
8580 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8583 resultobj
= SWIG_Py_Void();
8590 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
*resultobj
= 0;
8592 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8593 wxAlphaPixelData
*arg2
= 0 ;
8601 PyObject
* obj0
= 0 ;
8602 PyObject
* obj1
= 0 ;
8603 PyObject
* obj2
= 0 ;
8604 char * kwnames
[] = {
8605 (char *) "self",(char *) "data",(char *) "y", NULL
8608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8610 if (!SWIG_IsOK(res1
)) {
8611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8613 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8615 if (!SWIG_IsOK(res2
)) {
8616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8621 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8622 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8623 if (!SWIG_IsOK(ecode3
)) {
8624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8626 arg3
= static_cast< int >(val3
);
8628 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8631 resultobj
= SWIG_Py_Void();
8638 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8639 PyObject
*resultobj
= 0;
8640 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8641 wxAlphaPixelData
*arg2
= 0 ;
8652 PyObject
* obj0
= 0 ;
8653 PyObject
* obj1
= 0 ;
8654 PyObject
* obj2
= 0 ;
8655 PyObject
* obj3
= 0 ;
8656 char * kwnames
[] = {
8657 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8662 if (!SWIG_IsOK(res1
)) {
8663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8665 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8666 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8667 if (!SWIG_IsOK(res2
)) {
8668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8673 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8675 if (!SWIG_IsOK(ecode3
)) {
8676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8678 arg3
= static_cast< int >(val3
);
8679 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8680 if (!SWIG_IsOK(ecode4
)) {
8681 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8683 arg4
= static_cast< int >(val4
);
8685 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8688 resultobj
= SWIG_Py_Void();
8695 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
= 0;
8697 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8704 unsigned char val2
;
8706 unsigned char val3
;
8708 unsigned char val4
;
8710 unsigned char val5
;
8712 PyObject
* obj0
= 0 ;
8713 PyObject
* obj1
= 0 ;
8714 PyObject
* obj2
= 0 ;
8715 PyObject
* obj3
= 0 ;
8716 PyObject
* obj4
= 0 ;
8717 char * kwnames
[] = {
8718 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8723 if (!SWIG_IsOK(res1
)) {
8724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8726 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8727 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8728 if (!SWIG_IsOK(ecode2
)) {
8729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8731 arg2
= static_cast< byte
>(val2
);
8732 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8733 if (!SWIG_IsOK(ecode3
)) {
8734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8736 arg3
= static_cast< byte
>(val3
);
8737 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8738 if (!SWIG_IsOK(ecode4
)) {
8739 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8741 arg4
= static_cast< byte
>(val4
);
8742 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8743 if (!SWIG_IsOK(ecode5
)) {
8744 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8746 arg5
= static_cast< byte
>(val5
);
8748 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 resultobj
= SWIG_Py_Void();
8758 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8759 PyObject
*resultobj
= 0;
8760 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8761 PyObject
*result
= 0 ;
8764 PyObject
*swig_obj
[1] ;
8766 if (!args
) SWIG_fail
;
8768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8769 if (!SWIG_IsOK(res1
)) {
8770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8772 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8774 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8784 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8786 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8787 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8788 return SWIG_Py_Void();
8791 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8792 return SWIG_Python_InitShadowInstance(args
);
8795 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
= 0;
8797 wxBitmap
*arg1
= 0 ;
8798 wxColour
const &arg2_defvalue
= wxNullColour
;
8799 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8800 wxMask
*result
= 0 ;
8804 PyObject
* obj0
= 0 ;
8805 PyObject
* obj1
= 0 ;
8806 char * kwnames
[] = {
8807 (char *) "bitmap",(char *) "colour", NULL
8810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8811 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8812 if (!SWIG_IsOK(res1
)) {
8813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8818 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8822 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8826 if (!wxPyCheckForApp()) SWIG_fail
;
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8839 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8840 PyObject
*resultobj
= 0;
8841 wxMask
*arg1
= (wxMask
*) 0 ;
8844 PyObject
*swig_obj
[1] ;
8846 if (!args
) SWIG_fail
;
8848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8849 if (!SWIG_IsOK(res1
)) {
8850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8852 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 resultobj
= SWIG_Py_Void();
8865 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8867 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8868 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8869 return SWIG_Py_Void();
8872 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8873 return SWIG_Python_InitShadowInstance(args
);
8876 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
= 0;
8878 wxString
*arg1
= 0 ;
8880 int arg3
= (int) -1 ;
8881 int arg4
= (int) -1 ;
8882 wxIcon
*result
= 0 ;
8883 bool temp1
= false ;
8890 PyObject
* obj0
= 0 ;
8891 PyObject
* obj1
= 0 ;
8892 PyObject
* obj2
= 0 ;
8893 PyObject
* obj3
= 0 ;
8894 char * kwnames
[] = {
8895 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8900 arg1
= wxString_in_helper(obj0
);
8901 if (arg1
== NULL
) SWIG_fail
;
8904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8905 if (!SWIG_IsOK(ecode2
)) {
8906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8908 arg2
= static_cast< wxBitmapType
>(val2
);
8910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8911 if (!SWIG_IsOK(ecode3
)) {
8912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8914 arg3
= static_cast< int >(val3
);
8917 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8918 if (!SWIG_IsOK(ecode4
)) {
8919 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8921 arg4
= static_cast< int >(val4
);
8924 if (!wxPyCheckForApp()) SWIG_fail
;
8925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8926 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8945 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8946 PyObject
*resultobj
= 0;
8947 wxIcon
*arg1
= (wxIcon
*) 0 ;
8950 PyObject
*swig_obj
[1] ;
8952 if (!args
) SWIG_fail
;
8954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8955 if (!SWIG_IsOK(res1
)) {
8956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8958 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 wxPyEndAllowThreads(__tstate
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8966 resultobj
= SWIG_Py_Void();
8973 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8974 PyObject
*resultobj
= 0;
8975 wxIcon
*result
= 0 ;
8977 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8979 if (!wxPyCheckForApp()) SWIG_fail
;
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 result
= (wxIcon
*)new wxIcon();
8982 wxPyEndAllowThreads(__tstate
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8992 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
*resultobj
= 0;
8994 wxIconLocation
*arg1
= 0 ;
8995 wxIcon
*result
= 0 ;
8998 PyObject
* obj0
= 0 ;
8999 char * kwnames
[] = {
9000 (char *) "loc", NULL
9003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9004 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9005 if (!SWIG_IsOK(res1
)) {
9006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9011 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9013 if (!wxPyCheckForApp()) SWIG_fail
;
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9015 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9026 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
*resultobj
= 0;
9028 wxBitmap
*arg1
= 0 ;
9029 wxIcon
*result
= 0 ;
9032 PyObject
* obj0
= 0 ;
9033 char * kwnames
[] = {
9034 (char *) "bmp", NULL
9037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9038 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9039 if (!SWIG_IsOK(res1
)) {
9040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9045 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9047 if (!wxPyCheckForApp()) SWIG_fail
;
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9050 wxPyEndAllowThreads(__tstate
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9060 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9061 PyObject
*resultobj
= 0;
9062 PyObject
*arg1
= (PyObject
*) 0 ;
9063 wxIcon
*result
= 0 ;
9064 PyObject
* obj0
= 0 ;
9065 char * kwnames
[] = {
9066 (char *) "listOfStrings", NULL
9069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9072 if (!wxPyCheckForApp()) SWIG_fail
;
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 result
= (wxIcon
*)new_wxIcon(arg1
);
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9085 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
= 0;
9087 wxIcon
*arg1
= (wxIcon
*) 0 ;
9088 wxString
*arg2
= 0 ;
9093 bool temp2
= false ;
9096 PyObject
* obj0
= 0 ;
9097 PyObject
* obj1
= 0 ;
9098 PyObject
* obj2
= 0 ;
9099 char * kwnames
[] = {
9100 (char *) "self",(char *) "name",(char *) "type", NULL
9103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9105 if (!SWIG_IsOK(res1
)) {
9106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9108 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9110 arg2
= wxString_in_helper(obj1
);
9111 if (arg2
== NULL
) SWIG_fail
;
9114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9115 if (!SWIG_IsOK(ecode3
)) {
9116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9118 arg3
= static_cast< wxBitmapType
>(val3
);
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9121 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9142 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9143 PyObject
*resultobj
= 0;
9144 wxIcon
*arg1
= (wxIcon
*) 0 ;
9148 PyObject
*swig_obj
[1] ;
9150 if (!args
) SWIG_fail
;
9152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9153 if (!SWIG_IsOK(res1
)) {
9154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9156 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 result
= (long)(arg1
)->GetHandle();
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= SWIG_From_long(static_cast< long >(result
));
9170 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
= 0;
9172 wxIcon
*arg1
= (wxIcon
*) 0 ;
9178 PyObject
* obj0
= 0 ;
9179 PyObject
* obj1
= 0 ;
9180 char * kwnames
[] = {
9181 (char *) "self",(char *) "handle", NULL
9184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9186 if (!SWIG_IsOK(res1
)) {
9187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9189 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9190 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9191 if (!SWIG_IsOK(ecode2
)) {
9192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9194 arg2
= static_cast< long >(val2
);
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 wxIcon_SetHandle(arg1
,arg2
);
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9201 resultobj
= SWIG_Py_Void();
9208 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9209 PyObject
*resultobj
= 0;
9210 wxIcon
*arg1
= (wxIcon
*) 0 ;
9214 PyObject
*swig_obj
[1] ;
9216 if (!args
) SWIG_fail
;
9218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9219 if (!SWIG_IsOK(res1
)) {
9220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9222 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 result
= (bool)(arg1
)->IsOk();
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9238 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9239 PyObject
*resultobj
= 0;
9240 wxIcon
*arg1
= (wxIcon
*) 0 ;
9244 PyObject
*swig_obj
[1] ;
9246 if (!args
) SWIG_fail
;
9248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9249 if (!SWIG_IsOK(res1
)) {
9250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9252 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 result
= (int)(arg1
)->GetWidth();
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9259 resultobj
= SWIG_From_int(static_cast< int >(result
));
9266 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9267 PyObject
*resultobj
= 0;
9268 wxIcon
*arg1
= (wxIcon
*) 0 ;
9272 PyObject
*swig_obj
[1] ;
9274 if (!args
) SWIG_fail
;
9276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9277 if (!SWIG_IsOK(res1
)) {
9278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9280 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 result
= (int)(arg1
)->GetHeight();
9284 wxPyEndAllowThreads(__tstate
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9287 resultobj
= SWIG_From_int(static_cast< int >(result
));
9294 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(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_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9308 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 result
= (int)(arg1
)->GetDepth();
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9315 resultobj
= SWIG_From_int(static_cast< int >(result
));
9322 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
= 0;
9324 wxIcon
*arg1
= (wxIcon
*) 0 ;
9330 PyObject
* obj0
= 0 ;
9331 PyObject
* obj1
= 0 ;
9332 char * kwnames
[] = {
9333 (char *) "self",(char *) "w", NULL
9336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9338 if (!SWIG_IsOK(res1
)) {
9339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9341 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9343 if (!SWIG_IsOK(ecode2
)) {
9344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9346 arg2
= static_cast< int >(val2
);
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 (arg1
)->SetWidth(arg2
);
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= SWIG_Py_Void();
9360 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
= 0;
9362 wxIcon
*arg1
= (wxIcon
*) 0 ;
9368 PyObject
* obj0
= 0 ;
9369 PyObject
* obj1
= 0 ;
9370 char * kwnames
[] = {
9371 (char *) "self",(char *) "h", NULL
9374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9376 if (!SWIG_IsOK(res1
)) {
9377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9379 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9381 if (!SWIG_IsOK(ecode2
)) {
9382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9384 arg2
= static_cast< int >(val2
);
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 (arg1
)->SetHeight(arg2
);
9388 wxPyEndAllowThreads(__tstate
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9391 resultobj
= SWIG_Py_Void();
9398 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
= 0;
9400 wxIcon
*arg1
= (wxIcon
*) 0 ;
9406 PyObject
* obj0
= 0 ;
9407 PyObject
* obj1
= 0 ;
9408 char * kwnames
[] = {
9409 (char *) "self",(char *) "d", NULL
9412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9414 if (!SWIG_IsOK(res1
)) {
9415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9417 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9419 if (!SWIG_IsOK(ecode2
)) {
9420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9422 arg2
= static_cast< int >(val2
);
9424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9425 (arg1
)->SetDepth(arg2
);
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9429 resultobj
= SWIG_Py_Void();
9436 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
*resultobj
= 0;
9438 wxIcon
*arg1
= (wxIcon
*) 0 ;
9443 PyObject
* obj0
= 0 ;
9444 PyObject
* obj1
= 0 ;
9445 char * kwnames
[] = {
9446 (char *) "self",(char *) "size", NULL
9449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9451 if (!SWIG_IsOK(res1
)) {
9452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9454 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9457 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 (arg1
)->SetSize((wxSize
const &)*arg2
);
9462 wxPyEndAllowThreads(__tstate
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9465 resultobj
= SWIG_Py_Void();
9472 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
*resultobj
= 0;
9474 wxIcon
*arg1
= (wxIcon
*) 0 ;
9475 wxBitmap
*arg2
= 0 ;
9480 PyObject
* obj0
= 0 ;
9481 PyObject
* obj1
= 0 ;
9482 char * kwnames
[] = {
9483 (char *) "self",(char *) "bmp", NULL
9486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9488 if (!SWIG_IsOK(res1
)) {
9489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9491 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9492 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9493 if (!SWIG_IsOK(res2
)) {
9494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9499 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= SWIG_Py_Void();
9513 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9515 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9516 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9517 return SWIG_Py_Void();
9520 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9521 return SWIG_Python_InitShadowInstance(args
);
9524 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9525 PyObject
*resultobj
= 0;
9526 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9527 int arg2
= (int) 0 ;
9528 wxIconLocation
*result
= 0 ;
9529 bool temp1
= false ;
9532 PyObject
* obj0
= 0 ;
9533 PyObject
* obj1
= 0 ;
9534 char * kwnames
[] = {
9535 (char *) "filename",(char *) "num", NULL
9538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9541 arg1
= wxString_in_helper(obj0
);
9542 if (arg1
== NULL
) SWIG_fail
;
9547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9548 if (!SWIG_IsOK(ecode2
)) {
9549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9551 arg2
= static_cast< int >(val2
);
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9574 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9575 PyObject
*resultobj
= 0;
9576 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9579 PyObject
*swig_obj
[1] ;
9581 if (!args
) SWIG_fail
;
9583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9584 if (!SWIG_IsOK(res1
)) {
9585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9587 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9595 resultobj
= SWIG_Py_Void();
9602 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9603 PyObject
*resultobj
= 0;
9604 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9608 PyObject
*swig_obj
[1] ;
9610 if (!args
) SWIG_fail
;
9612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9613 if (!SWIG_IsOK(res1
)) {
9614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9616 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9632 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9633 PyObject
*resultobj
= 0;
9634 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9635 wxString
*arg2
= 0 ;
9638 bool temp2
= false ;
9639 PyObject
* obj0
= 0 ;
9640 PyObject
* obj1
= 0 ;
9641 char * kwnames
[] = {
9642 (char *) "self",(char *) "filename", NULL
9645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9647 if (!SWIG_IsOK(res1
)) {
9648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9650 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9652 arg2
= wxString_in_helper(obj1
);
9653 if (arg2
== NULL
) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 (arg1
)->SetFileName((wxString
const &)*arg2
);
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= SWIG_Py_Void();
9677 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9678 PyObject
*resultobj
= 0;
9679 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9680 wxString
*result
= 0 ;
9683 PyObject
*swig_obj
[1] ;
9685 if (!args
) SWIG_fail
;
9687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9688 if (!SWIG_IsOK(res1
)) {
9689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9691 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9696 result
= (wxString
*) &_result_ref
;
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9703 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9705 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9714 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9715 PyObject
*resultobj
= 0;
9716 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9722 PyObject
* obj0
= 0 ;
9723 PyObject
* obj1
= 0 ;
9724 char * kwnames
[] = {
9725 (char *) "self",(char *) "num", NULL
9728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9730 if (!SWIG_IsOK(res1
)) {
9731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9733 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9735 if (!SWIG_IsOK(ecode2
)) {
9736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9738 arg2
= static_cast< int >(val2
);
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 wxIconLocation_SetIndex(arg1
,arg2
);
9742 wxPyEndAllowThreads(__tstate
);
9743 if (PyErr_Occurred()) SWIG_fail
;
9745 resultobj
= SWIG_Py_Void();
9752 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9753 PyObject
*resultobj
= 0;
9754 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9758 PyObject
*swig_obj
[1] ;
9760 if (!args
) SWIG_fail
;
9762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9763 if (!SWIG_IsOK(res1
)) {
9764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9766 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 result
= (int)wxIconLocation_GetIndex(arg1
);
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9773 resultobj
= SWIG_From_int(static_cast< int >(result
));
9780 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9782 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9783 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9784 return SWIG_Py_Void();
9787 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9788 return SWIG_Python_InitShadowInstance(args
);
9791 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9792 PyObject
*resultobj
= 0;
9793 wxIconBundle
*result
= 0 ;
9795 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9798 result
= (wxIconBundle
*)new wxIconBundle();
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9809 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
= 0;
9811 wxString
*arg1
= 0 ;
9813 wxIconBundle
*result
= 0 ;
9814 bool temp1
= false ;
9817 PyObject
* obj0
= 0 ;
9818 PyObject
* obj1
= 0 ;
9819 char * kwnames
[] = {
9820 (char *) "file",(char *) "type", NULL
9823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9825 arg1
= wxString_in_helper(obj0
);
9826 if (arg1
== NULL
) SWIG_fail
;
9829 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9830 if (!SWIG_IsOK(ecode2
)) {
9831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9833 arg2
= static_cast< long >(val2
);
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9855 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
= 0;
9858 wxIconBundle
*result
= 0 ;
9861 PyObject
* obj0
= 0 ;
9862 char * kwnames
[] = {
9863 (char *) "icon", NULL
9866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9867 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9868 if (!SWIG_IsOK(res1
)) {
9869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9874 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9888 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9889 PyObject
*resultobj
= 0;
9890 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9893 PyObject
*swig_obj
[1] ;
9895 if (!args
) SWIG_fail
;
9897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9898 if (!SWIG_IsOK(res1
)) {
9899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9901 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= SWIG_Py_Void();
9916 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
= 0;
9918 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9924 PyObject
* obj0
= 0 ;
9925 PyObject
* obj1
= 0 ;
9926 char * kwnames
[] = {
9927 (char *) "self",(char *) "icon", NULL
9930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9932 if (!SWIG_IsOK(res1
)) {
9933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9935 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9936 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9937 if (!SWIG_IsOK(res2
)) {
9938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9943 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9947 wxPyEndAllowThreads(__tstate
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9950 resultobj
= SWIG_Py_Void();
9957 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
= 0;
9959 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9960 wxString
*arg2
= 0 ;
9964 bool temp2
= false ;
9967 PyObject
* obj0
= 0 ;
9968 PyObject
* obj1
= 0 ;
9969 PyObject
* obj2
= 0 ;
9970 char * kwnames
[] = {
9971 (char *) "self",(char *) "file",(char *) "type", NULL
9974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9976 if (!SWIG_IsOK(res1
)) {
9977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9979 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9981 arg2
= wxString_in_helper(obj1
);
9982 if (arg2
== NULL
) SWIG_fail
;
9985 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9986 if (!SWIG_IsOK(ecode3
)) {
9987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9989 arg3
= static_cast< long >(val3
);
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9993 wxPyEndAllowThreads(__tstate
);
9994 if (PyErr_Occurred()) SWIG_fail
;
9996 resultobj
= SWIG_Py_Void();
10011 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10012 PyObject
*resultobj
= 0;
10013 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10015 wxIcon
*result
= 0 ;
10019 PyObject
* obj0
= 0 ;
10020 PyObject
* obj1
= 0 ;
10021 char * kwnames
[] = {
10022 (char *) "self",(char *) "size", NULL
10025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10027 if (!SWIG_IsOK(res1
)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10030 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10033 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10039 result
= (wxIcon
*) &_result_ref
;
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10045 wxIcon
* resultptr
= new wxIcon(*result
);
10046 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10054 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10056 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10057 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10058 return SWIG_Py_Void();
10061 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10062 return SWIG_Python_InitShadowInstance(args
);
10065 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10066 PyObject
*resultobj
= 0;
10067 wxString
*arg1
= 0 ;
10069 int arg3
= (int) 0 ;
10070 int arg4
= (int) 0 ;
10071 wxCursor
*result
= 0 ;
10072 bool temp1
= false ;
10079 PyObject
* obj0
= 0 ;
10080 PyObject
* obj1
= 0 ;
10081 PyObject
* obj2
= 0 ;
10082 PyObject
* obj3
= 0 ;
10083 char * kwnames
[] = {
10084 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10089 arg1
= wxString_in_helper(obj0
);
10090 if (arg1
== NULL
) SWIG_fail
;
10093 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10094 if (!SWIG_IsOK(ecode2
)) {
10095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10097 arg2
= static_cast< long >(val2
);
10099 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10100 if (!SWIG_IsOK(ecode3
)) {
10101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10103 arg3
= static_cast< int >(val3
);
10106 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10107 if (!SWIG_IsOK(ecode4
)) {
10108 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10110 arg4
= static_cast< int >(val4
);
10113 if (!wxPyCheckForApp()) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10134 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10135 PyObject
*resultobj
= 0;
10136 wxCursor
*arg1
= (wxCursor
*) 0 ;
10139 PyObject
*swig_obj
[1] ;
10141 if (!args
) SWIG_fail
;
10142 swig_obj
[0] = args
;
10143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10144 if (!SWIG_IsOK(res1
)) {
10145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10147 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10152 wxPyEndAllowThreads(__tstate
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10155 resultobj
= SWIG_Py_Void();
10162 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10163 PyObject
*resultobj
= 0;
10165 wxCursor
*result
= 0 ;
10168 PyObject
* obj0
= 0 ;
10169 char * kwnames
[] = {
10170 (char *) "id", NULL
10173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10174 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10175 if (!SWIG_IsOK(ecode1
)) {
10176 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10178 arg1
= static_cast< int >(val1
);
10180 if (!wxPyCheckForApp()) SWIG_fail
;
10181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10182 result
= (wxCursor
*)new wxCursor(arg1
);
10183 wxPyEndAllowThreads(__tstate
);
10184 if (PyErr_Occurred()) SWIG_fail
;
10186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10193 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10194 PyObject
*resultobj
= 0;
10195 wxImage
*arg1
= 0 ;
10196 wxCursor
*result
= 0 ;
10199 PyObject
* obj0
= 0 ;
10200 char * kwnames
[] = {
10201 (char *) "image", NULL
10204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10205 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10206 if (!SWIG_IsOK(res1
)) {
10207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10212 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10214 if (!wxPyCheckForApp()) SWIG_fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10227 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10228 PyObject
*resultobj
= 0;
10229 wxCursor
*arg1
= (wxCursor
*) 0 ;
10233 PyObject
*swig_obj
[1] ;
10235 if (!args
) SWIG_fail
;
10236 swig_obj
[0] = args
;
10237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10238 if (!SWIG_IsOK(res1
)) {
10239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10241 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 result
= (long)(arg1
)->GetHandle();
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= SWIG_From_long(static_cast< long >(result
));
10255 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
= 0;
10257 wxCursor
*arg1
= (wxCursor
*) 0 ;
10263 PyObject
* obj0
= 0 ;
10264 PyObject
* obj1
= 0 ;
10265 char * kwnames
[] = {
10266 (char *) "self",(char *) "handle", NULL
10269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10271 if (!SWIG_IsOK(res1
)) {
10272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10274 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10275 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10276 if (!SWIG_IsOK(ecode2
)) {
10277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10279 arg2
= static_cast< long >(val2
);
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 wxCursor_SetHandle(arg1
,arg2
);
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 resultobj
= SWIG_Py_Void();
10293 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10294 PyObject
*resultobj
= 0;
10295 wxCursor
*arg1
= (wxCursor
*) 0 ;
10299 PyObject
*swig_obj
[1] ;
10301 if (!args
) SWIG_fail
;
10302 swig_obj
[0] = args
;
10303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10304 if (!SWIG_IsOK(res1
)) {
10305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10307 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (bool)(arg1
)->IsOk();
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10323 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10324 PyObject
*resultobj
= 0;
10325 wxCursor
*arg1
= (wxCursor
*) 0 ;
10329 PyObject
*swig_obj
[1] ;
10331 if (!args
) SWIG_fail
;
10332 swig_obj
[0] = args
;
10333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10334 if (!SWIG_IsOK(res1
)) {
10335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10337 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 result
= (int)(arg1
)->GetWidth();
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10344 resultobj
= SWIG_From_int(static_cast< int >(result
));
10351 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10352 PyObject
*resultobj
= 0;
10353 wxCursor
*arg1
= (wxCursor
*) 0 ;
10357 PyObject
*swig_obj
[1] ;
10359 if (!args
) SWIG_fail
;
10360 swig_obj
[0] = args
;
10361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10362 if (!SWIG_IsOK(res1
)) {
10363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10365 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 result
= (int)(arg1
)->GetHeight();
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 resultobj
= SWIG_From_int(static_cast< int >(result
));
10379 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10380 PyObject
*resultobj
= 0;
10381 wxCursor
*arg1
= (wxCursor
*) 0 ;
10385 PyObject
*swig_obj
[1] ;
10387 if (!args
) SWIG_fail
;
10388 swig_obj
[0] = args
;
10389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10390 if (!SWIG_IsOK(res1
)) {
10391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10393 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 result
= (int)(arg1
)->GetDepth();
10397 wxPyEndAllowThreads(__tstate
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10400 resultobj
= SWIG_From_int(static_cast< int >(result
));
10407 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10408 PyObject
*resultobj
= 0;
10409 wxCursor
*arg1
= (wxCursor
*) 0 ;
10415 PyObject
* obj0
= 0 ;
10416 PyObject
* obj1
= 0 ;
10417 char * kwnames
[] = {
10418 (char *) "self",(char *) "w", NULL
10421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10423 if (!SWIG_IsOK(res1
)) {
10424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10426 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10428 if (!SWIG_IsOK(ecode2
)) {
10429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10431 arg2
= static_cast< int >(val2
);
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 (arg1
)->SetWidth(arg2
);
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 resultobj
= SWIG_Py_Void();
10445 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
= 0;
10447 wxCursor
*arg1
= (wxCursor
*) 0 ;
10453 PyObject
* obj0
= 0 ;
10454 PyObject
* obj1
= 0 ;
10455 char * kwnames
[] = {
10456 (char *) "self",(char *) "h", NULL
10459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10461 if (!SWIG_IsOK(res1
)) {
10462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10464 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10466 if (!SWIG_IsOK(ecode2
)) {
10467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10469 arg2
= static_cast< int >(val2
);
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 (arg1
)->SetHeight(arg2
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= SWIG_Py_Void();
10483 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
= 0;
10485 wxCursor
*arg1
= (wxCursor
*) 0 ;
10491 PyObject
* obj0
= 0 ;
10492 PyObject
* obj1
= 0 ;
10493 char * kwnames
[] = {
10494 (char *) "self",(char *) "d", NULL
10497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10499 if (!SWIG_IsOK(res1
)) {
10500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10502 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10504 if (!SWIG_IsOK(ecode2
)) {
10505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10507 arg2
= static_cast< int >(val2
);
10509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10510 (arg1
)->SetDepth(arg2
);
10511 wxPyEndAllowThreads(__tstate
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10514 resultobj
= SWIG_Py_Void();
10521 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
*resultobj
= 0;
10523 wxCursor
*arg1
= (wxCursor
*) 0 ;
10528 PyObject
* obj0
= 0 ;
10529 PyObject
* obj1
= 0 ;
10530 char * kwnames
[] = {
10531 (char *) "self",(char *) "size", NULL
10534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10536 if (!SWIG_IsOK(res1
)) {
10537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10539 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10542 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 (arg1
)->SetSize((wxSize
const &)*arg2
);
10547 wxPyEndAllowThreads(__tstate
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10550 resultobj
= SWIG_Py_Void();
10557 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10559 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10560 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10561 return SWIG_Py_Void();
10564 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10565 return SWIG_Python_InitShadowInstance(args
);
10568 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10569 PyObject
*resultobj
= 0;
10570 int arg1
= (int) 0 ;
10571 int arg2
= (int) 0 ;
10572 int arg3
= (int) 0 ;
10573 int arg4
= (int) 0 ;
10574 wxRegion
*result
= 0 ;
10583 PyObject
* obj0
= 0 ;
10584 PyObject
* obj1
= 0 ;
10585 PyObject
* obj2
= 0 ;
10586 PyObject
* obj3
= 0 ;
10587 char * kwnames
[] = {
10588 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10593 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10594 if (!SWIG_IsOK(ecode1
)) {
10595 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10597 arg1
= static_cast< int >(val1
);
10600 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10601 if (!SWIG_IsOK(ecode2
)) {
10602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10604 arg2
= static_cast< int >(val2
);
10607 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10608 if (!SWIG_IsOK(ecode3
)) {
10609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10611 arg3
= static_cast< int >(val3
);
10614 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10615 if (!SWIG_IsOK(ecode4
)) {
10616 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10618 arg4
= static_cast< int >(val4
);
10621 if (!wxPyCheckForApp()) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10634 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
= 0;
10636 wxBitmap
*arg1
= 0 ;
10637 wxRegion
*result
= 0 ;
10640 PyObject
* obj0
= 0 ;
10641 char * kwnames
[] = {
10642 (char *) "bmp", NULL
10645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10646 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10647 if (!SWIG_IsOK(res1
)) {
10648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10651 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10653 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10655 if (!wxPyCheckForApp()) SWIG_fail
;
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10668 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10669 PyObject
*resultobj
= 0;
10670 wxBitmap
*arg1
= 0 ;
10671 wxColour
*arg2
= 0 ;
10672 int arg3
= (int) 0 ;
10673 wxRegion
*result
= 0 ;
10679 PyObject
* obj0
= 0 ;
10680 PyObject
* obj1
= 0 ;
10681 PyObject
* obj2
= 0 ;
10682 char * kwnames
[] = {
10683 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10687 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10688 if (!SWIG_IsOK(res1
)) {
10689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10694 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10697 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10700 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10701 if (!SWIG_IsOK(ecode3
)) {
10702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10704 arg3
= static_cast< int >(val3
);
10707 if (!wxPyCheckForApp()) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10720 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
= 0;
10723 wxPoint
*arg2
= (wxPoint
*) 0 ;
10724 int arg3
= (int) wxWINDING_RULE
;
10725 wxRegion
*result
= 0 ;
10728 PyObject
* obj0
= 0 ;
10729 PyObject
* obj1
= 0 ;
10730 char * kwnames
[] = {
10731 (char *) "points",(char *) "fillStyle", NULL
10734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10736 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10737 if (arg2
== NULL
) SWIG_fail
;
10740 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10741 if (!SWIG_IsOK(ecode3
)) {
10742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10744 arg3
= static_cast< int >(val3
);
10747 if (!wxPyCheckForApp()) SWIG_fail
;
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10755 if (arg2
) delete [] arg2
;
10760 if (arg2
) delete [] arg2
;
10766 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10767 PyObject
*resultobj
= 0;
10768 wxRegion
*arg1
= (wxRegion
*) 0 ;
10771 PyObject
*swig_obj
[1] ;
10773 if (!args
) SWIG_fail
;
10774 swig_obj
[0] = args
;
10775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10776 if (!SWIG_IsOK(res1
)) {
10777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10779 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 resultobj
= SWIG_Py_Void();
10794 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10795 PyObject
*resultobj
= 0;
10796 wxRegion
*arg1
= (wxRegion
*) 0 ;
10799 PyObject
*swig_obj
[1] ;
10801 if (!args
) SWIG_fail
;
10802 swig_obj
[0] = args
;
10803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10804 if (!SWIG_IsOK(res1
)) {
10805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10807 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10814 resultobj
= SWIG_Py_Void();
10821 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
= 0;
10823 wxRegion
*arg1
= (wxRegion
*) 0 ;
10833 PyObject
* obj0
= 0 ;
10834 PyObject
* obj1
= 0 ;
10835 PyObject
* obj2
= 0 ;
10836 char * kwnames
[] = {
10837 (char *) "self",(char *) "x",(char *) "y", NULL
10840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10842 if (!SWIG_IsOK(res1
)) {
10843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10845 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10847 if (!SWIG_IsOK(ecode2
)) {
10848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10850 arg2
= static_cast< int >(val2
);
10851 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10852 if (!SWIG_IsOK(ecode3
)) {
10853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10855 arg3
= static_cast< int >(val3
);
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10859 wxPyEndAllowThreads(__tstate
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10871 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10872 PyObject
*resultobj
= 0;
10873 wxRegion
*arg1
= (wxRegion
*) 0 ;
10876 wxRegionContain result
;
10883 PyObject
* obj0
= 0 ;
10884 PyObject
* obj1
= 0 ;
10885 PyObject
* obj2
= 0 ;
10886 char * kwnames
[] = {
10887 (char *) "self",(char *) "x",(char *) "y", NULL
10890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10892 if (!SWIG_IsOK(res1
)) {
10893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10895 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10897 if (!SWIG_IsOK(ecode2
)) {
10898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10900 arg2
= static_cast< int >(val2
);
10901 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10902 if (!SWIG_IsOK(ecode3
)) {
10903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10905 arg3
= static_cast< int >(val3
);
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10912 resultobj
= SWIG_From_int(static_cast< int >(result
));
10919 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10920 PyObject
*resultobj
= 0;
10921 wxRegion
*arg1
= (wxRegion
*) 0 ;
10922 wxPoint
*arg2
= 0 ;
10923 wxRegionContain result
;
10927 PyObject
* obj0
= 0 ;
10928 PyObject
* obj1
= 0 ;
10929 char * kwnames
[] = {
10930 (char *) "self",(char *) "pt", NULL
10933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10935 if (!SWIG_IsOK(res1
)) {
10936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10938 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10941 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10946 wxPyEndAllowThreads(__tstate
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10949 resultobj
= SWIG_From_int(static_cast< int >(result
));
10956 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10957 PyObject
*resultobj
= 0;
10958 wxRegion
*arg1
= (wxRegion
*) 0 ;
10960 wxRegionContain result
;
10964 PyObject
* obj0
= 0 ;
10965 PyObject
* obj1
= 0 ;
10966 char * kwnames
[] = {
10967 (char *) "self",(char *) "rect", NULL
10970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10972 if (!SWIG_IsOK(res1
)) {
10973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10975 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10978 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10982 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10986 resultobj
= SWIG_From_int(static_cast< int >(result
));
10993 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10994 PyObject
*resultobj
= 0;
10995 wxRegion
*arg1
= (wxRegion
*) 0 ;
11000 wxRegionContain result
;
11011 PyObject
* obj0
= 0 ;
11012 PyObject
* obj1
= 0 ;
11013 PyObject
* obj2
= 0 ;
11014 PyObject
* obj3
= 0 ;
11015 PyObject
* obj4
= 0 ;
11016 char * kwnames
[] = {
11017 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11022 if (!SWIG_IsOK(res1
)) {
11023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11025 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11027 if (!SWIG_IsOK(ecode2
)) {
11028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11030 arg2
= static_cast< int >(val2
);
11031 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11032 if (!SWIG_IsOK(ecode3
)) {
11033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11035 arg3
= static_cast< int >(val3
);
11036 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11037 if (!SWIG_IsOK(ecode4
)) {
11038 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11040 arg4
= static_cast< int >(val4
);
11041 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11042 if (!SWIG_IsOK(ecode5
)) {
11043 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11045 arg5
= static_cast< int >(val5
);
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11049 wxPyEndAllowThreads(__tstate
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11052 resultobj
= SWIG_From_int(static_cast< int >(result
));
11059 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11060 PyObject
*resultobj
= 0;
11061 wxRegion
*arg1
= (wxRegion
*) 0 ;
11065 PyObject
*swig_obj
[1] ;
11067 if (!args
) SWIG_fail
;
11068 swig_obj
[0] = args
;
11069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11070 if (!SWIG_IsOK(res1
)) {
11071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11073 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11076 result
= (arg1
)->GetBox();
11077 wxPyEndAllowThreads(__tstate
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11080 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11087 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11088 PyObject
*resultobj
= 0;
11089 wxRegion
*arg1
= (wxRegion
*) 0 ;
11105 PyObject
* obj0
= 0 ;
11106 PyObject
* obj1
= 0 ;
11107 PyObject
* obj2
= 0 ;
11108 PyObject
* obj3
= 0 ;
11109 PyObject
* obj4
= 0 ;
11110 char * kwnames
[] = {
11111 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11116 if (!SWIG_IsOK(res1
)) {
11117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11119 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11121 if (!SWIG_IsOK(ecode2
)) {
11122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11124 arg2
= static_cast< int >(val2
);
11125 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11126 if (!SWIG_IsOK(ecode3
)) {
11127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11129 arg3
= static_cast< int >(val3
);
11130 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11131 if (!SWIG_IsOK(ecode4
)) {
11132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11134 arg4
= static_cast< int >(val4
);
11135 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11136 if (!SWIG_IsOK(ecode5
)) {
11137 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11139 arg5
= static_cast< int >(val5
);
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11155 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11156 PyObject
*resultobj
= 0;
11157 wxRegion
*arg1
= (wxRegion
*) 0 ;
11163 PyObject
* obj0
= 0 ;
11164 PyObject
* obj1
= 0 ;
11165 char * kwnames
[] = {
11166 (char *) "self",(char *) "rect", NULL
11169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11171 if (!SWIG_IsOK(res1
)) {
11172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11174 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11177 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11182 wxPyEndAllowThreads(__tstate
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11194 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
*resultobj
= 0;
11196 wxRegion
*arg1
= (wxRegion
*) 0 ;
11197 wxRegion
*arg2
= 0 ;
11203 PyObject
* obj0
= 0 ;
11204 PyObject
* obj1
= 0 ;
11205 char * kwnames
[] = {
11206 (char *) "self",(char *) "region", NULL
11209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11211 if (!SWIG_IsOK(res1
)) {
11212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11214 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11215 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11216 if (!SWIG_IsOK(res2
)) {
11217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11222 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11226 wxPyEndAllowThreads(__tstate
);
11227 if (PyErr_Occurred()) SWIG_fail
;
11230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11238 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11239 PyObject
*resultobj
= 0;
11240 wxRegion
*arg1
= (wxRegion
*) 0 ;
11244 PyObject
*swig_obj
[1] ;
11246 if (!args
) SWIG_fail
;
11247 swig_obj
[0] = args
;
11248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11249 if (!SWIG_IsOK(res1
)) {
11250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11252 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 result
= (bool)(arg1
)->IsEmpty();
11256 wxPyEndAllowThreads(__tstate
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11268 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11269 PyObject
*resultobj
= 0;
11270 wxRegion
*arg1
= (wxRegion
*) 0 ;
11271 wxRegion
*arg2
= 0 ;
11277 PyObject
* obj0
= 0 ;
11278 PyObject
* obj1
= 0 ;
11279 char * kwnames
[] = {
11280 (char *) "self",(char *) "region", NULL
11283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11285 if (!SWIG_IsOK(res1
)) {
11286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11288 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11290 if (!SWIG_IsOK(res2
)) {
11291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11296 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11312 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
= 0;
11314 wxRegion
*arg1
= (wxRegion
*) 0 ;
11330 PyObject
* obj0
= 0 ;
11331 PyObject
* obj1
= 0 ;
11332 PyObject
* obj2
= 0 ;
11333 PyObject
* obj3
= 0 ;
11334 PyObject
* obj4
= 0 ;
11335 char * kwnames
[] = {
11336 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11341 if (!SWIG_IsOK(res1
)) {
11342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11344 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11346 if (!SWIG_IsOK(ecode2
)) {
11347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11349 arg2
= static_cast< int >(val2
);
11350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11351 if (!SWIG_IsOK(ecode3
)) {
11352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11354 arg3
= static_cast< int >(val3
);
11355 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11356 if (!SWIG_IsOK(ecode4
)) {
11357 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11359 arg4
= static_cast< int >(val4
);
11360 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11361 if (!SWIG_IsOK(ecode5
)) {
11362 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11364 arg5
= static_cast< int >(val5
);
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11380 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
*resultobj
= 0;
11382 wxRegion
*arg1
= (wxRegion
*) 0 ;
11388 PyObject
* obj0
= 0 ;
11389 PyObject
* obj1
= 0 ;
11390 char * kwnames
[] = {
11391 (char *) "self",(char *) "rect", NULL
11394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11396 if (!SWIG_IsOK(res1
)) {
11397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11399 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11402 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11406 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11419 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
= 0;
11421 wxRegion
*arg1
= (wxRegion
*) 0 ;
11422 wxRegion
*arg2
= 0 ;
11428 PyObject
* obj0
= 0 ;
11429 PyObject
* obj1
= 0 ;
11430 char * kwnames
[] = {
11431 (char *) "self",(char *) "region", NULL
11434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11436 if (!SWIG_IsOK(res1
)) {
11437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11439 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11440 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11441 if (!SWIG_IsOK(res2
)) {
11442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11447 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11451 wxPyEndAllowThreads(__tstate
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11463 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11464 PyObject
*resultobj
= 0;
11465 wxRegion
*arg1
= (wxRegion
*) 0 ;
11481 PyObject
* obj0
= 0 ;
11482 PyObject
* obj1
= 0 ;
11483 PyObject
* obj2
= 0 ;
11484 PyObject
* obj3
= 0 ;
11485 PyObject
* obj4
= 0 ;
11486 char * kwnames
[] = {
11487 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11492 if (!SWIG_IsOK(res1
)) {
11493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11495 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11497 if (!SWIG_IsOK(ecode2
)) {
11498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11500 arg2
= static_cast< int >(val2
);
11501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11502 if (!SWIG_IsOK(ecode3
)) {
11503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11505 arg3
= static_cast< int >(val3
);
11506 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11507 if (!SWIG_IsOK(ecode4
)) {
11508 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11510 arg4
= static_cast< int >(val4
);
11511 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11512 if (!SWIG_IsOK(ecode5
)) {
11513 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11515 arg5
= static_cast< int >(val5
);
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11531 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11532 PyObject
*resultobj
= 0;
11533 wxRegion
*arg1
= (wxRegion
*) 0 ;
11539 PyObject
* obj0
= 0 ;
11540 PyObject
* obj1
= 0 ;
11541 char * kwnames
[] = {
11542 (char *) "self",(char *) "rect", NULL
11545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11547 if (!SWIG_IsOK(res1
)) {
11548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11550 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11553 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11570 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
*resultobj
= 0;
11572 wxRegion
*arg1
= (wxRegion
*) 0 ;
11573 wxRegion
*arg2
= 0 ;
11579 PyObject
* obj0
= 0 ;
11580 PyObject
* obj1
= 0 ;
11581 char * kwnames
[] = {
11582 (char *) "self",(char *) "region", NULL
11585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11587 if (!SWIG_IsOK(res1
)) {
11588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11590 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11591 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11592 if (!SWIG_IsOK(res2
)) {
11593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11596 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11598 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11601 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11614 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
= 0;
11616 wxRegion
*arg1
= (wxRegion
*) 0 ;
11632 PyObject
* obj0
= 0 ;
11633 PyObject
* obj1
= 0 ;
11634 PyObject
* obj2
= 0 ;
11635 PyObject
* obj3
= 0 ;
11636 PyObject
* obj4
= 0 ;
11637 char * kwnames
[] = {
11638 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11643 if (!SWIG_IsOK(res1
)) {
11644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11646 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11648 if (!SWIG_IsOK(ecode2
)) {
11649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11651 arg2
= static_cast< int >(val2
);
11652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11653 if (!SWIG_IsOK(ecode3
)) {
11654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11656 arg3
= static_cast< int >(val3
);
11657 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11658 if (!SWIG_IsOK(ecode4
)) {
11659 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11661 arg4
= static_cast< int >(val4
);
11662 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11663 if (!SWIG_IsOK(ecode5
)) {
11664 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11666 arg5
= static_cast< int >(val5
);
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11670 wxPyEndAllowThreads(__tstate
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11682 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
= 0;
11684 wxRegion
*arg1
= (wxRegion
*) 0 ;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 char * kwnames
[] = {
11693 (char *) "self",(char *) "rect", NULL
11696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11698 if (!SWIG_IsOK(res1
)) {
11699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11701 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11704 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11708 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11721 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
= 0;
11723 wxRegion
*arg1
= (wxRegion
*) 0 ;
11724 wxRegion
*arg2
= 0 ;
11730 PyObject
* obj0
= 0 ;
11731 PyObject
* obj1
= 0 ;
11732 char * kwnames
[] = {
11733 (char *) "self",(char *) "region", NULL
11736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11738 if (!SWIG_IsOK(res1
)) {
11739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11741 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11742 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11743 if (!SWIG_IsOK(res2
)) {
11744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11749 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11752 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11765 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11766 PyObject
*resultobj
= 0;
11767 wxRegion
*arg1
= (wxRegion
*) 0 ;
11768 SwigValueWrapper
<wxBitmap
> result
;
11771 PyObject
*swig_obj
[1] ;
11773 if (!args
) SWIG_fail
;
11774 swig_obj
[0] = args
;
11775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11776 if (!SWIG_IsOK(res1
)) {
11777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11779 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 result
= (arg1
)->ConvertToBitmap();
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11786 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11793 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
= 0;
11795 wxRegion
*arg1
= (wxRegion
*) 0 ;
11796 wxBitmap
*arg2
= 0 ;
11802 PyObject
* obj0
= 0 ;
11803 PyObject
* obj1
= 0 ;
11804 char * kwnames
[] = {
11805 (char *) "self",(char *) "bmp", NULL
11808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11810 if (!SWIG_IsOK(res1
)) {
11811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11813 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11814 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11815 if (!SWIG_IsOK(res2
)) {
11816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11819 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11821 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11837 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11838 PyObject
*resultobj
= 0;
11839 wxRegion
*arg1
= (wxRegion
*) 0 ;
11840 wxBitmap
*arg2
= 0 ;
11841 wxColour
*arg3
= 0 ;
11842 int arg4
= (int) 0 ;
11851 PyObject
* obj0
= 0 ;
11852 PyObject
* obj1
= 0 ;
11853 PyObject
* obj2
= 0 ;
11854 PyObject
* obj3
= 0 ;
11855 char * kwnames
[] = {
11856 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11861 if (!SWIG_IsOK(res1
)) {
11862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11864 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11865 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11866 if (!SWIG_IsOK(res2
)) {
11867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11872 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11875 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11878 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11879 if (!SWIG_IsOK(ecode4
)) {
11880 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11882 arg4
= static_cast< int >(val4
);
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11887 wxPyEndAllowThreads(__tstate
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11899 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11901 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11902 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11903 return SWIG_Py_Void();
11906 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11907 return SWIG_Python_InitShadowInstance(args
);
11910 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11911 PyObject
*resultobj
= 0;
11912 wxRegion
*arg1
= 0 ;
11913 wxRegionIterator
*result
= 0 ;
11916 PyObject
* obj0
= 0 ;
11917 char * kwnames
[] = {
11918 (char *) "region", NULL
11921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11922 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11923 if (!SWIG_IsOK(res1
)) {
11924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11929 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11931 if (!wxPyCheckForApp()) SWIG_fail
;
11932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11933 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11944 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11945 PyObject
*resultobj
= 0;
11946 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11949 PyObject
*swig_obj
[1] ;
11951 if (!args
) SWIG_fail
;
11952 swig_obj
[0] = args
;
11953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11954 if (!SWIG_IsOK(res1
)) {
11955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11957 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 wxPyEndAllowThreads(__tstate
);
11963 if (PyErr_Occurred()) SWIG_fail
;
11965 resultobj
= SWIG_Py_Void();
11972 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11973 PyObject
*resultobj
= 0;
11974 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11978 PyObject
*swig_obj
[1] ;
11980 if (!args
) SWIG_fail
;
11981 swig_obj
[0] = args
;
11982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11983 if (!SWIG_IsOK(res1
)) {
11984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11986 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 result
= (int)(arg1
)->GetX();
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11993 resultobj
= SWIG_From_int(static_cast< int >(result
));
12000 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12001 PyObject
*resultobj
= 0;
12002 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12006 PyObject
*swig_obj
[1] ;
12008 if (!args
) SWIG_fail
;
12009 swig_obj
[0] = args
;
12010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12011 if (!SWIG_IsOK(res1
)) {
12012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12014 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 result
= (int)(arg1
)->GetY();
12018 wxPyEndAllowThreads(__tstate
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12021 resultobj
= SWIG_From_int(static_cast< int >(result
));
12028 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12029 PyObject
*resultobj
= 0;
12030 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12034 PyObject
*swig_obj
[1] ;
12036 if (!args
) SWIG_fail
;
12037 swig_obj
[0] = args
;
12038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12039 if (!SWIG_IsOK(res1
)) {
12040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12042 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 result
= (int)(arg1
)->GetW();
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= SWIG_From_int(static_cast< int >(result
));
12056 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12057 PyObject
*resultobj
= 0;
12058 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12062 PyObject
*swig_obj
[1] ;
12064 if (!args
) SWIG_fail
;
12065 swig_obj
[0] = args
;
12066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12067 if (!SWIG_IsOK(res1
)) {
12068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12070 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 result
= (int)(arg1
)->GetWidth();
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12077 resultobj
= SWIG_From_int(static_cast< int >(result
));
12084 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12085 PyObject
*resultobj
= 0;
12086 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12090 PyObject
*swig_obj
[1] ;
12092 if (!args
) SWIG_fail
;
12093 swig_obj
[0] = args
;
12094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12095 if (!SWIG_IsOK(res1
)) {
12096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12098 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 result
= (int)(arg1
)->GetH();
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12105 resultobj
= SWIG_From_int(static_cast< int >(result
));
12112 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12113 PyObject
*resultobj
= 0;
12114 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12118 PyObject
*swig_obj
[1] ;
12120 if (!args
) SWIG_fail
;
12121 swig_obj
[0] = args
;
12122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12123 if (!SWIG_IsOK(res1
)) {
12124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12126 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12129 result
= (int)(arg1
)->GetHeight();
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12133 resultobj
= SWIG_From_int(static_cast< int >(result
));
12140 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12141 PyObject
*resultobj
= 0;
12142 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12146 PyObject
*swig_obj
[1] ;
12148 if (!args
) SWIG_fail
;
12149 swig_obj
[0] = args
;
12150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12151 if (!SWIG_IsOK(res1
)) {
12152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12154 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 result
= (arg1
)->GetRect();
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12161 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12168 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12169 PyObject
*resultobj
= 0;
12170 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12174 PyObject
*swig_obj
[1] ;
12176 if (!args
) SWIG_fail
;
12177 swig_obj
[0] = args
;
12178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12179 if (!SWIG_IsOK(res1
)) {
12180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12182 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 result
= (bool)(arg1
)->HaveRects();
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12198 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12199 PyObject
*resultobj
= 0;
12200 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12203 PyObject
*swig_obj
[1] ;
12205 if (!args
) SWIG_fail
;
12206 swig_obj
[0] = args
;
12207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12208 if (!SWIG_IsOK(res1
)) {
12209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12211 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12218 resultobj
= SWIG_Py_Void();
12225 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12226 PyObject
*resultobj
= 0;
12227 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12230 PyObject
*swig_obj
[1] ;
12232 if (!args
) SWIG_fail
;
12233 swig_obj
[0] = args
;
12234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12235 if (!SWIG_IsOK(res1
)) {
12236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12238 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 wxRegionIterator_Next(arg1
);
12242 wxPyEndAllowThreads(__tstate
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12245 resultobj
= SWIG_Py_Void();
12252 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12253 PyObject
*resultobj
= 0;
12254 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12258 PyObject
*swig_obj
[1] ;
12260 if (!args
) SWIG_fail
;
12261 swig_obj
[0] = args
;
12262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12263 if (!SWIG_IsOK(res1
)) {
12264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12266 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12269 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12282 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12284 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12285 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12286 return SWIG_Py_Void();
12289 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12290 return SWIG_Python_InitShadowInstance(args
);
12293 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12294 PyObject
*resultobj
= 0;
12295 wxNativeFontInfo
*result
= 0 ;
12297 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12311 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12312 PyObject
*resultobj
= 0;
12313 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12316 PyObject
*swig_obj
[1] ;
12318 if (!args
) SWIG_fail
;
12319 swig_obj
[0] = args
;
12320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12321 if (!SWIG_IsOK(res1
)) {
12322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12324 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 wxPyEndAllowThreads(__tstate
);
12330 if (PyErr_Occurred()) SWIG_fail
;
12332 resultobj
= SWIG_Py_Void();
12339 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12340 PyObject
*resultobj
= 0;
12341 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12344 PyObject
*swig_obj
[1] ;
12346 if (!args
) SWIG_fail
;
12347 swig_obj
[0] = args
;
12348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12349 if (!SWIG_IsOK(res1
)) {
12350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12352 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12359 resultobj
= SWIG_Py_Void();
12366 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
*resultobj
= 0;
12368 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12374 PyObject
* obj0
= 0 ;
12375 PyObject
* obj1
= 0 ;
12376 char * kwnames
[] = {
12377 (char *) "self",(char *) "font", NULL
12380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12382 if (!SWIG_IsOK(res1
)) {
12383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12385 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12386 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12387 if (!SWIG_IsOK(res2
)) {
12388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12393 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= SWIG_Py_Void();
12407 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12408 PyObject
*resultobj
= 0;
12409 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12413 PyObject
*swig_obj
[1] ;
12415 if (!args
) SWIG_fail
;
12416 swig_obj
[0] = args
;
12417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12418 if (!SWIG_IsOK(res1
)) {
12419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12421 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= SWIG_From_int(static_cast< int >(result
));
12435 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12436 PyObject
*resultobj
= 0;
12437 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12441 PyObject
*swig_obj
[1] ;
12443 if (!args
) SWIG_fail
;
12444 swig_obj
[0] = args
;
12445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12446 if (!SWIG_IsOK(res1
)) {
12447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12449 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12452 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12456 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12463 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12464 PyObject
*resultobj
= 0;
12465 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12466 wxFontStyle result
;
12469 PyObject
*swig_obj
[1] ;
12471 if (!args
) SWIG_fail
;
12472 swig_obj
[0] = args
;
12473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12474 if (!SWIG_IsOK(res1
)) {
12475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12477 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 resultobj
= SWIG_From_int(static_cast< int >(result
));
12491 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12492 PyObject
*resultobj
= 0;
12493 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12494 wxFontWeight result
;
12497 PyObject
*swig_obj
[1] ;
12499 if (!args
) SWIG_fail
;
12500 swig_obj
[0] = args
;
12501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12502 if (!SWIG_IsOK(res1
)) {
12503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12505 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12508 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12509 wxPyEndAllowThreads(__tstate
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12512 resultobj
= SWIG_From_int(static_cast< int >(result
));
12519 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12520 PyObject
*resultobj
= 0;
12521 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12525 PyObject
*swig_obj
[1] ;
12527 if (!args
) SWIG_fail
;
12528 swig_obj
[0] = args
;
12529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12530 if (!SWIG_IsOK(res1
)) {
12531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12533 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12549 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12550 PyObject
*resultobj
= 0;
12551 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12555 PyObject
*swig_obj
[1] ;
12557 if (!args
) SWIG_fail
;
12558 swig_obj
[0] = args
;
12559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12560 if (!SWIG_IsOK(res1
)) {
12561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12563 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12583 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12584 PyObject
*resultobj
= 0;
12585 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12586 wxFontFamily result
;
12589 PyObject
*swig_obj
[1] ;
12591 if (!args
) SWIG_fail
;
12592 swig_obj
[0] = args
;
12593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12594 if (!SWIG_IsOK(res1
)) {
12595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12597 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 resultobj
= SWIG_From_int(static_cast< int >(result
));
12611 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12612 PyObject
*resultobj
= 0;
12613 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12614 wxFontEncoding result
;
12617 PyObject
*swig_obj
[1] ;
12619 if (!args
) SWIG_fail
;
12620 swig_obj
[0] = args
;
12621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12622 if (!SWIG_IsOK(res1
)) {
12623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12625 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= SWIG_From_int(static_cast< int >(result
));
12639 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
= 0;
12641 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12647 PyObject
* obj0
= 0 ;
12648 PyObject
* obj1
= 0 ;
12649 char * kwnames
[] = {
12650 (char *) "self",(char *) "pointsize", NULL
12653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12655 if (!SWIG_IsOK(res1
)) {
12656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12658 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12660 if (!SWIG_IsOK(ecode2
)) {
12661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12663 arg2
= static_cast< int >(val2
);
12665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 (arg1
)->SetPointSize(arg2
);
12667 wxPyEndAllowThreads(__tstate
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12670 resultobj
= SWIG_Py_Void();
12677 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12678 PyObject
*resultobj
= 0;
12679 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12684 PyObject
* obj0
= 0 ;
12685 PyObject
* obj1
= 0 ;
12686 char * kwnames
[] = {
12687 (char *) "self",(char *) "pixelSize", NULL
12690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12692 if (!SWIG_IsOK(res1
)) {
12693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12695 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12698 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12703 wxPyEndAllowThreads(__tstate
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12706 resultobj
= SWIG_Py_Void();
12713 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12714 PyObject
*resultobj
= 0;
12715 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12721 PyObject
* obj0
= 0 ;
12722 PyObject
* obj1
= 0 ;
12723 char * kwnames
[] = {
12724 (char *) "self",(char *) "style", NULL
12727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12729 if (!SWIG_IsOK(res1
)) {
12730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12732 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12734 if (!SWIG_IsOK(ecode2
)) {
12735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12737 arg2
= static_cast< wxFontStyle
>(val2
);
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 (arg1
)->SetStyle(arg2
);
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12744 resultobj
= SWIG_Py_Void();
12751 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12752 PyObject
*resultobj
= 0;
12753 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12754 wxFontWeight arg2
;
12759 PyObject
* obj0
= 0 ;
12760 PyObject
* obj1
= 0 ;
12761 char * kwnames
[] = {
12762 (char *) "self",(char *) "weight", NULL
12765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12767 if (!SWIG_IsOK(res1
)) {
12768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12770 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12772 if (!SWIG_IsOK(ecode2
)) {
12773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12775 arg2
= static_cast< wxFontWeight
>(val2
);
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 (arg1
)->SetWeight(arg2
);
12779 wxPyEndAllowThreads(__tstate
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12782 resultobj
= SWIG_Py_Void();
12789 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
= 0;
12791 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12797 PyObject
* obj0
= 0 ;
12798 PyObject
* obj1
= 0 ;
12799 char * kwnames
[] = {
12800 (char *) "self",(char *) "underlined", NULL
12803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12805 if (!SWIG_IsOK(res1
)) {
12806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12808 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12809 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12810 if (!SWIG_IsOK(ecode2
)) {
12811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12813 arg2
= static_cast< bool >(val2
);
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 (arg1
)->SetUnderlined(arg2
);
12817 wxPyEndAllowThreads(__tstate
);
12818 if (PyErr_Occurred()) SWIG_fail
;
12820 resultobj
= SWIG_Py_Void();
12827 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12828 PyObject
*resultobj
= 0;
12829 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12834 PyObject
* obj0
= 0 ;
12835 PyObject
* obj1
= 0 ;
12836 char * kwnames
[] = {
12837 (char *) "self",(char *) "facename", NULL
12840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12842 if (!SWIG_IsOK(res1
)) {
12843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12845 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12847 wxString
* sptr
= wxString_in_helper(obj1
);
12848 if (sptr
== NULL
) SWIG_fail
;
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 result
= (bool)(arg1
)->SetFaceName(arg2
);
12855 wxPyEndAllowThreads(__tstate
);
12856 if (PyErr_Occurred()) SWIG_fail
;
12859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12867 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12868 PyObject
*resultobj
= 0;
12869 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12870 wxFontFamily arg2
;
12875 PyObject
* obj0
= 0 ;
12876 PyObject
* obj1
= 0 ;
12877 char * kwnames
[] = {
12878 (char *) "self",(char *) "family", NULL
12881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12883 if (!SWIG_IsOK(res1
)) {
12884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12886 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12888 if (!SWIG_IsOK(ecode2
)) {
12889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12891 arg2
= static_cast< wxFontFamily
>(val2
);
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 (arg1
)->SetFamily(arg2
);
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 resultobj
= SWIG_Py_Void();
12905 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
= 0;
12907 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12908 wxFontEncoding arg2
;
12913 PyObject
* obj0
= 0 ;
12914 PyObject
* obj1
= 0 ;
12915 char * kwnames
[] = {
12916 (char *) "self",(char *) "encoding", NULL
12919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12921 if (!SWIG_IsOK(res1
)) {
12922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12924 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12926 if (!SWIG_IsOK(ecode2
)) {
12927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12929 arg2
= static_cast< wxFontEncoding
>(val2
);
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 (arg1
)->SetEncoding(arg2
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 resultobj
= SWIG_Py_Void();
12943 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12944 PyObject
*resultobj
= 0;
12945 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12946 wxString
*arg2
= 0 ;
12950 bool temp2
= false ;
12951 PyObject
* obj0
= 0 ;
12952 PyObject
* obj1
= 0 ;
12953 char * kwnames
[] = {
12954 (char *) "self",(char *) "s", NULL
12957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12959 if (!SWIG_IsOK(res1
)) {
12960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12962 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12964 arg2
= wxString_in_helper(obj1
);
12965 if (arg2
== NULL
) SWIG_fail
;
12969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12970 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12991 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12992 PyObject
*resultobj
= 0;
12993 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12997 PyObject
*swig_obj
[1] ;
12999 if (!args
) SWIG_fail
;
13000 swig_obj
[0] = args
;
13001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13002 if (!SWIG_IsOK(res1
)) {
13003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13005 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13014 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13016 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13025 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13026 PyObject
*resultobj
= 0;
13027 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13031 PyObject
*swig_obj
[1] ;
13033 if (!args
) SWIG_fail
;
13034 swig_obj
[0] = args
;
13035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13036 if (!SWIG_IsOK(res1
)) {
13037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13039 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 result
= wxNativeFontInfo___str__(arg1
);
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13059 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
= 0;
13061 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13062 wxString
*arg2
= 0 ;
13066 bool temp2
= false ;
13067 PyObject
* obj0
= 0 ;
13068 PyObject
* obj1
= 0 ;
13069 char * kwnames
[] = {
13070 (char *) "self",(char *) "s", NULL
13073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13075 if (!SWIG_IsOK(res1
)) {
13076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13078 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13080 arg2
= wxString_in_helper(obj1
);
13081 if (arg2
== NULL
) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13107 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13108 PyObject
*resultobj
= 0;
13109 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13113 PyObject
*swig_obj
[1] ;
13115 if (!args
) SWIG_fail
;
13116 swig_obj
[0] = args
;
13117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13118 if (!SWIG_IsOK(res1
)) {
13119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13121 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13141 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13143 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13144 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13145 return SWIG_Py_Void();
13148 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13149 return SWIG_Python_InitShadowInstance(args
);
13152 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13153 PyObject
*resultobj
= 0;
13154 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13155 wxString
*arg2
= (wxString
*) 0 ;
13158 bool temp2
= false ;
13159 PyObject
*swig_obj
[2] ;
13161 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13163 if (!SWIG_IsOK(res1
)) {
13164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13166 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13168 arg2
= wxString_in_helper(swig_obj
[1]);
13169 if (arg2
== NULL
) SWIG_fail
;
13172 if (arg1
) (arg1
)->facename
= *arg2
;
13174 resultobj
= SWIG_Py_Void();
13189 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13190 PyObject
*resultobj
= 0;
13191 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13192 wxString
*result
= 0 ;
13195 PyObject
*swig_obj
[1] ;
13197 if (!args
) SWIG_fail
;
13198 swig_obj
[0] = args
;
13199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13200 if (!SWIG_IsOK(res1
)) {
13201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13203 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13204 result
= (wxString
*)& ((arg1
)->facename
);
13207 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13209 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13218 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13219 PyObject
*resultobj
= 0;
13220 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13221 wxFontEncoding arg2
;
13226 PyObject
*swig_obj
[2] ;
13228 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13230 if (!SWIG_IsOK(res1
)) {
13231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13233 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13234 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13235 if (!SWIG_IsOK(ecode2
)) {
13236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13238 arg2
= static_cast< wxFontEncoding
>(val2
);
13239 if (arg1
) (arg1
)->encoding
= arg2
;
13241 resultobj
= SWIG_Py_Void();
13248 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13249 PyObject
*resultobj
= 0;
13250 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13251 wxFontEncoding result
;
13254 PyObject
*swig_obj
[1] ;
13256 if (!args
) SWIG_fail
;
13257 swig_obj
[0] = args
;
13258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13259 if (!SWIG_IsOK(res1
)) {
13260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13262 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13263 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13264 resultobj
= SWIG_From_int(static_cast< int >(result
));
13271 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13272 PyObject
*resultobj
= 0;
13273 wxNativeEncodingInfo
*result
= 0 ;
13275 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13278 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13289 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13290 PyObject
*resultobj
= 0;
13291 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13294 PyObject
*swig_obj
[1] ;
13296 if (!args
) SWIG_fail
;
13297 swig_obj
[0] = args
;
13298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13299 if (!SWIG_IsOK(res1
)) {
13300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13302 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13307 wxPyEndAllowThreads(__tstate
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13310 resultobj
= SWIG_Py_Void();
13317 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13318 PyObject
*resultobj
= 0;
13319 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13320 wxString
*arg2
= 0 ;
13324 bool temp2
= false ;
13325 PyObject
* obj0
= 0 ;
13326 PyObject
* obj1
= 0 ;
13327 char * kwnames
[] = {
13328 (char *) "self",(char *) "s", NULL
13331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13333 if (!SWIG_IsOK(res1
)) {
13334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13336 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13338 arg2
= wxString_in_helper(obj1
);
13339 if (arg2
== NULL
) SWIG_fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13345 wxPyEndAllowThreads(__tstate
);
13346 if (PyErr_Occurred()) SWIG_fail
;
13349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13365 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13366 PyObject
*resultobj
= 0;
13367 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13371 PyObject
*swig_obj
[1] ;
13373 if (!args
) SWIG_fail
;
13374 swig_obj
[0] = args
;
13375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13376 if (!SWIG_IsOK(res1
)) {
13377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13379 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13382 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13383 wxPyEndAllowThreads(__tstate
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13388 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13390 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13399 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13401 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13402 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13403 return SWIG_Py_Void();
13406 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13407 return SWIG_Python_InitShadowInstance(args
);
13410 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
= 0;
13412 wxFontEncoding arg1
;
13413 wxNativeEncodingInfo
*result
= 0 ;
13416 PyObject
* obj0
= 0 ;
13417 char * kwnames
[] = {
13418 (char *) "encoding", NULL
13421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13422 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13423 if (!SWIG_IsOK(ecode1
)) {
13424 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13426 arg1
= static_cast< wxFontEncoding
>(val1
);
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13440 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
= 0;
13442 wxNativeEncodingInfo
*arg1
= 0 ;
13446 PyObject
* obj0
= 0 ;
13447 char * kwnames
[] = {
13448 (char *) "info", NULL
13451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13452 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13453 if (!SWIG_IsOK(res1
)) {
13454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13459 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13475 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13476 PyObject
*resultobj
= 0;
13477 wxFontMapper
*result
= 0 ;
13479 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 result
= (wxFontMapper
*)new wxFontMapper();
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13493 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13494 PyObject
*resultobj
= 0;
13495 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13498 PyObject
*swig_obj
[1] ;
13500 if (!args
) SWIG_fail
;
13501 swig_obj
[0] = args
;
13502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13503 if (!SWIG_IsOK(res1
)) {
13504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13506 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13511 wxPyEndAllowThreads(__tstate
);
13512 if (PyErr_Occurred()) SWIG_fail
;
13514 resultobj
= SWIG_Py_Void();
13521 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13522 PyObject
*resultobj
= 0;
13523 wxFontMapper
*result
= 0 ;
13525 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 result
= (wxFontMapper
*)wxFontMapper::Get();
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13539 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13540 PyObject
*resultobj
= 0;
13541 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13542 wxFontMapper
*result
= 0 ;
13545 PyObject
* obj0
= 0 ;
13546 char * kwnames
[] = {
13547 (char *) "mapper", NULL
13550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13552 if (!SWIG_IsOK(res1
)) {
13553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13555 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13559 wxPyEndAllowThreads(__tstate
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13569 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13570 PyObject
*resultobj
= 0;
13571 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13572 wxString
*arg2
= 0 ;
13573 bool arg3
= (bool) true ;
13574 wxFontEncoding result
;
13577 bool temp2
= false ;
13580 PyObject
* obj0
= 0 ;
13581 PyObject
* obj1
= 0 ;
13582 PyObject
* obj2
= 0 ;
13583 char * kwnames
[] = {
13584 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13589 if (!SWIG_IsOK(res1
)) {
13590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13592 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13594 arg2
= wxString_in_helper(obj1
);
13595 if (arg2
== NULL
) SWIG_fail
;
13599 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13600 if (!SWIG_IsOK(ecode3
)) {
13601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13603 arg3
= static_cast< bool >(val3
);
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13608 wxPyEndAllowThreads(__tstate
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13611 resultobj
= SWIG_From_int(static_cast< int >(result
));
13626 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13627 PyObject
*resultobj
= 0;
13630 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13633 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13634 wxPyEndAllowThreads(__tstate
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13644 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13645 PyObject
*resultobj
= 0;
13647 wxFontEncoding result
;
13650 PyObject
* obj0
= 0 ;
13651 char * kwnames
[] = {
13655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13656 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13657 if (!SWIG_IsOK(ecode1
)) {
13658 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13660 arg1
= static_cast< size_t >(val1
);
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13667 resultobj
= SWIG_From_int(static_cast< int >(result
));
13674 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13675 PyObject
*resultobj
= 0;
13676 wxFontEncoding arg1
;
13680 PyObject
* obj0
= 0 ;
13681 char * kwnames
[] = {
13682 (char *) "encoding", NULL
13685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13686 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13687 if (!SWIG_IsOK(ecode1
)) {
13688 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13690 arg1
= static_cast< wxFontEncoding
>(val1
);
13692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13693 result
= wxFontMapper::GetEncodingName(arg1
);
13694 wxPyEndAllowThreads(__tstate
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13710 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13711 PyObject
*resultobj
= 0;
13712 wxFontEncoding arg1
;
13716 PyObject
* obj0
= 0 ;
13717 char * kwnames
[] = {
13718 (char *) "encoding", NULL
13721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13722 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13723 if (!SWIG_IsOK(ecode1
)) {
13724 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13726 arg1
= static_cast< wxFontEncoding
>(val1
);
13728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13729 result
= wxFontMapper::GetEncodingDescription(arg1
);
13730 wxPyEndAllowThreads(__tstate
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13746 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13747 PyObject
*resultobj
= 0;
13748 wxString
*arg1
= 0 ;
13749 wxFontEncoding result
;
13750 bool temp1
= false ;
13751 PyObject
* obj0
= 0 ;
13752 char * kwnames
[] = {
13753 (char *) "name", NULL
13756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13758 arg1
= wxString_in_helper(obj0
);
13759 if (arg1
== NULL
) SWIG_fail
;
13763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13764 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13765 wxPyEndAllowThreads(__tstate
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13768 resultobj
= SWIG_From_int(static_cast< int >(result
));
13783 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
= 0;
13785 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13786 wxString
*arg2
= 0 ;
13789 bool temp2
= false ;
13790 PyObject
* obj0
= 0 ;
13791 PyObject
* obj1
= 0 ;
13792 char * kwnames
[] = {
13793 (char *) "self",(char *) "prefix", NULL
13796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13798 if (!SWIG_IsOK(res1
)) {
13799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13801 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13803 arg2
= wxString_in_helper(obj1
);
13804 if (arg2
== NULL
) SWIG_fail
;
13808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13810 wxPyEndAllowThreads(__tstate
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13813 resultobj
= SWIG_Py_Void();
13828 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13829 PyObject
*resultobj
= 0;
13832 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 result
= wxFontMapper::GetDefaultConfigPath();
13836 wxPyEndAllowThreads(__tstate
);
13837 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13852 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13853 PyObject
*resultobj
= 0;
13854 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13855 wxFontEncoding arg2
;
13856 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13857 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13858 bool arg4
= (bool) true ;
13859 PyObject
*result
= 0 ;
13864 bool temp3
= false ;
13867 PyObject
* obj0
= 0 ;
13868 PyObject
* obj1
= 0 ;
13869 PyObject
* obj2
= 0 ;
13870 PyObject
* obj3
= 0 ;
13871 char * kwnames
[] = {
13872 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13877 if (!SWIG_IsOK(res1
)) {
13878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13880 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13882 if (!SWIG_IsOK(ecode2
)) {
13883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13885 arg2
= static_cast< wxFontEncoding
>(val2
);
13888 arg3
= wxString_in_helper(obj2
);
13889 if (arg3
== NULL
) SWIG_fail
;
13894 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13895 if (!SWIG_IsOK(ecode4
)) {
13896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13898 arg4
= static_cast< bool >(val4
);
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13903 wxPyEndAllowThreads(__tstate
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= result
;
13921 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
= 0;
13923 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13924 wxFontEncoding arg2
;
13925 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13926 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13932 bool temp3
= false ;
13933 PyObject
* obj0
= 0 ;
13934 PyObject
* obj1
= 0 ;
13935 PyObject
* obj2
= 0 ;
13936 char * kwnames
[] = {
13937 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13942 if (!SWIG_IsOK(res1
)) {
13943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13945 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13947 if (!SWIG_IsOK(ecode2
)) {
13948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13950 arg2
= static_cast< wxFontEncoding
>(val2
);
13953 arg3
= wxString_in_helper(obj2
);
13954 if (arg3
== NULL
) SWIG_fail
;
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13981 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13982 PyObject
*resultobj
= 0;
13983 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13984 wxWindow
*arg2
= (wxWindow
*) 0 ;
13989 PyObject
* obj0
= 0 ;
13990 PyObject
* obj1
= 0 ;
13991 char * kwnames
[] = {
13992 (char *) "self",(char *) "parent", NULL
13995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13997 if (!SWIG_IsOK(res1
)) {
13998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14000 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14001 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14002 if (!SWIG_IsOK(res2
)) {
14003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14005 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14008 (arg1
)->SetDialogParent(arg2
);
14009 wxPyEndAllowThreads(__tstate
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14012 resultobj
= SWIG_Py_Void();
14019 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14020 PyObject
*resultobj
= 0;
14021 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14022 wxString
*arg2
= 0 ;
14025 bool temp2
= false ;
14026 PyObject
* obj0
= 0 ;
14027 PyObject
* obj1
= 0 ;
14028 char * kwnames
[] = {
14029 (char *) "self",(char *) "title", NULL
14032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14034 if (!SWIG_IsOK(res1
)) {
14035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14037 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14039 arg2
= wxString_in_helper(obj1
);
14040 if (arg2
== NULL
) SWIG_fail
;
14044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14045 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14049 resultobj
= SWIG_Py_Void();
14064 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14067 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14068 return SWIG_Py_Void();
14071 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14072 return SWIG_Python_InitShadowInstance(args
);
14075 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14076 PyObject
*resultobj
= 0;
14081 bool arg5
= (bool) false ;
14082 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14083 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14084 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14085 wxFont
*result
= 0 ;
14096 bool temp6
= false ;
14099 PyObject
* obj0
= 0 ;
14100 PyObject
* obj1
= 0 ;
14101 PyObject
* obj2
= 0 ;
14102 PyObject
* obj3
= 0 ;
14103 PyObject
* obj4
= 0 ;
14104 PyObject
* obj5
= 0 ;
14105 PyObject
* obj6
= 0 ;
14106 char * kwnames
[] = {
14107 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14111 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14112 if (!SWIG_IsOK(ecode1
)) {
14113 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14115 arg1
= static_cast< int >(val1
);
14116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14117 if (!SWIG_IsOK(ecode2
)) {
14118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14120 arg2
= static_cast< int >(val2
);
14121 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14122 if (!SWIG_IsOK(ecode3
)) {
14123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14125 arg3
= static_cast< int >(val3
);
14126 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14127 if (!SWIG_IsOK(ecode4
)) {
14128 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14130 arg4
= static_cast< int >(val4
);
14132 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14133 if (!SWIG_IsOK(ecode5
)) {
14134 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14136 arg5
= static_cast< bool >(val5
);
14140 arg6
= wxString_in_helper(obj5
);
14141 if (arg6
== NULL
) SWIG_fail
;
14146 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14147 if (!SWIG_IsOK(ecode7
)) {
14148 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14150 arg7
= static_cast< wxFontEncoding
>(val7
);
14153 if (!wxPyCheckForApp()) SWIG_fail
;
14154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14155 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14156 wxPyEndAllowThreads(__tstate
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14174 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14175 PyObject
*resultobj
= 0;
14176 wxFont
*arg1
= (wxFont
*) 0 ;
14179 PyObject
*swig_obj
[1] ;
14181 if (!args
) SWIG_fail
;
14182 swig_obj
[0] = args
;
14183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14184 if (!SWIG_IsOK(res1
)) {
14185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14187 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 wxPyEndAllowThreads(__tstate
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14195 resultobj
= SWIG_Py_Void();
14202 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14203 PyObject
*resultobj
= 0;
14204 wxNativeFontInfo
*arg1
= 0 ;
14205 wxFont
*result
= 0 ;
14208 PyObject
* obj0
= 0 ;
14209 char * kwnames
[] = {
14210 (char *) "info", NULL
14213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14214 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14215 if (!SWIG_IsOK(res1
)) {
14216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14221 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14223 if (!wxPyCheckForApp()) SWIG_fail
;
14224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14225 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14226 wxPyEndAllowThreads(__tstate
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14236 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
= 0;
14238 wxString
*arg1
= 0 ;
14239 wxFont
*result
= 0 ;
14240 bool temp1
= false ;
14241 PyObject
* obj0
= 0 ;
14242 char * kwnames
[] = {
14243 (char *) "info", NULL
14246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14248 arg1
= wxString_in_helper(obj0
);
14249 if (arg1
== NULL
) SWIG_fail
;
14253 if (!wxPyCheckForApp()) SWIG_fail
;
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14256 wxPyEndAllowThreads(__tstate
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14274 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14275 PyObject
*resultobj
= 0;
14277 wxFontFamily arg2
;
14278 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14279 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14280 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14281 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14282 wxFont
*result
= 0 ;
14289 bool temp4
= false ;
14292 PyObject
* obj0
= 0 ;
14293 PyObject
* obj1
= 0 ;
14294 PyObject
* obj2
= 0 ;
14295 PyObject
* obj3
= 0 ;
14296 PyObject
* obj4
= 0 ;
14297 char * kwnames
[] = {
14298 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14302 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14303 if (!SWIG_IsOK(ecode1
)) {
14304 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14306 arg1
= static_cast< int >(val1
);
14307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14308 if (!SWIG_IsOK(ecode2
)) {
14309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14311 arg2
= static_cast< wxFontFamily
>(val2
);
14313 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14314 if (!SWIG_IsOK(ecode3
)) {
14315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14317 arg3
= static_cast< int >(val3
);
14321 arg4
= wxString_in_helper(obj3
);
14322 if (arg4
== NULL
) SWIG_fail
;
14327 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14328 if (!SWIG_IsOK(ecode5
)) {
14329 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14331 arg5
= static_cast< wxFontEncoding
>(val5
);
14334 if (!wxPyCheckForApp()) SWIG_fail
;
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14355 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14356 PyObject
*resultobj
= 0;
14361 bool arg5
= (bool) false ;
14362 wxString
const &arg6_defvalue
= wxEmptyString
;
14363 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14364 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14365 wxFont
*result
= 0 ;
14375 bool temp6
= false ;
14378 PyObject
* obj0
= 0 ;
14379 PyObject
* obj1
= 0 ;
14380 PyObject
* obj2
= 0 ;
14381 PyObject
* obj3
= 0 ;
14382 PyObject
* obj4
= 0 ;
14383 PyObject
* obj5
= 0 ;
14384 PyObject
* obj6
= 0 ;
14385 char * kwnames
[] = {
14386 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14392 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14395 if (!SWIG_IsOK(ecode2
)) {
14396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14398 arg2
= static_cast< int >(val2
);
14399 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14400 if (!SWIG_IsOK(ecode3
)) {
14401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14403 arg3
= static_cast< int >(val3
);
14404 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14405 if (!SWIG_IsOK(ecode4
)) {
14406 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14408 arg4
= static_cast< int >(val4
);
14410 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14411 if (!SWIG_IsOK(ecode5
)) {
14412 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14414 arg5
= static_cast< bool >(val5
);
14418 arg6
= wxString_in_helper(obj5
);
14419 if (arg6
== NULL
) SWIG_fail
;
14424 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14425 if (!SWIG_IsOK(ecode7
)) {
14426 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14428 arg7
= static_cast< wxFontEncoding
>(val7
);
14431 if (!wxPyCheckForApp()) SWIG_fail
;
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14452 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14453 PyObject
*resultobj
= 0;
14455 wxFontFamily arg2
;
14456 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14457 wxString
const &arg4_defvalue
= wxEmptyString
;
14458 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14459 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14460 wxFont
*result
= 0 ;
14466 bool temp4
= false ;
14469 PyObject
* obj0
= 0 ;
14470 PyObject
* obj1
= 0 ;
14471 PyObject
* obj2
= 0 ;
14472 PyObject
* obj3
= 0 ;
14473 PyObject
* obj4
= 0 ;
14474 char * kwnames
[] = {
14475 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14481 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14484 if (!SWIG_IsOK(ecode2
)) {
14485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14487 arg2
= static_cast< wxFontFamily
>(val2
);
14489 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14490 if (!SWIG_IsOK(ecode3
)) {
14491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14493 arg3
= static_cast< int >(val3
);
14497 arg4
= wxString_in_helper(obj3
);
14498 if (arg4
== NULL
) SWIG_fail
;
14503 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14504 if (!SWIG_IsOK(ecode5
)) {
14505 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14507 arg5
= static_cast< wxFontEncoding
>(val5
);
14510 if (!wxPyCheckForApp()) SWIG_fail
;
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14531 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14532 PyObject
*resultobj
= 0;
14533 wxFont
*arg1
= (wxFont
*) 0 ;
14537 PyObject
*swig_obj
[1] ;
14539 if (!args
) SWIG_fail
;
14540 swig_obj
[0] = args
;
14541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14542 if (!SWIG_IsOK(res1
)) {
14543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14545 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14548 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14549 wxPyEndAllowThreads(__tstate
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14561 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14562 PyObject
*resultobj
= 0;
14563 wxFont
*arg1
= (wxFont
*) 0 ;
14564 wxFont
*arg2
= (wxFont
*) 0 ;
14570 PyObject
* obj0
= 0 ;
14571 PyObject
* obj1
= 0 ;
14572 char * kwnames
[] = {
14573 (char *) "self",(char *) "other", NULL
14576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14578 if (!SWIG_IsOK(res1
)) {
14579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14581 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14582 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14583 if (!SWIG_IsOK(res2
)) {
14584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14586 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14602 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14603 PyObject
*resultobj
= 0;
14604 wxFont
*arg1
= (wxFont
*) 0 ;
14605 wxFont
*arg2
= (wxFont
*) 0 ;
14611 PyObject
* obj0
= 0 ;
14612 PyObject
* obj1
= 0 ;
14613 char * kwnames
[] = {
14614 (char *) "self",(char *) "other", NULL
14617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14619 if (!SWIG_IsOK(res1
)) {
14620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14622 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14624 if (!SWIG_IsOK(res2
)) {
14625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14627 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14630 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14631 wxPyEndAllowThreads(__tstate
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14643 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14644 PyObject
*resultobj
= 0;
14645 wxFont
*arg1
= (wxFont
*) 0 ;
14649 PyObject
*swig_obj
[1] ;
14651 if (!args
) SWIG_fail
;
14652 swig_obj
[0] = args
;
14653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14654 if (!SWIG_IsOK(res1
)) {
14655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14657 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14664 resultobj
= SWIG_From_int(static_cast< int >(result
));
14671 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14672 PyObject
*resultobj
= 0;
14673 wxFont
*arg1
= (wxFont
*) 0 ;
14677 PyObject
*swig_obj
[1] ;
14679 if (!args
) SWIG_fail
;
14680 swig_obj
[0] = args
;
14681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14682 if (!SWIG_IsOK(res1
)) {
14683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14685 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14688 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14689 wxPyEndAllowThreads(__tstate
);
14690 if (PyErr_Occurred()) SWIG_fail
;
14692 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14699 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14700 PyObject
*resultobj
= 0;
14701 wxFont
*arg1
= (wxFont
*) 0 ;
14705 PyObject
*swig_obj
[1] ;
14707 if (!args
) SWIG_fail
;
14708 swig_obj
[0] = args
;
14709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14710 if (!SWIG_IsOK(res1
)) {
14711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14713 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14716 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14729 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14730 PyObject
*resultobj
= 0;
14731 wxFont
*arg1
= (wxFont
*) 0 ;
14735 PyObject
*swig_obj
[1] ;
14737 if (!args
) SWIG_fail
;
14738 swig_obj
[0] = args
;
14739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14740 if (!SWIG_IsOK(res1
)) {
14741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14743 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14750 resultobj
= SWIG_From_int(static_cast< int >(result
));
14757 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14758 PyObject
*resultobj
= 0;
14759 wxFont
*arg1
= (wxFont
*) 0 ;
14763 PyObject
*swig_obj
[1] ;
14765 if (!args
) SWIG_fail
;
14766 swig_obj
[0] = args
;
14767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14768 if (!SWIG_IsOK(res1
)) {
14769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14771 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14778 resultobj
= SWIG_From_int(static_cast< int >(result
));
14785 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14786 PyObject
*resultobj
= 0;
14787 wxFont
*arg1
= (wxFont
*) 0 ;
14791 PyObject
*swig_obj
[1] ;
14793 if (!args
) SWIG_fail
;
14794 swig_obj
[0] = args
;
14795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14796 if (!SWIG_IsOK(res1
)) {
14797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14799 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= SWIG_From_int(static_cast< int >(result
));
14813 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14814 PyObject
*resultobj
= 0;
14815 wxFont
*arg1
= (wxFont
*) 0 ;
14819 PyObject
*swig_obj
[1] ;
14821 if (!args
) SWIG_fail
;
14822 swig_obj
[0] = args
;
14823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14824 if (!SWIG_IsOK(res1
)) {
14825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14827 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14843 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14844 PyObject
*resultobj
= 0;
14845 wxFont
*arg1
= (wxFont
*) 0 ;
14849 PyObject
*swig_obj
[1] ;
14851 if (!args
) SWIG_fail
;
14852 swig_obj
[0] = args
;
14853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14854 if (!SWIG_IsOK(res1
)) {
14855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14857 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 result
= ((wxFont
const *)arg1
)->GetFaceName();
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14877 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14878 PyObject
*resultobj
= 0;
14879 wxFont
*arg1
= (wxFont
*) 0 ;
14880 wxFontEncoding result
;
14883 PyObject
*swig_obj
[1] ;
14885 if (!args
) SWIG_fail
;
14886 swig_obj
[0] = args
;
14887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14888 if (!SWIG_IsOK(res1
)) {
14889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14891 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14898 resultobj
= SWIG_From_int(static_cast< int >(result
));
14905 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14906 PyObject
*resultobj
= 0;
14907 wxFont
*arg1
= (wxFont
*) 0 ;
14908 wxNativeFontInfo
*result
= 0 ;
14911 PyObject
*swig_obj
[1] ;
14913 if (!args
) SWIG_fail
;
14914 swig_obj
[0] = args
;
14915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14916 if (!SWIG_IsOK(res1
)) {
14917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14919 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14922 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14933 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14934 PyObject
*resultobj
= 0;
14935 wxFont
*arg1
= (wxFont
*) 0 ;
14939 PyObject
*swig_obj
[1] ;
14941 if (!args
) SWIG_fail
;
14942 swig_obj
[0] = args
;
14943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14944 if (!SWIG_IsOK(res1
)) {
14945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14947 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14951 wxPyEndAllowThreads(__tstate
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14963 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14964 PyObject
*resultobj
= 0;
14965 wxFont
*arg1
= (wxFont
*) 0 ;
14969 PyObject
*swig_obj
[1] ;
14971 if (!args
) SWIG_fail
;
14972 swig_obj
[0] = args
;
14973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14974 if (!SWIG_IsOK(res1
)) {
14975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14977 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14997 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14998 PyObject
*resultobj
= 0;
14999 wxFont
*arg1
= (wxFont
*) 0 ;
15003 PyObject
*swig_obj
[1] ;
15005 if (!args
) SWIG_fail
;
15006 swig_obj
[0] = args
;
15007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15008 if (!SWIG_IsOK(res1
)) {
15009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15011 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15031 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
= 0;
15033 wxFont
*arg1
= (wxFont
*) 0 ;
15039 PyObject
* obj0
= 0 ;
15040 PyObject
* obj1
= 0 ;
15041 char * kwnames
[] = {
15042 (char *) "self",(char *) "pointSize", NULL
15045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15047 if (!SWIG_IsOK(res1
)) {
15048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15050 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15052 if (!SWIG_IsOK(ecode2
)) {
15053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15055 arg2
= static_cast< int >(val2
);
15057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15058 (arg1
)->SetPointSize(arg2
);
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15062 resultobj
= SWIG_Py_Void();
15069 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15070 PyObject
*resultobj
= 0;
15071 wxFont
*arg1
= (wxFont
*) 0 ;
15076 PyObject
* obj0
= 0 ;
15077 PyObject
* obj1
= 0 ;
15078 char * kwnames
[] = {
15079 (char *) "self",(char *) "pixelSize", NULL
15082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15084 if (!SWIG_IsOK(res1
)) {
15085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15087 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15090 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15095 wxPyEndAllowThreads(__tstate
);
15096 if (PyErr_Occurred()) SWIG_fail
;
15098 resultobj
= SWIG_Py_Void();
15105 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15106 PyObject
*resultobj
= 0;
15107 wxFont
*arg1
= (wxFont
*) 0 ;
15113 PyObject
* obj0
= 0 ;
15114 PyObject
* obj1
= 0 ;
15115 char * kwnames
[] = {
15116 (char *) "self",(char *) "family", NULL
15119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15121 if (!SWIG_IsOK(res1
)) {
15122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15124 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15126 if (!SWIG_IsOK(ecode2
)) {
15127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15129 arg2
= static_cast< int >(val2
);
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 (arg1
)->SetFamily(arg2
);
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15136 resultobj
= SWIG_Py_Void();
15143 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15144 PyObject
*resultobj
= 0;
15145 wxFont
*arg1
= (wxFont
*) 0 ;
15151 PyObject
* obj0
= 0 ;
15152 PyObject
* obj1
= 0 ;
15153 char * kwnames
[] = {
15154 (char *) "self",(char *) "style", NULL
15157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15159 if (!SWIG_IsOK(res1
)) {
15160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15162 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15164 if (!SWIG_IsOK(ecode2
)) {
15165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15167 arg2
= static_cast< int >(val2
);
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 (arg1
)->SetStyle(arg2
);
15171 wxPyEndAllowThreads(__tstate
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15174 resultobj
= SWIG_Py_Void();
15181 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15182 PyObject
*resultobj
= 0;
15183 wxFont
*arg1
= (wxFont
*) 0 ;
15189 PyObject
* obj0
= 0 ;
15190 PyObject
* obj1
= 0 ;
15191 char * kwnames
[] = {
15192 (char *) "self",(char *) "weight", NULL
15195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15197 if (!SWIG_IsOK(res1
)) {
15198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15200 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15202 if (!SWIG_IsOK(ecode2
)) {
15203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15205 arg2
= static_cast< int >(val2
);
15207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15208 (arg1
)->SetWeight(arg2
);
15209 wxPyEndAllowThreads(__tstate
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15212 resultobj
= SWIG_Py_Void();
15219 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
= 0;
15221 wxFont
*arg1
= (wxFont
*) 0 ;
15222 wxString
*arg2
= 0 ;
15226 bool temp2
= false ;
15227 PyObject
* obj0
= 0 ;
15228 PyObject
* obj1
= 0 ;
15229 char * kwnames
[] = {
15230 (char *) "self",(char *) "faceName", NULL
15233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15235 if (!SWIG_IsOK(res1
)) {
15236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15238 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15240 arg2
= wxString_in_helper(obj1
);
15241 if (arg2
== NULL
) SWIG_fail
;
15245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15246 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15247 wxPyEndAllowThreads(__tstate
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15267 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
= 0;
15269 wxFont
*arg1
= (wxFont
*) 0 ;
15275 PyObject
* obj0
= 0 ;
15276 PyObject
* obj1
= 0 ;
15277 char * kwnames
[] = {
15278 (char *) "self",(char *) "underlined", NULL
15281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15283 if (!SWIG_IsOK(res1
)) {
15284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15286 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15287 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15288 if (!SWIG_IsOK(ecode2
)) {
15289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15291 arg2
= static_cast< bool >(val2
);
15293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15294 (arg1
)->SetUnderlined(arg2
);
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15298 resultobj
= SWIG_Py_Void();
15305 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
= 0;
15307 wxFont
*arg1
= (wxFont
*) 0 ;
15308 wxFontEncoding arg2
;
15313 PyObject
* obj0
= 0 ;
15314 PyObject
* obj1
= 0 ;
15315 char * kwnames
[] = {
15316 (char *) "self",(char *) "encoding", NULL
15319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15321 if (!SWIG_IsOK(res1
)) {
15322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15324 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15326 if (!SWIG_IsOK(ecode2
)) {
15327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15329 arg2
= static_cast< wxFontEncoding
>(val2
);
15331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15332 (arg1
)->SetEncoding(arg2
);
15333 wxPyEndAllowThreads(__tstate
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15336 resultobj
= SWIG_Py_Void();
15343 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15344 PyObject
*resultobj
= 0;
15345 wxFont
*arg1
= (wxFont
*) 0 ;
15346 wxNativeFontInfo
*arg2
= 0 ;
15351 PyObject
* obj0
= 0 ;
15352 PyObject
* obj1
= 0 ;
15353 char * kwnames
[] = {
15354 (char *) "self",(char *) "info", NULL
15357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15359 if (!SWIG_IsOK(res1
)) {
15360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15362 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15363 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15364 if (!SWIG_IsOK(res2
)) {
15365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15368 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15370 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15374 wxPyEndAllowThreads(__tstate
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= SWIG_Py_Void();
15384 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
= 0;
15386 wxFont
*arg1
= (wxFont
*) 0 ;
15387 wxString
*arg2
= 0 ;
15391 bool temp2
= false ;
15392 PyObject
* obj0
= 0 ;
15393 PyObject
* obj1
= 0 ;
15394 char * kwnames
[] = {
15395 (char *) "self",(char *) "info", NULL
15398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15400 if (!SWIG_IsOK(res1
)) {
15401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15403 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15405 arg2
= wxString_in_helper(obj1
);
15406 if (arg2
== NULL
) SWIG_fail
;
15410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15411 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15412 wxPyEndAllowThreads(__tstate
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15432 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
= 0;
15434 wxFont
*arg1
= (wxFont
*) 0 ;
15435 wxString
*arg2
= 0 ;
15439 bool temp2
= false ;
15440 PyObject
* obj0
= 0 ;
15441 PyObject
* obj1
= 0 ;
15442 char * kwnames
[] = {
15443 (char *) "self",(char *) "info", NULL
15446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15448 if (!SWIG_IsOK(res1
)) {
15449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15451 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15453 arg2
= wxString_in_helper(obj1
);
15454 if (arg2
== NULL
) SWIG_fail
;
15458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15459 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15460 wxPyEndAllowThreads(__tstate
);
15461 if (PyErr_Occurred()) SWIG_fail
;
15464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15480 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15481 PyObject
*resultobj
= 0;
15482 wxFont
*arg1
= (wxFont
*) 0 ;
15486 PyObject
*swig_obj
[1] ;
15488 if (!args
) SWIG_fail
;
15489 swig_obj
[0] = args
;
15490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15491 if (!SWIG_IsOK(res1
)) {
15492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15494 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15497 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15514 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15515 PyObject
*resultobj
= 0;
15516 wxFont
*arg1
= (wxFont
*) 0 ;
15520 PyObject
*swig_obj
[1] ;
15522 if (!args
) SWIG_fail
;
15523 swig_obj
[0] = args
;
15524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15525 if (!SWIG_IsOK(res1
)) {
15526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15528 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 result
= ((wxFont
const *)arg1
)->GetStyleString();
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15548 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15549 PyObject
*resultobj
= 0;
15550 wxFont
*arg1
= (wxFont
*) 0 ;
15554 PyObject
*swig_obj
[1] ;
15556 if (!args
) SWIG_fail
;
15557 swig_obj
[0] = args
;
15558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15559 if (!SWIG_IsOK(res1
)) {
15560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15562 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 result
= ((wxFont
const *)arg1
)->GetWeightString();
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15573 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15582 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
= 0;
15584 wxFont
*arg1
= (wxFont
*) 0 ;
15585 bool arg2
= (bool) true ;
15590 PyObject
* obj0
= 0 ;
15591 PyObject
* obj1
= 0 ;
15592 char * kwnames
[] = {
15593 (char *) "self",(char *) "no", NULL
15596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15598 if (!SWIG_IsOK(res1
)) {
15599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15601 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15603 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15604 if (!SWIG_IsOK(ecode2
)) {
15605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15607 arg2
= static_cast< bool >(val2
);
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 (arg1
)->SetNoAntiAliasing(arg2
);
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15615 resultobj
= SWIG_Py_Void();
15622 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15623 PyObject
*resultobj
= 0;
15624 wxFont
*arg1
= (wxFont
*) 0 ;
15628 PyObject
*swig_obj
[1] ;
15630 if (!args
) SWIG_fail
;
15631 swig_obj
[0] = args
;
15632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15633 if (!SWIG_IsOK(res1
)) {
15634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15636 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15652 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15653 PyObject
*resultobj
= 0;
15654 wxFontEncoding result
;
15656 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15658 if (!wxPyCheckForApp()) SWIG_fail
;
15659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15660 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15661 wxPyEndAllowThreads(__tstate
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15664 resultobj
= SWIG_From_int(static_cast< int >(result
));
15671 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15672 PyObject
*resultobj
= 0;
15673 wxFontEncoding arg1
;
15676 PyObject
* obj0
= 0 ;
15677 char * kwnames
[] = {
15678 (char *) "encoding", NULL
15681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15682 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15683 if (!SWIG_IsOK(ecode1
)) {
15684 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15686 arg1
= static_cast< wxFontEncoding
>(val1
);
15688 if (!wxPyCheckForApp()) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 wxFont::SetDefaultEncoding(arg1
);
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15694 resultobj
= SWIG_Py_Void();
15701 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15704 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15705 return SWIG_Py_Void();
15708 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15709 return SWIG_Python_InitShadowInstance(args
);
15712 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15713 PyObject
*resultobj
= 0;
15714 wxPyFontEnumerator
*result
= 0 ;
15716 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15718 if (!wxPyCheckForApp()) SWIG_fail
;
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15731 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15732 PyObject
*resultobj
= 0;
15733 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15736 PyObject
*swig_obj
[1] ;
15738 if (!args
) SWIG_fail
;
15739 swig_obj
[0] = args
;
15740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15741 if (!SWIG_IsOK(res1
)) {
15742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15744 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15752 resultobj
= SWIG_Py_Void();
15759 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15760 PyObject
*resultobj
= 0;
15761 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15762 PyObject
*arg2
= (PyObject
*) 0 ;
15763 PyObject
*arg3
= (PyObject
*) 0 ;
15769 PyObject
* obj0
= 0 ;
15770 PyObject
* obj1
= 0 ;
15771 PyObject
* obj2
= 0 ;
15772 PyObject
* obj3
= 0 ;
15773 char * kwnames
[] = {
15774 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15779 if (!SWIG_IsOK(res1
)) {
15780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15782 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15785 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15786 if (!SWIG_IsOK(ecode4
)) {
15787 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15789 arg4
= static_cast< bool >(val4
);
15791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15792 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15796 resultobj
= SWIG_Py_Void();
15803 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
= 0;
15805 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15806 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15807 bool arg3
= (bool) false ;
15815 PyObject
* obj0
= 0 ;
15816 PyObject
* obj1
= 0 ;
15817 PyObject
* obj2
= 0 ;
15818 char * kwnames
[] = {
15819 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15824 if (!SWIG_IsOK(res1
)) {
15825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15827 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15830 if (!SWIG_IsOK(ecode2
)) {
15831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15833 arg2
= static_cast< wxFontEncoding
>(val2
);
15836 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15837 if (!SWIG_IsOK(ecode3
)) {
15838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15840 arg3
= static_cast< bool >(val3
);
15843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15844 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15845 wxPyEndAllowThreads(__tstate
);
15846 if (PyErr_Occurred()) SWIG_fail
;
15849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15857 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15858 PyObject
*resultobj
= 0;
15859 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15860 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15861 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15865 bool temp2
= false ;
15866 PyObject
* obj0
= 0 ;
15867 PyObject
* obj1
= 0 ;
15868 char * kwnames
[] = {
15869 (char *) "self",(char *) "facename", NULL
15872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15874 if (!SWIG_IsOK(res1
)) {
15875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15877 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15880 arg2
= wxString_in_helper(obj1
);
15881 if (arg2
== NULL
) SWIG_fail
;
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15888 wxPyEndAllowThreads(__tstate
);
15889 if (PyErr_Occurred()) SWIG_fail
;
15892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15908 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15909 PyObject
*resultobj
= 0;
15910 PyObject
*result
= 0 ;
15912 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15915 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15916 wxPyEndAllowThreads(__tstate
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15919 resultobj
= result
;
15926 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15927 PyObject
*resultobj
= 0;
15928 PyObject
*result
= 0 ;
15930 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 resultobj
= result
;
15944 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
= 0;
15946 wxString
*arg1
= 0 ;
15948 bool temp1
= false ;
15949 PyObject
* obj0
= 0 ;
15950 char * kwnames
[] = {
15951 (char *) "str", NULL
15954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15956 arg1
= wxString_in_helper(obj0
);
15957 if (arg1
== NULL
) SWIG_fail
;
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15962 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15983 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15986 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15987 return SWIG_Py_Void();
15990 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15991 return SWIG_Python_InitShadowInstance(args
);
15994 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15995 PyObject
*resultobj
= 0;
15996 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16002 PyObject
*swig_obj
[2] ;
16004 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16006 if (!SWIG_IsOK(res1
)) {
16007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16009 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16010 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16011 if (!SWIG_IsOK(ecode2
)) {
16012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16014 arg2
= static_cast< int >(val2
);
16015 if (arg1
) (arg1
)->Language
= arg2
;
16017 resultobj
= SWIG_Py_Void();
16024 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16025 PyObject
*resultobj
= 0;
16026 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16030 PyObject
*swig_obj
[1] ;
16032 if (!args
) SWIG_fail
;
16033 swig_obj
[0] = args
;
16034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16035 if (!SWIG_IsOK(res1
)) {
16036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16038 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16039 result
= (int) ((arg1
)->Language
);
16040 resultobj
= SWIG_From_int(static_cast< int >(result
));
16047 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16048 PyObject
*resultobj
= 0;
16049 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16050 wxString
*arg2
= (wxString
*) 0 ;
16053 bool temp2
= false ;
16054 PyObject
*swig_obj
[2] ;
16056 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16058 if (!SWIG_IsOK(res1
)) {
16059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16061 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16063 arg2
= wxString_in_helper(swig_obj
[1]);
16064 if (arg2
== NULL
) SWIG_fail
;
16067 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16069 resultobj
= SWIG_Py_Void();
16084 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16085 PyObject
*resultobj
= 0;
16086 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16087 wxString
*result
= 0 ;
16090 PyObject
*swig_obj
[1] ;
16092 if (!args
) SWIG_fail
;
16093 swig_obj
[0] = args
;
16094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16095 if (!SWIG_IsOK(res1
)) {
16096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16098 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16099 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16102 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16104 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16113 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16114 PyObject
*resultobj
= 0;
16115 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16116 wxString
*arg2
= (wxString
*) 0 ;
16119 bool temp2
= false ;
16120 PyObject
*swig_obj
[2] ;
16122 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16124 if (!SWIG_IsOK(res1
)) {
16125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16127 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16129 arg2
= wxString_in_helper(swig_obj
[1]);
16130 if (arg2
== NULL
) SWIG_fail
;
16133 if (arg1
) (arg1
)->Description
= *arg2
;
16135 resultobj
= SWIG_Py_Void();
16150 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16151 PyObject
*resultobj
= 0;
16152 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16153 wxString
*result
= 0 ;
16156 PyObject
*swig_obj
[1] ;
16158 if (!args
) SWIG_fail
;
16159 swig_obj
[0] = args
;
16160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16161 if (!SWIG_IsOK(res1
)) {
16162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16164 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16165 result
= (wxString
*)& ((arg1
)->Description
);
16168 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16170 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16179 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16182 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16183 return SWIG_Py_Void();
16186 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16187 PyObject
*resultobj
= 0;
16188 int arg1
= (int) -1 ;
16189 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16190 wxLocale
*result
= 0 ;
16195 PyObject
* obj0
= 0 ;
16196 PyObject
* obj1
= 0 ;
16197 char * kwnames
[] = {
16198 (char *) "language",(char *) "flags", NULL
16201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16203 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16204 if (!SWIG_IsOK(ecode1
)) {
16205 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16207 arg1
= static_cast< int >(val1
);
16210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16211 if (!SWIG_IsOK(ecode2
)) {
16212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16214 arg2
= static_cast< int >(val2
);
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16229 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16230 PyObject
*resultobj
= 0;
16231 wxLocale
*arg1
= (wxLocale
*) 0 ;
16234 PyObject
*swig_obj
[1] ;
16236 if (!args
) SWIG_fail
;
16237 swig_obj
[0] = args
;
16238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16239 if (!SWIG_IsOK(res1
)) {
16240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16242 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16250 resultobj
= SWIG_Py_Void();
16257 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16258 PyObject
*resultobj
= 0;
16259 wxLocale
*arg1
= (wxLocale
*) 0 ;
16260 wxString
*arg2
= 0 ;
16261 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16262 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16263 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16264 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16265 bool arg5
= (bool) true ;
16266 bool arg6
= (bool) false ;
16270 bool temp2
= false ;
16271 bool temp3
= false ;
16272 bool temp4
= false ;
16277 PyObject
* obj0
= 0 ;
16278 PyObject
* obj1
= 0 ;
16279 PyObject
* obj2
= 0 ;
16280 PyObject
* obj3
= 0 ;
16281 PyObject
* obj4
= 0 ;
16282 PyObject
* obj5
= 0 ;
16283 char * kwnames
[] = {
16284 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16289 if (!SWIG_IsOK(res1
)) {
16290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16292 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16294 arg2
= wxString_in_helper(obj1
);
16295 if (arg2
== NULL
) SWIG_fail
;
16300 arg3
= wxString_in_helper(obj2
);
16301 if (arg3
== NULL
) SWIG_fail
;
16307 arg4
= wxString_in_helper(obj3
);
16308 if (arg4
== NULL
) SWIG_fail
;
16313 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16314 if (!SWIG_IsOK(ecode5
)) {
16315 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16317 arg5
= static_cast< bool >(val5
);
16320 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16321 if (!SWIG_IsOK(ecode6
)) {
16322 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16324 arg6
= static_cast< bool >(val6
);
16327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16328 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16365 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
= 0;
16367 wxLocale
*arg1
= (wxLocale
*) 0 ;
16368 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16369 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16377 PyObject
* obj0
= 0 ;
16378 PyObject
* obj1
= 0 ;
16379 PyObject
* obj2
= 0 ;
16380 char * kwnames
[] = {
16381 (char *) "self",(char *) "language",(char *) "flags", NULL
16384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16386 if (!SWIG_IsOK(res1
)) {
16387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16389 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16392 if (!SWIG_IsOK(ecode2
)) {
16393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16395 arg2
= static_cast< int >(val2
);
16398 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16399 if (!SWIG_IsOK(ecode3
)) {
16400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16402 arg3
= static_cast< int >(val3
);
16405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16406 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16419 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16420 PyObject
*resultobj
= 0;
16423 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 result
= (int)wxLocale::GetSystemLanguage();
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16430 resultobj
= SWIG_From_int(static_cast< int >(result
));
16437 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16438 PyObject
*resultobj
= 0;
16439 wxFontEncoding result
;
16441 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16448 resultobj
= SWIG_From_int(static_cast< int >(result
));
16455 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16456 PyObject
*resultobj
= 0;
16459 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16462 result
= wxLocale::GetSystemEncodingName();
16463 wxPyEndAllowThreads(__tstate
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16479 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16480 PyObject
*resultobj
= 0;
16481 wxLocale
*arg1
= (wxLocale
*) 0 ;
16485 PyObject
*swig_obj
[1] ;
16487 if (!args
) SWIG_fail
;
16488 swig_obj
[0] = args
;
16489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16490 if (!SWIG_IsOK(res1
)) {
16491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16493 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16497 wxPyEndAllowThreads(__tstate
);
16498 if (PyErr_Occurred()) SWIG_fail
;
16501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16509 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16510 PyObject
*resultobj
= 0;
16511 wxLocale
*arg1
= (wxLocale
*) 0 ;
16515 PyObject
*swig_obj
[1] ;
16517 if (!args
) SWIG_fail
;
16518 swig_obj
[0] = args
;
16519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16520 if (!SWIG_IsOK(res1
)) {
16521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16523 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 result
= ((wxLocale
const *)arg1
)->GetLocale();
16527 wxPyEndAllowThreads(__tstate
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16543 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16544 PyObject
*resultobj
= 0;
16545 wxLocale
*arg1
= (wxLocale
*) 0 ;
16549 PyObject
*swig_obj
[1] ;
16551 if (!args
) SWIG_fail
;
16552 swig_obj
[0] = args
;
16553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16554 if (!SWIG_IsOK(res1
)) {
16555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16557 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16561 wxPyEndAllowThreads(__tstate
);
16562 if (PyErr_Occurred()) SWIG_fail
;
16564 resultobj
= SWIG_From_int(static_cast< int >(result
));
16571 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16572 PyObject
*resultobj
= 0;
16573 wxLocale
*arg1
= (wxLocale
*) 0 ;
16577 PyObject
*swig_obj
[1] ;
16579 if (!args
) SWIG_fail
;
16580 swig_obj
[0] = args
;
16581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16582 if (!SWIG_IsOK(res1
)) {
16583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16585 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 result
= ((wxLocale
const *)arg1
)->GetSysName();
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16605 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16606 PyObject
*resultobj
= 0;
16607 wxLocale
*arg1
= (wxLocale
*) 0 ;
16611 PyObject
*swig_obj
[1] ;
16613 if (!args
) SWIG_fail
;
16614 swig_obj
[0] = args
;
16615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16616 if (!SWIG_IsOK(res1
)) {
16617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16619 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16622 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16623 wxPyEndAllowThreads(__tstate
);
16624 if (PyErr_Occurred()) SWIG_fail
;
16628 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16630 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16639 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16640 PyObject
*resultobj
= 0;
16641 wxString
*arg1
= 0 ;
16642 bool temp1
= false ;
16643 PyObject
* obj0
= 0 ;
16644 char * kwnames
[] = {
16645 (char *) "prefix", NULL
16648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16650 arg1
= wxString_in_helper(obj0
);
16651 if (arg1
== NULL
) SWIG_fail
;
16655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16656 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16657 wxPyEndAllowThreads(__tstate
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= SWIG_Py_Void();
16675 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
= 0;
16677 wxLocale
*arg1
= (wxLocale
*) 0 ;
16678 wxString
*arg2
= 0 ;
16682 bool temp2
= false ;
16683 PyObject
* obj0
= 0 ;
16684 PyObject
* obj1
= 0 ;
16685 char * kwnames
[] = {
16686 (char *) "self",(char *) "szDomain", NULL
16689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16691 if (!SWIG_IsOK(res1
)) {
16692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16694 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16696 arg2
= wxString_in_helper(obj1
);
16697 if (arg2
== NULL
) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16723 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
= 0;
16729 PyObject
* obj0
= 0 ;
16730 char * kwnames
[] = {
16731 (char *) "lang", NULL
16734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16735 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16736 if (!SWIG_IsOK(ecode1
)) {
16737 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16739 arg1
= static_cast< int >(val1
);
16741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16742 result
= (bool)wxLocale::IsAvailable(arg1
);
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16755 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
= 0;
16757 wxLocale
*arg1
= (wxLocale
*) 0 ;
16758 wxString
*arg2
= 0 ;
16762 bool temp2
= false ;
16763 PyObject
* obj0
= 0 ;
16764 PyObject
* obj1
= 0 ;
16765 char * kwnames
[] = {
16766 (char *) "self",(char *) "szDomain", NULL
16769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16771 if (!SWIG_IsOK(res1
)) {
16772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16774 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16776 arg2
= wxString_in_helper(obj1
);
16777 if (arg2
== NULL
) SWIG_fail
;
16781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16782 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16783 wxPyEndAllowThreads(__tstate
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16803 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16804 PyObject
*resultobj
= 0;
16806 wxLanguageInfo
*result
= 0 ;
16809 PyObject
* obj0
= 0 ;
16810 char * kwnames
[] = {
16811 (char *) "lang", NULL
16814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16815 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16816 if (!SWIG_IsOK(ecode1
)) {
16817 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16819 arg1
= static_cast< int >(val1
);
16821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16833 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
= 0;
16839 PyObject
* obj0
= 0 ;
16840 char * kwnames
[] = {
16841 (char *) "lang", NULL
16844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16845 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16846 if (!SWIG_IsOK(ecode1
)) {
16847 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16849 arg1
= static_cast< int >(val1
);
16851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16852 result
= wxLocale::GetLanguageName(arg1
);
16853 wxPyEndAllowThreads(__tstate
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16869 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
= 0;
16871 wxString
*arg1
= 0 ;
16872 wxLanguageInfo
*result
= 0 ;
16873 bool temp1
= false ;
16874 PyObject
* obj0
= 0 ;
16875 char * kwnames
[] = {
16876 (char *) "locale", NULL
16879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16881 arg1
= wxString_in_helper(obj0
);
16882 if (arg1
== NULL
) SWIG_fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16906 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
= 0;
16908 wxLanguageInfo
*arg1
= 0 ;
16911 PyObject
* obj0
= 0 ;
16912 char * kwnames
[] = {
16913 (char *) "info", NULL
16916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16917 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16918 if (!SWIG_IsOK(res1
)) {
16919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16924 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16928 wxPyEndAllowThreads(__tstate
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16931 resultobj
= SWIG_Py_Void();
16938 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
= 0;
16940 wxLocale
*arg1
= (wxLocale
*) 0 ;
16941 wxString
*arg2
= 0 ;
16942 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16943 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16947 bool temp2
= false ;
16948 bool temp3
= false ;
16949 PyObject
* obj0
= 0 ;
16950 PyObject
* obj1
= 0 ;
16951 PyObject
* obj2
= 0 ;
16952 char * kwnames
[] = {
16953 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16958 if (!SWIG_IsOK(res1
)) {
16959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16961 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16963 arg2
= wxString_in_helper(obj1
);
16964 if (arg2
== NULL
) SWIG_fail
;
16969 arg3
= wxString_in_helper(obj2
);
16970 if (arg3
== NULL
) SWIG_fail
;
16975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16976 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16977 wxPyEndAllowThreads(__tstate
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17009 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17010 PyObject
*resultobj
= 0;
17011 wxLocale
*arg1
= (wxLocale
*) 0 ;
17012 wxString
*result
= 0 ;
17015 PyObject
*swig_obj
[1] ;
17017 if (!args
) SWIG_fail
;
17018 swig_obj
[0] = args
;
17019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17020 if (!SWIG_IsOK(res1
)) {
17021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17023 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17027 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17028 result
= (wxString
*) &_result_ref
;
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17035 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17037 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17046 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17049 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17050 return SWIG_Py_Void();
17053 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17054 return SWIG_Python_InitShadowInstance(args
);
17057 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17058 PyObject
*resultobj
= 0;
17059 int arg1
= (int) -1 ;
17060 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17061 wxPyLocale
*result
= 0 ;
17066 PyObject
* obj0
= 0 ;
17067 PyObject
* obj1
= 0 ;
17068 char * kwnames
[] = {
17069 (char *) "language",(char *) "flags", NULL
17072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17074 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17075 if (!SWIG_IsOK(ecode1
)) {
17076 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17078 arg1
= static_cast< int >(val1
);
17081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17082 if (!SWIG_IsOK(ecode2
)) {
17083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17085 arg2
= static_cast< int >(val2
);
17088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17089 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17090 wxPyEndAllowThreads(__tstate
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17100 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17101 PyObject
*resultobj
= 0;
17102 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17105 PyObject
*swig_obj
[1] ;
17107 if (!args
) SWIG_fail
;
17108 swig_obj
[0] = args
;
17109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17110 if (!SWIG_IsOK(res1
)) {
17111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17113 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 wxPyEndAllowThreads(__tstate
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17121 resultobj
= SWIG_Py_Void();
17128 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17129 PyObject
*resultobj
= 0;
17130 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17131 PyObject
*arg2
= (PyObject
*) 0 ;
17132 PyObject
*arg3
= (PyObject
*) 0 ;
17135 PyObject
* obj0
= 0 ;
17136 PyObject
* obj1
= 0 ;
17137 PyObject
* obj2
= 0 ;
17138 char * kwnames
[] = {
17139 (char *) "self",(char *) "self",(char *) "_class", NULL
17142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17144 if (!SWIG_IsOK(res1
)) {
17145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17147 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17152 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17153 wxPyEndAllowThreads(__tstate
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17156 resultobj
= SWIG_Py_Void();
17163 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17164 PyObject
*resultobj
= 0;
17165 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17166 wxChar
*arg2
= (wxChar
*) 0 ;
17167 wxChar
*arg3
= (wxChar
*) NULL
;
17168 wxChar
*result
= 0 ;
17175 PyObject
* obj0
= 0 ;
17176 PyObject
* obj1
= 0 ;
17177 PyObject
* obj2
= 0 ;
17178 char * kwnames
[] = {
17179 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17184 if (!SWIG_IsOK(res1
)) {
17185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17187 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17188 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17189 if (!SWIG_IsOK(res2
)) {
17190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17192 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17194 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17195 if (!SWIG_IsOK(res3
)) {
17196 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17198 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17213 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
= 0;
17215 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17216 wxChar
*arg2
= (wxChar
*) 0 ;
17217 wxChar
*arg3
= (wxChar
*) 0 ;
17219 wxChar
*arg5
= (wxChar
*) NULL
;
17220 wxChar
*result
= 0 ;
17231 PyObject
* obj0
= 0 ;
17232 PyObject
* obj1
= 0 ;
17233 PyObject
* obj2
= 0 ;
17234 PyObject
* obj3
= 0 ;
17235 PyObject
* obj4
= 0 ;
17236 char * kwnames
[] = {
17237 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17242 if (!SWIG_IsOK(res1
)) {
17243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17245 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17246 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17247 if (!SWIG_IsOK(res2
)) {
17248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17250 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17251 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17252 if (!SWIG_IsOK(res3
)) {
17253 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17255 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17256 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17257 if (!SWIG_IsOK(ecode4
)) {
17258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17260 arg4
= static_cast< size_t >(val4
);
17262 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17263 if (!SWIG_IsOK(res5
)) {
17264 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17266 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17271 wxPyEndAllowThreads(__tstate
);
17272 if (PyErr_Occurred()) SWIG_fail
;
17274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17281 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17284 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17285 return SWIG_Py_Void();
17288 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17289 return SWIG_Python_InitShadowInstance(args
);
17292 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17293 PyObject
*resultobj
= 0;
17294 wxLocale
*result
= 0 ;
17296 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17299 result
= (wxLocale
*)wxGetLocale();
17300 wxPyEndAllowThreads(__tstate
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17310 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17311 PyObject
*resultobj
= 0;
17312 wxString
*arg1
= 0 ;
17314 bool temp1
= false ;
17316 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17318 arg1
= wxString_in_helper(swig_obj
[0]);
17319 if (arg1
== NULL
) SWIG_fail
;
17323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17324 result
= wxGetTranslation((wxString
const &)*arg1
);
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17349 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17350 PyObject
*resultobj
= 0;
17351 wxString
*arg1
= 0 ;
17352 wxString
*arg2
= 0 ;
17354 bool temp1
= false ;
17355 bool temp2
= false ;
17357 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17359 arg1
= wxString_in_helper(swig_obj
[0]);
17360 if (arg1
== NULL
) SWIG_fail
;
17364 arg2
= wxString_in_helper(swig_obj
[1]);
17365 if (arg2
== NULL
) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17403 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17404 PyObject
*resultobj
= 0;
17405 wxString
*arg1
= 0 ;
17406 wxString
*arg2
= 0 ;
17409 bool temp1
= false ;
17410 bool temp2
= false ;
17414 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17416 arg1
= wxString_in_helper(swig_obj
[0]);
17417 if (arg1
== NULL
) SWIG_fail
;
17421 arg2
= wxString_in_helper(swig_obj
[1]);
17422 if (arg2
== NULL
) SWIG_fail
;
17425 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17426 if (!SWIG_IsOK(ecode3
)) {
17427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17429 arg3
= static_cast< size_t >(val3
);
17431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17432 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17433 wxPyEndAllowThreads(__tstate
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17465 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17466 PyObject
*resultobj
= 0;
17467 wxString
*arg1
= 0 ;
17468 wxString
*arg2
= 0 ;
17470 wxString
*arg4
= 0 ;
17472 bool temp1
= false ;
17473 bool temp2
= false ;
17476 bool temp4
= false ;
17478 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17480 arg1
= wxString_in_helper(swig_obj
[0]);
17481 if (arg1
== NULL
) SWIG_fail
;
17485 arg2
= wxString_in_helper(swig_obj
[1]);
17486 if (arg2
== NULL
) SWIG_fail
;
17489 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17490 if (!SWIG_IsOK(ecode3
)) {
17491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17493 arg3
= static_cast< size_t >(val3
);
17495 arg4
= wxString_in_helper(swig_obj
[3]);
17496 if (arg4
== NULL
) SWIG_fail
;
17500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17542 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17546 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17549 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17552 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17555 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17558 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17562 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17567 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17568 PyObject
*resultobj
= 0;
17569 wxEncodingConverter
*result
= 0 ;
17571 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17585 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17586 PyObject
*resultobj
= 0;
17587 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17590 PyObject
*swig_obj
[1] ;
17592 if (!args
) SWIG_fail
;
17593 swig_obj
[0] = args
;
17594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17595 if (!SWIG_IsOK(res1
)) {
17596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17598 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17603 wxPyEndAllowThreads(__tstate
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17606 resultobj
= SWIG_Py_Void();
17613 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17614 PyObject
*resultobj
= 0;
17615 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17616 wxFontEncoding arg2
;
17617 wxFontEncoding arg3
;
17618 int arg4
= (int) wxCONVERT_STRICT
;
17628 PyObject
* obj0
= 0 ;
17629 PyObject
* obj1
= 0 ;
17630 PyObject
* obj2
= 0 ;
17631 PyObject
* obj3
= 0 ;
17632 char * kwnames
[] = {
17633 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17638 if (!SWIG_IsOK(res1
)) {
17639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17641 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17643 if (!SWIG_IsOK(ecode2
)) {
17644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17646 arg2
= static_cast< wxFontEncoding
>(val2
);
17647 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17648 if (!SWIG_IsOK(ecode3
)) {
17649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17651 arg3
= static_cast< wxFontEncoding
>(val3
);
17653 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17654 if (!SWIG_IsOK(ecode4
)) {
17655 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17657 arg4
= static_cast< int >(val4
);
17660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17661 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17662 wxPyEndAllowThreads(__tstate
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17674 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
= 0;
17676 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17677 wxString
*arg2
= 0 ;
17681 bool temp2
= false ;
17682 PyObject
* obj0
= 0 ;
17683 PyObject
* obj1
= 0 ;
17684 char * kwnames
[] = {
17685 (char *) "self",(char *) "input", NULL
17688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17690 if (!SWIG_IsOK(res1
)) {
17691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17693 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17695 arg2
= wxString_in_helper(obj1
);
17696 if (arg2
== NULL
) SWIG_fail
;
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17726 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17727 PyObject
*resultobj
= 0;
17728 wxFontEncoding arg1
;
17729 int arg2
= (int) wxPLATFORM_CURRENT
;
17730 wxFontEncodingArray result
;
17735 PyObject
* obj0
= 0 ;
17736 PyObject
* obj1
= 0 ;
17737 char * kwnames
[] = {
17738 (char *) "enc",(char *) "platform", NULL
17741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17742 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17743 if (!SWIG_IsOK(ecode1
)) {
17744 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17746 arg1
= static_cast< wxFontEncoding
>(val1
);
17748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17749 if (!SWIG_IsOK(ecode2
)) {
17750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17752 arg2
= static_cast< int >(val2
);
17755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17756 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17757 wxPyEndAllowThreads(__tstate
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17761 resultobj
= PyList_New(0);
17762 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17763 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17764 PyList_Append(resultobj
, number
);
17774 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17775 PyObject
*resultobj
= 0;
17776 wxFontEncoding arg1
;
17777 wxFontEncodingArray result
;
17780 PyObject
* obj0
= 0 ;
17781 char * kwnames
[] = {
17782 (char *) "enc", NULL
17785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17786 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17787 if (!SWIG_IsOK(ecode1
)) {
17788 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17790 arg1
= static_cast< wxFontEncoding
>(val1
);
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17794 wxPyEndAllowThreads(__tstate
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17798 resultobj
= PyList_New(0);
17799 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17800 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17801 PyList_Append(resultobj
, number
);
17811 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17812 PyObject
*resultobj
= 0;
17813 wxFontEncoding arg1
;
17814 wxFontEncoding arg2
;
17820 PyObject
* obj0
= 0 ;
17821 PyObject
* obj1
= 0 ;
17822 char * kwnames
[] = {
17823 (char *) "encIn",(char *) "encOut", NULL
17826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17827 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17828 if (!SWIG_IsOK(ecode1
)) {
17829 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17831 arg1
= static_cast< wxFontEncoding
>(val1
);
17832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17833 if (!SWIG_IsOK(ecode2
)) {
17834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17836 arg2
= static_cast< wxFontEncoding
>(val2
);
17838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17839 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17852 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17854 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17855 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17856 return SWIG_Py_Void();
17859 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17860 return SWIG_Python_InitShadowInstance(args
);
17863 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17864 PyObject
*resultobj
= 0;
17865 wxDC
*arg1
= (wxDC
*) 0 ;
17868 PyObject
*swig_obj
[1] ;
17870 if (!args
) SWIG_fail
;
17871 swig_obj
[0] = args
;
17872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17873 if (!SWIG_IsOK(res1
)) {
17874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17876 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17884 resultobj
= SWIG_Py_Void();
17891 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17892 PyObject
*resultobj
= 0;
17893 wxDC
*arg1
= (wxDC
*) 0 ;
17896 wxColour
*arg4
= 0 ;
17897 int arg5
= (int) wxFLOOD_SURFACE
;
17908 PyObject
* obj0
= 0 ;
17909 PyObject
* obj1
= 0 ;
17910 PyObject
* obj2
= 0 ;
17911 PyObject
* obj3
= 0 ;
17912 PyObject
* obj4
= 0 ;
17913 char * kwnames
[] = {
17914 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17919 if (!SWIG_IsOK(res1
)) {
17920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17922 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17924 if (!SWIG_IsOK(ecode2
)) {
17925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17927 arg2
= static_cast< int >(val2
);
17928 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17929 if (!SWIG_IsOK(ecode3
)) {
17930 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17932 arg3
= static_cast< int >(val3
);
17935 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17938 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17939 if (!SWIG_IsOK(ecode5
)) {
17940 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17942 arg5
= static_cast< int >(val5
);
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17947 wxPyEndAllowThreads(__tstate
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17959 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17960 PyObject
*resultobj
= 0;
17961 wxDC
*arg1
= (wxDC
*) 0 ;
17962 wxPoint
*arg2
= 0 ;
17963 wxColour
*arg3
= 0 ;
17964 int arg4
= (int) wxFLOOD_SURFACE
;
17972 PyObject
* obj0
= 0 ;
17973 PyObject
* obj1
= 0 ;
17974 PyObject
* obj2
= 0 ;
17975 PyObject
* obj3
= 0 ;
17976 char * kwnames
[] = {
17977 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17982 if (!SWIG_IsOK(res1
)) {
17983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17985 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17988 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17992 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17995 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17996 if (!SWIG_IsOK(ecode4
)) {
17997 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17999 arg4
= static_cast< int >(val4
);
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18004 wxPyEndAllowThreads(__tstate
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18016 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18017 PyObject
*resultobj
= 0;
18018 wxDC
*arg1
= (wxDC
*) 0 ;
18020 wxColour
*arg3
= 0 ;
18021 wxColour
*arg4
= 0 ;
18022 wxPoint
*arg5
= 0 ;
18029 PyObject
* obj0
= 0 ;
18030 PyObject
* obj1
= 0 ;
18031 PyObject
* obj2
= 0 ;
18032 PyObject
* obj3
= 0 ;
18033 PyObject
* obj4
= 0 ;
18034 char * kwnames
[] = {
18035 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18040 if (!SWIG_IsOK(res1
)) {
18041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18043 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18046 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18050 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18054 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18058 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18062 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18063 wxPyEndAllowThreads(__tstate
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 resultobj
= SWIG_Py_Void();
18073 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18074 PyObject
*resultobj
= 0;
18075 wxDC
*arg1
= (wxDC
*) 0 ;
18077 wxColour
*arg3
= 0 ;
18078 wxColour
*arg4
= 0 ;
18079 wxDirection arg5
= (wxDirection
) wxEAST
;
18087 PyObject
* obj0
= 0 ;
18088 PyObject
* obj1
= 0 ;
18089 PyObject
* obj2
= 0 ;
18090 PyObject
* obj3
= 0 ;
18091 PyObject
* obj4
= 0 ;
18092 char * kwnames
[] = {
18093 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18098 if (!SWIG_IsOK(res1
)) {
18099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18104 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18108 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18112 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18115 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18116 if (!SWIG_IsOK(ecode5
)) {
18117 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18119 arg5
= static_cast< wxDirection
>(val5
);
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= SWIG_Py_Void();
18134 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18135 PyObject
*resultobj
= 0;
18136 wxDC
*arg1
= (wxDC
*) 0 ;
18146 PyObject
* obj0
= 0 ;
18147 PyObject
* obj1
= 0 ;
18148 PyObject
* obj2
= 0 ;
18149 char * kwnames
[] = {
18150 (char *) "self",(char *) "x",(char *) "y", NULL
18153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18155 if (!SWIG_IsOK(res1
)) {
18156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18158 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18160 if (!SWIG_IsOK(ecode2
)) {
18161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18163 arg2
= static_cast< int >(val2
);
18164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18165 if (!SWIG_IsOK(ecode3
)) {
18166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18168 arg3
= static_cast< int >(val3
);
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18175 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18182 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
= 0;
18184 wxDC
*arg1
= (wxDC
*) 0 ;
18185 wxPoint
*arg2
= 0 ;
18190 PyObject
* obj0
= 0 ;
18191 PyObject
* obj1
= 0 ;
18192 char * kwnames
[] = {
18193 (char *) "self",(char *) "pt", NULL
18196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18198 if (!SWIG_IsOK(res1
)) {
18199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18201 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18204 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18208 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18212 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18219 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18220 PyObject
*resultobj
= 0;
18221 wxDC
*arg1
= (wxDC
*) 0 ;
18236 PyObject
* obj0
= 0 ;
18237 PyObject
* obj1
= 0 ;
18238 PyObject
* obj2
= 0 ;
18239 PyObject
* obj3
= 0 ;
18240 PyObject
* obj4
= 0 ;
18241 char * kwnames
[] = {
18242 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18247 if (!SWIG_IsOK(res1
)) {
18248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18250 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18252 if (!SWIG_IsOK(ecode2
)) {
18253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18255 arg2
= static_cast< int >(val2
);
18256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18257 if (!SWIG_IsOK(ecode3
)) {
18258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18260 arg3
= static_cast< int >(val3
);
18261 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18262 if (!SWIG_IsOK(ecode4
)) {
18263 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18265 arg4
= static_cast< int >(val4
);
18266 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18267 if (!SWIG_IsOK(ecode5
)) {
18268 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18270 arg5
= static_cast< int >(val5
);
18272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18273 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18274 wxPyEndAllowThreads(__tstate
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18277 resultobj
= SWIG_Py_Void();
18284 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18285 PyObject
*resultobj
= 0;
18286 wxDC
*arg1
= (wxDC
*) 0 ;
18287 wxPoint
*arg2
= 0 ;
18288 wxPoint
*arg3
= 0 ;
18293 PyObject
* obj0
= 0 ;
18294 PyObject
* obj1
= 0 ;
18295 PyObject
* obj2
= 0 ;
18296 char * kwnames
[] = {
18297 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18302 if (!SWIG_IsOK(res1
)) {
18303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18305 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18308 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18312 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18316 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18317 wxPyEndAllowThreads(__tstate
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18320 resultobj
= SWIG_Py_Void();
18327 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18328 PyObject
*resultobj
= 0;
18329 wxDC
*arg1
= (wxDC
*) 0 ;
18338 PyObject
* obj0
= 0 ;
18339 PyObject
* obj1
= 0 ;
18340 PyObject
* obj2
= 0 ;
18341 char * kwnames
[] = {
18342 (char *) "self",(char *) "x",(char *) "y", NULL
18345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18347 if (!SWIG_IsOK(res1
)) {
18348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18350 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18352 if (!SWIG_IsOK(ecode2
)) {
18353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18355 arg2
= static_cast< int >(val2
);
18356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18357 if (!SWIG_IsOK(ecode3
)) {
18358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18360 arg3
= static_cast< int >(val3
);
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 (arg1
)->CrossHair(arg2
,arg3
);
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18367 resultobj
= SWIG_Py_Void();
18374 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18375 PyObject
*resultobj
= 0;
18376 wxDC
*arg1
= (wxDC
*) 0 ;
18377 wxPoint
*arg2
= 0 ;
18381 PyObject
* obj0
= 0 ;
18382 PyObject
* obj1
= 0 ;
18383 char * kwnames
[] = {
18384 (char *) "self",(char *) "pt", NULL
18387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18389 if (!SWIG_IsOK(res1
)) {
18390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18392 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18395 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18399 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18400 wxPyEndAllowThreads(__tstate
);
18401 if (PyErr_Occurred()) SWIG_fail
;
18403 resultobj
= SWIG_Py_Void();
18410 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18411 PyObject
*resultobj
= 0;
18412 wxDC
*arg1
= (wxDC
*) 0 ;
18433 PyObject
* obj0
= 0 ;
18434 PyObject
* obj1
= 0 ;
18435 PyObject
* obj2
= 0 ;
18436 PyObject
* obj3
= 0 ;
18437 PyObject
* obj4
= 0 ;
18438 PyObject
* obj5
= 0 ;
18439 PyObject
* obj6
= 0 ;
18440 char * kwnames
[] = {
18441 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18446 if (!SWIG_IsOK(res1
)) {
18447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18449 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18451 if (!SWIG_IsOK(ecode2
)) {
18452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18454 arg2
= static_cast< int >(val2
);
18455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18456 if (!SWIG_IsOK(ecode3
)) {
18457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18459 arg3
= static_cast< int >(val3
);
18460 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18461 if (!SWIG_IsOK(ecode4
)) {
18462 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18464 arg4
= static_cast< int >(val4
);
18465 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18466 if (!SWIG_IsOK(ecode5
)) {
18467 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18469 arg5
= static_cast< int >(val5
);
18470 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18471 if (!SWIG_IsOK(ecode6
)) {
18472 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18474 arg6
= static_cast< int >(val6
);
18475 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18476 if (!SWIG_IsOK(ecode7
)) {
18477 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18479 arg7
= static_cast< int >(val7
);
18481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18482 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18483 wxPyEndAllowThreads(__tstate
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18486 resultobj
= SWIG_Py_Void();
18493 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18494 PyObject
*resultobj
= 0;
18495 wxDC
*arg1
= (wxDC
*) 0 ;
18496 wxPoint
*arg2
= 0 ;
18497 wxPoint
*arg3
= 0 ;
18498 wxPoint
*arg4
= 0 ;
18504 PyObject
* obj0
= 0 ;
18505 PyObject
* obj1
= 0 ;
18506 PyObject
* obj2
= 0 ;
18507 PyObject
* obj3
= 0 ;
18508 char * kwnames
[] = {
18509 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18514 if (!SWIG_IsOK(res1
)) {
18515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18517 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18520 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18524 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18528 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18536 resultobj
= SWIG_Py_Void();
18543 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
= 0;
18545 wxDC
*arg1
= (wxDC
*) 0 ;
18560 PyObject
* obj0
= 0 ;
18561 PyObject
* obj1
= 0 ;
18562 PyObject
* obj2
= 0 ;
18563 PyObject
* obj3
= 0 ;
18564 PyObject
* obj4
= 0 ;
18565 char * kwnames
[] = {
18566 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18571 if (!SWIG_IsOK(res1
)) {
18572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18574 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18576 if (!SWIG_IsOK(ecode2
)) {
18577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18579 arg2
= static_cast< int >(val2
);
18580 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18581 if (!SWIG_IsOK(ecode3
)) {
18582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18584 arg3
= static_cast< int >(val3
);
18585 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18586 if (!SWIG_IsOK(ecode4
)) {
18587 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18589 arg4
= static_cast< int >(val4
);
18590 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18591 if (!SWIG_IsOK(ecode5
)) {
18592 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18594 arg5
= static_cast< int >(val5
);
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18601 resultobj
= SWIG_Py_Void();
18608 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
= 0;
18610 wxDC
*arg1
= (wxDC
*) 0 ;
18615 PyObject
* obj0
= 0 ;
18616 PyObject
* obj1
= 0 ;
18617 char * kwnames
[] = {
18618 (char *) "self",(char *) "rect", NULL
18621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18623 if (!SWIG_IsOK(res1
)) {
18624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18626 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18629 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18633 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18634 wxPyEndAllowThreads(__tstate
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18637 resultobj
= SWIG_Py_Void();
18644 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
= 0;
18646 wxDC
*arg1
= (wxDC
*) 0 ;
18667 PyObject
* obj0
= 0 ;
18668 PyObject
* obj1
= 0 ;
18669 PyObject
* obj2
= 0 ;
18670 PyObject
* obj3
= 0 ;
18671 PyObject
* obj4
= 0 ;
18672 PyObject
* obj5
= 0 ;
18673 PyObject
* obj6
= 0 ;
18674 char * kwnames
[] = {
18675 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18680 if (!SWIG_IsOK(res1
)) {
18681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18683 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18685 if (!SWIG_IsOK(ecode2
)) {
18686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18688 arg2
= static_cast< int >(val2
);
18689 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18690 if (!SWIG_IsOK(ecode3
)) {
18691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18693 arg3
= static_cast< int >(val3
);
18694 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18695 if (!SWIG_IsOK(ecode4
)) {
18696 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18698 arg4
= static_cast< int >(val4
);
18699 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18700 if (!SWIG_IsOK(ecode5
)) {
18701 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18703 arg5
= static_cast< int >(val5
);
18704 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18705 if (!SWIG_IsOK(ecode6
)) {
18706 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18708 arg6
= static_cast< double >(val6
);
18709 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18710 if (!SWIG_IsOK(ecode7
)) {
18711 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18713 arg7
= static_cast< double >(val7
);
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18716 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18717 wxPyEndAllowThreads(__tstate
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18720 resultobj
= SWIG_Py_Void();
18727 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18728 PyObject
*resultobj
= 0;
18729 wxDC
*arg1
= (wxDC
*) 0 ;
18730 wxPoint
*arg2
= 0 ;
18742 PyObject
* obj0
= 0 ;
18743 PyObject
* obj1
= 0 ;
18744 PyObject
* obj2
= 0 ;
18745 PyObject
* obj3
= 0 ;
18746 PyObject
* obj4
= 0 ;
18747 char * kwnames
[] = {
18748 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18753 if (!SWIG_IsOK(res1
)) {
18754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18756 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18759 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18763 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18765 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18766 if (!SWIG_IsOK(ecode4
)) {
18767 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18769 arg4
= static_cast< double >(val4
);
18770 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18771 if (!SWIG_IsOK(ecode5
)) {
18772 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18774 arg5
= static_cast< double >(val5
);
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 resultobj
= SWIG_Py_Void();
18788 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
= 0;
18790 wxDC
*arg1
= (wxDC
*) 0 ;
18799 PyObject
* obj0
= 0 ;
18800 PyObject
* obj1
= 0 ;
18801 PyObject
* obj2
= 0 ;
18802 char * kwnames
[] = {
18803 (char *) "self",(char *) "x",(char *) "y", NULL
18806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18808 if (!SWIG_IsOK(res1
)) {
18809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18811 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18813 if (!SWIG_IsOK(ecode2
)) {
18814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18816 arg2
= static_cast< int >(val2
);
18817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18818 if (!SWIG_IsOK(ecode3
)) {
18819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18821 arg3
= static_cast< int >(val3
);
18823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18824 (arg1
)->DrawPoint(arg2
,arg3
);
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= SWIG_Py_Void();
18835 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
= 0;
18837 wxDC
*arg1
= (wxDC
*) 0 ;
18838 wxPoint
*arg2
= 0 ;
18842 PyObject
* obj0
= 0 ;
18843 PyObject
* obj1
= 0 ;
18844 char * kwnames
[] = {
18845 (char *) "self",(char *) "pt", NULL
18848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18850 if (!SWIG_IsOK(res1
)) {
18851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18853 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18856 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18861 wxPyEndAllowThreads(__tstate
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18864 resultobj
= SWIG_Py_Void();
18871 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18872 PyObject
*resultobj
= 0;
18873 wxDC
*arg1
= (wxDC
*) 0 ;
18888 PyObject
* obj0
= 0 ;
18889 PyObject
* obj1
= 0 ;
18890 PyObject
* obj2
= 0 ;
18891 PyObject
* obj3
= 0 ;
18892 PyObject
* obj4
= 0 ;
18893 char * kwnames
[] = {
18894 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18899 if (!SWIG_IsOK(res1
)) {
18900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18904 if (!SWIG_IsOK(ecode2
)) {
18905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18907 arg2
= static_cast< int >(val2
);
18908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18909 if (!SWIG_IsOK(ecode3
)) {
18910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18912 arg3
= static_cast< int >(val3
);
18913 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18914 if (!SWIG_IsOK(ecode4
)) {
18915 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18917 arg4
= static_cast< int >(val4
);
18918 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18919 if (!SWIG_IsOK(ecode5
)) {
18920 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18922 arg5
= static_cast< int >(val5
);
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18929 resultobj
= SWIG_Py_Void();
18936 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
= 0;
18938 wxDC
*arg1
= (wxDC
*) 0 ;
18943 PyObject
* obj0
= 0 ;
18944 PyObject
* obj1
= 0 ;
18945 char * kwnames
[] = {
18946 (char *) "self",(char *) "rect", NULL
18949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18951 if (!SWIG_IsOK(res1
)) {
18952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18954 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18957 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18962 wxPyEndAllowThreads(__tstate
);
18963 if (PyErr_Occurred()) SWIG_fail
;
18965 resultobj
= SWIG_Py_Void();
18972 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18973 PyObject
*resultobj
= 0;
18974 wxDC
*arg1
= (wxDC
*) 0 ;
18975 wxPoint
*arg2
= 0 ;
18981 PyObject
* obj0
= 0 ;
18982 PyObject
* obj1
= 0 ;
18983 PyObject
* obj2
= 0 ;
18984 char * kwnames
[] = {
18985 (char *) "self",(char *) "pt",(char *) "sz", NULL
18988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18990 if (!SWIG_IsOK(res1
)) {
18991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18993 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18996 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19000 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19008 resultobj
= SWIG_Py_Void();
19015 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19016 PyObject
*resultobj
= 0;
19017 wxDC
*arg1
= (wxDC
*) 0 ;
19035 PyObject
* obj0
= 0 ;
19036 PyObject
* obj1
= 0 ;
19037 PyObject
* obj2
= 0 ;
19038 PyObject
* obj3
= 0 ;
19039 PyObject
* obj4
= 0 ;
19040 PyObject
* obj5
= 0 ;
19041 char * kwnames
[] = {
19042 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19047 if (!SWIG_IsOK(res1
)) {
19048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19050 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19052 if (!SWIG_IsOK(ecode2
)) {
19053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19055 arg2
= static_cast< int >(val2
);
19056 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19057 if (!SWIG_IsOK(ecode3
)) {
19058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19060 arg3
= static_cast< int >(val3
);
19061 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19062 if (!SWIG_IsOK(ecode4
)) {
19063 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19065 arg4
= static_cast< int >(val4
);
19066 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19067 if (!SWIG_IsOK(ecode5
)) {
19068 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19070 arg5
= static_cast< int >(val5
);
19071 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19072 if (!SWIG_IsOK(ecode6
)) {
19073 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19075 arg6
= static_cast< double >(val6
);
19077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19078 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19079 wxPyEndAllowThreads(__tstate
);
19080 if (PyErr_Occurred()) SWIG_fail
;
19082 resultobj
= SWIG_Py_Void();
19089 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19090 PyObject
*resultobj
= 0;
19091 wxDC
*arg1
= (wxDC
*) 0 ;
19099 PyObject
* obj0
= 0 ;
19100 PyObject
* obj1
= 0 ;
19101 PyObject
* obj2
= 0 ;
19102 char * kwnames
[] = {
19103 (char *) "self",(char *) "r",(char *) "radius", NULL
19106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19108 if (!SWIG_IsOK(res1
)) {
19109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19111 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19114 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19116 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19117 if (!SWIG_IsOK(ecode3
)) {
19118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19120 arg3
= static_cast< double >(val3
);
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 resultobj
= SWIG_Py_Void();
19134 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
= 0;
19136 wxDC
*arg1
= (wxDC
*) 0 ;
19137 wxPoint
*arg2
= 0 ;
19146 PyObject
* obj0
= 0 ;
19147 PyObject
* obj1
= 0 ;
19148 PyObject
* obj2
= 0 ;
19149 PyObject
* obj3
= 0 ;
19150 char * kwnames
[] = {
19151 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19156 if (!SWIG_IsOK(res1
)) {
19157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19162 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19166 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19168 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19169 if (!SWIG_IsOK(ecode4
)) {
19170 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19172 arg4
= static_cast< double >(val4
);
19174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19175 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19176 wxPyEndAllowThreads(__tstate
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19179 resultobj
= SWIG_Py_Void();
19186 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
= 0;
19188 wxDC
*arg1
= (wxDC
*) 0 ;
19200 PyObject
* obj0
= 0 ;
19201 PyObject
* obj1
= 0 ;
19202 PyObject
* obj2
= 0 ;
19203 PyObject
* obj3
= 0 ;
19204 char * kwnames
[] = {
19205 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19210 if (!SWIG_IsOK(res1
)) {
19211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19213 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19215 if (!SWIG_IsOK(ecode2
)) {
19216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19218 arg2
= static_cast< int >(val2
);
19219 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19220 if (!SWIG_IsOK(ecode3
)) {
19221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19223 arg3
= static_cast< int >(val3
);
19224 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19225 if (!SWIG_IsOK(ecode4
)) {
19226 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19228 arg4
= static_cast< int >(val4
);
19230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19232 wxPyEndAllowThreads(__tstate
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19235 resultobj
= SWIG_Py_Void();
19242 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19243 PyObject
*resultobj
= 0;
19244 wxDC
*arg1
= (wxDC
*) 0 ;
19245 wxPoint
*arg2
= 0 ;
19252 PyObject
* obj0
= 0 ;
19253 PyObject
* obj1
= 0 ;
19254 PyObject
* obj2
= 0 ;
19255 char * kwnames
[] = {
19256 (char *) "self",(char *) "pt",(char *) "radius", NULL
19259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19261 if (!SWIG_IsOK(res1
)) {
19262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19264 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19267 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19270 if (!SWIG_IsOK(ecode3
)) {
19271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19273 arg3
= static_cast< int >(val3
);
19275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19276 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19277 wxPyEndAllowThreads(__tstate
);
19278 if (PyErr_Occurred()) SWIG_fail
;
19280 resultobj
= SWIG_Py_Void();
19287 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19288 PyObject
*resultobj
= 0;
19289 wxDC
*arg1
= (wxDC
*) 0 ;
19304 PyObject
* obj0
= 0 ;
19305 PyObject
* obj1
= 0 ;
19306 PyObject
* obj2
= 0 ;
19307 PyObject
* obj3
= 0 ;
19308 PyObject
* obj4
= 0 ;
19309 char * kwnames
[] = {
19310 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19315 if (!SWIG_IsOK(res1
)) {
19316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19318 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19320 if (!SWIG_IsOK(ecode2
)) {
19321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19323 arg2
= static_cast< int >(val2
);
19324 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19325 if (!SWIG_IsOK(ecode3
)) {
19326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19328 arg3
= static_cast< int >(val3
);
19329 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19330 if (!SWIG_IsOK(ecode4
)) {
19331 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19333 arg4
= static_cast< int >(val4
);
19334 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19335 if (!SWIG_IsOK(ecode5
)) {
19336 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19338 arg5
= static_cast< int >(val5
);
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19342 wxPyEndAllowThreads(__tstate
);
19343 if (PyErr_Occurred()) SWIG_fail
;
19345 resultobj
= SWIG_Py_Void();
19352 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19353 PyObject
*resultobj
= 0;
19354 wxDC
*arg1
= (wxDC
*) 0 ;
19359 PyObject
* obj0
= 0 ;
19360 PyObject
* obj1
= 0 ;
19361 char * kwnames
[] = {
19362 (char *) "self",(char *) "rect", NULL
19365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19367 if (!SWIG_IsOK(res1
)) {
19368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19370 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19373 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19377 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19378 wxPyEndAllowThreads(__tstate
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19381 resultobj
= SWIG_Py_Void();
19388 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
= 0;
19390 wxDC
*arg1
= (wxDC
*) 0 ;
19391 wxPoint
*arg2
= 0 ;
19397 PyObject
* obj0
= 0 ;
19398 PyObject
* obj1
= 0 ;
19399 PyObject
* obj2
= 0 ;
19400 char * kwnames
[] = {
19401 (char *) "self",(char *) "pt",(char *) "sz", NULL
19404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19406 if (!SWIG_IsOK(res1
)) {
19407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19412 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19416 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19420 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19421 wxPyEndAllowThreads(__tstate
);
19422 if (PyErr_Occurred()) SWIG_fail
;
19424 resultobj
= SWIG_Py_Void();
19431 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19432 PyObject
*resultobj
= 0;
19433 wxDC
*arg1
= (wxDC
*) 0 ;
19445 PyObject
* obj0
= 0 ;
19446 PyObject
* obj1
= 0 ;
19447 PyObject
* obj2
= 0 ;
19448 PyObject
* obj3
= 0 ;
19449 char * kwnames
[] = {
19450 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19455 if (!SWIG_IsOK(res1
)) {
19456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19459 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19460 if (!SWIG_IsOK(res2
)) {
19461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19466 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19468 if (!SWIG_IsOK(ecode3
)) {
19469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19471 arg3
= static_cast< int >(val3
);
19472 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19473 if (!SWIG_IsOK(ecode4
)) {
19474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19476 arg4
= static_cast< int >(val4
);
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19479 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19483 resultobj
= SWIG_Py_Void();
19490 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19491 PyObject
*resultobj
= 0;
19492 wxDC
*arg1
= (wxDC
*) 0 ;
19494 wxPoint
*arg3
= 0 ;
19500 PyObject
* obj0
= 0 ;
19501 PyObject
* obj1
= 0 ;
19502 PyObject
* obj2
= 0 ;
19503 char * kwnames
[] = {
19504 (char *) "self",(char *) "icon",(char *) "pt", NULL
19507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19509 if (!SWIG_IsOK(res1
)) {
19510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19512 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19513 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19514 if (!SWIG_IsOK(res2
)) {
19515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19520 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19523 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19527 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19531 resultobj
= SWIG_Py_Void();
19538 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19539 PyObject
*resultobj
= 0;
19540 wxDC
*arg1
= (wxDC
*) 0 ;
19541 wxBitmap
*arg2
= 0 ;
19544 bool arg5
= (bool) false ;
19555 PyObject
* obj0
= 0 ;
19556 PyObject
* obj1
= 0 ;
19557 PyObject
* obj2
= 0 ;
19558 PyObject
* obj3
= 0 ;
19559 PyObject
* obj4
= 0 ;
19560 char * kwnames
[] = {
19561 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19566 if (!SWIG_IsOK(res1
)) {
19567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19569 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19570 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19571 if (!SWIG_IsOK(res2
)) {
19572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19577 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19579 if (!SWIG_IsOK(ecode3
)) {
19580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19582 arg3
= static_cast< int >(val3
);
19583 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19584 if (!SWIG_IsOK(ecode4
)) {
19585 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19587 arg4
= static_cast< int >(val4
);
19589 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19590 if (!SWIG_IsOK(ecode5
)) {
19591 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19593 arg5
= static_cast< bool >(val5
);
19596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19598 wxPyEndAllowThreads(__tstate
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= SWIG_Py_Void();
19608 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19609 PyObject
*resultobj
= 0;
19610 wxDC
*arg1
= (wxDC
*) 0 ;
19611 wxBitmap
*arg2
= 0 ;
19612 wxPoint
*arg3
= 0 ;
19613 bool arg4
= (bool) false ;
19621 PyObject
* obj0
= 0 ;
19622 PyObject
* obj1
= 0 ;
19623 PyObject
* obj2
= 0 ;
19624 PyObject
* obj3
= 0 ;
19625 char * kwnames
[] = {
19626 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19631 if (!SWIG_IsOK(res1
)) {
19632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19634 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19635 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19636 if (!SWIG_IsOK(res2
)) {
19637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19642 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19645 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19648 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19649 if (!SWIG_IsOK(ecode4
)) {
19650 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19652 arg4
= static_cast< bool >(val4
);
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19660 resultobj
= SWIG_Py_Void();
19667 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19668 PyObject
*resultobj
= 0;
19669 wxDC
*arg1
= (wxDC
*) 0 ;
19670 wxString
*arg2
= 0 ;
19675 bool temp2
= false ;
19680 PyObject
* obj0
= 0 ;
19681 PyObject
* obj1
= 0 ;
19682 PyObject
* obj2
= 0 ;
19683 PyObject
* obj3
= 0 ;
19684 char * kwnames
[] = {
19685 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19690 if (!SWIG_IsOK(res1
)) {
19691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19693 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19695 arg2
= wxString_in_helper(obj1
);
19696 if (arg2
== NULL
) SWIG_fail
;
19699 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19700 if (!SWIG_IsOK(ecode3
)) {
19701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19703 arg3
= static_cast< int >(val3
);
19704 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19705 if (!SWIG_IsOK(ecode4
)) {
19706 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19708 arg4
= static_cast< int >(val4
);
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= SWIG_Py_Void();
19730 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19731 PyObject
*resultobj
= 0;
19732 wxDC
*arg1
= (wxDC
*) 0 ;
19733 wxString
*arg2
= 0 ;
19734 wxPoint
*arg3
= 0 ;
19737 bool temp2
= false ;
19739 PyObject
* obj0
= 0 ;
19740 PyObject
* obj1
= 0 ;
19741 PyObject
* obj2
= 0 ;
19742 char * kwnames
[] = {
19743 (char *) "self",(char *) "text",(char *) "pt", NULL
19746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19748 if (!SWIG_IsOK(res1
)) {
19749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19751 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19753 arg2
= wxString_in_helper(obj1
);
19754 if (arg2
== NULL
) SWIG_fail
;
19759 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19767 resultobj
= SWIG_Py_Void();
19782 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19783 PyObject
*resultobj
= 0;
19784 wxDC
*arg1
= (wxDC
*) 0 ;
19785 wxString
*arg2
= 0 ;
19791 bool temp2
= false ;
19798 PyObject
* obj0
= 0 ;
19799 PyObject
* obj1
= 0 ;
19800 PyObject
* obj2
= 0 ;
19801 PyObject
* obj3
= 0 ;
19802 PyObject
* obj4
= 0 ;
19803 char * kwnames
[] = {
19804 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19809 if (!SWIG_IsOK(res1
)) {
19810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19812 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19814 arg2
= wxString_in_helper(obj1
);
19815 if (arg2
== NULL
) SWIG_fail
;
19818 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19819 if (!SWIG_IsOK(ecode3
)) {
19820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19822 arg3
= static_cast< int >(val3
);
19823 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19824 if (!SWIG_IsOK(ecode4
)) {
19825 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19827 arg4
= static_cast< int >(val4
);
19828 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19829 if (!SWIG_IsOK(ecode5
)) {
19830 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19832 arg5
= static_cast< double >(val5
);
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19839 resultobj
= SWIG_Py_Void();
19854 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
= 0;
19856 wxDC
*arg1
= (wxDC
*) 0 ;
19857 wxString
*arg2
= 0 ;
19858 wxPoint
*arg3
= 0 ;
19862 bool temp2
= false ;
19866 PyObject
* obj0
= 0 ;
19867 PyObject
* obj1
= 0 ;
19868 PyObject
* obj2
= 0 ;
19869 PyObject
* obj3
= 0 ;
19870 char * kwnames
[] = {
19871 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19876 if (!SWIG_IsOK(res1
)) {
19877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19879 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19881 arg2
= wxString_in_helper(obj1
);
19882 if (arg2
== NULL
) SWIG_fail
;
19887 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19889 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19890 if (!SWIG_IsOK(ecode4
)) {
19891 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19893 arg4
= static_cast< double >(val4
);
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19896 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19897 wxPyEndAllowThreads(__tstate
);
19898 if (PyErr_Occurred()) SWIG_fail
;
19900 resultobj
= SWIG_Py_Void();
19915 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
= 0;
19917 wxDC
*arg1
= (wxDC
*) 0 ;
19922 wxDC
*arg6
= (wxDC
*) 0 ;
19925 int arg9
= (int) wxCOPY
;
19926 bool arg10
= (bool) false ;
19927 int arg11
= (int) -1 ;
19928 int arg12
= (int) -1 ;
19954 PyObject
* obj0
= 0 ;
19955 PyObject
* obj1
= 0 ;
19956 PyObject
* obj2
= 0 ;
19957 PyObject
* obj3
= 0 ;
19958 PyObject
* obj4
= 0 ;
19959 PyObject
* obj5
= 0 ;
19960 PyObject
* obj6
= 0 ;
19961 PyObject
* obj7
= 0 ;
19962 PyObject
* obj8
= 0 ;
19963 PyObject
* obj9
= 0 ;
19964 PyObject
* obj10
= 0 ;
19965 PyObject
* obj11
= 0 ;
19966 char * kwnames
[] = {
19967 (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
19970 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
;
19971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19972 if (!SWIG_IsOK(res1
)) {
19973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19977 if (!SWIG_IsOK(ecode2
)) {
19978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19980 arg2
= static_cast< int >(val2
);
19981 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19982 if (!SWIG_IsOK(ecode3
)) {
19983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19985 arg3
= static_cast< int >(val3
);
19986 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19987 if (!SWIG_IsOK(ecode4
)) {
19988 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19990 arg4
= static_cast< int >(val4
);
19991 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19992 if (!SWIG_IsOK(ecode5
)) {
19993 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19995 arg5
= static_cast< int >(val5
);
19996 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19997 if (!SWIG_IsOK(res6
)) {
19998 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20000 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20001 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20002 if (!SWIG_IsOK(ecode7
)) {
20003 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20005 arg7
= static_cast< int >(val7
);
20006 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20007 if (!SWIG_IsOK(ecode8
)) {
20008 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20010 arg8
= static_cast< int >(val8
);
20012 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20013 if (!SWIG_IsOK(ecode9
)) {
20014 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20016 arg9
= static_cast< int >(val9
);
20019 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20020 if (!SWIG_IsOK(ecode10
)) {
20021 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20023 arg10
= static_cast< bool >(val10
);
20026 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20027 if (!SWIG_IsOK(ecode11
)) {
20028 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20030 arg11
= static_cast< int >(val11
);
20033 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20034 if (!SWIG_IsOK(ecode12
)) {
20035 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20037 arg12
= static_cast< int >(val12
);
20040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20041 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20054 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20055 PyObject
*resultobj
= 0;
20056 wxDC
*arg1
= (wxDC
*) 0 ;
20057 wxPoint
*arg2
= 0 ;
20059 wxDC
*arg4
= (wxDC
*) 0 ;
20060 wxPoint
*arg5
= 0 ;
20061 int arg6
= (int) wxCOPY
;
20062 bool arg7
= (bool) false ;
20063 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20064 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20078 PyObject
* obj0
= 0 ;
20079 PyObject
* obj1
= 0 ;
20080 PyObject
* obj2
= 0 ;
20081 PyObject
* obj3
= 0 ;
20082 PyObject
* obj4
= 0 ;
20083 PyObject
* obj5
= 0 ;
20084 PyObject
* obj6
= 0 ;
20085 PyObject
* obj7
= 0 ;
20086 char * kwnames
[] = {
20087 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20092 if (!SWIG_IsOK(res1
)) {
20093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20095 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20098 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20102 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20104 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20105 if (!SWIG_IsOK(res4
)) {
20106 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20108 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20111 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20114 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20115 if (!SWIG_IsOK(ecode6
)) {
20116 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20118 arg6
= static_cast< int >(val6
);
20121 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20122 if (!SWIG_IsOK(ecode7
)) {
20123 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20125 arg7
= static_cast< bool >(val7
);
20130 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20148 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
= 0;
20150 wxDC
*arg1
= (wxDC
*) 0 ;
20165 PyObject
* obj0
= 0 ;
20166 PyObject
* obj1
= 0 ;
20167 PyObject
* obj2
= 0 ;
20168 PyObject
* obj3
= 0 ;
20169 PyObject
* obj4
= 0 ;
20170 char * kwnames
[] = {
20171 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20176 if (!SWIG_IsOK(res1
)) {
20177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20179 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20181 if (!SWIG_IsOK(ecode2
)) {
20182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20184 arg2
= static_cast< int >(val2
);
20185 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20186 if (!SWIG_IsOK(ecode3
)) {
20187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20189 arg3
= static_cast< int >(val3
);
20190 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20191 if (!SWIG_IsOK(ecode4
)) {
20192 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20194 arg4
= static_cast< int >(val4
);
20195 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20196 if (!SWIG_IsOK(ecode5
)) {
20197 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20199 arg5
= static_cast< int >(val5
);
20201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20202 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20203 wxPyEndAllowThreads(__tstate
);
20204 if (PyErr_Occurred()) SWIG_fail
;
20206 resultobj
= SWIG_Py_Void();
20213 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20214 PyObject
*resultobj
= 0;
20215 wxDC
*arg1
= (wxDC
*) 0 ;
20216 wxPoint
*arg2
= 0 ;
20222 PyObject
* obj0
= 0 ;
20223 PyObject
* obj1
= 0 ;
20224 PyObject
* obj2
= 0 ;
20225 char * kwnames
[] = {
20226 (char *) "self",(char *) "pt",(char *) "sz", NULL
20229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20231 if (!SWIG_IsOK(res1
)) {
20232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20234 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20237 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20241 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20245 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20246 wxPyEndAllowThreads(__tstate
);
20247 if (PyErr_Occurred()) SWIG_fail
;
20249 resultobj
= SWIG_Py_Void();
20256 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20257 PyObject
*resultobj
= 0;
20258 wxDC
*arg1
= (wxDC
*) 0 ;
20259 wxRegion
*arg2
= 0 ;
20264 PyObject
* obj0
= 0 ;
20265 PyObject
* obj1
= 0 ;
20266 char * kwnames
[] = {
20267 (char *) "self",(char *) "region", NULL
20270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20272 if (!SWIG_IsOK(res1
)) {
20273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20275 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20276 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20277 if (!SWIG_IsOK(res2
)) {
20278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20283 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20286 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20287 wxPyEndAllowThreads(__tstate
);
20288 if (PyErr_Occurred()) SWIG_fail
;
20290 resultobj
= SWIG_Py_Void();
20297 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20298 PyObject
*resultobj
= 0;
20299 wxDC
*arg1
= (wxDC
*) 0 ;
20304 PyObject
* obj0
= 0 ;
20305 PyObject
* obj1
= 0 ;
20306 char * kwnames
[] = {
20307 (char *) "self",(char *) "rect", NULL
20310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20312 if (!SWIG_IsOK(res1
)) {
20313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20318 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20322 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20323 wxPyEndAllowThreads(__tstate
);
20324 if (PyErr_Occurred()) SWIG_fail
;
20326 resultobj
= SWIG_Py_Void();
20333 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20334 PyObject
*resultobj
= 0;
20335 wxDC
*arg1
= (wxDC
*) 0 ;
20337 wxPoint
*arg3
= (wxPoint
*) 0 ;
20338 int arg4
= (int) 0 ;
20339 int arg5
= (int) 0 ;
20346 PyObject
* obj0
= 0 ;
20347 PyObject
* obj1
= 0 ;
20348 PyObject
* obj2
= 0 ;
20349 PyObject
* obj3
= 0 ;
20350 char * kwnames
[] = {
20351 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20356 if (!SWIG_IsOK(res1
)) {
20357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20359 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20361 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20362 if (arg3
== NULL
) SWIG_fail
;
20365 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20366 if (!SWIG_IsOK(ecode4
)) {
20367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20369 arg4
= static_cast< int >(val4
);
20372 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20373 if (!SWIG_IsOK(ecode5
)) {
20374 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20376 arg5
= static_cast< int >(val5
);
20379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20380 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20381 wxPyEndAllowThreads(__tstate
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20384 resultobj
= SWIG_Py_Void();
20386 if (arg3
) delete [] arg3
;
20391 if (arg3
) delete [] arg3
;
20397 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
= 0;
20399 wxDC
*arg1
= (wxDC
*) 0 ;
20401 wxPoint
*arg3
= (wxPoint
*) 0 ;
20402 int arg4
= (int) 0 ;
20403 int arg5
= (int) 0 ;
20404 int arg6
= (int) wxODDEVEN_RULE
;
20413 PyObject
* obj0
= 0 ;
20414 PyObject
* obj1
= 0 ;
20415 PyObject
* obj2
= 0 ;
20416 PyObject
* obj3
= 0 ;
20417 PyObject
* obj4
= 0 ;
20418 char * kwnames
[] = {
20419 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20424 if (!SWIG_IsOK(res1
)) {
20425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20427 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20429 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20430 if (arg3
== NULL
) SWIG_fail
;
20433 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20434 if (!SWIG_IsOK(ecode4
)) {
20435 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20437 arg4
= static_cast< int >(val4
);
20440 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20441 if (!SWIG_IsOK(ecode5
)) {
20442 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20444 arg5
= static_cast< int >(val5
);
20447 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20448 if (!SWIG_IsOK(ecode6
)) {
20449 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20451 arg6
= static_cast< int >(val6
);
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20456 wxPyEndAllowThreads(__tstate
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20459 resultobj
= SWIG_Py_Void();
20461 if (arg3
) delete [] arg3
;
20466 if (arg3
) delete [] arg3
;
20472 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20473 PyObject
*resultobj
= 0;
20474 wxDC
*arg1
= (wxDC
*) 0 ;
20475 wxString
*arg2
= 0 ;
20477 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20478 int arg5
= (int) -1 ;
20481 bool temp2
= false ;
20487 PyObject
* obj0
= 0 ;
20488 PyObject
* obj1
= 0 ;
20489 PyObject
* obj2
= 0 ;
20490 PyObject
* obj3
= 0 ;
20491 PyObject
* obj4
= 0 ;
20492 char * kwnames
[] = {
20493 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20498 if (!SWIG_IsOK(res1
)) {
20499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20501 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20503 arg2
= wxString_in_helper(obj1
);
20504 if (arg2
== NULL
) SWIG_fail
;
20509 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20512 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20513 if (!SWIG_IsOK(ecode4
)) {
20514 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20516 arg4
= static_cast< int >(val4
);
20519 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20520 if (!SWIG_IsOK(ecode5
)) {
20521 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20523 arg5
= static_cast< int >(val5
);
20526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20527 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20528 wxPyEndAllowThreads(__tstate
);
20529 if (PyErr_Occurred()) SWIG_fail
;
20531 resultobj
= SWIG_Py_Void();
20546 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20547 PyObject
*resultobj
= 0;
20548 wxDC
*arg1
= (wxDC
*) 0 ;
20549 wxString
*arg2
= 0 ;
20550 wxBitmap
*arg3
= 0 ;
20552 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20553 int arg6
= (int) -1 ;
20557 bool temp2
= false ;
20565 PyObject
* obj0
= 0 ;
20566 PyObject
* obj1
= 0 ;
20567 PyObject
* obj2
= 0 ;
20568 PyObject
* obj3
= 0 ;
20569 PyObject
* obj4
= 0 ;
20570 PyObject
* obj5
= 0 ;
20571 char * kwnames
[] = {
20572 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20577 if (!SWIG_IsOK(res1
)) {
20578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20580 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20582 arg2
= wxString_in_helper(obj1
);
20583 if (arg2
== NULL
) SWIG_fail
;
20586 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20587 if (!SWIG_IsOK(res3
)) {
20588 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20591 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20593 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20596 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20599 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20600 if (!SWIG_IsOK(ecode5
)) {
20601 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20603 arg5
= static_cast< int >(val5
);
20606 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20607 if (!SWIG_IsOK(ecode6
)) {
20608 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20610 arg6
= static_cast< int >(val6
);
20613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20614 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20615 wxPyEndAllowThreads(__tstate
);
20616 if (PyErr_Occurred()) SWIG_fail
;
20618 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20633 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
= 0;
20635 wxDC
*arg1
= (wxDC
*) 0 ;
20637 wxPoint
*arg3
= (wxPoint
*) 0 ;
20640 PyObject
* obj0
= 0 ;
20641 PyObject
* obj1
= 0 ;
20642 char * kwnames
[] = {
20643 (char *) "self",(char *) "points", NULL
20646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20648 if (!SWIG_IsOK(res1
)) {
20649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20651 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20653 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20654 if (arg3
== NULL
) SWIG_fail
;
20657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20658 (arg1
)->DrawSpline(arg2
,arg3
);
20659 wxPyEndAllowThreads(__tstate
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20662 resultobj
= SWIG_Py_Void();
20664 if (arg3
) delete [] arg3
;
20669 if (arg3
) delete [] arg3
;
20675 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20676 PyObject
*resultobj
= 0;
20677 wxDC
*arg1
= (wxDC
*) 0 ;
20680 PyObject
*swig_obj
[1] ;
20682 if (!args
) SWIG_fail
;
20683 swig_obj
[0] = args
;
20684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20685 if (!SWIG_IsOK(res1
)) {
20686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20688 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20695 resultobj
= SWIG_Py_Void();
20702 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20703 PyObject
*resultobj
= 0;
20704 wxDC
*arg1
= (wxDC
*) 0 ;
20705 wxString
*arg2
= 0 ;
20709 bool temp2
= false ;
20710 PyObject
* obj0
= 0 ;
20711 PyObject
* obj1
= 0 ;
20712 char * kwnames
[] = {
20713 (char *) "self",(char *) "message", NULL
20716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20718 if (!SWIG_IsOK(res1
)) {
20719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20721 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20723 arg2
= wxString_in_helper(obj1
);
20724 if (arg2
== NULL
) SWIG_fail
;
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20730 wxPyEndAllowThreads(__tstate
);
20731 if (PyErr_Occurred()) SWIG_fail
;
20734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20750 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20751 PyObject
*resultobj
= 0;
20752 wxDC
*arg1
= (wxDC
*) 0 ;
20755 PyObject
*swig_obj
[1] ;
20757 if (!args
) SWIG_fail
;
20758 swig_obj
[0] = args
;
20759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20760 if (!SWIG_IsOK(res1
)) {
20761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20763 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20770 resultobj
= SWIG_Py_Void();
20777 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20778 PyObject
*resultobj
= 0;
20779 wxDC
*arg1
= (wxDC
*) 0 ;
20782 PyObject
*swig_obj
[1] ;
20784 if (!args
) SWIG_fail
;
20785 swig_obj
[0] = args
;
20786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20787 if (!SWIG_IsOK(res1
)) {
20788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20790 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20793 (arg1
)->StartPage();
20794 wxPyEndAllowThreads(__tstate
);
20795 if (PyErr_Occurred()) SWIG_fail
;
20797 resultobj
= SWIG_Py_Void();
20804 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20805 PyObject
*resultobj
= 0;
20806 wxDC
*arg1
= (wxDC
*) 0 ;
20809 PyObject
*swig_obj
[1] ;
20811 if (!args
) SWIG_fail
;
20812 swig_obj
[0] = args
;
20813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20814 if (!SWIG_IsOK(res1
)) {
20815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20817 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20821 wxPyEndAllowThreads(__tstate
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20824 resultobj
= SWIG_Py_Void();
20831 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20832 PyObject
*resultobj
= 0;
20833 wxDC
*arg1
= (wxDC
*) 0 ;
20839 PyObject
* obj0
= 0 ;
20840 PyObject
* obj1
= 0 ;
20841 char * kwnames
[] = {
20842 (char *) "self",(char *) "font", NULL
20845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20847 if (!SWIG_IsOK(res1
)) {
20848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20850 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20851 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20852 if (!SWIG_IsOK(res2
)) {
20853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20858 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20861 (arg1
)->SetFont((wxFont
const &)*arg2
);
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20865 resultobj
= SWIG_Py_Void();
20872 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20873 PyObject
*resultobj
= 0;
20874 wxDC
*arg1
= (wxDC
*) 0 ;
20880 PyObject
* obj0
= 0 ;
20881 PyObject
* obj1
= 0 ;
20882 char * kwnames
[] = {
20883 (char *) "self",(char *) "pen", NULL
20886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20888 if (!SWIG_IsOK(res1
)) {
20889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20891 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20892 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20893 if (!SWIG_IsOK(res2
)) {
20894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20899 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20902 (arg1
)->SetPen((wxPen
const &)*arg2
);
20903 wxPyEndAllowThreads(__tstate
);
20904 if (PyErr_Occurred()) SWIG_fail
;
20906 resultobj
= SWIG_Py_Void();
20913 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20914 PyObject
*resultobj
= 0;
20915 wxDC
*arg1
= (wxDC
*) 0 ;
20916 wxBrush
*arg2
= 0 ;
20921 PyObject
* obj0
= 0 ;
20922 PyObject
* obj1
= 0 ;
20923 char * kwnames
[] = {
20924 (char *) "self",(char *) "brush", NULL
20927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20929 if (!SWIG_IsOK(res1
)) {
20930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20932 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20934 if (!SWIG_IsOK(res2
)) {
20935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20940 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= SWIG_Py_Void();
20954 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20955 PyObject
*resultobj
= 0;
20956 wxDC
*arg1
= (wxDC
*) 0 ;
20957 wxBrush
*arg2
= 0 ;
20962 PyObject
* obj0
= 0 ;
20963 PyObject
* obj1
= 0 ;
20964 char * kwnames
[] = {
20965 (char *) "self",(char *) "brush", NULL
20968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20970 if (!SWIG_IsOK(res1
)) {
20971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20973 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20974 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20975 if (!SWIG_IsOK(res2
)) {
20976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20981 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20988 resultobj
= SWIG_Py_Void();
20995 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20996 PyObject
*resultobj
= 0;
20997 wxDC
*arg1
= (wxDC
*) 0 ;
21003 PyObject
* obj0
= 0 ;
21004 PyObject
* obj1
= 0 ;
21005 char * kwnames
[] = {
21006 (char *) "self",(char *) "mode", NULL
21009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21011 if (!SWIG_IsOK(res1
)) {
21012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21014 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21016 if (!SWIG_IsOK(ecode2
)) {
21017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21019 arg2
= static_cast< int >(val2
);
21021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21022 (arg1
)->SetBackgroundMode(arg2
);
21023 wxPyEndAllowThreads(__tstate
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21026 resultobj
= SWIG_Py_Void();
21033 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21034 PyObject
*resultobj
= 0;
21035 wxDC
*arg1
= (wxDC
*) 0 ;
21036 wxPalette
*arg2
= 0 ;
21041 PyObject
* obj0
= 0 ;
21042 PyObject
* obj1
= 0 ;
21043 char * kwnames
[] = {
21044 (char *) "self",(char *) "palette", NULL
21047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21049 if (!SWIG_IsOK(res1
)) {
21050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21052 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21053 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21054 if (!SWIG_IsOK(res2
)) {
21055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21060 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21063 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21064 wxPyEndAllowThreads(__tstate
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21067 resultobj
= SWIG_Py_Void();
21074 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21075 PyObject
*resultobj
= 0;
21076 wxDC
*arg1
= (wxDC
*) 0 ;
21079 PyObject
*swig_obj
[1] ;
21081 if (!args
) SWIG_fail
;
21082 swig_obj
[0] = args
;
21083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21084 if (!SWIG_IsOK(res1
)) {
21085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21087 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21090 (arg1
)->DestroyClippingRegion();
21091 wxPyEndAllowThreads(__tstate
);
21092 if (PyErr_Occurred()) SWIG_fail
;
21094 resultobj
= SWIG_Py_Void();
21101 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21102 PyObject
*resultobj
= 0;
21103 wxDC
*arg1
= (wxDC
*) 0 ;
21104 int *arg2
= (int *) 0 ;
21105 int *arg3
= (int *) 0 ;
21106 int *arg4
= (int *) 0 ;
21107 int *arg5
= (int *) 0 ;
21111 int res2
= SWIG_TMPOBJ
;
21113 int res3
= SWIG_TMPOBJ
;
21115 int res4
= SWIG_TMPOBJ
;
21117 int res5
= SWIG_TMPOBJ
;
21118 PyObject
*swig_obj
[1] ;
21124 if (!args
) SWIG_fail
;
21125 swig_obj
[0] = args
;
21126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21127 if (!SWIG_IsOK(res1
)) {
21128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21130 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21134 wxPyEndAllowThreads(__tstate
);
21135 if (PyErr_Occurred()) SWIG_fail
;
21137 resultobj
= SWIG_Py_Void();
21138 if (SWIG_IsTmpObj(res2
)) {
21139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21141 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21144 if (SWIG_IsTmpObj(res3
)) {
21145 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21147 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21148 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21150 if (SWIG_IsTmpObj(res4
)) {
21151 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21153 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21154 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21156 if (SWIG_IsTmpObj(res5
)) {
21157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21159 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21168 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21169 PyObject
*resultobj
= 0;
21170 wxDC
*arg1
= (wxDC
*) 0 ;
21174 PyObject
*swig_obj
[1] ;
21176 if (!args
) SWIG_fail
;
21177 swig_obj
[0] = args
;
21178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21179 if (!SWIG_IsOK(res1
)) {
21180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21182 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21185 result
= wxDC_GetClippingRect(arg1
);
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21189 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21196 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21197 PyObject
*resultobj
= 0;
21198 wxDC
*arg1
= (wxDC
*) 0 ;
21202 PyObject
*swig_obj
[1] ;
21204 if (!args
) SWIG_fail
;
21205 swig_obj
[0] = args
;
21206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21207 if (!SWIG_IsOK(res1
)) {
21208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21210 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21217 resultobj
= SWIG_From_int(static_cast< int >(result
));
21224 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21225 PyObject
*resultobj
= 0;
21226 wxDC
*arg1
= (wxDC
*) 0 ;
21230 PyObject
*swig_obj
[1] ;
21232 if (!args
) SWIG_fail
;
21233 swig_obj
[0] = args
;
21234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21235 if (!SWIG_IsOK(res1
)) {
21236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21238 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= SWIG_From_int(static_cast< int >(result
));
21252 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21253 PyObject
*resultobj
= 0;
21254 wxDC
*arg1
= (wxDC
*) 0 ;
21255 wxString
*arg2
= 0 ;
21256 int *arg3
= (int *) 0 ;
21257 int *arg4
= (int *) 0 ;
21260 bool temp2
= false ;
21262 int res3
= SWIG_TMPOBJ
;
21264 int res4
= SWIG_TMPOBJ
;
21265 PyObject
* obj0
= 0 ;
21266 PyObject
* obj1
= 0 ;
21267 char * kwnames
[] = {
21268 (char *) "self",(char *) "string", NULL
21273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21275 if (!SWIG_IsOK(res1
)) {
21276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21278 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21280 arg2
= wxString_in_helper(obj1
);
21281 if (arg2
== NULL
) SWIG_fail
;
21285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21286 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21290 resultobj
= SWIG_Py_Void();
21291 if (SWIG_IsTmpObj(res3
)) {
21292 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21294 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21295 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21297 if (SWIG_IsTmpObj(res4
)) {
21298 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21300 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21301 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21317 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21318 PyObject
*resultobj
= 0;
21319 wxDC
*arg1
= (wxDC
*) 0 ;
21320 wxString
*arg2
= 0 ;
21321 int *arg3
= (int *) 0 ;
21322 int *arg4
= (int *) 0 ;
21323 int *arg5
= (int *) 0 ;
21324 int *arg6
= (int *) 0 ;
21325 wxFont
*arg7
= (wxFont
*) NULL
;
21328 bool temp2
= false ;
21330 int res3
= SWIG_TMPOBJ
;
21332 int res4
= SWIG_TMPOBJ
;
21334 int res5
= SWIG_TMPOBJ
;
21336 int res6
= SWIG_TMPOBJ
;
21339 PyObject
* obj0
= 0 ;
21340 PyObject
* obj1
= 0 ;
21341 PyObject
* obj2
= 0 ;
21342 char * kwnames
[] = {
21343 (char *) "self",(char *) "string",(char *) "font", NULL
21350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21352 if (!SWIG_IsOK(res1
)) {
21353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21355 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21357 arg2
= wxString_in_helper(obj1
);
21358 if (arg2
== NULL
) SWIG_fail
;
21362 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21363 if (!SWIG_IsOK(res7
)) {
21364 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21366 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21370 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21374 resultobj
= SWIG_Py_Void();
21375 if (SWIG_IsTmpObj(res3
)) {
21376 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21378 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21379 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21381 if (SWIG_IsTmpObj(res4
)) {
21382 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21384 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21385 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21387 if (SWIG_IsTmpObj(res5
)) {
21388 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21390 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21391 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21393 if (SWIG_IsTmpObj(res6
)) {
21394 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21396 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21397 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21413 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21414 PyObject
*resultobj
= 0;
21415 wxDC
*arg1
= (wxDC
*) 0 ;
21416 wxString
*arg2
= 0 ;
21417 int *arg3
= (int *) 0 ;
21418 int *arg4
= (int *) 0 ;
21419 int *arg5
= (int *) 0 ;
21420 wxFont
*arg6
= (wxFont
*) NULL
;
21423 bool temp2
= false ;
21425 int res3
= SWIG_TMPOBJ
;
21427 int res4
= SWIG_TMPOBJ
;
21429 int res5
= SWIG_TMPOBJ
;
21432 PyObject
* obj0
= 0 ;
21433 PyObject
* obj1
= 0 ;
21434 PyObject
* obj2
= 0 ;
21435 char * kwnames
[] = {
21436 (char *) "self",(char *) "text",(char *) "font", NULL
21442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21444 if (!SWIG_IsOK(res1
)) {
21445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21447 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21449 arg2
= wxString_in_helper(obj1
);
21450 if (arg2
== NULL
) SWIG_fail
;
21454 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21455 if (!SWIG_IsOK(res6
)) {
21456 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21458 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21462 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21463 wxPyEndAllowThreads(__tstate
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21466 resultobj
= SWIG_Py_Void();
21467 if (SWIG_IsTmpObj(res3
)) {
21468 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21470 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21471 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21473 if (SWIG_IsTmpObj(res4
)) {
21474 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21476 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21477 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21479 if (SWIG_IsTmpObj(res5
)) {
21480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21482 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21483 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21499 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21500 PyObject
*resultobj
= 0;
21501 wxDC
*arg1
= (wxDC
*) 0 ;
21502 wxString
*arg2
= 0 ;
21506 bool temp2
= false ;
21507 PyObject
* obj0
= 0 ;
21508 PyObject
* obj1
= 0 ;
21509 char * kwnames
[] = {
21510 (char *) "self",(char *) "text", NULL
21513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21515 if (!SWIG_IsOK(res1
)) {
21516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21518 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21520 arg2
= wxString_in_helper(obj1
);
21521 if (arg2
== NULL
) SWIG_fail
;
21525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21527 wxPyEndAllowThreads(__tstate
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21531 resultobj
= wxArrayInt2PyList_helper(result
);
21547 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21548 PyObject
*resultobj
= 0;
21549 wxDC
*arg1
= (wxDC
*) 0 ;
21553 PyObject
*swig_obj
[1] ;
21555 if (!args
) SWIG_fail
;
21556 swig_obj
[0] = args
;
21557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21558 if (!SWIG_IsOK(res1
)) {
21559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21561 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21564 result
= (arg1
)->GetSize();
21565 wxPyEndAllowThreads(__tstate
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21568 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21575 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21576 PyObject
*resultobj
= 0;
21577 wxDC
*arg1
= (wxDC
*) 0 ;
21578 int *arg2
= (int *) 0 ;
21579 int *arg3
= (int *) 0 ;
21583 int res2
= SWIG_TMPOBJ
;
21585 int res3
= SWIG_TMPOBJ
;
21586 PyObject
*swig_obj
[1] ;
21590 if (!args
) SWIG_fail
;
21591 swig_obj
[0] = args
;
21592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21593 if (!SWIG_IsOK(res1
)) {
21594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21596 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 (arg1
)->GetSize(arg2
,arg3
);
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21603 resultobj
= SWIG_Py_Void();
21604 if (SWIG_IsTmpObj(res2
)) {
21605 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21607 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21608 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21610 if (SWIG_IsTmpObj(res3
)) {
21611 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21613 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21622 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21623 PyObject
*resultobj
= 0;
21624 wxDC
*arg1
= (wxDC
*) 0 ;
21628 PyObject
*swig_obj
[1] ;
21630 if (!args
) SWIG_fail
;
21631 swig_obj
[0] = args
;
21632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21633 if (!SWIG_IsOK(res1
)) {
21634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21636 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21639 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21640 wxPyEndAllowThreads(__tstate
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21643 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21650 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21651 PyObject
*resultobj
= 0;
21652 wxDC
*arg1
= (wxDC
*) 0 ;
21653 int *arg2
= (int *) 0 ;
21654 int *arg3
= (int *) 0 ;
21658 int res2
= SWIG_TMPOBJ
;
21660 int res3
= SWIG_TMPOBJ
;
21661 PyObject
*swig_obj
[1] ;
21665 if (!args
) SWIG_fail
;
21666 swig_obj
[0] = args
;
21667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21668 if (!SWIG_IsOK(res1
)) {
21669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21671 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21678 resultobj
= SWIG_Py_Void();
21679 if (SWIG_IsTmpObj(res2
)) {
21680 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21682 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21683 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21685 if (SWIG_IsTmpObj(res3
)) {
21686 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21688 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21689 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21697 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21698 PyObject
*resultobj
= 0;
21699 wxDC
*arg1
= (wxDC
*) 0 ;
21706 PyObject
* obj0
= 0 ;
21707 PyObject
* obj1
= 0 ;
21708 char * kwnames
[] = {
21709 (char *) "self",(char *) "x", NULL
21712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21714 if (!SWIG_IsOK(res1
)) {
21715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21717 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21719 if (!SWIG_IsOK(ecode2
)) {
21720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21722 arg2
= static_cast< int >(val2
);
21724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21725 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21726 wxPyEndAllowThreads(__tstate
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21729 resultobj
= SWIG_From_int(static_cast< int >(result
));
21736 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21737 PyObject
*resultobj
= 0;
21738 wxDC
*arg1
= (wxDC
*) 0 ;
21745 PyObject
* obj0
= 0 ;
21746 PyObject
* obj1
= 0 ;
21747 char * kwnames
[] = {
21748 (char *) "self",(char *) "y", NULL
21751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21753 if (!SWIG_IsOK(res1
)) {
21754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21756 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21758 if (!SWIG_IsOK(ecode2
)) {
21759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21761 arg2
= static_cast< int >(val2
);
21763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21764 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21765 wxPyEndAllowThreads(__tstate
);
21766 if (PyErr_Occurred()) SWIG_fail
;
21768 resultobj
= SWIG_From_int(static_cast< int >(result
));
21775 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
= 0;
21777 wxDC
*arg1
= (wxDC
*) 0 ;
21784 PyObject
* obj0
= 0 ;
21785 PyObject
* obj1
= 0 ;
21786 char * kwnames
[] = {
21787 (char *) "self",(char *) "x", NULL
21790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21792 if (!SWIG_IsOK(res1
)) {
21793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21797 if (!SWIG_IsOK(ecode2
)) {
21798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21800 arg2
= static_cast< int >(val2
);
21802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21803 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21807 resultobj
= SWIG_From_int(static_cast< int >(result
));
21814 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21815 PyObject
*resultobj
= 0;
21816 wxDC
*arg1
= (wxDC
*) 0 ;
21823 PyObject
* obj0
= 0 ;
21824 PyObject
* obj1
= 0 ;
21825 char * kwnames
[] = {
21826 (char *) "self",(char *) "y", NULL
21829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21831 if (!SWIG_IsOK(res1
)) {
21832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21834 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21836 if (!SWIG_IsOK(ecode2
)) {
21837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21839 arg2
= static_cast< int >(val2
);
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21846 resultobj
= SWIG_From_int(static_cast< int >(result
));
21853 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21854 PyObject
*resultobj
= 0;
21855 wxDC
*arg1
= (wxDC
*) 0 ;
21862 PyObject
* obj0
= 0 ;
21863 PyObject
* obj1
= 0 ;
21864 char * kwnames
[] = {
21865 (char *) "self",(char *) "x", NULL
21868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21870 if (!SWIG_IsOK(res1
)) {
21871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21873 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21875 if (!SWIG_IsOK(ecode2
)) {
21876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21878 arg2
= static_cast< int >(val2
);
21880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21881 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21882 wxPyEndAllowThreads(__tstate
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21885 resultobj
= SWIG_From_int(static_cast< int >(result
));
21892 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21893 PyObject
*resultobj
= 0;
21894 wxDC
*arg1
= (wxDC
*) 0 ;
21901 PyObject
* obj0
= 0 ;
21902 PyObject
* obj1
= 0 ;
21903 char * kwnames
[] = {
21904 (char *) "self",(char *) "y", NULL
21907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21909 if (!SWIG_IsOK(res1
)) {
21910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21912 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21914 if (!SWIG_IsOK(ecode2
)) {
21915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21917 arg2
= static_cast< int >(val2
);
21919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21920 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21921 wxPyEndAllowThreads(__tstate
);
21922 if (PyErr_Occurred()) SWIG_fail
;
21924 resultobj
= SWIG_From_int(static_cast< int >(result
));
21931 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21932 PyObject
*resultobj
= 0;
21933 wxDC
*arg1
= (wxDC
*) 0 ;
21940 PyObject
* obj0
= 0 ;
21941 PyObject
* obj1
= 0 ;
21942 char * kwnames
[] = {
21943 (char *) "self",(char *) "x", NULL
21946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21948 if (!SWIG_IsOK(res1
)) {
21949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21951 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21953 if (!SWIG_IsOK(ecode2
)) {
21954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21956 arg2
= static_cast< int >(val2
);
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21963 resultobj
= SWIG_From_int(static_cast< int >(result
));
21970 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21971 PyObject
*resultobj
= 0;
21972 wxDC
*arg1
= (wxDC
*) 0 ;
21979 PyObject
* obj0
= 0 ;
21980 PyObject
* obj1
= 0 ;
21981 char * kwnames
[] = {
21982 (char *) "self",(char *) "y", NULL
21985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21987 if (!SWIG_IsOK(res1
)) {
21988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21990 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21992 if (!SWIG_IsOK(ecode2
)) {
21993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21995 arg2
= static_cast< int >(val2
);
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21999 wxPyEndAllowThreads(__tstate
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22002 resultobj
= SWIG_From_int(static_cast< int >(result
));
22009 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22010 PyObject
*resultobj
= 0;
22011 wxDC
*arg1
= (wxDC
*) 0 ;
22015 PyObject
*swig_obj
[1] ;
22017 if (!args
) SWIG_fail
;
22018 swig_obj
[0] = args
;
22019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22020 if (!SWIG_IsOK(res1
)) {
22021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22023 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22026 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22027 wxPyEndAllowThreads(__tstate
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22039 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22040 PyObject
*resultobj
= 0;
22041 wxDC
*arg1
= (wxDC
*) 0 ;
22045 PyObject
*swig_obj
[1] ;
22047 if (!args
) SWIG_fail
;
22048 swig_obj
[0] = args
;
22049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22050 if (!SWIG_IsOK(res1
)) {
22051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22053 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22057 wxPyEndAllowThreads(__tstate
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22069 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22070 PyObject
*resultobj
= 0;
22071 wxDC
*arg1
= (wxDC
*) 0 ;
22075 PyObject
*swig_obj
[1] ;
22077 if (!args
) SWIG_fail
;
22078 swig_obj
[0] = args
;
22079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22080 if (!SWIG_IsOK(res1
)) {
22081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22083 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22086 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 resultobj
= SWIG_From_int(static_cast< int >(result
));
22097 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22098 PyObject
*resultobj
= 0;
22099 wxDC
*arg1
= (wxDC
*) 0 ;
22103 PyObject
*swig_obj
[1] ;
22105 if (!args
) SWIG_fail
;
22106 swig_obj
[0] = args
;
22107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22108 if (!SWIG_IsOK(res1
)) {
22109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22111 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 result
= ((wxDC
const *)arg1
)->GetPPI();
22115 wxPyEndAllowThreads(__tstate
);
22116 if (PyErr_Occurred()) SWIG_fail
;
22118 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22125 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22126 PyObject
*resultobj
= 0;
22127 wxDC
*arg1
= (wxDC
*) 0 ;
22131 PyObject
*swig_obj
[1] ;
22133 if (!args
) SWIG_fail
;
22134 swig_obj
[0] = args
;
22135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22136 if (!SWIG_IsOK(res1
)) {
22137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22139 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22142 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22143 wxPyEndAllowThreads(__tstate
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22155 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22156 PyObject
*resultobj
= 0;
22157 wxDC
*arg1
= (wxDC
*) 0 ;
22161 PyObject
*swig_obj
[1] ;
22163 if (!args
) SWIG_fail
;
22164 swig_obj
[0] = args
;
22165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22166 if (!SWIG_IsOK(res1
)) {
22167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22169 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= SWIG_From_int(static_cast< int >(result
));
22183 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22184 PyObject
*resultobj
= 0;
22185 wxDC
*arg1
= (wxDC
*) 0 ;
22186 wxBrush
*result
= 0 ;
22189 PyObject
*swig_obj
[1] ;
22191 if (!args
) SWIG_fail
;
22192 swig_obj
[0] = args
;
22193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22194 if (!SWIG_IsOK(res1
)) {
22195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22197 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22201 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22202 result
= (wxBrush
*) &_result_ref
;
22204 wxPyEndAllowThreads(__tstate
);
22205 if (PyErr_Occurred()) SWIG_fail
;
22208 wxBrush
* resultptr
= new wxBrush(*result
);
22209 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22217 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22218 PyObject
*resultobj
= 0;
22219 wxDC
*arg1
= (wxDC
*) 0 ;
22220 wxBrush
*result
= 0 ;
22223 PyObject
*swig_obj
[1] ;
22225 if (!args
) SWIG_fail
;
22226 swig_obj
[0] = args
;
22227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22228 if (!SWIG_IsOK(res1
)) {
22229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22231 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22235 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22236 result
= (wxBrush
*) &_result_ref
;
22238 wxPyEndAllowThreads(__tstate
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22242 wxBrush
* resultptr
= new wxBrush(*result
);
22243 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22251 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22252 PyObject
*resultobj
= 0;
22253 wxDC
*arg1
= (wxDC
*) 0 ;
22254 wxFont
*result
= 0 ;
22257 PyObject
*swig_obj
[1] ;
22259 if (!args
) SWIG_fail
;
22260 swig_obj
[0] = args
;
22261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22262 if (!SWIG_IsOK(res1
)) {
22263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22265 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22270 result
= (wxFont
*) &_result_ref
;
22272 wxPyEndAllowThreads(__tstate
);
22273 if (PyErr_Occurred()) SWIG_fail
;
22276 wxFont
* resultptr
= new wxFont(*result
);
22277 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22285 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22286 PyObject
*resultobj
= 0;
22287 wxDC
*arg1
= (wxDC
*) 0 ;
22288 wxPen
*result
= 0 ;
22291 PyObject
*swig_obj
[1] ;
22293 if (!args
) SWIG_fail
;
22294 swig_obj
[0] = args
;
22295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22296 if (!SWIG_IsOK(res1
)) {
22297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22299 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22303 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22304 result
= (wxPen
*) &_result_ref
;
22306 wxPyEndAllowThreads(__tstate
);
22307 if (PyErr_Occurred()) SWIG_fail
;
22310 wxPen
* resultptr
= new wxPen(*result
);
22311 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22319 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22320 PyObject
*resultobj
= 0;
22321 wxDC
*arg1
= (wxDC
*) 0 ;
22322 wxColour
*result
= 0 ;
22325 PyObject
*swig_obj
[1] ;
22327 if (!args
) SWIG_fail
;
22328 swig_obj
[0] = args
;
22329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22330 if (!SWIG_IsOK(res1
)) {
22331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22333 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22337 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22338 result
= (wxColour
*) &_result_ref
;
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22350 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22351 PyObject
*resultobj
= 0;
22352 wxDC
*arg1
= (wxDC
*) 0 ;
22353 wxColour
*result
= 0 ;
22356 PyObject
*swig_obj
[1] ;
22358 if (!args
) SWIG_fail
;
22359 swig_obj
[0] = args
;
22360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22361 if (!SWIG_IsOK(res1
)) {
22362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22364 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22369 result
= (wxColour
*) &_result_ref
;
22371 wxPyEndAllowThreads(__tstate
);
22372 if (PyErr_Occurred()) SWIG_fail
;
22374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22381 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22382 PyObject
*resultobj
= 0;
22383 wxDC
*arg1
= (wxDC
*) 0 ;
22384 wxColour
*arg2
= 0 ;
22388 PyObject
* obj0
= 0 ;
22389 PyObject
* obj1
= 0 ;
22390 char * kwnames
[] = {
22391 (char *) "self",(char *) "colour", NULL
22394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22396 if (!SWIG_IsOK(res1
)) {
22397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22399 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22402 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22406 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22407 wxPyEndAllowThreads(__tstate
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22410 resultobj
= SWIG_Py_Void();
22417 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22418 PyObject
*resultobj
= 0;
22419 wxDC
*arg1
= (wxDC
*) 0 ;
22420 wxColour
*arg2
= 0 ;
22424 PyObject
* obj0
= 0 ;
22425 PyObject
* obj1
= 0 ;
22426 char * kwnames
[] = {
22427 (char *) "self",(char *) "colour", NULL
22430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22432 if (!SWIG_IsOK(res1
)) {
22433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22435 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22438 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22442 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22443 wxPyEndAllowThreads(__tstate
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22446 resultobj
= SWIG_Py_Void();
22453 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22454 PyObject
*resultobj
= 0;
22455 wxDC
*arg1
= (wxDC
*) 0 ;
22459 PyObject
*swig_obj
[1] ;
22461 if (!args
) SWIG_fail
;
22462 swig_obj
[0] = args
;
22463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22464 if (!SWIG_IsOK(res1
)) {
22465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22467 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 resultobj
= SWIG_From_int(static_cast< int >(result
));
22481 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22482 PyObject
*resultobj
= 0;
22483 wxDC
*arg1
= (wxDC
*) 0 ;
22489 PyObject
* obj0
= 0 ;
22490 PyObject
* obj1
= 0 ;
22491 char * kwnames
[] = {
22492 (char *) "self",(char *) "mode", NULL
22495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22497 if (!SWIG_IsOK(res1
)) {
22498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22500 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22502 if (!SWIG_IsOK(ecode2
)) {
22503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22505 arg2
= static_cast< int >(val2
);
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 (arg1
)->SetMapMode(arg2
);
22509 wxPyEndAllowThreads(__tstate
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22512 resultobj
= SWIG_Py_Void();
22519 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22520 PyObject
*resultobj
= 0;
22521 wxDC
*arg1
= (wxDC
*) 0 ;
22522 double *arg2
= (double *) 0 ;
22523 double *arg3
= (double *) 0 ;
22527 int res2
= SWIG_TMPOBJ
;
22529 int res3
= SWIG_TMPOBJ
;
22530 PyObject
*swig_obj
[1] ;
22534 if (!args
) SWIG_fail
;
22535 swig_obj
[0] = args
;
22536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22537 if (!SWIG_IsOK(res1
)) {
22538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22540 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22543 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22547 resultobj
= SWIG_Py_Void();
22548 if (SWIG_IsTmpObj(res2
)) {
22549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22551 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22554 if (SWIG_IsTmpObj(res3
)) {
22555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22557 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22566 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22567 PyObject
*resultobj
= 0;
22568 wxDC
*arg1
= (wxDC
*) 0 ;
22577 PyObject
* obj0
= 0 ;
22578 PyObject
* obj1
= 0 ;
22579 PyObject
* obj2
= 0 ;
22580 char * kwnames
[] = {
22581 (char *) "self",(char *) "x",(char *) "y", NULL
22584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22586 if (!SWIG_IsOK(res1
)) {
22587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22589 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22590 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22591 if (!SWIG_IsOK(ecode2
)) {
22592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22594 arg2
= static_cast< double >(val2
);
22595 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22596 if (!SWIG_IsOK(ecode3
)) {
22597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22599 arg3
= static_cast< double >(val3
);
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 (arg1
)->SetUserScale(arg2
,arg3
);
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22606 resultobj
= SWIG_Py_Void();
22613 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22614 PyObject
*resultobj
= 0;
22615 wxDC
*arg1
= (wxDC
*) 0 ;
22616 double *arg2
= (double *) 0 ;
22617 double *arg3
= (double *) 0 ;
22621 int res2
= SWIG_TMPOBJ
;
22623 int res3
= SWIG_TMPOBJ
;
22624 PyObject
*swig_obj
[1] ;
22628 if (!args
) SWIG_fail
;
22629 swig_obj
[0] = args
;
22630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22631 if (!SWIG_IsOK(res1
)) {
22632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22634 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22637 (arg1
)->GetLogicalScale(arg2
,arg3
);
22638 wxPyEndAllowThreads(__tstate
);
22639 if (PyErr_Occurred()) SWIG_fail
;
22641 resultobj
= SWIG_Py_Void();
22642 if (SWIG_IsTmpObj(res2
)) {
22643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22645 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22646 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22648 if (SWIG_IsTmpObj(res3
)) {
22649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22651 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22660 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22661 PyObject
*resultobj
= 0;
22662 wxDC
*arg1
= (wxDC
*) 0 ;
22671 PyObject
* obj0
= 0 ;
22672 PyObject
* obj1
= 0 ;
22673 PyObject
* obj2
= 0 ;
22674 char * kwnames
[] = {
22675 (char *) "self",(char *) "x",(char *) "y", NULL
22678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22680 if (!SWIG_IsOK(res1
)) {
22681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22683 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22684 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22685 if (!SWIG_IsOK(ecode2
)) {
22686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22688 arg2
= static_cast< double >(val2
);
22689 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22690 if (!SWIG_IsOK(ecode3
)) {
22691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22693 arg3
= static_cast< double >(val3
);
22695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22696 (arg1
)->SetLogicalScale(arg2
,arg3
);
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22700 resultobj
= SWIG_Py_Void();
22707 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22708 PyObject
*resultobj
= 0;
22709 wxDC
*arg1
= (wxDC
*) 0 ;
22713 PyObject
*swig_obj
[1] ;
22715 if (!args
) SWIG_fail
;
22716 swig_obj
[0] = args
;
22717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22718 if (!SWIG_IsOK(res1
)) {
22719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22721 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22724 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22725 wxPyEndAllowThreads(__tstate
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22728 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22735 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22736 PyObject
*resultobj
= 0;
22737 wxDC
*arg1
= (wxDC
*) 0 ;
22738 int *arg2
= (int *) 0 ;
22739 int *arg3
= (int *) 0 ;
22743 int res2
= SWIG_TMPOBJ
;
22745 int res3
= SWIG_TMPOBJ
;
22746 PyObject
*swig_obj
[1] ;
22750 if (!args
) SWIG_fail
;
22751 swig_obj
[0] = args
;
22752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22753 if (!SWIG_IsOK(res1
)) {
22754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22756 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22759 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22763 resultobj
= SWIG_Py_Void();
22764 if (SWIG_IsTmpObj(res2
)) {
22765 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22767 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22768 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22770 if (SWIG_IsTmpObj(res3
)) {
22771 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22773 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22774 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22782 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22783 PyObject
*resultobj
= 0;
22784 wxDC
*arg1
= (wxDC
*) 0 ;
22793 PyObject
* obj0
= 0 ;
22794 PyObject
* obj1
= 0 ;
22795 PyObject
* obj2
= 0 ;
22796 char * kwnames
[] = {
22797 (char *) "self",(char *) "x",(char *) "y", NULL
22800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22802 if (!SWIG_IsOK(res1
)) {
22803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22805 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22807 if (!SWIG_IsOK(ecode2
)) {
22808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22810 arg2
= static_cast< int >(val2
);
22811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22812 if (!SWIG_IsOK(ecode3
)) {
22813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22815 arg3
= static_cast< int >(val3
);
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22818 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22819 wxPyEndAllowThreads(__tstate
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22822 resultobj
= SWIG_Py_Void();
22829 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
= 0;
22831 wxDC
*arg1
= (wxDC
*) 0 ;
22832 wxPoint
*arg2
= 0 ;
22836 PyObject
* obj0
= 0 ;
22837 PyObject
* obj1
= 0 ;
22838 char * kwnames
[] = {
22839 (char *) "self",(char *) "point", NULL
22842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22844 if (!SWIG_IsOK(res1
)) {
22845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22847 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22850 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22855 wxPyEndAllowThreads(__tstate
);
22856 if (PyErr_Occurred()) SWIG_fail
;
22858 resultobj
= SWIG_Py_Void();
22865 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22866 PyObject
*resultobj
= 0;
22867 wxDC
*arg1
= (wxDC
*) 0 ;
22871 PyObject
*swig_obj
[1] ;
22873 if (!args
) SWIG_fail
;
22874 swig_obj
[0] = args
;
22875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22876 if (!SWIG_IsOK(res1
)) {
22877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22879 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22882 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22883 wxPyEndAllowThreads(__tstate
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22886 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22893 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22894 PyObject
*resultobj
= 0;
22895 wxDC
*arg1
= (wxDC
*) 0 ;
22896 int *arg2
= (int *) 0 ;
22897 int *arg3
= (int *) 0 ;
22901 int res2
= SWIG_TMPOBJ
;
22903 int res3
= SWIG_TMPOBJ
;
22904 PyObject
*swig_obj
[1] ;
22908 if (!args
) SWIG_fail
;
22909 swig_obj
[0] = args
;
22910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22911 if (!SWIG_IsOK(res1
)) {
22912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22914 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22917 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22918 wxPyEndAllowThreads(__tstate
);
22919 if (PyErr_Occurred()) SWIG_fail
;
22921 resultobj
= SWIG_Py_Void();
22922 if (SWIG_IsTmpObj(res2
)) {
22923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22925 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22928 if (SWIG_IsTmpObj(res3
)) {
22929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22931 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22940 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22941 PyObject
*resultobj
= 0;
22942 wxDC
*arg1
= (wxDC
*) 0 ;
22951 PyObject
* obj0
= 0 ;
22952 PyObject
* obj1
= 0 ;
22953 PyObject
* obj2
= 0 ;
22954 char * kwnames
[] = {
22955 (char *) "self",(char *) "x",(char *) "y", NULL
22958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22960 if (!SWIG_IsOK(res1
)) {
22961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22963 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22965 if (!SWIG_IsOK(ecode2
)) {
22966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22968 arg2
= static_cast< int >(val2
);
22969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22970 if (!SWIG_IsOK(ecode3
)) {
22971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22973 arg3
= static_cast< int >(val3
);
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 resultobj
= SWIG_Py_Void();
22987 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22988 PyObject
*resultobj
= 0;
22989 wxDC
*arg1
= (wxDC
*) 0 ;
22990 wxPoint
*arg2
= 0 ;
22994 PyObject
* obj0
= 0 ;
22995 PyObject
* obj1
= 0 ;
22996 char * kwnames
[] = {
22997 (char *) "self",(char *) "point", NULL
23000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23002 if (!SWIG_IsOK(res1
)) {
23003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23005 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23008 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23012 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23013 wxPyEndAllowThreads(__tstate
);
23014 if (PyErr_Occurred()) SWIG_fail
;
23016 resultobj
= SWIG_Py_Void();
23023 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23024 PyObject
*resultobj
= 0;
23025 wxDC
*arg1
= (wxDC
*) 0 ;
23034 PyObject
* obj0
= 0 ;
23035 PyObject
* obj1
= 0 ;
23036 PyObject
* obj2
= 0 ;
23037 char * kwnames
[] = {
23038 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23043 if (!SWIG_IsOK(res1
)) {
23044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23047 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23048 if (!SWIG_IsOK(ecode2
)) {
23049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23051 arg2
= static_cast< bool >(val2
);
23052 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23053 if (!SWIG_IsOK(ecode3
)) {
23054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23056 arg3
= static_cast< bool >(val3
);
23058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23059 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23060 wxPyEndAllowThreads(__tstate
);
23061 if (PyErr_Occurred()) SWIG_fail
;
23063 resultobj
= SWIG_Py_Void();
23070 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23071 PyObject
*resultobj
= 0;
23072 wxDC
*arg1
= (wxDC
*) 0 ;
23076 PyObject
*swig_obj
[1] ;
23078 if (!args
) SWIG_fail
;
23079 swig_obj
[0] = args
;
23080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23081 if (!SWIG_IsOK(res1
)) {
23082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23084 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23087 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23088 wxPyEndAllowThreads(__tstate
);
23089 if (PyErr_Occurred()) SWIG_fail
;
23091 resultobj
= SWIG_From_int(static_cast< int >(result
));
23098 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23099 PyObject
*resultobj
= 0;
23100 wxDC
*arg1
= (wxDC
*) 0 ;
23106 PyObject
* obj0
= 0 ;
23107 PyObject
* obj1
= 0 ;
23108 char * kwnames
[] = {
23109 (char *) "self",(char *) "function", NULL
23112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23114 if (!SWIG_IsOK(res1
)) {
23115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23117 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23119 if (!SWIG_IsOK(ecode2
)) {
23120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23122 arg2
= static_cast< int >(val2
);
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 (arg1
)->SetLogicalFunction(arg2
);
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23129 resultobj
= SWIG_Py_Void();
23136 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23137 PyObject
*resultobj
= 0;
23138 wxDC
*arg1
= (wxDC
*) 0 ;
23141 PyObject
*swig_obj
[1] ;
23143 if (!args
) SWIG_fail
;
23144 swig_obj
[0] = args
;
23145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23146 if (!SWIG_IsOK(res1
)) {
23147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23149 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23152 (arg1
)->ComputeScaleAndOrigin();
23153 wxPyEndAllowThreads(__tstate
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23156 resultobj
= SWIG_Py_Void();
23163 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23164 PyObject
*resultobj
= 0;
23165 wxDC
*arg1
= (wxDC
*) 0 ;
23174 PyObject
* obj0
= 0 ;
23175 PyObject
* obj1
= 0 ;
23176 PyObject
* obj2
= 0 ;
23177 char * kwnames
[] = {
23178 (char *) "self",(char *) "x",(char *) "y", NULL
23181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23183 if (!SWIG_IsOK(res1
)) {
23184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23186 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23188 if (!SWIG_IsOK(ecode2
)) {
23189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23191 arg2
= static_cast< int >(val2
);
23192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23193 if (!SWIG_IsOK(ecode3
)) {
23194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23196 arg3
= static_cast< int >(val3
);
23198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23199 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23203 resultobj
= SWIG_Py_Void();
23210 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23211 PyObject
*resultobj
= 0;
23212 wxDC
*arg1
= (wxDC
*) 0 ;
23213 wxPoint
*arg2
= 0 ;
23217 PyObject
* obj0
= 0 ;
23218 PyObject
* obj1
= 0 ;
23219 char * kwnames
[] = {
23220 (char *) "self",(char *) "point", NULL
23223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",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_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23228 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23231 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23235 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 resultobj
= SWIG_Py_Void();
23246 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23247 PyObject
*resultobj
= 0;
23248 wxDC
*arg1
= (wxDC
*) 0 ;
23251 PyObject
*swig_obj
[1] ;
23253 if (!args
) SWIG_fail
;
23254 swig_obj
[0] = args
;
23255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23256 if (!SWIG_IsOK(res1
)) {
23257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23259 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23262 (arg1
)->ResetBoundingBox();
23263 wxPyEndAllowThreads(__tstate
);
23264 if (PyErr_Occurred()) SWIG_fail
;
23266 resultobj
= SWIG_Py_Void();
23273 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23274 PyObject
*resultobj
= 0;
23275 wxDC
*arg1
= (wxDC
*) 0 ;
23279 PyObject
*swig_obj
[1] ;
23281 if (!args
) SWIG_fail
;
23282 swig_obj
[0] = args
;
23283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23284 if (!SWIG_IsOK(res1
)) {
23285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23287 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23290 result
= (int)((wxDC
const *)arg1
)->MinX();
23291 wxPyEndAllowThreads(__tstate
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23294 resultobj
= SWIG_From_int(static_cast< int >(result
));
23301 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23302 PyObject
*resultobj
= 0;
23303 wxDC
*arg1
= (wxDC
*) 0 ;
23307 PyObject
*swig_obj
[1] ;
23309 if (!args
) SWIG_fail
;
23310 swig_obj
[0] = args
;
23311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23312 if (!SWIG_IsOK(res1
)) {
23313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 result
= (int)((wxDC
const *)arg1
)->MaxX();
23319 wxPyEndAllowThreads(__tstate
);
23320 if (PyErr_Occurred()) SWIG_fail
;
23322 resultobj
= SWIG_From_int(static_cast< int >(result
));
23329 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23330 PyObject
*resultobj
= 0;
23331 wxDC
*arg1
= (wxDC
*) 0 ;
23335 PyObject
*swig_obj
[1] ;
23337 if (!args
) SWIG_fail
;
23338 swig_obj
[0] = args
;
23339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23340 if (!SWIG_IsOK(res1
)) {
23341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23343 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 result
= (int)((wxDC
const *)arg1
)->MinY();
23347 wxPyEndAllowThreads(__tstate
);
23348 if (PyErr_Occurred()) SWIG_fail
;
23350 resultobj
= SWIG_From_int(static_cast< int >(result
));
23357 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23358 PyObject
*resultobj
= 0;
23359 wxDC
*arg1
= (wxDC
*) 0 ;
23363 PyObject
*swig_obj
[1] ;
23365 if (!args
) SWIG_fail
;
23366 swig_obj
[0] = args
;
23367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23368 if (!SWIG_IsOK(res1
)) {
23369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 result
= (int)((wxDC
const *)arg1
)->MaxY();
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23378 resultobj
= SWIG_From_int(static_cast< int >(result
));
23385 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23386 PyObject
*resultobj
= 0;
23387 wxDC
*arg1
= (wxDC
*) 0 ;
23388 int *arg2
= (int *) 0 ;
23389 int *arg3
= (int *) 0 ;
23390 int *arg4
= (int *) 0 ;
23391 int *arg5
= (int *) 0 ;
23395 int res2
= SWIG_TMPOBJ
;
23397 int res3
= SWIG_TMPOBJ
;
23399 int res4
= SWIG_TMPOBJ
;
23401 int res5
= SWIG_TMPOBJ
;
23402 PyObject
*swig_obj
[1] ;
23408 if (!args
) SWIG_fail
;
23409 swig_obj
[0] = args
;
23410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23411 if (!SWIG_IsOK(res1
)) {
23412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23414 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23421 resultobj
= SWIG_Py_Void();
23422 if (SWIG_IsTmpObj(res2
)) {
23423 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23425 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23426 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23428 if (SWIG_IsTmpObj(res3
)) {
23429 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23431 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23432 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23434 if (SWIG_IsTmpObj(res4
)) {
23435 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23437 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23438 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23440 if (SWIG_IsTmpObj(res5
)) {
23441 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23443 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23444 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23452 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23453 PyObject
*resultobj
= 0;
23454 wxDC
*arg1
= (wxDC
*) 0 ;
23455 wxLayoutDirection result
;
23458 PyObject
*swig_obj
[1] ;
23460 if (!args
) SWIG_fail
;
23461 swig_obj
[0] = args
;
23462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23463 if (!SWIG_IsOK(res1
)) {
23464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23466 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23469 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 resultobj
= SWIG_From_int(static_cast< int >(result
));
23480 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
= 0;
23482 wxDC
*arg1
= (wxDC
*) 0 ;
23483 wxLayoutDirection arg2
;
23488 PyObject
* obj0
= 0 ;
23489 PyObject
* obj1
= 0 ;
23490 char * kwnames
[] = {
23491 (char *) "self",(char *) "dir", NULL
23494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23496 if (!SWIG_IsOK(res1
)) {
23497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23501 if (!SWIG_IsOK(ecode2
)) {
23502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23504 arg2
= static_cast< wxLayoutDirection
>(val2
);
23506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23507 (arg1
)->SetLayoutDirection(arg2
);
23508 wxPyEndAllowThreads(__tstate
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23511 resultobj
= SWIG_Py_Void();
23518 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23519 PyObject
*resultobj
= 0;
23520 wxDC
*arg1
= (wxDC
*) 0 ;
23524 PyObject
*swig_obj
[1] ;
23526 if (!args
) SWIG_fail
;
23527 swig_obj
[0] = args
;
23528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23529 if (!SWIG_IsOK(res1
)) {
23530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23532 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23535 result
= (long)(arg1
)->GetHDC();
23536 wxPyEndAllowThreads(__tstate
);
23537 if (PyErr_Occurred()) SWIG_fail
;
23539 resultobj
= SWIG_From_long(static_cast< long >(result
));
23546 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23547 PyObject
*resultobj
= 0;
23548 wxDC
*arg1
= (wxDC
*) 0 ;
23549 PyObject
*arg2
= (PyObject
*) 0 ;
23550 PyObject
*arg3
= (PyObject
*) 0 ;
23551 PyObject
*arg4
= (PyObject
*) 0 ;
23552 PyObject
*result
= 0 ;
23555 PyObject
* obj0
= 0 ;
23556 PyObject
* obj1
= 0 ;
23557 PyObject
* obj2
= 0 ;
23558 PyObject
* obj3
= 0 ;
23559 char * kwnames
[] = {
23560 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23565 if (!SWIG_IsOK(res1
)) {
23566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23568 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23574 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23575 wxPyEndAllowThreads(__tstate
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23578 resultobj
= result
;
23585 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23586 PyObject
*resultobj
= 0;
23587 wxDC
*arg1
= (wxDC
*) 0 ;
23588 PyObject
*arg2
= (PyObject
*) 0 ;
23589 PyObject
*arg3
= (PyObject
*) 0 ;
23590 PyObject
*arg4
= (PyObject
*) 0 ;
23591 PyObject
*result
= 0 ;
23594 PyObject
* obj0
= 0 ;
23595 PyObject
* obj1
= 0 ;
23596 PyObject
* obj2
= 0 ;
23597 PyObject
* obj3
= 0 ;
23598 char * kwnames
[] = {
23599 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23604 if (!SWIG_IsOK(res1
)) {
23605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23607 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23613 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23614 wxPyEndAllowThreads(__tstate
);
23615 if (PyErr_Occurred()) SWIG_fail
;
23617 resultobj
= result
;
23624 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23625 PyObject
*resultobj
= 0;
23626 wxDC
*arg1
= (wxDC
*) 0 ;
23627 PyObject
*arg2
= (PyObject
*) 0 ;
23628 PyObject
*arg3
= (PyObject
*) 0 ;
23629 PyObject
*arg4
= (PyObject
*) 0 ;
23630 PyObject
*result
= 0 ;
23633 PyObject
* obj0
= 0 ;
23634 PyObject
* obj1
= 0 ;
23635 PyObject
* obj2
= 0 ;
23636 PyObject
* obj3
= 0 ;
23637 char * kwnames
[] = {
23638 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23643 if (!SWIG_IsOK(res1
)) {
23644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23646 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23652 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23653 wxPyEndAllowThreads(__tstate
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23656 resultobj
= result
;
23663 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23664 PyObject
*resultobj
= 0;
23665 wxDC
*arg1
= (wxDC
*) 0 ;
23666 PyObject
*arg2
= (PyObject
*) 0 ;
23667 PyObject
*arg3
= (PyObject
*) 0 ;
23668 PyObject
*arg4
= (PyObject
*) 0 ;
23669 PyObject
*result
= 0 ;
23672 PyObject
* obj0
= 0 ;
23673 PyObject
* obj1
= 0 ;
23674 PyObject
* obj2
= 0 ;
23675 PyObject
* obj3
= 0 ;
23676 char * kwnames
[] = {
23677 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23682 if (!SWIG_IsOK(res1
)) {
23683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23685 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23691 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23695 resultobj
= result
;
23702 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23703 PyObject
*resultobj
= 0;
23704 wxDC
*arg1
= (wxDC
*) 0 ;
23705 PyObject
*arg2
= (PyObject
*) 0 ;
23706 PyObject
*arg3
= (PyObject
*) 0 ;
23707 PyObject
*arg4
= (PyObject
*) 0 ;
23708 PyObject
*result
= 0 ;
23711 PyObject
* obj0
= 0 ;
23712 PyObject
* obj1
= 0 ;
23713 PyObject
* obj2
= 0 ;
23714 PyObject
* obj3
= 0 ;
23715 char * kwnames
[] = {
23716 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23721 if (!SWIG_IsOK(res1
)) {
23722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23724 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23730 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23734 resultobj
= result
;
23741 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23742 PyObject
*resultobj
= 0;
23743 wxDC
*arg1
= (wxDC
*) 0 ;
23744 PyObject
*arg2
= (PyObject
*) 0 ;
23745 PyObject
*arg3
= (PyObject
*) 0 ;
23746 PyObject
*arg4
= (PyObject
*) 0 ;
23747 PyObject
*arg5
= (PyObject
*) 0 ;
23748 PyObject
*result
= 0 ;
23751 PyObject
* obj0
= 0 ;
23752 PyObject
* obj1
= 0 ;
23753 PyObject
* obj2
= 0 ;
23754 PyObject
* obj3
= 0 ;
23755 PyObject
* obj4
= 0 ;
23756 char * kwnames
[] = {
23757 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23762 if (!SWIG_IsOK(res1
)) {
23763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23765 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23772 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23773 wxPyEndAllowThreads(__tstate
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23776 resultobj
= result
;
23783 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23785 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23786 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23787 return SWIG_Py_Void();
23790 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23791 PyObject
*resultobj
= 0;
23792 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
23793 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23794 wxMemoryDC
*result
= 0 ;
23797 PyObject
* obj0
= 0 ;
23798 char * kwnames
[] = {
23799 (char *) "bitmap", NULL
23802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23804 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23805 if (!SWIG_IsOK(res1
)) {
23806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23811 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23814 if (!wxPyCheckForApp()) SWIG_fail
;
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23816 result
= (wxMemoryDC
*)new wxMemoryDC((wxBitmap
const &)*arg1
);
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23827 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23828 PyObject
*resultobj
= 0;
23829 wxDC
*arg1
= (wxDC
*) 0 ;
23830 wxMemoryDC
*result
= 0 ;
23833 PyObject
* obj0
= 0 ;
23834 char * kwnames
[] = {
23835 (char *) "oldDC", NULL
23838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23840 if (!SWIG_IsOK(res1
)) {
23841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23843 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23845 if (!wxPyCheckForApp()) SWIG_fail
;
23846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23847 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23858 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23859 PyObject
*resultobj
= 0;
23860 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23861 wxBitmap
*arg2
= 0 ;
23866 PyObject
* obj0
= 0 ;
23867 PyObject
* obj1
= 0 ;
23868 char * kwnames
[] = {
23869 (char *) "self",(char *) "bitmap", NULL
23872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23874 if (!SWIG_IsOK(res1
)) {
23875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23877 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23878 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23879 if (!SWIG_IsOK(res2
)) {
23880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23885 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23888 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23889 wxPyEndAllowThreads(__tstate
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23892 resultobj
= SWIG_Py_Void();
23899 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23901 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23902 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23903 return SWIG_Py_Void();
23906 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23907 return SWIG_Python_InitShadowInstance(args
);
23910 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23911 PyObject
*resultobj
= 0;
23912 wxDC
*arg1
= (wxDC
*) 0 ;
23913 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23914 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23915 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23916 wxBufferedDC
*result
= 0 ;
23924 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23926 if (!SWIG_IsOK(res1
)) {
23927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23929 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23931 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23932 if (!SWIG_IsOK(res2
)) {
23933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23938 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23941 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23942 if (!SWIG_IsOK(ecode3
)) {
23943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23945 arg3
= static_cast< int >(val3
);
23948 if (!wxPyCheckForApp()) SWIG_fail
;
23949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23950 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23951 wxPyEndAllowThreads(__tstate
);
23952 if (PyErr_Occurred()) SWIG_fail
;
23954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23961 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23962 PyObject
*resultobj
= 0;
23963 wxDC
*arg1
= (wxDC
*) 0 ;
23965 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23966 wxBufferedDC
*result
= 0 ;
23973 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23975 if (!SWIG_IsOK(res1
)) {
23976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23978 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23981 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23984 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23985 if (!SWIG_IsOK(ecode3
)) {
23986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23988 arg3
= static_cast< int >(val3
);
23991 if (!wxPyCheckForApp()) SWIG_fail
;
23992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23993 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23994 wxPyEndAllowThreads(__tstate
);
23995 if (PyErr_Occurred()) SWIG_fail
;
23997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24004 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24008 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24010 if ((argc
>= 1) && (argc
<= 3)) {
24014 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
24015 _v
= SWIG_CheckState(res
);
24017 if (!_v
) goto check_1
;
24019 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24023 if ((argc
>= 2) && (argc
<= 3)) {
24024 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24028 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24033 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24034 PyObject
*resultobj
= 0;
24035 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24038 PyObject
*swig_obj
[1] ;
24040 if (!args
) SWIG_fail
;
24041 swig_obj
[0] = args
;
24042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24043 if (!SWIG_IsOK(res1
)) {
24044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24046 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24051 wxPyEndAllowThreads(__tstate
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24054 resultobj
= SWIG_Py_Void();
24061 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24062 PyObject
*resultobj
= 0;
24063 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24066 PyObject
*swig_obj
[1] ;
24068 if (!args
) SWIG_fail
;
24069 swig_obj
[0] = args
;
24070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24071 if (!SWIG_IsOK(res1
)) {
24072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24074 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24078 wxPyEndAllowThreads(__tstate
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24081 resultobj
= SWIG_Py_Void();
24088 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24091 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24092 return SWIG_Py_Void();
24095 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24096 return SWIG_Python_InitShadowInstance(args
);
24099 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24100 PyObject
*resultobj
= 0;
24101 wxWindow
*arg1
= (wxWindow
*) 0 ;
24102 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24103 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24104 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24105 wxBufferedPaintDC
*result
= 0 ;
24112 PyObject
* obj0
= 0 ;
24113 PyObject
* obj1
= 0 ;
24114 PyObject
* obj2
= 0 ;
24115 char * kwnames
[] = {
24116 (char *) "window",(char *) "buffer",(char *) "style", NULL
24119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24121 if (!SWIG_IsOK(res1
)) {
24122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24124 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24126 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24127 if (!SWIG_IsOK(res2
)) {
24128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24133 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24137 if (!SWIG_IsOK(ecode3
)) {
24138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24140 arg3
= static_cast< int >(val3
);
24143 if (!wxPyCheckForApp()) SWIG_fail
;
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24156 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24159 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24160 return SWIG_Py_Void();
24163 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24164 return SWIG_Python_InitShadowInstance(args
);
24167 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24168 PyObject
*resultobj
= 0;
24169 wxScreenDC
*result
= 0 ;
24171 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24173 if (!wxPyCheckForApp()) SWIG_fail
;
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 result
= (wxScreenDC
*)new wxScreenDC();
24176 wxPyEndAllowThreads(__tstate
);
24177 if (PyErr_Occurred()) SWIG_fail
;
24179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24186 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24187 PyObject
*resultobj
= 0;
24188 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24189 wxWindow
*arg2
= (wxWindow
*) 0 ;
24195 PyObject
* obj0
= 0 ;
24196 PyObject
* obj1
= 0 ;
24197 char * kwnames
[] = {
24198 (char *) "self",(char *) "window", NULL
24201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24203 if (!SWIG_IsOK(res1
)) {
24204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24206 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24207 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24208 if (!SWIG_IsOK(res2
)) {
24209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24211 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24214 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24215 wxPyEndAllowThreads(__tstate
);
24216 if (PyErr_Occurred()) SWIG_fail
;
24219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24227 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24228 PyObject
*resultobj
= 0;
24229 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24230 wxRect
*arg2
= (wxRect
*) NULL
;
24236 PyObject
* obj0
= 0 ;
24237 PyObject
* obj1
= 0 ;
24238 char * kwnames
[] = {
24239 (char *) "self",(char *) "rect", NULL
24242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24244 if (!SWIG_IsOK(res1
)) {
24245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24247 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24249 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24250 if (!SWIG_IsOK(res2
)) {
24251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24253 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24270 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24271 PyObject
*resultobj
= 0;
24272 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24276 PyObject
*swig_obj
[1] ;
24278 if (!args
) SWIG_fail
;
24279 swig_obj
[0] = args
;
24280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24281 if (!SWIG_IsOK(res1
)) {
24282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24284 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24287 result
= (bool)(arg1
)->EndDrawingOnTop();
24288 wxPyEndAllowThreads(__tstate
);
24289 if (PyErr_Occurred()) SWIG_fail
;
24292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24300 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24302 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24303 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24304 return SWIG_Py_Void();
24307 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24308 return SWIG_Python_InitShadowInstance(args
);
24311 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24312 PyObject
*resultobj
= 0;
24313 wxWindow
*arg1
= (wxWindow
*) 0 ;
24314 wxWindowDC
*result
= 0 ;
24317 PyObject
* obj0
= 0 ;
24318 char * kwnames
[] = {
24319 (char *) "win", NULL
24322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24324 if (!SWIG_IsOK(res1
)) {
24325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24327 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24329 if (!wxPyCheckForApp()) SWIG_fail
;
24330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24331 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24332 wxPyEndAllowThreads(__tstate
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24342 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24345 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24346 return SWIG_Py_Void();
24349 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24350 return SWIG_Python_InitShadowInstance(args
);
24353 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
= 0;
24355 wxWindow
*arg1
= (wxWindow
*) 0 ;
24356 wxClientDC
*result
= 0 ;
24359 PyObject
* obj0
= 0 ;
24360 char * kwnames
[] = {
24361 (char *) "win", NULL
24364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24366 if (!SWIG_IsOK(res1
)) {
24367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24369 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24371 if (!wxPyCheckForApp()) SWIG_fail
;
24372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24373 result
= (wxClientDC
*)new wxClientDC(arg1
);
24374 wxPyEndAllowThreads(__tstate
);
24375 if (PyErr_Occurred()) SWIG_fail
;
24377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24384 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24387 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24388 return SWIG_Py_Void();
24391 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24392 return SWIG_Python_InitShadowInstance(args
);
24395 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24396 PyObject
*resultobj
= 0;
24397 wxWindow
*arg1
= (wxWindow
*) 0 ;
24398 wxPaintDC
*result
= 0 ;
24401 PyObject
* obj0
= 0 ;
24402 char * kwnames
[] = {
24403 (char *) "win", NULL
24406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24408 if (!SWIG_IsOK(res1
)) {
24409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24411 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24413 if (!wxPyCheckForApp()) SWIG_fail
;
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24426 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24428 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24429 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24430 return SWIG_Py_Void();
24433 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24434 return SWIG_Python_InitShadowInstance(args
);
24437 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24438 PyObject
*resultobj
= 0;
24439 wxWindow
*arg1
= (wxWindow
*) 0 ;
24443 PyObject
* obj0
= 0 ;
24444 char * kwnames
[] = {
24445 (char *) "window", NULL
24448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24450 if (!SWIG_IsOK(res1
)) {
24451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24453 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24456 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24457 wxPyEndAllowThreads(__tstate
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24461 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24469 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24470 PyObject
*resultobj
= 0;
24473 wxMirrorDC
*result
= 0 ;
24478 PyObject
* obj0
= 0 ;
24479 PyObject
* obj1
= 0 ;
24480 char * kwnames
[] = {
24481 (char *) "dc",(char *) "mirror", NULL
24484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24485 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24486 if (!SWIG_IsOK(res1
)) {
24487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24492 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24493 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24494 if (!SWIG_IsOK(ecode2
)) {
24495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24497 arg2
= static_cast< bool >(val2
);
24499 if (!wxPyCheckForApp()) SWIG_fail
;
24500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24501 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24502 wxPyEndAllowThreads(__tstate
);
24503 if (PyErr_Occurred()) SWIG_fail
;
24505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24512 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24514 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24515 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24516 return SWIG_Py_Void();
24519 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24520 return SWIG_Python_InitShadowInstance(args
);
24523 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
= 0;
24525 wxPrintData
*arg1
= 0 ;
24526 wxPostScriptDC
*result
= 0 ;
24529 PyObject
* obj0
= 0 ;
24530 char * kwnames
[] = {
24531 (char *) "printData", NULL
24534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24535 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24536 if (!SWIG_IsOK(res1
)) {
24537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24542 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24544 if (!wxPyCheckForApp()) SWIG_fail
;
24545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24546 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24557 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24558 PyObject
*resultobj
= 0;
24559 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24560 wxPrintData
*result
= 0 ;
24563 PyObject
*swig_obj
[1] ;
24565 if (!args
) SWIG_fail
;
24566 swig_obj
[0] = args
;
24567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24568 if (!SWIG_IsOK(res1
)) {
24569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24571 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24575 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24576 result
= (wxPrintData
*) &_result_ref
;
24578 wxPyEndAllowThreads(__tstate
);
24579 if (PyErr_Occurred()) SWIG_fail
;
24581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24588 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24589 PyObject
*resultobj
= 0;
24590 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24591 wxPrintData
*arg2
= 0 ;
24596 PyObject
* obj0
= 0 ;
24597 PyObject
* obj1
= 0 ;
24598 char * kwnames
[] = {
24599 (char *) "self",(char *) "data", NULL
24602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24604 if (!SWIG_IsOK(res1
)) {
24605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24607 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24608 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24609 if (!SWIG_IsOK(res2
)) {
24610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24615 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24618 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24619 wxPyEndAllowThreads(__tstate
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24622 resultobj
= SWIG_Py_Void();
24629 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24630 PyObject
*resultobj
= 0;
24634 PyObject
* obj0
= 0 ;
24635 char * kwnames
[] = {
24636 (char *) "ppi", NULL
24639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24640 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24641 if (!SWIG_IsOK(ecode1
)) {
24642 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24644 arg1
= static_cast< int >(val1
);
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 wxPostScriptDC::SetResolution(arg1
);
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24651 resultobj
= SWIG_Py_Void();
24658 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24659 PyObject
*resultobj
= 0;
24662 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24665 result
= (int)wxPostScriptDC::GetResolution();
24666 wxPyEndAllowThreads(__tstate
);
24667 if (PyErr_Occurred()) SWIG_fail
;
24669 resultobj
= SWIG_From_int(static_cast< int >(result
));
24676 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24679 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24680 return SWIG_Py_Void();
24683 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24684 return SWIG_Python_InitShadowInstance(args
);
24687 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24688 PyObject
*resultobj
= 0;
24689 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24690 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24691 wxMetaFile
*result
= 0 ;
24692 bool temp1
= false ;
24693 PyObject
* obj0
= 0 ;
24694 char * kwnames
[] = {
24695 (char *) "filename", NULL
24698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24701 arg1
= wxString_in_helper(obj0
);
24702 if (arg1
== NULL
) SWIG_fail
;
24707 if (!wxPyCheckForApp()) SWIG_fail
;
24708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24709 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24728 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24729 PyObject
*resultobj
= 0;
24730 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24733 PyObject
*swig_obj
[1] ;
24735 if (!args
) SWIG_fail
;
24736 swig_obj
[0] = args
;
24737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24738 if (!SWIG_IsOK(res1
)) {
24739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24741 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24746 wxPyEndAllowThreads(__tstate
);
24747 if (PyErr_Occurred()) SWIG_fail
;
24749 resultobj
= SWIG_Py_Void();
24756 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24757 PyObject
*resultobj
= 0;
24758 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24762 PyObject
*swig_obj
[1] ;
24764 if (!args
) SWIG_fail
;
24765 swig_obj
[0] = args
;
24766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24767 if (!SWIG_IsOK(res1
)) {
24768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24770 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 result
= (bool)(arg1
)->IsOk();
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24786 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24787 PyObject
*resultobj
= 0;
24788 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24789 int arg2
= (int) 0 ;
24790 int arg3
= (int) 0 ;
24798 PyObject
* obj0
= 0 ;
24799 PyObject
* obj1
= 0 ;
24800 PyObject
* obj2
= 0 ;
24801 char * kwnames
[] = {
24802 (char *) "self",(char *) "width",(char *) "height", NULL
24805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24807 if (!SWIG_IsOK(res1
)) {
24808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24810 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24813 if (!SWIG_IsOK(ecode2
)) {
24814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
24816 arg2
= static_cast< int >(val2
);
24819 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24820 if (!SWIG_IsOK(ecode3
)) {
24821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
24823 arg3
= static_cast< int >(val3
);
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
24828 wxPyEndAllowThreads(__tstate
);
24829 if (PyErr_Occurred()) SWIG_fail
;
24832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24840 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24841 PyObject
*resultobj
= 0;
24842 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24846 PyObject
*swig_obj
[1] ;
24848 if (!args
) SWIG_fail
;
24849 swig_obj
[0] = args
;
24850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24851 if (!SWIG_IsOK(res1
)) {
24852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24854 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24857 result
= (arg1
)->GetSize();
24858 wxPyEndAllowThreads(__tstate
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24861 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24868 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24869 PyObject
*resultobj
= 0;
24870 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24874 PyObject
*swig_obj
[1] ;
24876 if (!args
) SWIG_fail
;
24877 swig_obj
[0] = args
;
24878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24879 if (!SWIG_IsOK(res1
)) {
24880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24882 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 result
= (int)(arg1
)->GetWidth();
24886 wxPyEndAllowThreads(__tstate
);
24887 if (PyErr_Occurred()) SWIG_fail
;
24889 resultobj
= SWIG_From_int(static_cast< int >(result
));
24896 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24897 PyObject
*resultobj
= 0;
24898 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24902 PyObject
*swig_obj
[1] ;
24904 if (!args
) SWIG_fail
;
24905 swig_obj
[0] = args
;
24906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24907 if (!SWIG_IsOK(res1
)) {
24908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24910 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24913 result
= (int)(arg1
)->GetHeight();
24914 wxPyEndAllowThreads(__tstate
);
24915 if (PyErr_Occurred()) SWIG_fail
;
24917 resultobj
= SWIG_From_int(static_cast< int >(result
));
24924 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24925 PyObject
*resultobj
= 0;
24926 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24927 wxString
*result
= 0 ;
24930 PyObject
*swig_obj
[1] ;
24932 if (!args
) SWIG_fail
;
24933 swig_obj
[0] = args
;
24934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24935 if (!SWIG_IsOK(res1
)) {
24936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
24938 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
24943 result
= (wxString
*) &_result_ref
;
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24950 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24952 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24961 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24963 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24964 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24965 return SWIG_Py_Void();
24968 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24969 return SWIG_Python_InitShadowInstance(args
);
24972 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24973 PyObject
*resultobj
= 0;
24974 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24975 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24976 int arg2
= (int) 0 ;
24977 int arg3
= (int) 0 ;
24978 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24979 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24980 wxMetaFileDC
*result
= 0 ;
24981 bool temp1
= false ;
24986 bool temp4
= false ;
24987 PyObject
* obj0
= 0 ;
24988 PyObject
* obj1
= 0 ;
24989 PyObject
* obj2
= 0 ;
24990 PyObject
* obj3
= 0 ;
24991 char * kwnames
[] = {
24992 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24998 arg1
= wxString_in_helper(obj0
);
24999 if (arg1
== NULL
) SWIG_fail
;
25004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25005 if (!SWIG_IsOK(ecode2
)) {
25006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25008 arg2
= static_cast< int >(val2
);
25011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25012 if (!SWIG_IsOK(ecode3
)) {
25013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25015 arg3
= static_cast< int >(val3
);
25019 arg4
= wxString_in_helper(obj3
);
25020 if (arg4
== NULL
) SWIG_fail
;
25025 if (!wxPyCheckForApp()) SWIG_fail
;
25026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25027 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25028 wxPyEndAllowThreads(__tstate
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25054 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25055 PyObject
*resultobj
= 0;
25056 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25057 wxMetaFile
*result
= 0 ;
25060 PyObject
*swig_obj
[1] ;
25062 if (!args
) SWIG_fail
;
25063 swig_obj
[0] = args
;
25064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25065 if (!SWIG_IsOK(res1
)) {
25066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25068 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25071 result
= (wxMetaFile
*)(arg1
)->Close();
25072 wxPyEndAllowThreads(__tstate
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25082 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25084 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25085 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25086 return SWIG_Py_Void();
25089 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25090 return SWIG_Python_InitShadowInstance(args
);
25093 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
= 0;
25095 wxPrintData
*arg1
= 0 ;
25096 wxPrinterDC
*result
= 0 ;
25099 PyObject
* obj0
= 0 ;
25100 char * kwnames
[] = {
25101 (char *) "printData", NULL
25104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25105 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25106 if (!SWIG_IsOK(res1
)) {
25107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25112 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25114 if (!wxPyCheckForApp()) SWIG_fail
;
25115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25116 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25117 wxPyEndAllowThreads(__tstate
);
25118 if (PyErr_Occurred()) SWIG_fail
;
25120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25127 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25129 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25130 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25131 return SWIG_Py_Void();
25134 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25135 return SWIG_Python_InitShadowInstance(args
);
25138 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25139 PyObject
*resultobj
= 0;
25140 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25143 PyObject
*swig_obj
[1] ;
25145 if (!args
) SWIG_fail
;
25146 swig_obj
[0] = args
;
25147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
25148 if (!SWIG_IsOK(res1
)) {
25149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25151 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25157 resultobj
= SWIG_Py_Void();
25164 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25165 PyObject
*resultobj
= 0;
25166 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25175 PyObject
* obj0
= 0 ;
25176 PyObject
* obj1
= 0 ;
25177 PyObject
* obj2
= 0 ;
25178 char * kwnames
[] = {
25179 (char *) "self",(char *) "x",(char *) "y", NULL
25182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25184 if (!SWIG_IsOK(res1
)) {
25185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25187 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25188 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25189 if (!SWIG_IsOK(ecode2
)) {
25190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25192 arg2
= static_cast< wxDouble
>(val2
);
25193 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25194 if (!SWIG_IsOK(ecode3
)) {
25195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25197 arg3
= static_cast< wxDouble
>(val3
);
25199 (arg1
)->MoveToPoint(arg2
,arg3
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25202 resultobj
= SWIG_Py_Void();
25209 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25210 PyObject
*resultobj
= 0;
25211 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25220 PyObject
* obj0
= 0 ;
25221 PyObject
* obj1
= 0 ;
25222 PyObject
* obj2
= 0 ;
25223 char * kwnames
[] = {
25224 (char *) "self",(char *) "x",(char *) "y", NULL
25227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25229 if (!SWIG_IsOK(res1
)) {
25230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25232 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25233 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25234 if (!SWIG_IsOK(ecode2
)) {
25235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25237 arg2
= static_cast< wxDouble
>(val2
);
25238 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25239 if (!SWIG_IsOK(ecode3
)) {
25240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25242 arg3
= static_cast< wxDouble
>(val3
);
25244 (arg1
)->AddLineToPoint(arg2
,arg3
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25247 resultobj
= SWIG_Py_Void();
25254 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25255 PyObject
*resultobj
= 0;
25256 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25277 PyObject
* obj0
= 0 ;
25278 PyObject
* obj1
= 0 ;
25279 PyObject
* obj2
= 0 ;
25280 PyObject
* obj3
= 0 ;
25281 PyObject
* obj4
= 0 ;
25282 PyObject
* obj5
= 0 ;
25283 PyObject
* obj6
= 0 ;
25284 char * kwnames
[] = {
25285 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
25288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25290 if (!SWIG_IsOK(res1
)) {
25291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25293 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25294 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25295 if (!SWIG_IsOK(ecode2
)) {
25296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25298 arg2
= static_cast< wxDouble
>(val2
);
25299 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25300 if (!SWIG_IsOK(ecode3
)) {
25301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25303 arg3
= static_cast< wxDouble
>(val3
);
25304 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25305 if (!SWIG_IsOK(ecode4
)) {
25306 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25308 arg4
= static_cast< wxDouble
>(val4
);
25309 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25310 if (!SWIG_IsOK(ecode5
)) {
25311 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25313 arg5
= static_cast< wxDouble
>(val5
);
25314 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25315 if (!SWIG_IsOK(ecode6
)) {
25316 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25318 arg6
= static_cast< wxDouble
>(val6
);
25319 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25320 if (!SWIG_IsOK(ecode7
)) {
25321 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
25323 arg7
= static_cast< wxDouble
>(val7
);
25325 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25326 if (PyErr_Occurred()) SWIG_fail
;
25328 resultobj
= SWIG_Py_Void();
25335 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25336 PyObject
*resultobj
= 0;
25337 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25340 PyObject
*swig_obj
[1] ;
25342 if (!args
) SWIG_fail
;
25343 swig_obj
[0] = args
;
25344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25345 if (!SWIG_IsOK(res1
)) {
25346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25348 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25350 (arg1
)->CloseSubpath();
25351 if (PyErr_Occurred()) SWIG_fail
;
25353 resultobj
= SWIG_Py_Void();
25360 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25361 PyObject
*resultobj
= 0;
25362 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25366 PyObject
*swig_obj
[1] ;
25368 if (!args
) SWIG_fail
;
25369 swig_obj
[0] = args
;
25370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25371 if (!SWIG_IsOK(res1
)) {
25372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25374 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25376 result
= (arg1
)->GetCurrentPoint();
25377 if (PyErr_Occurred()) SWIG_fail
;
25379 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
25386 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25387 PyObject
*resultobj
= 0;
25388 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25409 PyObject
* obj0
= 0 ;
25410 PyObject
* obj1
= 0 ;
25411 PyObject
* obj2
= 0 ;
25412 PyObject
* obj3
= 0 ;
25413 PyObject
* obj4
= 0 ;
25414 PyObject
* obj5
= 0 ;
25415 PyObject
* obj6
= 0 ;
25416 char * kwnames
[] = {
25417 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
25420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25422 if (!SWIG_IsOK(res1
)) {
25423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25425 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25426 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25427 if (!SWIG_IsOK(ecode2
)) {
25428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
25430 arg2
= static_cast< wxDouble
>(val2
);
25431 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25432 if (!SWIG_IsOK(ecode3
)) {
25433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
25435 arg3
= static_cast< wxDouble
>(val3
);
25436 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25437 if (!SWIG_IsOK(ecode4
)) {
25438 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
25440 arg4
= static_cast< wxDouble
>(val4
);
25441 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25442 if (!SWIG_IsOK(ecode5
)) {
25443 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
25445 arg5
= static_cast< wxDouble
>(val5
);
25446 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25447 if (!SWIG_IsOK(ecode6
)) {
25448 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
25450 arg6
= static_cast< wxDouble
>(val6
);
25451 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
25452 if (!SWIG_IsOK(ecode7
)) {
25453 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
25455 arg7
= static_cast< bool >(val7
);
25457 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25460 resultobj
= SWIG_Py_Void();
25467 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25468 PyObject
*resultobj
= 0;
25469 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25484 PyObject
* obj0
= 0 ;
25485 PyObject
* obj1
= 0 ;
25486 PyObject
* obj2
= 0 ;
25487 PyObject
* obj3
= 0 ;
25488 PyObject
* obj4
= 0 ;
25489 char * kwnames
[] = {
25490 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
25493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25495 if (!SWIG_IsOK(res1
)) {
25496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25498 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25499 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25500 if (!SWIG_IsOK(ecode2
)) {
25501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25503 arg2
= static_cast< wxDouble
>(val2
);
25504 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25505 if (!SWIG_IsOK(ecode3
)) {
25506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25508 arg3
= static_cast< wxDouble
>(val3
);
25509 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25510 if (!SWIG_IsOK(ecode4
)) {
25511 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25513 arg4
= static_cast< wxDouble
>(val4
);
25514 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25515 if (!SWIG_IsOK(ecode5
)) {
25516 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25518 arg5
= static_cast< wxDouble
>(val5
);
25520 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
25521 if (PyErr_Occurred()) SWIG_fail
;
25523 resultobj
= SWIG_Py_Void();
25530 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25531 PyObject
*resultobj
= 0;
25532 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25547 PyObject
* obj0
= 0 ;
25548 PyObject
* obj1
= 0 ;
25549 PyObject
* obj2
= 0 ;
25550 PyObject
* obj3
= 0 ;
25551 PyObject
* obj4
= 0 ;
25552 char * kwnames
[] = {
25553 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25558 if (!SWIG_IsOK(res1
)) {
25559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25561 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25562 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25563 if (!SWIG_IsOK(ecode2
)) {
25564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
25566 arg2
= static_cast< wxDouble
>(val2
);
25567 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25568 if (!SWIG_IsOK(ecode3
)) {
25569 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
25571 arg3
= static_cast< wxDouble
>(val3
);
25572 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25573 if (!SWIG_IsOK(ecode4
)) {
25574 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
25576 arg4
= static_cast< wxDouble
>(val4
);
25577 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25578 if (!SWIG_IsOK(ecode5
)) {
25579 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
25581 arg5
= static_cast< wxDouble
>(val5
);
25583 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
25584 if (PyErr_Occurred()) SWIG_fail
;
25586 resultobj
= SWIG_Py_Void();
25593 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25594 PyObject
*resultobj
= 0;
25595 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25607 PyObject
* obj0
= 0 ;
25608 PyObject
* obj1
= 0 ;
25609 PyObject
* obj2
= 0 ;
25610 PyObject
* obj3
= 0 ;
25611 char * kwnames
[] = {
25612 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
25615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25617 if (!SWIG_IsOK(res1
)) {
25618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25620 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25621 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25622 if (!SWIG_IsOK(ecode2
)) {
25623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
25625 arg2
= static_cast< wxDouble
>(val2
);
25626 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25627 if (!SWIG_IsOK(ecode3
)) {
25628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
25630 arg3
= static_cast< wxDouble
>(val3
);
25631 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25632 if (!SWIG_IsOK(ecode4
)) {
25633 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
25635 arg4
= static_cast< wxDouble
>(val4
);
25637 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
25638 if (PyErr_Occurred()) SWIG_fail
;
25640 resultobj
= SWIG_Py_Void();
25647 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25648 PyObject
*resultobj
= 0;
25649 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25667 PyObject
* obj0
= 0 ;
25668 PyObject
* obj1
= 0 ;
25669 PyObject
* obj2
= 0 ;
25670 PyObject
* obj3
= 0 ;
25671 PyObject
* obj4
= 0 ;
25672 PyObject
* obj5
= 0 ;
25673 char * kwnames
[] = {
25674 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
25677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25679 if (!SWIG_IsOK(res1
)) {
25680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25682 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25683 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25684 if (!SWIG_IsOK(ecode2
)) {
25685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25687 arg2
= static_cast< wxDouble
>(val2
);
25688 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25689 if (!SWIG_IsOK(ecode3
)) {
25690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25692 arg3
= static_cast< wxDouble
>(val3
);
25693 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25694 if (!SWIG_IsOK(ecode4
)) {
25695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25697 arg4
= static_cast< wxDouble
>(val4
);
25698 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25699 if (!SWIG_IsOK(ecode5
)) {
25700 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25702 arg5
= static_cast< wxDouble
>(val5
);
25703 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25704 if (!SWIG_IsOK(ecode6
)) {
25705 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25707 arg6
= static_cast< wxDouble
>(val6
);
25709 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
25710 if (PyErr_Occurred()) SWIG_fail
;
25712 resultobj
= SWIG_Py_Void();
25719 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25721 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25722 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
25723 return SWIG_Py_Void();
25726 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25727 PyObject
*resultobj
= 0;
25728 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25731 PyObject
*swig_obj
[1] ;
25733 if (!args
) SWIG_fail
;
25734 swig_obj
[0] = args
;
25735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
25736 if (!SWIG_IsOK(res1
)) {
25737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25739 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25743 if (PyErr_Occurred()) SWIG_fail
;
25745 resultobj
= SWIG_Py_Void();
25752 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
= 0;
25754 wxWindowDC
*arg1
= 0 ;
25755 wxGraphicsContext
*result
= 0 ;
25758 PyObject
* obj0
= 0 ;
25759 char * kwnames
[] = {
25760 (char *) "dc", NULL
25763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_Create",kwnames
,&obj0
)) SWIG_fail
;
25764 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
25765 if (!SWIG_IsOK(res1
)) {
25766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25771 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
25773 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
25774 if (PyErr_Occurred()) SWIG_fail
;
25776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25783 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25784 PyObject
*resultobj
= 0;
25785 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25786 wxGraphicsPath
*result
= 0 ;
25789 PyObject
*swig_obj
[1] ;
25791 if (!args
) SWIG_fail
;
25792 swig_obj
[0] = args
;
25793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25794 if (!SWIG_IsOK(res1
)) {
25795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25797 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25799 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
25800 if (PyErr_Occurred()) SWIG_fail
;
25802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25809 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25810 PyObject
*resultobj
= 0;
25811 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25814 PyObject
*swig_obj
[1] ;
25816 if (!args
) SWIG_fail
;
25817 swig_obj
[0] = args
;
25818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25819 if (!SWIG_IsOK(res1
)) {
25820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25822 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25824 (arg1
)->PushState();
25825 if (PyErr_Occurred()) SWIG_fail
;
25827 resultobj
= SWIG_Py_Void();
25834 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25835 PyObject
*resultobj
= 0;
25836 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25839 PyObject
*swig_obj
[1] ;
25841 if (!args
) SWIG_fail
;
25842 swig_obj
[0] = args
;
25843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25844 if (!SWIG_IsOK(res1
)) {
25845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25847 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25849 (arg1
)->PopState();
25850 if (PyErr_Occurred()) SWIG_fail
;
25852 resultobj
= SWIG_Py_Void();
25859 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25860 PyObject
*resultobj
= 0;
25861 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25862 wxRegion
*arg2
= 0 ;
25867 PyObject
* obj0
= 0 ;
25868 PyObject
* obj1
= 0 ;
25869 char * kwnames
[] = {
25870 (char *) "self",(char *) "region", NULL
25873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25875 if (!SWIG_IsOK(res1
)) {
25876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25878 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
25880 if (!SWIG_IsOK(res2
)) {
25881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
25884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
25886 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
25888 (arg1
)->Clip((wxRegion
const &)*arg2
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25891 resultobj
= SWIG_Py_Void();
25898 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25899 PyObject
*resultobj
= 0;
25900 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25909 PyObject
* obj0
= 0 ;
25910 PyObject
* obj1
= 0 ;
25911 PyObject
* obj2
= 0 ;
25912 char * kwnames
[] = {
25913 (char *) "self",(char *) "dx",(char *) "dy", NULL
25916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25918 if (!SWIG_IsOK(res1
)) {
25919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25921 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25922 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25923 if (!SWIG_IsOK(ecode2
)) {
25924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25926 arg2
= static_cast< wxDouble
>(val2
);
25927 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25928 if (!SWIG_IsOK(ecode3
)) {
25929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25931 arg3
= static_cast< wxDouble
>(val3
);
25933 (arg1
)->Translate(arg2
,arg3
);
25934 if (PyErr_Occurred()) SWIG_fail
;
25936 resultobj
= SWIG_Py_Void();
25943 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25944 PyObject
*resultobj
= 0;
25945 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25954 PyObject
* obj0
= 0 ;
25955 PyObject
* obj1
= 0 ;
25956 PyObject
* obj2
= 0 ;
25957 char * kwnames
[] = {
25958 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25963 if (!SWIG_IsOK(res1
)) {
25964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25966 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25967 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25968 if (!SWIG_IsOK(ecode2
)) {
25969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25971 arg2
= static_cast< wxDouble
>(val2
);
25972 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25973 if (!SWIG_IsOK(ecode3
)) {
25974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25976 arg3
= static_cast< wxDouble
>(val3
);
25978 (arg1
)->Scale(arg2
,arg3
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25981 resultobj
= SWIG_Py_Void();
25988 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25989 PyObject
*resultobj
= 0;
25990 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25996 PyObject
* obj0
= 0 ;
25997 PyObject
* obj1
= 0 ;
25998 char * kwnames
[] = {
25999 (char *) "self",(char *) "angle", NULL
26002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26004 if (!SWIG_IsOK(res1
)) {
26005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26007 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26008 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26009 if (!SWIG_IsOK(ecode2
)) {
26010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26012 arg2
= static_cast< wxDouble
>(val2
);
26014 (arg1
)->Rotate(arg2
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26017 resultobj
= SWIG_Py_Void();
26024 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
= 0;
26026 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26032 PyObject
* obj0
= 0 ;
26033 PyObject
* obj1
= 0 ;
26034 char * kwnames
[] = {
26035 (char *) "self",(char *) "pen", NULL
26038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26040 if (!SWIG_IsOK(res1
)) {
26041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26043 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26044 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
26045 if (!SWIG_IsOK(res2
)) {
26046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
26049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
26051 arg2
= reinterpret_cast< wxPen
* >(argp2
);
26053 (arg1
)->SetPen((wxPen
const &)*arg2
);
26054 if (PyErr_Occurred()) SWIG_fail
;
26056 resultobj
= SWIG_Py_Void();
26063 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26064 PyObject
*resultobj
= 0;
26065 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26066 wxBrush
*arg2
= 0 ;
26071 PyObject
* obj0
= 0 ;
26072 PyObject
* obj1
= 0 ;
26073 char * kwnames
[] = {
26074 (char *) "self",(char *) "brush", NULL
26077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26079 if (!SWIG_IsOK(res1
)) {
26080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26082 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26083 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
26084 if (!SWIG_IsOK(res2
)) {
26085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
26088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
26090 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
26092 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
26093 if (PyErr_Occurred()) SWIG_fail
;
26095 resultobj
= SWIG_Py_Void();
26102 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26103 PyObject
*resultobj
= 0;
26104 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26109 wxColour
*arg6
= 0 ;
26110 wxColour
*arg7
= 0 ;
26123 PyObject
* obj0
= 0 ;
26124 PyObject
* obj1
= 0 ;
26125 PyObject
* obj2
= 0 ;
26126 PyObject
* obj3
= 0 ;
26127 PyObject
* obj4
= 0 ;
26128 PyObject
* obj5
= 0 ;
26129 PyObject
* obj6
= 0 ;
26130 char * kwnames
[] = {
26131 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
26134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26136 if (!SWIG_IsOK(res1
)) {
26137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26139 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26140 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26141 if (!SWIG_IsOK(ecode2
)) {
26142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
26144 arg2
= static_cast< wxDouble
>(val2
);
26145 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26146 if (!SWIG_IsOK(ecode3
)) {
26147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
26149 arg3
= static_cast< wxDouble
>(val3
);
26150 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26151 if (!SWIG_IsOK(ecode4
)) {
26152 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
26154 arg4
= static_cast< wxDouble
>(val4
);
26155 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26156 if (!SWIG_IsOK(ecode5
)) {
26157 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
26159 arg5
= static_cast< wxDouble
>(val5
);
26162 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
26166 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
26169 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26172 resultobj
= SWIG_Py_Void();
26179 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26180 PyObject
*resultobj
= 0;
26181 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26187 wxColour
*arg7
= 0 ;
26188 wxColour
*arg8
= 0 ;
26203 PyObject
* obj0
= 0 ;
26204 PyObject
* obj1
= 0 ;
26205 PyObject
* obj2
= 0 ;
26206 PyObject
* obj3
= 0 ;
26207 PyObject
* obj4
= 0 ;
26208 PyObject
* obj5
= 0 ;
26209 PyObject
* obj6
= 0 ;
26210 PyObject
* obj7
= 0 ;
26211 char * kwnames
[] = {
26212 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
26215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
26216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26217 if (!SWIG_IsOK(res1
)) {
26218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26220 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26221 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26222 if (!SWIG_IsOK(ecode2
)) {
26223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
26225 arg2
= static_cast< wxDouble
>(val2
);
26226 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26227 if (!SWIG_IsOK(ecode3
)) {
26228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
26230 arg3
= static_cast< wxDouble
>(val3
);
26231 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26232 if (!SWIG_IsOK(ecode4
)) {
26233 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
26235 arg4
= static_cast< wxDouble
>(val4
);
26236 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26237 if (!SWIG_IsOK(ecode5
)) {
26238 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
26240 arg5
= static_cast< wxDouble
>(val5
);
26241 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26242 if (!SWIG_IsOK(ecode6
)) {
26243 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
26245 arg6
= static_cast< wxDouble
>(val6
);
26248 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
26252 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
26255 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
26256 if (PyErr_Occurred()) SWIG_fail
;
26258 resultobj
= SWIG_Py_Void();
26265 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26266 PyObject
*resultobj
= 0;
26267 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26273 PyObject
* obj0
= 0 ;
26274 PyObject
* obj1
= 0 ;
26275 char * kwnames
[] = {
26276 (char *) "self",(char *) "font", NULL
26279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26281 if (!SWIG_IsOK(res1
)) {
26282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26284 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26285 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26286 if (!SWIG_IsOK(res2
)) {
26287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26292 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26294 (arg1
)->SetFont((wxFont
const &)*arg2
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26297 resultobj
= SWIG_Py_Void();
26304 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26305 PyObject
*resultobj
= 0;
26306 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26307 wxColour
*arg2
= 0 ;
26311 PyObject
* obj0
= 0 ;
26312 PyObject
* obj1
= 0 ;
26313 char * kwnames
[] = {
26314 (char *) "self",(char *) "col", NULL
26317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26319 if (!SWIG_IsOK(res1
)) {
26320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26322 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26325 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26328 (arg1
)->SetTextColor((wxColour
const &)*arg2
);
26329 if (PyErr_Occurred()) SWIG_fail
;
26331 resultobj
= SWIG_Py_Void();
26338 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
= 0;
26340 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26341 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26346 PyObject
* obj0
= 0 ;
26347 PyObject
* obj1
= 0 ;
26348 char * kwnames
[] = {
26349 (char *) "self",(char *) "path", NULL
26352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26354 if (!SWIG_IsOK(res1
)) {
26355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26357 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26358 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26359 if (!SWIG_IsOK(res2
)) {
26360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26362 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26364 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26367 resultobj
= SWIG_Py_Void();
26374 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26375 PyObject
*resultobj
= 0;
26376 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26377 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26378 int arg3
= (int) wxWINDING_RULE
;
26385 PyObject
* obj0
= 0 ;
26386 PyObject
* obj1
= 0 ;
26387 PyObject
* obj2
= 0 ;
26388 char * kwnames
[] = {
26389 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
26392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26394 if (!SWIG_IsOK(res1
)) {
26395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26397 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26398 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26399 if (!SWIG_IsOK(res2
)) {
26400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26402 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26405 if (!SWIG_IsOK(ecode3
)) {
26406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
26408 arg3
= static_cast< int >(val3
);
26411 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
26412 if (PyErr_Occurred()) SWIG_fail
;
26414 resultobj
= SWIG_Py_Void();
26421 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26422 PyObject
*resultobj
= 0;
26423 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26424 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26425 int arg3
= (int) wxWINDING_RULE
;
26432 PyObject
* obj0
= 0 ;
26433 PyObject
* obj1
= 0 ;
26434 PyObject
* obj2
= 0 ;
26435 char * kwnames
[] = {
26436 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
26439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26441 if (!SWIG_IsOK(res1
)) {
26442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26444 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26445 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26446 if (!SWIG_IsOK(res2
)) {
26447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26449 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26452 if (!SWIG_IsOK(ecode3
)) {
26453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
26455 arg3
= static_cast< int >(val3
);
26458 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
26459 if (PyErr_Occurred()) SWIG_fail
;
26461 resultobj
= SWIG_Py_Void();
26468 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26469 PyObject
*resultobj
= 0;
26470 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26471 wxString
*arg2
= 0 ;
26476 bool temp2
= false ;
26481 PyObject
* obj0
= 0 ;
26482 PyObject
* obj1
= 0 ;
26483 PyObject
* obj2
= 0 ;
26484 PyObject
* obj3
= 0 ;
26485 char * kwnames
[] = {
26486 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
26489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26491 if (!SWIG_IsOK(res1
)) {
26492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26494 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26496 arg2
= wxString_in_helper(obj1
);
26497 if (arg2
== NULL
) SWIG_fail
;
26500 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26501 if (!SWIG_IsOK(ecode3
)) {
26502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
26504 arg3
= static_cast< wxDouble
>(val3
);
26505 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26506 if (!SWIG_IsOK(ecode4
)) {
26507 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
26509 arg4
= static_cast< wxDouble
>(val4
);
26511 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26514 resultobj
= SWIG_Py_Void();
26529 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26530 PyObject
*resultobj
= 0;
26531 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26532 wxString
*arg2
= 0 ;
26538 bool temp2
= false ;
26545 PyObject
* obj0
= 0 ;
26546 PyObject
* obj1
= 0 ;
26547 PyObject
* obj2
= 0 ;
26548 PyObject
* obj3
= 0 ;
26549 PyObject
* obj4
= 0 ;
26550 char * kwnames
[] = {
26551 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
26554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26556 if (!SWIG_IsOK(res1
)) {
26557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26559 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26561 arg2
= wxString_in_helper(obj1
);
26562 if (arg2
== NULL
) SWIG_fail
;
26565 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26566 if (!SWIG_IsOK(ecode3
)) {
26567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
26569 arg3
= static_cast< wxDouble
>(val3
);
26570 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26571 if (!SWIG_IsOK(ecode4
)) {
26572 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
26574 arg4
= static_cast< wxDouble
>(val4
);
26575 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26576 if (!SWIG_IsOK(ecode5
)) {
26577 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
26579 arg5
= static_cast< wxDouble
>(val5
);
26581 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26582 if (PyErr_Occurred()) SWIG_fail
;
26584 resultobj
= SWIG_Py_Void();
26599 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26600 PyObject
*resultobj
= 0;
26601 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26602 wxString
*arg2
= 0 ;
26603 wxDouble
*arg3
= (wxDouble
*) 0 ;
26604 wxDouble
*arg4
= (wxDouble
*) 0 ;
26605 wxDouble
*arg5
= (wxDouble
*) 0 ;
26606 wxDouble
*arg6
= (wxDouble
*) 0 ;
26609 bool temp2
= false ;
26611 int res3
= SWIG_TMPOBJ
;
26613 int res4
= SWIG_TMPOBJ
;
26615 int res5
= SWIG_TMPOBJ
;
26617 int res6
= SWIG_TMPOBJ
;
26618 PyObject
* obj0
= 0 ;
26619 PyObject
* obj1
= 0 ;
26620 char * kwnames
[] = {
26621 (char *) "self",(char *) "text", NULL
26628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26630 if (!SWIG_IsOK(res1
)) {
26631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
26633 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26635 arg2
= wxString_in_helper(obj1
);
26636 if (arg2
== NULL
) SWIG_fail
;
26640 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26643 resultobj
= SWIG_Py_Void();
26644 if (SWIG_IsTmpObj(res3
)) {
26645 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26647 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26650 if (SWIG_IsTmpObj(res4
)) {
26651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26653 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26656 if (SWIG_IsTmpObj(res5
)) {
26657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26659 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26662 if (SWIG_IsTmpObj(res6
)) {
26663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26665 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26682 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26683 PyObject
*resultobj
= 0;
26684 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26685 wxString
*arg2
= 0 ;
26686 wxArrayDouble result
;
26689 bool temp2
= false ;
26690 PyObject
* obj0
= 0 ;
26691 PyObject
* obj1
= 0 ;
26692 char * kwnames
[] = {
26693 (char *) "self",(char *) "text", NULL
26696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26698 if (!SWIG_IsOK(res1
)) {
26699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26701 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26703 arg2
= wxString_in_helper(obj1
);
26704 if (arg2
== NULL
) SWIG_fail
;
26708 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
26709 if (PyErr_Occurred()) SWIG_fail
;
26712 resultobj
= wxArrayDouble2PyList_helper(result
);
26728 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26729 PyObject
*resultobj
= 0;
26730 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26731 wxBitmap
*arg2
= 0 ;
26748 PyObject
* obj0
= 0 ;
26749 PyObject
* obj1
= 0 ;
26750 PyObject
* obj2
= 0 ;
26751 PyObject
* obj3
= 0 ;
26752 PyObject
* obj4
= 0 ;
26753 PyObject
* obj5
= 0 ;
26754 char * kwnames
[] = {
26755 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26760 if (!SWIG_IsOK(res1
)) {
26761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26763 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26764 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26765 if (!SWIG_IsOK(res2
)) {
26766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26771 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26772 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26773 if (!SWIG_IsOK(ecode3
)) {
26774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
26776 arg3
= static_cast< wxDouble
>(val3
);
26777 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26778 if (!SWIG_IsOK(ecode4
)) {
26779 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
26781 arg4
= static_cast< wxDouble
>(val4
);
26782 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26783 if (!SWIG_IsOK(ecode5
)) {
26784 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
26786 arg5
= static_cast< wxDouble
>(val5
);
26787 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26788 if (!SWIG_IsOK(ecode6
)) {
26789 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
26791 arg6
= static_cast< wxDouble
>(val6
);
26793 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26794 if (PyErr_Occurred()) SWIG_fail
;
26796 resultobj
= SWIG_Py_Void();
26803 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26804 PyObject
*resultobj
= 0;
26805 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26823 PyObject
* obj0
= 0 ;
26824 PyObject
* obj1
= 0 ;
26825 PyObject
* obj2
= 0 ;
26826 PyObject
* obj3
= 0 ;
26827 PyObject
* obj4
= 0 ;
26828 PyObject
* obj5
= 0 ;
26829 char * kwnames
[] = {
26830 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26835 if (!SWIG_IsOK(res1
)) {
26836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26838 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26839 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
26840 if (!SWIG_IsOK(res2
)) {
26841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26846 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
26847 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26848 if (!SWIG_IsOK(ecode3
)) {
26849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
26851 arg3
= static_cast< wxDouble
>(val3
);
26852 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26853 if (!SWIG_IsOK(ecode4
)) {
26854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
26856 arg4
= static_cast< wxDouble
>(val4
);
26857 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26858 if (!SWIG_IsOK(ecode5
)) {
26859 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
26861 arg5
= static_cast< wxDouble
>(val5
);
26862 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26863 if (!SWIG_IsOK(ecode6
)) {
26864 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
26866 arg6
= static_cast< wxDouble
>(val6
);
26868 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26869 if (PyErr_Occurred()) SWIG_fail
;
26871 resultobj
= SWIG_Py_Void();
26878 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26879 PyObject
*resultobj
= 0;
26880 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26895 PyObject
* obj0
= 0 ;
26896 PyObject
* obj1
= 0 ;
26897 PyObject
* obj2
= 0 ;
26898 PyObject
* obj3
= 0 ;
26899 PyObject
* obj4
= 0 ;
26900 char * kwnames
[] = {
26901 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26906 if (!SWIG_IsOK(res1
)) {
26907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26909 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26910 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26911 if (!SWIG_IsOK(ecode2
)) {
26912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
26914 arg2
= static_cast< wxDouble
>(val2
);
26915 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26916 if (!SWIG_IsOK(ecode3
)) {
26917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
26919 arg3
= static_cast< wxDouble
>(val3
);
26920 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26921 if (!SWIG_IsOK(ecode4
)) {
26922 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
26924 arg4
= static_cast< wxDouble
>(val4
);
26925 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26926 if (!SWIG_IsOK(ecode5
)) {
26927 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
26929 arg5
= static_cast< wxDouble
>(val5
);
26931 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
26932 if (PyErr_Occurred()) SWIG_fail
;
26934 resultobj
= SWIG_Py_Void();
26941 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26942 PyObject
*resultobj
= 0;
26943 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26945 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26948 PyObject
* obj0
= 0 ;
26949 PyObject
* obj1
= 0 ;
26950 char * kwnames
[] = {
26951 (char *) "self",(char *) "points", NULL
26954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26956 if (!SWIG_IsOK(res1
)) {
26957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26959 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26961 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26962 if (arg3
== NULL
) SWIG_fail
;
26965 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26968 resultobj
= SWIG_Py_Void();
26970 if (arg3
) delete [] arg3
;
26975 if (arg3
) delete [] arg3
;
26981 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26982 PyObject
*resultobj
= 0;
26983 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26984 PyObject
*arg2
= (PyObject
*) 0 ;
26985 PyObject
*arg3
= (PyObject
*) 0 ;
26988 PyObject
* obj0
= 0 ;
26989 PyObject
* obj1
= 0 ;
26990 PyObject
* obj2
= 0 ;
26991 char * kwnames
[] = {
26992 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
26995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26997 if (!SWIG_IsOK(res1
)) {
26998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27000 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27004 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
27005 if (PyErr_Occurred()) SWIG_fail
;
27007 resultobj
= SWIG_Py_Void();
27014 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27015 PyObject
*resultobj
= 0;
27016 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27018 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
27019 int arg4
= (int) wxWINDING_RULE
;
27024 PyObject
* obj0
= 0 ;
27025 PyObject
* obj1
= 0 ;
27026 PyObject
* obj2
= 0 ;
27027 char * kwnames
[] = {
27028 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
27031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27033 if (!SWIG_IsOK(res1
)) {
27034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27036 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27038 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
27039 if (arg3
== NULL
) SWIG_fail
;
27042 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
27043 if (!SWIG_IsOK(ecode4
)) {
27044 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
27046 arg4
= static_cast< int >(val4
);
27049 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
27050 if (PyErr_Occurred()) SWIG_fail
;
27052 resultobj
= SWIG_Py_Void();
27054 if (arg3
) delete [] arg3
;
27059 if (arg3
) delete [] arg3
;
27065 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27066 PyObject
*resultobj
= 0;
27067 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27082 PyObject
* obj0
= 0 ;
27083 PyObject
* obj1
= 0 ;
27084 PyObject
* obj2
= 0 ;
27085 PyObject
* obj3
= 0 ;
27086 PyObject
* obj4
= 0 ;
27087 char * kwnames
[] = {
27088 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27093 if (!SWIG_IsOK(res1
)) {
27094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27096 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27097 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27098 if (!SWIG_IsOK(ecode2
)) {
27099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27101 arg2
= static_cast< wxDouble
>(val2
);
27102 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27103 if (!SWIG_IsOK(ecode3
)) {
27104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27106 arg3
= static_cast< wxDouble
>(val3
);
27107 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27108 if (!SWIG_IsOK(ecode4
)) {
27109 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27111 arg4
= static_cast< wxDouble
>(val4
);
27112 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27113 if (!SWIG_IsOK(ecode5
)) {
27114 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27116 arg5
= static_cast< wxDouble
>(val5
);
27118 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
27119 if (PyErr_Occurred()) SWIG_fail
;
27121 resultobj
= SWIG_Py_Void();
27128 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27129 PyObject
*resultobj
= 0;
27130 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27145 PyObject
* obj0
= 0 ;
27146 PyObject
* obj1
= 0 ;
27147 PyObject
* obj2
= 0 ;
27148 PyObject
* obj3
= 0 ;
27149 PyObject
* obj4
= 0 ;
27150 char * kwnames
[] = {
27151 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27156 if (!SWIG_IsOK(res1
)) {
27157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27159 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27160 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27161 if (!SWIG_IsOK(ecode2
)) {
27162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27164 arg2
= static_cast< wxDouble
>(val2
);
27165 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27166 if (!SWIG_IsOK(ecode3
)) {
27167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27169 arg3
= static_cast< wxDouble
>(val3
);
27170 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27171 if (!SWIG_IsOK(ecode4
)) {
27172 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27174 arg4
= static_cast< wxDouble
>(val4
);
27175 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27176 if (!SWIG_IsOK(ecode5
)) {
27177 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27179 arg5
= static_cast< wxDouble
>(val5
);
27181 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
27182 if (PyErr_Occurred()) SWIG_fail
;
27184 resultobj
= SWIG_Py_Void();
27191 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27192 PyObject
*resultobj
= 0;
27193 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27211 PyObject
* obj0
= 0 ;
27212 PyObject
* obj1
= 0 ;
27213 PyObject
* obj2
= 0 ;
27214 PyObject
* obj3
= 0 ;
27215 PyObject
* obj4
= 0 ;
27216 PyObject
* obj5
= 0 ;
27217 char * kwnames
[] = {
27218 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27223 if (!SWIG_IsOK(res1
)) {
27224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27226 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27227 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27228 if (!SWIG_IsOK(ecode2
)) {
27229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27231 arg2
= static_cast< wxDouble
>(val2
);
27232 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27233 if (!SWIG_IsOK(ecode3
)) {
27234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27236 arg3
= static_cast< wxDouble
>(val3
);
27237 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27238 if (!SWIG_IsOK(ecode4
)) {
27239 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27241 arg4
= static_cast< wxDouble
>(val4
);
27242 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27243 if (!SWIG_IsOK(ecode5
)) {
27244 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27246 arg5
= static_cast< wxDouble
>(val5
);
27247 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27248 if (!SWIG_IsOK(ecode6
)) {
27249 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27251 arg6
= static_cast< wxDouble
>(val6
);
27253 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27256 resultobj
= SWIG_Py_Void();
27263 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27266 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
27267 return SWIG_Py_Void();
27270 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27271 PyObject
*resultobj
= 0;
27272 wxWindowDC
*arg1
= 0 ;
27273 wxGCDC
*result
= 0 ;
27276 PyObject
* obj0
= 0 ;
27277 char * kwnames
[] = {
27278 (char *) "dc", NULL
27281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
27282 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27283 if (!SWIG_IsOK(res1
)) {
27284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27289 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27291 if (!wxPyCheckForApp()) SWIG_fail
;
27292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27293 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
27294 wxPyEndAllowThreads(__tstate
);
27295 if (PyErr_Occurred()) SWIG_fail
;
27297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
27304 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27305 PyObject
*resultobj
= 0;
27306 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
27309 PyObject
*swig_obj
[1] ;
27311 if (!args
) SWIG_fail
;
27312 swig_obj
[0] = args
;
27313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
27314 if (!SWIG_IsOK(res1
)) {
27315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
27317 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27323 resultobj
= SWIG_Py_Void();
27330 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27331 PyObject
*resultobj
= 0;
27332 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
27333 wxGraphicsContext
*result
= 0 ;
27336 PyObject
*swig_obj
[1] ;
27338 if (!args
) SWIG_fail
;
27339 swig_obj
[0] = args
;
27340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
27341 if (!SWIG_IsOK(res1
)) {
27342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
27344 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
27346 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicContext();
27347 if (PyErr_Occurred()) SWIG_fail
;
27349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27356 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27359 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
27360 return SWIG_Py_Void();
27363 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27364 return SWIG_Python_InitShadowInstance(args
);
27367 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27368 PyObject
*resultobj
= 0;
27369 wxOverlay
*result
= 0 ;
27371 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
27373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27374 result
= (wxOverlay
*)new wxOverlay();
27375 wxPyEndAllowThreads(__tstate
);
27376 if (PyErr_Occurred()) SWIG_fail
;
27378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
27385 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27386 PyObject
*resultobj
= 0;
27387 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
27390 PyObject
*swig_obj
[1] ;
27392 if (!args
) SWIG_fail
;
27393 swig_obj
[0] = args
;
27394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
27395 if (!SWIG_IsOK(res1
)) {
27396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
27398 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27403 wxPyEndAllowThreads(__tstate
);
27404 if (PyErr_Occurred()) SWIG_fail
;
27406 resultobj
= SWIG_Py_Void();
27413 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27414 PyObject
*resultobj
= 0;
27415 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
27418 PyObject
*swig_obj
[1] ;
27420 if (!args
) SWIG_fail
;
27421 swig_obj
[0] = args
;
27422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
27423 if (!SWIG_IsOK(res1
)) {
27424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
27426 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27430 wxPyEndAllowThreads(__tstate
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27433 resultobj
= SWIG_Py_Void();
27440 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27442 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27443 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
27444 return SWIG_Py_Void();
27447 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27448 return SWIG_Python_InitShadowInstance(args
);
27451 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27452 PyObject
*resultobj
= 0;
27453 wxOverlay
*arg1
= 0 ;
27454 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
27459 wxDCOverlay
*result
= 0 ;
27473 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
27474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
27475 if (!SWIG_IsOK(res1
)) {
27476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27481 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27482 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
27483 if (!SWIG_IsOK(res2
)) {
27484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
27486 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
27487 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27488 if (!SWIG_IsOK(ecode3
)) {
27489 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
27491 arg3
= static_cast< int >(val3
);
27492 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27493 if (!SWIG_IsOK(ecode4
)) {
27494 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
27496 arg4
= static_cast< int >(val4
);
27497 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
27498 if (!SWIG_IsOK(ecode5
)) {
27499 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
27501 arg5
= static_cast< int >(val5
);
27502 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
27503 if (!SWIG_IsOK(ecode6
)) {
27504 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
27506 arg6
= static_cast< int >(val6
);
27508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27509 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
27510 wxPyEndAllowThreads(__tstate
);
27511 if (PyErr_Occurred()) SWIG_fail
;
27513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
27520 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27521 PyObject
*resultobj
= 0;
27522 wxOverlay
*arg1
= 0 ;
27523 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
27524 wxDCOverlay
*result
= 0 ;
27530 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
27532 if (!SWIG_IsOK(res1
)) {
27533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27538 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27539 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
27540 if (!SWIG_IsOK(res2
)) {
27541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
27543 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
27545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27546 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
27547 wxPyEndAllowThreads(__tstate
);
27548 if (PyErr_Occurred()) SWIG_fail
;
27550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
27557 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
27561 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
27564 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
27567 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
27571 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
27576 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27577 PyObject
*resultobj
= 0;
27578 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
27581 PyObject
*swig_obj
[1] ;
27583 if (!args
) SWIG_fail
;
27584 swig_obj
[0] = args
;
27585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
27586 if (!SWIG_IsOK(res1
)) {
27587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
27589 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
27591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27594 wxPyEndAllowThreads(__tstate
);
27595 if (PyErr_Occurred()) SWIG_fail
;
27597 resultobj
= SWIG_Py_Void();
27604 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27605 PyObject
*resultobj
= 0;
27606 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
27609 PyObject
*swig_obj
[1] ;
27611 if (!args
) SWIG_fail
;
27612 swig_obj
[0] = args
;
27613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
27614 if (!SWIG_IsOK(res1
)) {
27615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
27617 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
27619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27621 wxPyEndAllowThreads(__tstate
);
27622 if (PyErr_Occurred()) SWIG_fail
;
27624 resultobj
= SWIG_Py_Void();
27631 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27634 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
27635 return SWIG_Py_Void();
27638 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27639 return SWIG_Python_InitShadowInstance(args
);
27642 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27643 PyObject
*resultobj
= 0;
27646 int arg3
= (int) true ;
27647 int arg4
= (int) 1 ;
27648 wxImageList
*result
= 0 ;
27657 PyObject
* obj0
= 0 ;
27658 PyObject
* obj1
= 0 ;
27659 PyObject
* obj2
= 0 ;
27660 PyObject
* obj3
= 0 ;
27661 char * kwnames
[] = {
27662 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
27665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27666 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27667 if (!SWIG_IsOK(ecode1
)) {
27668 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
27670 arg1
= static_cast< int >(val1
);
27671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27672 if (!SWIG_IsOK(ecode2
)) {
27673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
27675 arg2
= static_cast< int >(val2
);
27677 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27678 if (!SWIG_IsOK(ecode3
)) {
27679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
27681 arg3
= static_cast< int >(val3
);
27684 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27685 if (!SWIG_IsOK(ecode4
)) {
27686 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
27688 arg4
= static_cast< int >(val4
);
27691 if (!wxPyCheckForApp()) SWIG_fail
;
27692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27693 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
27694 wxPyEndAllowThreads(__tstate
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27698 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
27706 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27707 PyObject
*resultobj
= 0;
27708 wxImageList
*arg1
= (wxImageList
*) 0 ;
27711 PyObject
*swig_obj
[1] ;
27713 if (!args
) SWIG_fail
;
27714 swig_obj
[0] = args
;
27715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
27716 if (!SWIG_IsOK(res1
)) {
27717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
27719 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27724 wxPyEndAllowThreads(__tstate
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27727 resultobj
= SWIG_Py_Void();
27734 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
= 0;
27736 wxImageList
*arg1
= (wxImageList
*) 0 ;
27737 wxBitmap
*arg2
= 0 ;
27738 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
27739 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
27747 PyObject
* obj0
= 0 ;
27748 PyObject
* obj1
= 0 ;
27749 PyObject
* obj2
= 0 ;
27750 char * kwnames
[] = {
27751 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
27754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27756 if (!SWIG_IsOK(res1
)) {
27757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
27759 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27760 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27761 if (!SWIG_IsOK(res2
)) {
27762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27767 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27769 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27770 if (!SWIG_IsOK(res3
)) {
27771 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27774 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27776 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27780 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
27781 wxPyEndAllowThreads(__tstate
);
27782 if (PyErr_Occurred()) SWIG_fail
;
27784 resultobj
= SWIG_From_int(static_cast< int >(result
));
27791 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27792 PyObject
*resultobj
= 0;
27793 wxImageList
*arg1
= (wxImageList
*) 0 ;
27794 wxBitmap
*arg2
= 0 ;
27795 wxColour
*arg3
= 0 ;
27802 PyObject
* obj0
= 0 ;
27803 PyObject
* obj1
= 0 ;
27804 PyObject
* obj2
= 0 ;
27805 char * kwnames
[] = {
27806 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
27809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27811 if (!SWIG_IsOK(res1
)) {
27812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
27814 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27815 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27816 if (!SWIG_IsOK(res2
)) {
27817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27822 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27825 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27829 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
27830 wxPyEndAllowThreads(__tstate
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27833 resultobj
= SWIG_From_int(static_cast< int >(result
));
27840 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27841 PyObject
*resultobj
= 0;
27842 wxImageList
*arg1
= (wxImageList
*) 0 ;
27849 PyObject
* obj0
= 0 ;
27850 PyObject
* obj1
= 0 ;
27851 char * kwnames
[] = {
27852 (char *) "self",(char *) "icon", NULL
27855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27857 if (!SWIG_IsOK(res1
)) {
27858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
27860 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27861 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27862 if (!SWIG_IsOK(res2
)) {
27863 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27866 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27868 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27871 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
27872 wxPyEndAllowThreads(__tstate
);
27873 if (PyErr_Occurred()) SWIG_fail
;
27875 resultobj
= SWIG_From_int(static_cast< int >(result
));
27882 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27883 PyObject
*resultobj
= 0;
27884 wxImageList
*arg1
= (wxImageList
*) 0 ;
27886 SwigValueWrapper
<wxBitmap
> result
;
27891 PyObject
* obj0
= 0 ;
27892 PyObject
* obj1
= 0 ;
27893 char * kwnames
[] = {
27894 (char *) "self",(char *) "index", NULL
27897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27899 if (!SWIG_IsOK(res1
)) {
27900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
27902 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27904 if (!SWIG_IsOK(ecode2
)) {
27905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
27907 arg2
= static_cast< int >(val2
);
27909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27910 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
27911 wxPyEndAllowThreads(__tstate
);
27912 if (PyErr_Occurred()) SWIG_fail
;
27914 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
27921 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27922 PyObject
*resultobj
= 0;
27923 wxImageList
*arg1
= (wxImageList
*) 0 ;
27930 PyObject
* obj0
= 0 ;
27931 PyObject
* obj1
= 0 ;
27932 char * kwnames
[] = {
27933 (char *) "self",(char *) "index", NULL
27936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27938 if (!SWIG_IsOK(res1
)) {
27939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
27941 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27943 if (!SWIG_IsOK(ecode2
)) {
27944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
27946 arg2
= static_cast< int >(val2
);
27948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27949 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
27950 wxPyEndAllowThreads(__tstate
);
27951 if (PyErr_Occurred()) SWIG_fail
;
27953 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
27960 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27961 PyObject
*resultobj
= 0;
27962 wxImageList
*arg1
= (wxImageList
*) 0 ;
27964 wxBitmap
*arg3
= 0 ;
27965 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
27966 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
27976 PyObject
* obj0
= 0 ;
27977 PyObject
* obj1
= 0 ;
27978 PyObject
* obj2
= 0 ;
27979 PyObject
* obj3
= 0 ;
27980 char * kwnames
[] = {
27981 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
27984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27986 if (!SWIG_IsOK(res1
)) {
27987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
27989 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27991 if (!SWIG_IsOK(ecode2
)) {
27992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
27994 arg2
= static_cast< int >(val2
);
27995 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27996 if (!SWIG_IsOK(res3
)) {
27997 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28002 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
28004 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28005 if (!SWIG_IsOK(res4
)) {
28006 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
28009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
28011 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
28014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28015 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
28016 wxPyEndAllowThreads(__tstate
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28028 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28029 PyObject
*resultobj
= 0;
28030 wxImageList
*arg1
= (wxImageList
*) 0 ;
28035 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
28036 bool arg7
= (bool) (bool)false ;
28052 PyObject
* obj0
= 0 ;
28053 PyObject
* obj1
= 0 ;
28054 PyObject
* obj2
= 0 ;
28055 PyObject
* obj3
= 0 ;
28056 PyObject
* obj4
= 0 ;
28057 PyObject
* obj5
= 0 ;
28058 PyObject
* obj6
= 0 ;
28059 char * kwnames
[] = {
28060 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
28063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28065 if (!SWIG_IsOK(res1
)) {
28066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
28068 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28070 if (!SWIG_IsOK(ecode2
)) {
28071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
28073 arg2
= static_cast< int >(val2
);
28074 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28075 if (!SWIG_IsOK(res3
)) {
28076 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
28079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
28081 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28082 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28083 if (!SWIG_IsOK(ecode4
)) {
28084 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
28086 arg4
= static_cast< int >(val4
);
28087 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28088 if (!SWIG_IsOK(ecode5
)) {
28089 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
28091 arg5
= static_cast< int >(val5
);
28093 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28094 if (!SWIG_IsOK(ecode6
)) {
28095 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
28097 arg6
= static_cast< int >(val6
);
28100 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
28101 if (!SWIG_IsOK(ecode7
)) {
28102 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
28104 arg7
= static_cast< bool >(val7
);
28107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28108 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
28109 wxPyEndAllowThreads(__tstate
);
28110 if (PyErr_Occurred()) SWIG_fail
;
28113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28121 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28122 PyObject
*resultobj
= 0;
28123 wxImageList
*arg1
= (wxImageList
*) 0 ;
28127 PyObject
*swig_obj
[1] ;
28129 if (!args
) SWIG_fail
;
28130 swig_obj
[0] = args
;
28131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28132 if (!SWIG_IsOK(res1
)) {
28133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
28135 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28138 result
= (int)(arg1
)->GetImageCount();
28139 wxPyEndAllowThreads(__tstate
);
28140 if (PyErr_Occurred()) SWIG_fail
;
28142 resultobj
= SWIG_From_int(static_cast< int >(result
));
28149 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28150 PyObject
*resultobj
= 0;
28151 wxImageList
*arg1
= (wxImageList
*) 0 ;
28158 PyObject
* obj0
= 0 ;
28159 PyObject
* obj1
= 0 ;
28160 char * kwnames
[] = {
28161 (char *) "self",(char *) "index", NULL
28164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28166 if (!SWIG_IsOK(res1
)) {
28167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
28169 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28171 if (!SWIG_IsOK(ecode2
)) {
28172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
28174 arg2
= static_cast< int >(val2
);
28176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28177 result
= (bool)(arg1
)->Remove(arg2
);
28178 wxPyEndAllowThreads(__tstate
);
28179 if (PyErr_Occurred()) SWIG_fail
;
28182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28190 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28191 PyObject
*resultobj
= 0;
28192 wxImageList
*arg1
= (wxImageList
*) 0 ;
28196 PyObject
*swig_obj
[1] ;
28198 if (!args
) SWIG_fail
;
28199 swig_obj
[0] = args
;
28200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28201 if (!SWIG_IsOK(res1
)) {
28202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
28204 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28207 result
= (bool)(arg1
)->RemoveAll();
28208 wxPyEndAllowThreads(__tstate
);
28209 if (PyErr_Occurred()) SWIG_fail
;
28212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28220 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28221 PyObject
*resultobj
= 0;
28222 wxImageList
*arg1
= (wxImageList
*) 0 ;
28231 int res3
= SWIG_TMPOBJ
;
28233 int res4
= SWIG_TMPOBJ
;
28234 PyObject
* obj0
= 0 ;
28235 PyObject
* obj1
= 0 ;
28236 char * kwnames
[] = {
28237 (char *) "self",(char *) "index", NULL
28242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28244 if (!SWIG_IsOK(res1
)) {
28245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
28247 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28249 if (!SWIG_IsOK(ecode2
)) {
28250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
28252 arg2
= static_cast< int >(val2
);
28254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28255 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
28256 wxPyEndAllowThreads(__tstate
);
28257 if (PyErr_Occurred()) SWIG_fail
;
28259 resultobj
= SWIG_Py_Void();
28260 if (SWIG_IsTmpObj(res3
)) {
28261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28263 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28264 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28266 if (SWIG_IsTmpObj(res4
)) {
28267 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28269 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28270 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28278 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28280 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28281 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
28282 return SWIG_Py_Void();
28285 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28286 return SWIG_Python_InitShadowInstance(args
);
28289 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28290 PyObject
*resultobj
= 0;
28291 wxStockGDI
*result
= 0 ;
28293 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
28295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28296 result
= (wxStockGDI
*)new wxStockGDI();
28297 wxPyEndAllowThreads(__tstate
);
28298 if (PyErr_Occurred()) SWIG_fail
;
28300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
28307 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28308 PyObject
*resultobj
= 0;
28309 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
28312 PyObject
*swig_obj
[1] ;
28314 if (!args
) SWIG_fail
;
28315 swig_obj
[0] = args
;
28316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
28317 if (!SWIG_IsOK(res1
)) {
28318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
28320 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
28322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28325 wxPyEndAllowThreads(__tstate
);
28326 if (PyErr_Occurred()) SWIG_fail
;
28328 resultobj
= SWIG_Py_Void();
28335 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28336 PyObject
*resultobj
= 0;
28338 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
28340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28341 wxStockGDI::DeleteAll();
28342 wxPyEndAllowThreads(__tstate
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28345 resultobj
= SWIG_Py_Void();
28352 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28353 PyObject
*resultobj
= 0;
28354 wxStockGDI
*result
= 0 ;
28356 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
28358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28360 wxStockGDI
&_result_ref
= wxStockGDI::instance();
28361 result
= (wxStockGDI
*) &_result_ref
;
28363 wxPyEndAllowThreads(__tstate
);
28364 if (PyErr_Occurred()) SWIG_fail
;
28366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
28373 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28374 PyObject
*resultobj
= 0;
28375 wxStockGDI::Item arg1
;
28376 wxBrush
*result
= 0 ;
28379 PyObject
* obj0
= 0 ;
28380 char * kwnames
[] = {
28381 (char *) "item", NULL
28384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
28385 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28386 if (!SWIG_IsOK(ecode1
)) {
28387 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28389 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28392 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
28393 wxPyEndAllowThreads(__tstate
);
28394 if (PyErr_Occurred()) SWIG_fail
;
28396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
28403 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28404 PyObject
*resultobj
= 0;
28405 wxStockGDI::Item arg1
;
28406 wxColour
*result
= 0 ;
28409 PyObject
* obj0
= 0 ;
28410 char * kwnames
[] = {
28411 (char *) "item", NULL
28414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
28415 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28416 if (!SWIG_IsOK(ecode1
)) {
28417 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28419 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28422 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
28423 wxPyEndAllowThreads(__tstate
);
28424 if (PyErr_Occurred()) SWIG_fail
;
28426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
28433 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28434 PyObject
*resultobj
= 0;
28435 wxStockGDI::Item arg1
;
28436 wxCursor
*result
= 0 ;
28439 PyObject
* obj0
= 0 ;
28440 char * kwnames
[] = {
28441 (char *) "item", NULL
28444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
28445 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28446 if (!SWIG_IsOK(ecode1
)) {
28447 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28449 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28452 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
28453 wxPyEndAllowThreads(__tstate
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
28463 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28464 PyObject
*resultobj
= 0;
28465 wxStockGDI::Item arg1
;
28466 wxPen
*result
= 0 ;
28469 PyObject
* obj0
= 0 ;
28470 char * kwnames
[] = {
28471 (char *) "item", NULL
28474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
28475 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28476 if (!SWIG_IsOK(ecode1
)) {
28477 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28479 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28482 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
28483 wxPyEndAllowThreads(__tstate
);
28484 if (PyErr_Occurred()) SWIG_fail
;
28486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28493 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28494 PyObject
*resultobj
= 0;
28495 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
28496 wxStockGDI::Item arg2
;
28497 wxFont
*result
= 0 ;
28502 PyObject
* obj0
= 0 ;
28503 PyObject
* obj1
= 0 ;
28504 char * kwnames
[] = {
28505 (char *) "self",(char *) "item", NULL
28508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
28510 if (!SWIG_IsOK(res1
)) {
28511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
28513 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
28514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28515 if (!SWIG_IsOK(ecode2
)) {
28516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
28518 arg2
= static_cast< wxStockGDI::Item
>(val2
);
28520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28521 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
28522 wxPyEndAllowThreads(__tstate
);
28523 if (PyErr_Occurred()) SWIG_fail
;
28525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28532 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28534 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28535 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
28536 return SWIG_Py_Void();
28539 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28540 return SWIG_Python_InitShadowInstance(args
);
28543 SWIGINTERN
int NullBitmap_set(PyObject
*) {
28544 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
28549 SWIGINTERN PyObject
*NullBitmap_get(void) {
28550 PyObject
*pyobj
= 0;
28552 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
28557 SWIGINTERN
int NullIcon_set(PyObject
*) {
28558 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
28563 SWIGINTERN PyObject
*NullIcon_get(void) {
28564 PyObject
*pyobj
= 0;
28566 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
28571 SWIGINTERN
int NullCursor_set(PyObject
*) {
28572 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
28577 SWIGINTERN PyObject
*NullCursor_get(void) {
28578 PyObject
*pyobj
= 0;
28580 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
28585 SWIGINTERN
int NullPen_set(PyObject
*) {
28586 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
28591 SWIGINTERN PyObject
*NullPen_get(void) {
28592 PyObject
*pyobj
= 0;
28594 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
28599 SWIGINTERN
int NullBrush_set(PyObject
*) {
28600 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
28605 SWIGINTERN PyObject
*NullBrush_get(void) {
28606 PyObject
*pyobj
= 0;
28608 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
28613 SWIGINTERN
int NullPalette_set(PyObject
*) {
28614 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
28619 SWIGINTERN PyObject
*NullPalette_get(void) {
28620 PyObject
*pyobj
= 0;
28622 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
28627 SWIGINTERN
int NullFont_set(PyObject
*) {
28628 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
28633 SWIGINTERN PyObject
*NullFont_get(void) {
28634 PyObject
*pyobj
= 0;
28636 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
28641 SWIGINTERN
int NullColour_set(PyObject
*) {
28642 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
28647 SWIGINTERN PyObject
*NullColour_get(void) {
28648 PyObject
*pyobj
= 0;
28650 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
28655 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28656 PyObject
*resultobj
= 0;
28657 wxGDIObjListBase
*result
= 0 ;
28659 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
28661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28662 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
28663 wxPyEndAllowThreads(__tstate
);
28664 if (PyErr_Occurred()) SWIG_fail
;
28666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
28673 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28674 PyObject
*resultobj
= 0;
28675 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
28678 PyObject
*swig_obj
[1] ;
28680 if (!args
) SWIG_fail
;
28681 swig_obj
[0] = args
;
28682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
28683 if (!SWIG_IsOK(res1
)) {
28684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
28686 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
28688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28691 wxPyEndAllowThreads(__tstate
);
28692 if (PyErr_Occurred()) SWIG_fail
;
28694 resultobj
= SWIG_Py_Void();
28701 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28704 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
28705 return SWIG_Py_Void();
28708 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28709 return SWIG_Python_InitShadowInstance(args
);
28712 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28713 PyObject
*resultobj
= 0;
28714 wxPenList
*arg1
= (wxPenList
*) 0 ;
28715 wxColour
*arg2
= 0 ;
28718 wxPen
*result
= 0 ;
28726 PyObject
* obj0
= 0 ;
28727 PyObject
* obj1
= 0 ;
28728 PyObject
* obj2
= 0 ;
28729 PyObject
* obj3
= 0 ;
28730 char * kwnames
[] = {
28731 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
28734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28736 if (!SWIG_IsOK(res1
)) {
28737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28739 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28742 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28745 if (!SWIG_IsOK(ecode3
)) {
28746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
28748 arg3
= static_cast< int >(val3
);
28749 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28750 if (!SWIG_IsOK(ecode4
)) {
28751 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
28753 arg4
= static_cast< int >(val4
);
28755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28756 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
28757 wxPyEndAllowThreads(__tstate
);
28758 if (PyErr_Occurred()) SWIG_fail
;
28760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28767 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28768 PyObject
*resultobj
= 0;
28769 wxPenList
*arg1
= (wxPenList
*) 0 ;
28770 wxPen
*arg2
= (wxPen
*) 0 ;
28775 PyObject
* obj0
= 0 ;
28776 PyObject
* obj1
= 0 ;
28777 char * kwnames
[] = {
28778 (char *) "self",(char *) "pen", NULL
28781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28783 if (!SWIG_IsOK(res1
)) {
28784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
28786 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28787 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28788 if (!SWIG_IsOK(res2
)) {
28789 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
28791 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28794 (arg1
)->AddPen(arg2
);
28795 wxPyEndAllowThreads(__tstate
);
28796 if (PyErr_Occurred()) SWIG_fail
;
28798 resultobj
= SWIG_Py_Void();
28805 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28806 PyObject
*resultobj
= 0;
28807 wxPenList
*arg1
= (wxPenList
*) 0 ;
28808 wxPen
*arg2
= (wxPen
*) 0 ;
28813 PyObject
* obj0
= 0 ;
28814 PyObject
* obj1
= 0 ;
28815 char * kwnames
[] = {
28816 (char *) "self",(char *) "pen", NULL
28819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28821 if (!SWIG_IsOK(res1
)) {
28822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28824 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28825 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28826 if (!SWIG_IsOK(res2
)) {
28827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
28829 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28832 (arg1
)->RemovePen(arg2
);
28833 wxPyEndAllowThreads(__tstate
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28836 resultobj
= SWIG_Py_Void();
28843 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28845 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28846 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
28847 return SWIG_Py_Void();
28850 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28851 PyObject
*resultobj
= 0;
28852 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28853 wxColour
*arg2
= 0 ;
28854 int arg3
= (int) wxSOLID
;
28855 wxBrush
*result
= 0 ;
28861 PyObject
* obj0
= 0 ;
28862 PyObject
* obj1
= 0 ;
28863 PyObject
* obj2
= 0 ;
28864 char * kwnames
[] = {
28865 (char *) "self",(char *) "colour",(char *) "style", NULL
28868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28870 if (!SWIG_IsOK(res1
)) {
28871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28873 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28876 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28879 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28880 if (!SWIG_IsOK(ecode3
)) {
28881 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
28883 arg3
= static_cast< int >(val3
);
28886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28887 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
28888 wxPyEndAllowThreads(__tstate
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
28898 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28899 PyObject
*resultobj
= 0;
28900 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28901 wxBrush
*arg2
= (wxBrush
*) 0 ;
28906 PyObject
* obj0
= 0 ;
28907 PyObject
* obj1
= 0 ;
28908 char * kwnames
[] = {
28909 (char *) "self",(char *) "brush", NULL
28912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28914 if (!SWIG_IsOK(res1
)) {
28915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28917 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28918 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28919 if (!SWIG_IsOK(res2
)) {
28920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28922 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28925 (arg1
)->AddBrush(arg2
);
28926 wxPyEndAllowThreads(__tstate
);
28927 if (PyErr_Occurred()) SWIG_fail
;
28929 resultobj
= SWIG_Py_Void();
28936 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28937 PyObject
*resultobj
= 0;
28938 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28939 wxBrush
*arg2
= (wxBrush
*) 0 ;
28944 PyObject
* obj0
= 0 ;
28945 PyObject
* obj1
= 0 ;
28946 char * kwnames
[] = {
28947 (char *) "self",(char *) "brush", NULL
28950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28952 if (!SWIG_IsOK(res1
)) {
28953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28955 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28956 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28957 if (!SWIG_IsOK(res2
)) {
28958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28960 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28963 (arg1
)->RemoveBrush(arg2
);
28964 wxPyEndAllowThreads(__tstate
);
28965 if (PyErr_Occurred()) SWIG_fail
;
28967 resultobj
= SWIG_Py_Void();
28974 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28976 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28977 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
28978 return SWIG_Py_Void();
28981 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28982 PyObject
*resultobj
= 0;
28983 wxFontList
*arg1
= (wxFontList
*) 0 ;
28988 bool arg6
= (bool) false ;
28989 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28990 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28991 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
28992 wxFont
*result
= 0 ;
29005 bool temp7
= false ;
29008 PyObject
* obj0
= 0 ;
29009 PyObject
* obj1
= 0 ;
29010 PyObject
* obj2
= 0 ;
29011 PyObject
* obj3
= 0 ;
29012 PyObject
* obj4
= 0 ;
29013 PyObject
* obj5
= 0 ;
29014 PyObject
* obj6
= 0 ;
29015 PyObject
* obj7
= 0 ;
29016 char * kwnames
[] = {
29017 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
29020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29022 if (!SWIG_IsOK(res1
)) {
29023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29025 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29027 if (!SWIG_IsOK(ecode2
)) {
29028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
29030 arg2
= static_cast< int >(val2
);
29031 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29032 if (!SWIG_IsOK(ecode3
)) {
29033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
29035 arg3
= static_cast< int >(val3
);
29036 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29037 if (!SWIG_IsOK(ecode4
)) {
29038 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
29040 arg4
= static_cast< int >(val4
);
29041 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29042 if (!SWIG_IsOK(ecode5
)) {
29043 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
29045 arg5
= static_cast< int >(val5
);
29047 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
29048 if (!SWIG_IsOK(ecode6
)) {
29049 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
29051 arg6
= static_cast< bool >(val6
);
29055 arg7
= wxString_in_helper(obj6
);
29056 if (arg7
== NULL
) SWIG_fail
;
29061 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
29062 if (!SWIG_IsOK(ecode8
)) {
29063 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
29065 arg8
= static_cast< wxFontEncoding
>(val8
);
29068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29069 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
29070 wxPyEndAllowThreads(__tstate
);
29071 if (PyErr_Occurred()) SWIG_fail
;
29073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29088 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29089 PyObject
*resultobj
= 0;
29090 wxFontList
*arg1
= (wxFontList
*) 0 ;
29091 wxFont
*arg2
= (wxFont
*) 0 ;
29096 PyObject
* obj0
= 0 ;
29097 PyObject
* obj1
= 0 ;
29098 char * kwnames
[] = {
29099 (char *) "self",(char *) "font", NULL
29102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29104 if (!SWIG_IsOK(res1
)) {
29105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29107 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29108 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29109 if (!SWIG_IsOK(res2
)) {
29110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
29112 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29115 (arg1
)->AddFont(arg2
);
29116 wxPyEndAllowThreads(__tstate
);
29117 if (PyErr_Occurred()) SWIG_fail
;
29119 resultobj
= SWIG_Py_Void();
29126 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29127 PyObject
*resultobj
= 0;
29128 wxFontList
*arg1
= (wxFontList
*) 0 ;
29129 wxFont
*arg2
= (wxFont
*) 0 ;
29134 PyObject
* obj0
= 0 ;
29135 PyObject
* obj1
= 0 ;
29136 char * kwnames
[] = {
29137 (char *) "self",(char *) "font", NULL
29140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29142 if (!SWIG_IsOK(res1
)) {
29143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29145 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29146 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29147 if (!SWIG_IsOK(res2
)) {
29148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
29150 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29153 (arg1
)->RemoveFont(arg2
);
29154 wxPyEndAllowThreads(__tstate
);
29155 if (PyErr_Occurred()) SWIG_fail
;
29157 resultobj
= SWIG_Py_Void();
29164 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29166 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29167 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
29168 return SWIG_Py_Void();
29171 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29172 PyObject
*resultobj
= 0;
29173 wxColourDatabase
*result
= 0 ;
29175 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
29177 if (!wxPyCheckForApp()) SWIG_fail
;
29178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29179 result
= (wxColourDatabase
*)new wxColourDatabase();
29180 wxPyEndAllowThreads(__tstate
);
29181 if (PyErr_Occurred()) SWIG_fail
;
29183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
29190 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29191 PyObject
*resultobj
= 0;
29192 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29195 PyObject
*swig_obj
[1] ;
29197 if (!args
) SWIG_fail
;
29198 swig_obj
[0] = args
;
29199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
29200 if (!SWIG_IsOK(res1
)) {
29201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29203 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 wxPyEndAllowThreads(__tstate
);
29209 if (PyErr_Occurred()) SWIG_fail
;
29211 resultobj
= SWIG_Py_Void();
29218 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29219 PyObject
*resultobj
= 0;
29220 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29221 wxString
*arg2
= 0 ;
29225 bool temp2
= false ;
29226 PyObject
* obj0
= 0 ;
29227 PyObject
* obj1
= 0 ;
29228 char * kwnames
[] = {
29229 (char *) "self",(char *) "name", NULL
29232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29234 if (!SWIG_IsOK(res1
)) {
29235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
29237 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29239 arg2
= wxString_in_helper(obj1
);
29240 if (arg2
== NULL
) SWIG_fail
;
29244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29245 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
29246 wxPyEndAllowThreads(__tstate
);
29247 if (PyErr_Occurred()) SWIG_fail
;
29249 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29264 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29265 PyObject
*resultobj
= 0;
29266 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29267 wxColour
*arg2
= 0 ;
29272 PyObject
* obj0
= 0 ;
29273 PyObject
* obj1
= 0 ;
29274 char * kwnames
[] = {
29275 (char *) "self",(char *) "colour", NULL
29278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29280 if (!SWIG_IsOK(res1
)) {
29281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
29283 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29286 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29290 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
29291 wxPyEndAllowThreads(__tstate
);
29292 if (PyErr_Occurred()) SWIG_fail
;
29296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29307 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29308 PyObject
*resultobj
= 0;
29309 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29310 wxString
*arg2
= 0 ;
29311 wxColour
*arg3
= 0 ;
29314 bool temp2
= false ;
29316 PyObject
* obj0
= 0 ;
29317 PyObject
* obj1
= 0 ;
29318 PyObject
* obj2
= 0 ;
29319 char * kwnames
[] = {
29320 (char *) "self",(char *) "name",(char *) "colour", NULL
29323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29325 if (!SWIG_IsOK(res1
)) {
29326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29328 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29330 arg2
= wxString_in_helper(obj1
);
29331 if (arg2
== NULL
) SWIG_fail
;
29336 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29340 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
29341 wxPyEndAllowThreads(__tstate
);
29342 if (PyErr_Occurred()) SWIG_fail
;
29344 resultobj
= SWIG_Py_Void();
29359 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29360 PyObject
*resultobj
= 0;
29361 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29362 wxString
*arg2
= 0 ;
29368 bool temp2
= false ;
29375 PyObject
* obj0
= 0 ;
29376 PyObject
* obj1
= 0 ;
29377 PyObject
* obj2
= 0 ;
29378 PyObject
* obj3
= 0 ;
29379 PyObject
* obj4
= 0 ;
29380 char * kwnames
[] = {
29381 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
29384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29386 if (!SWIG_IsOK(res1
)) {
29387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29389 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29391 arg2
= wxString_in_helper(obj1
);
29392 if (arg2
== NULL
) SWIG_fail
;
29395 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29396 if (!SWIG_IsOK(ecode3
)) {
29397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
29399 arg3
= static_cast< int >(val3
);
29400 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29401 if (!SWIG_IsOK(ecode4
)) {
29402 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
29404 arg4
= static_cast< int >(val4
);
29405 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29406 if (!SWIG_IsOK(ecode5
)) {
29407 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
29409 arg5
= static_cast< int >(val5
);
29411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29412 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29413 wxPyEndAllowThreads(__tstate
);
29414 if (PyErr_Occurred()) SWIG_fail
;
29416 resultobj
= SWIG_Py_Void();
29431 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29434 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
29435 return SWIG_Py_Void();
29438 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29439 return SWIG_Python_InitShadowInstance(args
);
29442 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29443 PyObject
*resultobj
= 0;
29444 wxFontList
*result
= 0 ;
29446 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
29448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29449 result
= (wxFontList
*)_wxPyInitTheFontList();
29450 wxPyEndAllowThreads(__tstate
);
29451 if (PyErr_Occurred()) SWIG_fail
;
29453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
29460 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29461 PyObject
*resultobj
= 0;
29462 wxPenList
*result
= 0 ;
29464 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
29466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29467 result
= (wxPenList
*)_wxPyInitThePenList();
29468 wxPyEndAllowThreads(__tstate
);
29469 if (PyErr_Occurred()) SWIG_fail
;
29471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
29478 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29479 PyObject
*resultobj
= 0;
29480 wxBrushList
*result
= 0 ;
29482 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
29484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29485 result
= (wxBrushList
*)_wxPyInitTheBrushList();
29486 wxPyEndAllowThreads(__tstate
);
29487 if (PyErr_Occurred()) SWIG_fail
;
29489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
29496 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29497 PyObject
*resultobj
= 0;
29498 wxColourDatabase
*result
= 0 ;
29500 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
29502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29503 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
29504 wxPyEndAllowThreads(__tstate
);
29505 if (PyErr_Occurred()) SWIG_fail
;
29507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29514 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29515 PyObject
*resultobj
= 0;
29516 wxEffects
*result
= 0 ;
29518 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
29520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29521 result
= (wxEffects
*)new wxEffects();
29522 wxPyEndAllowThreads(__tstate
);
29523 if (PyErr_Occurred()) SWIG_fail
;
29525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
29532 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29533 PyObject
*resultobj
= 0;
29534 wxEffects
*arg1
= (wxEffects
*) 0 ;
29538 PyObject
*swig_obj
[1] ;
29540 if (!args
) SWIG_fail
;
29541 swig_obj
[0] = args
;
29542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29543 if (!SWIG_IsOK(res1
)) {
29544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
29546 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29549 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
29550 wxPyEndAllowThreads(__tstate
);
29551 if (PyErr_Occurred()) SWIG_fail
;
29553 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29560 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29561 PyObject
*resultobj
= 0;
29562 wxEffects
*arg1
= (wxEffects
*) 0 ;
29566 PyObject
*swig_obj
[1] ;
29568 if (!args
) SWIG_fail
;
29569 swig_obj
[0] = args
;
29570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29571 if (!SWIG_IsOK(res1
)) {
29572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29574 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29577 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
29578 wxPyEndAllowThreads(__tstate
);
29579 if (PyErr_Occurred()) SWIG_fail
;
29581 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29588 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29589 PyObject
*resultobj
= 0;
29590 wxEffects
*arg1
= (wxEffects
*) 0 ;
29594 PyObject
*swig_obj
[1] ;
29596 if (!args
) SWIG_fail
;
29597 swig_obj
[0] = args
;
29598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29599 if (!SWIG_IsOK(res1
)) {
29600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
29602 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29605 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
29606 wxPyEndAllowThreads(__tstate
);
29607 if (PyErr_Occurred()) SWIG_fail
;
29609 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29616 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29617 PyObject
*resultobj
= 0;
29618 wxEffects
*arg1
= (wxEffects
*) 0 ;
29622 PyObject
*swig_obj
[1] ;
29624 if (!args
) SWIG_fail
;
29625 swig_obj
[0] = args
;
29626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29627 if (!SWIG_IsOK(res1
)) {
29628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29630 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29633 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
29634 wxPyEndAllowThreads(__tstate
);
29635 if (PyErr_Occurred()) SWIG_fail
;
29637 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29644 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29645 PyObject
*resultobj
= 0;
29646 wxEffects
*arg1
= (wxEffects
*) 0 ;
29650 PyObject
*swig_obj
[1] ;
29652 if (!args
) SWIG_fail
;
29653 swig_obj
[0] = args
;
29654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29655 if (!SWIG_IsOK(res1
)) {
29656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29658 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29661 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
29662 wxPyEndAllowThreads(__tstate
);
29663 if (PyErr_Occurred()) SWIG_fail
;
29665 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29672 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29673 PyObject
*resultobj
= 0;
29674 wxEffects
*arg1
= (wxEffects
*) 0 ;
29675 wxColour
*arg2
= 0 ;
29679 PyObject
* obj0
= 0 ;
29680 PyObject
* obj1
= 0 ;
29681 char * kwnames
[] = {
29682 (char *) "self",(char *) "c", NULL
29685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29687 if (!SWIG_IsOK(res1
)) {
29688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29690 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29693 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29697 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
29698 wxPyEndAllowThreads(__tstate
);
29699 if (PyErr_Occurred()) SWIG_fail
;
29701 resultobj
= SWIG_Py_Void();
29708 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29709 PyObject
*resultobj
= 0;
29710 wxEffects
*arg1
= (wxEffects
*) 0 ;
29711 wxColour
*arg2
= 0 ;
29715 PyObject
* obj0
= 0 ;
29716 PyObject
* obj1
= 0 ;
29717 char * kwnames
[] = {
29718 (char *) "self",(char *) "c", NULL
29721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29723 if (!SWIG_IsOK(res1
)) {
29724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29726 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29729 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29733 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
29734 wxPyEndAllowThreads(__tstate
);
29735 if (PyErr_Occurred()) SWIG_fail
;
29737 resultobj
= SWIG_Py_Void();
29744 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29745 PyObject
*resultobj
= 0;
29746 wxEffects
*arg1
= (wxEffects
*) 0 ;
29747 wxColour
*arg2
= 0 ;
29751 PyObject
* obj0
= 0 ;
29752 PyObject
* obj1
= 0 ;
29753 char * kwnames
[] = {
29754 (char *) "self",(char *) "c", NULL
29757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29759 if (!SWIG_IsOK(res1
)) {
29760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29762 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29765 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29769 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
29770 wxPyEndAllowThreads(__tstate
);
29771 if (PyErr_Occurred()) SWIG_fail
;
29773 resultobj
= SWIG_Py_Void();
29780 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29781 PyObject
*resultobj
= 0;
29782 wxEffects
*arg1
= (wxEffects
*) 0 ;
29783 wxColour
*arg2
= 0 ;
29787 PyObject
* obj0
= 0 ;
29788 PyObject
* obj1
= 0 ;
29789 char * kwnames
[] = {
29790 (char *) "self",(char *) "c", NULL
29793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29795 if (!SWIG_IsOK(res1
)) {
29796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29798 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29801 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29805 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
29806 wxPyEndAllowThreads(__tstate
);
29807 if (PyErr_Occurred()) SWIG_fail
;
29809 resultobj
= SWIG_Py_Void();
29816 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29817 PyObject
*resultobj
= 0;
29818 wxEffects
*arg1
= (wxEffects
*) 0 ;
29819 wxColour
*arg2
= 0 ;
29823 PyObject
* obj0
= 0 ;
29824 PyObject
* obj1
= 0 ;
29825 char * kwnames
[] = {
29826 (char *) "self",(char *) "c", NULL
29829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29831 if (!SWIG_IsOK(res1
)) {
29832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29834 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29837 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29841 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
29842 wxPyEndAllowThreads(__tstate
);
29843 if (PyErr_Occurred()) SWIG_fail
;
29845 resultobj
= SWIG_Py_Void();
29852 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29853 PyObject
*resultobj
= 0;
29854 wxEffects
*arg1
= (wxEffects
*) 0 ;
29855 wxColour
*arg2
= 0 ;
29856 wxColour
*arg3
= 0 ;
29857 wxColour
*arg4
= 0 ;
29858 wxColour
*arg5
= 0 ;
29859 wxColour
*arg6
= 0 ;
29867 PyObject
* obj0
= 0 ;
29868 PyObject
* obj1
= 0 ;
29869 PyObject
* obj2
= 0 ;
29870 PyObject
* obj3
= 0 ;
29871 PyObject
* obj4
= 0 ;
29872 PyObject
* obj5
= 0 ;
29873 char * kwnames
[] = {
29874 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
29877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29879 if (!SWIG_IsOK(res1
)) {
29880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
29882 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29885 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29889 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29893 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
29897 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
29901 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
29904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29905 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
29906 wxPyEndAllowThreads(__tstate
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29909 resultobj
= SWIG_Py_Void();
29916 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29917 PyObject
*resultobj
= 0;
29918 wxEffects
*arg1
= (wxEffects
*) 0 ;
29921 int arg4
= (int) 1 ;
29929 PyObject
* obj0
= 0 ;
29930 PyObject
* obj1
= 0 ;
29931 PyObject
* obj2
= 0 ;
29932 PyObject
* obj3
= 0 ;
29933 char * kwnames
[] = {
29934 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
29937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29939 if (!SWIG_IsOK(res1
)) {
29940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
29942 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29943 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
29944 if (!SWIG_IsOK(res2
)) {
29945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29950 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29953 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29956 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29957 if (!SWIG_IsOK(ecode4
)) {
29958 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
29960 arg4
= static_cast< int >(val4
);
29963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29964 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
29965 wxPyEndAllowThreads(__tstate
);
29966 if (PyErr_Occurred()) SWIG_fail
;
29968 resultobj
= SWIG_Py_Void();
29975 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29976 PyObject
*resultobj
= 0;
29977 wxEffects
*arg1
= (wxEffects
*) 0 ;
29980 wxBitmap
*arg4
= 0 ;
29989 PyObject
* obj0
= 0 ;
29990 PyObject
* obj1
= 0 ;
29991 PyObject
* obj2
= 0 ;
29992 PyObject
* obj3
= 0 ;
29993 char * kwnames
[] = {
29994 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
29997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29999 if (!SWIG_IsOK(res1
)) {
30000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
30002 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30005 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30007 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30008 if (!SWIG_IsOK(res3
)) {
30009 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
30012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
30014 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30015 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
30016 if (!SWIG_IsOK(res4
)) {
30017 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
30020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
30022 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
30024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30025 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
30026 wxPyEndAllowThreads(__tstate
);
30027 if (PyErr_Occurred()) SWIG_fail
;
30030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30038 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30040 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30041 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
30042 return SWIG_Py_Void();
30045 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30046 return SWIG_Python_InitShadowInstance(args
);
30049 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30050 PyObject
*resultobj
= 0;
30054 wxSplitterRenderParams
*result
= 0 ;
30061 PyObject
* obj0
= 0 ;
30062 PyObject
* obj1
= 0 ;
30063 PyObject
* obj2
= 0 ;
30064 char * kwnames
[] = {
30065 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
30068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30069 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30070 if (!SWIG_IsOK(ecode1
)) {
30071 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
30073 arg1
= static_cast< int >(val1
);
30074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30075 if (!SWIG_IsOK(ecode2
)) {
30076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
30078 arg2
= static_cast< int >(val2
);
30079 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30080 if (!SWIG_IsOK(ecode3
)) {
30081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
30083 arg3
= static_cast< bool >(val3
);
30085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30086 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
30087 wxPyEndAllowThreads(__tstate
);
30088 if (PyErr_Occurred()) SWIG_fail
;
30090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
30097 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30098 PyObject
*resultobj
= 0;
30099 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30102 PyObject
*swig_obj
[1] ;
30104 if (!args
) SWIG_fail
;
30105 swig_obj
[0] = args
;
30106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
30107 if (!SWIG_IsOK(res1
)) {
30108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30110 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30115 wxPyEndAllowThreads(__tstate
);
30116 if (PyErr_Occurred()) SWIG_fail
;
30118 resultobj
= SWIG_Py_Void();
30125 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30126 PyObject
*resultobj
= 0;
30127 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30131 PyObject
*swig_obj
[1] ;
30133 if (!args
) SWIG_fail
;
30134 swig_obj
[0] = args
;
30135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30136 if (!SWIG_IsOK(res1
)) {
30137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30139 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30140 result
= (int)(int) ((arg1
)->widthSash
);
30141 resultobj
= SWIG_From_int(static_cast< int >(result
));
30148 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30149 PyObject
*resultobj
= 0;
30150 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30154 PyObject
*swig_obj
[1] ;
30156 if (!args
) SWIG_fail
;
30157 swig_obj
[0] = args
;
30158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30159 if (!SWIG_IsOK(res1
)) {
30160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30162 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30163 result
= (int)(int) ((arg1
)->border
);
30164 resultobj
= SWIG_From_int(static_cast< int >(result
));
30171 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30172 PyObject
*resultobj
= 0;
30173 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30177 PyObject
*swig_obj
[1] ;
30179 if (!args
) SWIG_fail
;
30180 swig_obj
[0] = args
;
30181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30182 if (!SWIG_IsOK(res1
)) {
30183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30185 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30186 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
30187 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
30194 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30197 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
30198 return SWIG_Py_Void();
30201 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30202 return SWIG_Python_InitShadowInstance(args
);
30205 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30206 PyObject
*resultobj
= 0;
30207 wxHeaderButtonParams
*result
= 0 ;
30209 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
30211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30212 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
30213 wxPyEndAllowThreads(__tstate
);
30214 if (PyErr_Occurred()) SWIG_fail
;
30216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
30223 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30224 PyObject
*resultobj
= 0;
30225 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30228 PyObject
*swig_obj
[1] ;
30230 if (!args
) SWIG_fail
;
30231 swig_obj
[0] = args
;
30232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
30233 if (!SWIG_IsOK(res1
)) {
30234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30236 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30241 wxPyEndAllowThreads(__tstate
);
30242 if (PyErr_Occurred()) SWIG_fail
;
30244 resultobj
= SWIG_Py_Void();
30251 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30252 PyObject
*resultobj
= 0;
30253 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30254 wxColour
*arg2
= (wxColour
*) 0 ;
30258 PyObject
*swig_obj
[2] ;
30260 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
30261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30262 if (!SWIG_IsOK(res1
)) {
30263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30265 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30268 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30270 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
30272 resultobj
= SWIG_Py_Void();
30279 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30280 PyObject
*resultobj
= 0;
30281 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30282 wxColour
*result
= 0 ;
30285 PyObject
*swig_obj
[1] ;
30287 if (!args
) SWIG_fail
;
30288 swig_obj
[0] = args
;
30289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30290 if (!SWIG_IsOK(res1
)) {
30291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30293 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30294 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
30295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30302 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30303 PyObject
*resultobj
= 0;
30304 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30305 wxColour
*arg2
= (wxColour
*) 0 ;
30309 PyObject
*swig_obj
[2] ;
30311 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
30312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30313 if (!SWIG_IsOK(res1
)) {
30314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30316 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30319 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30321 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
30323 resultobj
= SWIG_Py_Void();
30330 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30331 PyObject
*resultobj
= 0;
30332 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30333 wxColour
*result
= 0 ;
30336 PyObject
*swig_obj
[1] ;
30338 if (!args
) SWIG_fail
;
30339 swig_obj
[0] = args
;
30340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30341 if (!SWIG_IsOK(res1
)) {
30342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30344 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30345 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
30346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30353 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30354 PyObject
*resultobj
= 0;
30355 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30356 wxString
*arg2
= (wxString
*) 0 ;
30359 bool temp2
= false ;
30360 PyObject
*swig_obj
[2] ;
30362 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
30363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30364 if (!SWIG_IsOK(res1
)) {
30365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30367 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30369 arg2
= wxString_in_helper(swig_obj
[1]);
30370 if (arg2
== NULL
) SWIG_fail
;
30373 if (arg1
) (arg1
)->m_labelText
= *arg2
;
30375 resultobj
= SWIG_Py_Void();
30390 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30391 PyObject
*resultobj
= 0;
30392 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30393 wxString
*result
= 0 ;
30396 PyObject
*swig_obj
[1] ;
30398 if (!args
) SWIG_fail
;
30399 swig_obj
[0] = args
;
30400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30401 if (!SWIG_IsOK(res1
)) {
30402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30404 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30405 result
= (wxString
*)& ((arg1
)->m_labelText
);
30408 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30410 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30419 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30420 PyObject
*resultobj
= 0;
30421 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30422 wxFont
*arg2
= (wxFont
*) 0 ;
30427 PyObject
*swig_obj
[2] ;
30429 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
30430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30431 if (!SWIG_IsOK(res1
)) {
30432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30434 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30435 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
30436 if (!SWIG_IsOK(res2
)) {
30437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
30439 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30440 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
30442 resultobj
= SWIG_Py_Void();
30449 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30450 PyObject
*resultobj
= 0;
30451 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30452 wxFont
*result
= 0 ;
30455 PyObject
*swig_obj
[1] ;
30457 if (!args
) SWIG_fail
;
30458 swig_obj
[0] = args
;
30459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30460 if (!SWIG_IsOK(res1
)) {
30461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30463 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30464 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
30465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
30472 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30473 PyObject
*resultobj
= 0;
30474 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30475 wxColour
*arg2
= (wxColour
*) 0 ;
30479 PyObject
*swig_obj
[2] ;
30481 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
30482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30483 if (!SWIG_IsOK(res1
)) {
30484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30486 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30489 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30491 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
30493 resultobj
= SWIG_Py_Void();
30500 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30501 PyObject
*resultobj
= 0;
30502 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30503 wxColour
*result
= 0 ;
30506 PyObject
*swig_obj
[1] ;
30508 if (!args
) SWIG_fail
;
30509 swig_obj
[0] = args
;
30510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30511 if (!SWIG_IsOK(res1
)) {
30512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30514 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30515 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
30516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30523 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30524 PyObject
*resultobj
= 0;
30525 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30526 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30531 PyObject
*swig_obj
[2] ;
30533 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
30534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30535 if (!SWIG_IsOK(res1
)) {
30536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30538 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30539 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
30540 if (!SWIG_IsOK(res2
)) {
30541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
30543 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30544 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
30546 resultobj
= SWIG_Py_Void();
30553 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30554 PyObject
*resultobj
= 0;
30555 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30556 wxBitmap
*result
= 0 ;
30559 PyObject
*swig_obj
[1] ;
30561 if (!args
) SWIG_fail
;
30562 swig_obj
[0] = args
;
30563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30564 if (!SWIG_IsOK(res1
)) {
30565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30567 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30568 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
30569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
30576 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30577 PyObject
*resultobj
= 0;
30578 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30584 PyObject
*swig_obj
[2] ;
30586 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
30587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30588 if (!SWIG_IsOK(res1
)) {
30589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30591 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30592 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30593 if (!SWIG_IsOK(ecode2
)) {
30594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
30596 arg2
= static_cast< int >(val2
);
30597 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
30599 resultobj
= SWIG_Py_Void();
30606 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30607 PyObject
*resultobj
= 0;
30608 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30612 PyObject
*swig_obj
[1] ;
30614 if (!args
) SWIG_fail
;
30615 swig_obj
[0] = args
;
30616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30617 if (!SWIG_IsOK(res1
)) {
30618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30620 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30621 result
= (int) ((arg1
)->m_labelAlignment
);
30622 resultobj
= SWIG_From_int(static_cast< int >(result
));
30629 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30631 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30632 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
30633 return SWIG_Py_Void();
30636 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30637 return SWIG_Python_InitShadowInstance(args
);
30640 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30641 PyObject
*resultobj
= 0;
30644 wxRendererVersion
*result
= 0 ;
30649 PyObject
* obj0
= 0 ;
30650 PyObject
* obj1
= 0 ;
30651 char * kwnames
[] = {
30652 (char *) "version_",(char *) "age_", NULL
30655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30656 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30657 if (!SWIG_IsOK(ecode1
)) {
30658 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
30660 arg1
= static_cast< int >(val1
);
30661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30662 if (!SWIG_IsOK(ecode2
)) {
30663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
30665 arg2
= static_cast< int >(val2
);
30667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30668 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
30669 wxPyEndAllowThreads(__tstate
);
30670 if (PyErr_Occurred()) SWIG_fail
;
30672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
30679 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30680 PyObject
*resultobj
= 0;
30681 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30684 PyObject
*swig_obj
[1] ;
30686 if (!args
) SWIG_fail
;
30687 swig_obj
[0] = args
;
30688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
30689 if (!SWIG_IsOK(res1
)) {
30690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30692 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30697 wxPyEndAllowThreads(__tstate
);
30698 if (PyErr_Occurred()) SWIG_fail
;
30700 resultobj
= SWIG_Py_Void();
30707 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30708 PyObject
*resultobj
= 0;
30709 wxRendererVersion
*arg1
= 0 ;
30713 PyObject
* obj0
= 0 ;
30714 char * kwnames
[] = {
30715 (char *) "ver", NULL
30718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
30719 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
30720 if (!SWIG_IsOK(res1
)) {
30721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30726 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30729 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
30730 wxPyEndAllowThreads(__tstate
);
30731 if (PyErr_Occurred()) SWIG_fail
;
30734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30742 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30743 PyObject
*resultobj
= 0;
30744 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30748 PyObject
*swig_obj
[1] ;
30750 if (!args
) SWIG_fail
;
30751 swig_obj
[0] = args
;
30752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30753 if (!SWIG_IsOK(res1
)) {
30754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30756 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30757 result
= (int)(int) ((arg1
)->version
);
30758 resultobj
= SWIG_From_int(static_cast< int >(result
));
30765 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30766 PyObject
*resultobj
= 0;
30767 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30771 PyObject
*swig_obj
[1] ;
30773 if (!args
) SWIG_fail
;
30774 swig_obj
[0] = args
;
30775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30776 if (!SWIG_IsOK(res1
)) {
30777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30779 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30780 result
= (int)(int) ((arg1
)->age
);
30781 resultobj
= SWIG_From_int(static_cast< int >(result
));
30788 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30790 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30791 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
30792 return SWIG_Py_Void();
30795 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30796 return SWIG_Python_InitShadowInstance(args
);
30799 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30800 PyObject
*resultobj
= 0;
30801 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30802 wxWindow
*arg2
= (wxWindow
*) 0 ;
30805 int arg5
= (int) 0 ;
30806 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30807 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30821 PyObject
* obj0
= 0 ;
30822 PyObject
* obj1
= 0 ;
30823 PyObject
* obj2
= 0 ;
30824 PyObject
* obj3
= 0 ;
30825 PyObject
* obj4
= 0 ;
30826 PyObject
* obj5
= 0 ;
30827 PyObject
* obj6
= 0 ;
30828 char * kwnames
[] = {
30829 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30834 if (!SWIG_IsOK(res1
)) {
30835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30837 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30838 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30839 if (!SWIG_IsOK(res2
)) {
30840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30842 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30843 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30844 if (!SWIG_IsOK(res3
)) {
30845 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30850 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30853 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30856 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30857 if (!SWIG_IsOK(ecode5
)) {
30858 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
30860 arg5
= static_cast< int >(val5
);
30863 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30864 if (!SWIG_IsOK(ecode6
)) {
30865 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30867 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30870 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30871 if (!SWIG_IsOK(res7
)) {
30872 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30874 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30878 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30879 wxPyEndAllowThreads(__tstate
);
30880 if (PyErr_Occurred()) SWIG_fail
;
30882 resultobj
= SWIG_Py_Void();
30889 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30890 PyObject
*resultobj
= 0;
30891 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30892 wxWindow
*arg2
= (wxWindow
*) 0 ;
30895 int arg5
= (int) 0 ;
30896 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30897 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30911 PyObject
* obj0
= 0 ;
30912 PyObject
* obj1
= 0 ;
30913 PyObject
* obj2
= 0 ;
30914 PyObject
* obj3
= 0 ;
30915 PyObject
* obj4
= 0 ;
30916 PyObject
* obj5
= 0 ;
30917 PyObject
* obj6
= 0 ;
30918 char * kwnames
[] = {
30919 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30924 if (!SWIG_IsOK(res1
)) {
30925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30927 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30928 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30929 if (!SWIG_IsOK(res2
)) {
30930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
30932 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30933 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30934 if (!SWIG_IsOK(res3
)) {
30935 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30940 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30943 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30946 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30947 if (!SWIG_IsOK(ecode5
)) {
30948 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
30950 arg5
= static_cast< int >(val5
);
30953 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30954 if (!SWIG_IsOK(ecode6
)) {
30955 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30957 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30960 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30961 if (!SWIG_IsOK(res7
)) {
30962 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30964 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30968 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30969 wxPyEndAllowThreads(__tstate
);
30970 if (PyErr_Occurred()) SWIG_fail
;
30972 resultobj
= SWIG_Py_Void();
30979 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30980 PyObject
*resultobj
= 0;
30981 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30982 wxWindow
*arg2
= (wxWindow
*) 0 ;
30988 PyObject
* obj0
= 0 ;
30989 PyObject
* obj1
= 0 ;
30990 char * kwnames
[] = {
30991 (char *) "self",(char *) "win", NULL
30994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30996 if (!SWIG_IsOK(res1
)) {
30997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30999 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31000 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31001 if (!SWIG_IsOK(res2
)) {
31002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
31004 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31007 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
31008 wxPyEndAllowThreads(__tstate
);
31009 if (PyErr_Occurred()) SWIG_fail
;
31011 resultobj
= SWIG_From_int(static_cast< int >(result
));
31018 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31019 PyObject
*resultobj
= 0;
31020 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31021 wxWindow
*arg2
= (wxWindow
*) 0 ;
31024 int arg5
= (int) 0 ;
31034 PyObject
* obj0
= 0 ;
31035 PyObject
* obj1
= 0 ;
31036 PyObject
* obj2
= 0 ;
31037 PyObject
* obj3
= 0 ;
31038 PyObject
* obj4
= 0 ;
31039 char * kwnames
[] = {
31040 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31045 if (!SWIG_IsOK(res1
)) {
31046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31048 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31049 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31050 if (!SWIG_IsOK(res2
)) {
31051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31053 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31054 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31055 if (!SWIG_IsOK(res3
)) {
31056 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
31059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
31061 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31064 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31067 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31068 if (!SWIG_IsOK(ecode5
)) {
31069 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
31071 arg5
= static_cast< int >(val5
);
31074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31075 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31076 wxPyEndAllowThreads(__tstate
);
31077 if (PyErr_Occurred()) SWIG_fail
;
31079 resultobj
= SWIG_Py_Void();
31086 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31087 PyObject
*resultobj
= 0;
31088 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31089 wxWindow
*arg2
= (wxWindow
*) 0 ;
31092 int arg5
= (int) 0 ;
31102 PyObject
* obj0
= 0 ;
31103 PyObject
* obj1
= 0 ;
31104 PyObject
* obj2
= 0 ;
31105 PyObject
* obj3
= 0 ;
31106 PyObject
* obj4
= 0 ;
31107 char * kwnames
[] = {
31108 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31113 if (!SWIG_IsOK(res1
)) {
31114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31116 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31117 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31118 if (!SWIG_IsOK(res2
)) {
31119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
31121 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31122 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31123 if (!SWIG_IsOK(res3
)) {
31124 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
31127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
31129 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31132 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31135 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31136 if (!SWIG_IsOK(ecode5
)) {
31137 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
31139 arg5
= static_cast< int >(val5
);
31142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31143 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31144 wxPyEndAllowThreads(__tstate
);
31145 if (PyErr_Occurred()) SWIG_fail
;
31147 resultobj
= SWIG_Py_Void();
31154 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31155 PyObject
*resultobj
= 0;
31156 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31157 wxWindow
*arg2
= (wxWindow
*) 0 ;
31161 wxOrientation arg6
;
31162 int arg7
= (int) 0 ;
31176 PyObject
* obj0
= 0 ;
31177 PyObject
* obj1
= 0 ;
31178 PyObject
* obj2
= 0 ;
31179 PyObject
* obj3
= 0 ;
31180 PyObject
* obj4
= 0 ;
31181 PyObject
* obj5
= 0 ;
31182 PyObject
* obj6
= 0 ;
31183 char * kwnames
[] = {
31184 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
31187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31189 if (!SWIG_IsOK(res1
)) {
31190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31192 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31193 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31194 if (!SWIG_IsOK(res2
)) {
31195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
31197 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31198 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31199 if (!SWIG_IsOK(res3
)) {
31200 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
31203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
31205 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31208 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31210 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31211 if (!SWIG_IsOK(ecode5
)) {
31212 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
31214 arg5
= static_cast< int >(val5
);
31215 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31216 if (!SWIG_IsOK(ecode6
)) {
31217 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
31219 arg6
= static_cast< wxOrientation
>(val6
);
31221 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
31222 if (!SWIG_IsOK(ecode7
)) {
31223 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
31225 arg7
= static_cast< int >(val7
);
31228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31229 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
31230 wxPyEndAllowThreads(__tstate
);
31231 if (PyErr_Occurred()) SWIG_fail
;
31233 resultobj
= SWIG_Py_Void();
31240 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31241 PyObject
*resultobj
= 0;
31242 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31243 wxWindow
*arg2
= (wxWindow
*) 0 ;
31246 int arg5
= (int) 0 ;
31256 PyObject
* obj0
= 0 ;
31257 PyObject
* obj1
= 0 ;
31258 PyObject
* obj2
= 0 ;
31259 PyObject
* obj3
= 0 ;
31260 PyObject
* obj4
= 0 ;
31261 char * kwnames
[] = {
31262 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31267 if (!SWIG_IsOK(res1
)) {
31268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31270 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31271 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31272 if (!SWIG_IsOK(res2
)) {
31273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31275 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31276 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31277 if (!SWIG_IsOK(res3
)) {
31278 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
31281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
31283 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31286 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31289 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31290 if (!SWIG_IsOK(ecode5
)) {
31291 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
31293 arg5
= static_cast< int >(val5
);
31296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31297 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31298 wxPyEndAllowThreads(__tstate
);
31299 if (PyErr_Occurred()) SWIG_fail
;
31301 resultobj
= SWIG_Py_Void();
31308 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31309 PyObject
*resultobj
= 0;
31310 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31311 wxWindow
*arg2
= (wxWindow
*) 0 ;
31314 int arg5
= (int) 0 ;
31324 PyObject
* obj0
= 0 ;
31325 PyObject
* obj1
= 0 ;
31326 PyObject
* obj2
= 0 ;
31327 PyObject
* obj3
= 0 ;
31328 PyObject
* obj4
= 0 ;
31329 char * kwnames
[] = {
31330 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31335 if (!SWIG_IsOK(res1
)) {
31336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31338 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31339 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31340 if (!SWIG_IsOK(res2
)) {
31341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
31343 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31344 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31345 if (!SWIG_IsOK(res3
)) {
31346 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
31349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
31351 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31354 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31357 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31358 if (!SWIG_IsOK(ecode5
)) {
31359 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
31361 arg5
= static_cast< int >(val5
);
31364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31365 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31366 wxPyEndAllowThreads(__tstate
);
31367 if (PyErr_Occurred()) SWIG_fail
;
31369 resultobj
= SWIG_Py_Void();
31376 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31377 PyObject
*resultobj
= 0;
31378 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31379 wxWindow
*arg2
= (wxWindow
*) 0 ;
31382 int arg5
= (int) 0 ;
31392 PyObject
* obj0
= 0 ;
31393 PyObject
* obj1
= 0 ;
31394 PyObject
* obj2
= 0 ;
31395 PyObject
* obj3
= 0 ;
31396 PyObject
* obj4
= 0 ;
31397 char * kwnames
[] = {
31398 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31403 if (!SWIG_IsOK(res1
)) {
31404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31406 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31407 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31408 if (!SWIG_IsOK(res2
)) {
31409 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
31411 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31412 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31413 if (!SWIG_IsOK(res3
)) {
31414 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
31417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
31419 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31422 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31425 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31426 if (!SWIG_IsOK(ecode5
)) {
31427 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
31429 arg5
= static_cast< int >(val5
);
31432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31433 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31434 wxPyEndAllowThreads(__tstate
);
31435 if (PyErr_Occurred()) SWIG_fail
;
31437 resultobj
= SWIG_Py_Void();
31444 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31445 PyObject
*resultobj
= 0;
31446 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31447 wxWindow
*arg2
= (wxWindow
*) 0 ;
31450 int arg5
= (int) 0 ;
31460 PyObject
* obj0
= 0 ;
31461 PyObject
* obj1
= 0 ;
31462 PyObject
* obj2
= 0 ;
31463 PyObject
* obj3
= 0 ;
31464 PyObject
* obj4
= 0 ;
31465 char * kwnames
[] = {
31466 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31471 if (!SWIG_IsOK(res1
)) {
31472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31474 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31475 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31476 if (!SWIG_IsOK(res2
)) {
31477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31479 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31480 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31481 if (!SWIG_IsOK(res3
)) {
31482 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
31485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
31487 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31490 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31493 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31494 if (!SWIG_IsOK(ecode5
)) {
31495 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
31497 arg5
= static_cast< int >(val5
);
31500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31501 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31502 wxPyEndAllowThreads(__tstate
);
31503 if (PyErr_Occurred()) SWIG_fail
;
31505 resultobj
= SWIG_Py_Void();
31512 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31513 PyObject
*resultobj
= 0;
31514 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31515 wxWindow
*arg2
= (wxWindow
*) 0 ;
31518 int arg5
= (int) 0 ;
31528 PyObject
* obj0
= 0 ;
31529 PyObject
* obj1
= 0 ;
31530 PyObject
* obj2
= 0 ;
31531 PyObject
* obj3
= 0 ;
31532 PyObject
* obj4
= 0 ;
31533 char * kwnames
[] = {
31534 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31539 if (!SWIG_IsOK(res1
)) {
31540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31542 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31543 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31544 if (!SWIG_IsOK(res2
)) {
31545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
31547 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31548 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31549 if (!SWIG_IsOK(res3
)) {
31550 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
31553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
31555 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31558 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31561 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31562 if (!SWIG_IsOK(ecode5
)) {
31563 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
31565 arg5
= static_cast< int >(val5
);
31568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31569 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31570 wxPyEndAllowThreads(__tstate
);
31571 if (PyErr_Occurred()) SWIG_fail
;
31573 resultobj
= SWIG_Py_Void();
31580 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31581 PyObject
*resultobj
= 0;
31582 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31583 wxWindow
*arg2
= (wxWindow
*) 0 ;
31584 SwigValueWrapper
<wxSplitterRenderParams
> result
;
31589 PyObject
* obj0
= 0 ;
31590 PyObject
* obj1
= 0 ;
31591 char * kwnames
[] = {
31592 (char *) "self",(char *) "win", NULL
31595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31597 if (!SWIG_IsOK(res1
)) {
31598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31600 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31601 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31602 if (!SWIG_IsOK(res2
)) {
31603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
31605 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31608 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
31609 wxPyEndAllowThreads(__tstate
);
31610 if (PyErr_Occurred()) SWIG_fail
;
31612 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
31619 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31620 PyObject
*resultobj
= 0;
31621 wxRendererNative
*result
= 0 ;
31623 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
31625 if (!wxPyCheckForApp()) SWIG_fail
;
31626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31628 wxRendererNative
&_result_ref
= wxRendererNative::Get();
31629 result
= (wxRendererNative
*) &_result_ref
;
31631 wxPyEndAllowThreads(__tstate
);
31632 if (PyErr_Occurred()) SWIG_fail
;
31634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31641 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31642 PyObject
*resultobj
= 0;
31643 wxRendererNative
*result
= 0 ;
31645 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
31647 if (!wxPyCheckForApp()) SWIG_fail
;
31648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31650 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
31651 result
= (wxRendererNative
*) &_result_ref
;
31653 wxPyEndAllowThreads(__tstate
);
31654 if (PyErr_Occurred()) SWIG_fail
;
31656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31663 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31664 PyObject
*resultobj
= 0;
31665 wxRendererNative
*result
= 0 ;
31667 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
31669 if (!wxPyCheckForApp()) SWIG_fail
;
31670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31672 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
31673 result
= (wxRendererNative
*) &_result_ref
;
31675 wxPyEndAllowThreads(__tstate
);
31676 if (PyErr_Occurred()) SWIG_fail
;
31678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31685 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31686 PyObject
*resultobj
= 0;
31687 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31688 wxRendererNative
*result
= 0 ;
31691 PyObject
* obj0
= 0 ;
31692 char * kwnames
[] = {
31693 (char *) "renderer", NULL
31696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
31697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31698 if (!SWIG_IsOK(res1
)) {
31699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31701 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31703 if (!wxPyCheckForApp()) SWIG_fail
;
31704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31705 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
31706 wxPyEndAllowThreads(__tstate
);
31707 if (PyErr_Occurred()) SWIG_fail
;
31709 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31716 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31717 PyObject
*resultobj
= 0;
31718 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31719 SwigValueWrapper
<wxRendererVersion
> result
;
31722 PyObject
*swig_obj
[1] ;
31724 if (!args
) SWIG_fail
;
31725 swig_obj
[0] = args
;
31726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31727 if (!SWIG_IsOK(res1
)) {
31728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
31730 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31733 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
31734 wxPyEndAllowThreads(__tstate
);
31735 if (PyErr_Occurred()) SWIG_fail
;
31737 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
31744 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31747 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
31748 return SWIG_Py_Void();
31751 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31752 PyObject
*resultobj
= 0;
31753 wxPseudoDC
*result
= 0 ;
31755 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
31757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31758 result
= (wxPseudoDC
*)new wxPseudoDC();
31759 wxPyEndAllowThreads(__tstate
);
31760 if (PyErr_Occurred()) SWIG_fail
;
31762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
31769 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31770 PyObject
*resultobj
= 0;
31771 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31774 PyObject
*swig_obj
[1] ;
31776 if (!args
) SWIG_fail
;
31777 swig_obj
[0] = args
;
31778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31779 if (!SWIG_IsOK(res1
)) {
31780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31782 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31785 (arg1
)->BeginDrawing();
31786 wxPyEndAllowThreads(__tstate
);
31787 if (PyErr_Occurred()) SWIG_fail
;
31789 resultobj
= SWIG_Py_Void();
31796 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31797 PyObject
*resultobj
= 0;
31798 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31801 PyObject
*swig_obj
[1] ;
31803 if (!args
) SWIG_fail
;
31804 swig_obj
[0] = args
;
31805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31806 if (!SWIG_IsOK(res1
)) {
31807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31809 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31812 (arg1
)->EndDrawing();
31813 wxPyEndAllowThreads(__tstate
);
31814 if (PyErr_Occurred()) SWIG_fail
;
31816 resultobj
= SWIG_Py_Void();
31823 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31824 PyObject
*resultobj
= 0;
31825 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31828 PyObject
*swig_obj
[1] ;
31830 if (!args
) SWIG_fail
;
31831 swig_obj
[0] = args
;
31832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
31833 if (!SWIG_IsOK(res1
)) {
31834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31836 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31841 wxPyEndAllowThreads(__tstate
);
31842 if (PyErr_Occurred()) SWIG_fail
;
31844 resultobj
= SWIG_Py_Void();
31851 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31852 PyObject
*resultobj
= 0;
31853 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31856 PyObject
*swig_obj
[1] ;
31858 if (!args
) SWIG_fail
;
31859 swig_obj
[0] = args
;
31860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31861 if (!SWIG_IsOK(res1
)) {
31862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31864 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31867 (arg1
)->RemoveAll();
31868 wxPyEndAllowThreads(__tstate
);
31869 if (PyErr_Occurred()) SWIG_fail
;
31871 resultobj
= SWIG_Py_Void();
31878 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31879 PyObject
*resultobj
= 0;
31880 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31884 PyObject
*swig_obj
[1] ;
31886 if (!args
) SWIG_fail
;
31887 swig_obj
[0] = args
;
31888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31889 if (!SWIG_IsOK(res1
)) {
31890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31892 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31895 result
= (int)(arg1
)->GetLen();
31896 wxPyEndAllowThreads(__tstate
);
31897 if (PyErr_Occurred()) SWIG_fail
;
31899 resultobj
= SWIG_From_int(static_cast< int >(result
));
31906 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31907 PyObject
*resultobj
= 0;
31908 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31914 PyObject
* obj0
= 0 ;
31915 PyObject
* obj1
= 0 ;
31916 char * kwnames
[] = {
31917 (char *) "self",(char *) "id", NULL
31920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31922 if (!SWIG_IsOK(res1
)) {
31923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31925 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31927 if (!SWIG_IsOK(ecode2
)) {
31928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
31930 arg2
= static_cast< int >(val2
);
31932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31933 (arg1
)->SetId(arg2
);
31934 wxPyEndAllowThreads(__tstate
);
31935 if (PyErr_Occurred()) SWIG_fail
;
31937 resultobj
= SWIG_Py_Void();
31944 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31945 PyObject
*resultobj
= 0;
31946 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31952 PyObject
* obj0
= 0 ;
31953 PyObject
* obj1
= 0 ;
31954 char * kwnames
[] = {
31955 (char *) "self",(char *) "id", NULL
31958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31960 if (!SWIG_IsOK(res1
)) {
31961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31963 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31965 if (!SWIG_IsOK(ecode2
)) {
31966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
31968 arg2
= static_cast< int >(val2
);
31970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31971 (arg1
)->ClearId(arg2
);
31972 wxPyEndAllowThreads(__tstate
);
31973 if (PyErr_Occurred()) SWIG_fail
;
31975 resultobj
= SWIG_Py_Void();
31982 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31983 PyObject
*resultobj
= 0;
31984 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31990 PyObject
* obj0
= 0 ;
31991 PyObject
* obj1
= 0 ;
31992 char * kwnames
[] = {
31993 (char *) "self",(char *) "id", NULL
31996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31998 if (!SWIG_IsOK(res1
)) {
31999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32001 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32003 if (!SWIG_IsOK(ecode2
)) {
32004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
32006 arg2
= static_cast< int >(val2
);
32008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32009 (arg1
)->RemoveId(arg2
);
32010 wxPyEndAllowThreads(__tstate
);
32011 if (PyErr_Occurred()) SWIG_fail
;
32013 resultobj
= SWIG_Py_Void();
32020 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32021 PyObject
*resultobj
= 0;
32022 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32034 PyObject
* obj0
= 0 ;
32035 PyObject
* obj1
= 0 ;
32036 PyObject
* obj2
= 0 ;
32037 PyObject
* obj3
= 0 ;
32038 char * kwnames
[] = {
32039 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
32042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32044 if (!SWIG_IsOK(res1
)) {
32045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32047 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32049 if (!SWIG_IsOK(ecode2
)) {
32050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
32052 arg2
= static_cast< int >(val2
);
32053 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32054 if (!SWIG_IsOK(ecode3
)) {
32055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
32057 arg3
= static_cast< int >(val3
);
32058 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32059 if (!SWIG_IsOK(ecode4
)) {
32060 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
32062 arg4
= static_cast< int >(val4
);
32064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32065 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
32066 wxPyEndAllowThreads(__tstate
);
32067 if (PyErr_Occurred()) SWIG_fail
;
32069 resultobj
= SWIG_Py_Void();
32076 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32077 PyObject
*resultobj
= 0;
32078 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32080 bool arg3
= (bool) true ;
32087 PyObject
* obj0
= 0 ;
32088 PyObject
* obj1
= 0 ;
32089 PyObject
* obj2
= 0 ;
32090 char * kwnames
[] = {
32091 (char *) "self",(char *) "id",(char *) "greyout", NULL
32094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32096 if (!SWIG_IsOK(res1
)) {
32097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32099 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32101 if (!SWIG_IsOK(ecode2
)) {
32102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
32104 arg2
= static_cast< int >(val2
);
32106 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32107 if (!SWIG_IsOK(ecode3
)) {
32108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
32110 arg3
= static_cast< bool >(val3
);
32113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32114 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
32115 wxPyEndAllowThreads(__tstate
);
32116 if (PyErr_Occurred()) SWIG_fail
;
32118 resultobj
= SWIG_Py_Void();
32125 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32126 PyObject
*resultobj
= 0;
32127 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32134 PyObject
* obj0
= 0 ;
32135 PyObject
* obj1
= 0 ;
32136 char * kwnames
[] = {
32137 (char *) "self",(char *) "id", NULL
32140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32142 if (!SWIG_IsOK(res1
)) {
32143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32145 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32147 if (!SWIG_IsOK(ecode2
)) {
32148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
32150 arg2
= static_cast< int >(val2
);
32152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32153 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
32154 wxPyEndAllowThreads(__tstate
);
32155 if (PyErr_Occurred()) SWIG_fail
;
32158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32166 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32167 PyObject
*resultobj
= 0;
32168 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32171 int arg4
= (int) 1 ;
32172 wxColor
const &arg5_defvalue
= *wxWHITE
;
32173 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
32174 PyObject
*result
= 0 ;
32185 PyObject
* obj0
= 0 ;
32186 PyObject
* obj1
= 0 ;
32187 PyObject
* obj2
= 0 ;
32188 PyObject
* obj3
= 0 ;
32189 PyObject
* obj4
= 0 ;
32190 char * kwnames
[] = {
32191 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
32194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32196 if (!SWIG_IsOK(res1
)) {
32197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32199 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32201 if (!SWIG_IsOK(ecode2
)) {
32202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
32204 arg2
= static_cast< int >(val2
);
32205 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32206 if (!SWIG_IsOK(ecode3
)) {
32207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
32209 arg3
= static_cast< int >(val3
);
32211 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32212 if (!SWIG_IsOK(ecode4
)) {
32213 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
32215 arg4
= static_cast< int >(val4
);
32218 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
32219 if (!SWIG_IsOK(res5
)) {
32220 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
32223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
32225 arg5
= reinterpret_cast< wxColor
* >(argp5
);
32228 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
32229 if (PyErr_Occurred()) SWIG_fail
;
32231 resultobj
= result
;
32238 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32239 PyObject
*resultobj
= 0;
32240 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32243 PyObject
*result
= 0 ;
32250 PyObject
* obj0
= 0 ;
32251 PyObject
* obj1
= 0 ;
32252 PyObject
* obj2
= 0 ;
32253 char * kwnames
[] = {
32254 (char *) "self",(char *) "x",(char *) "y", NULL
32257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32259 if (!SWIG_IsOK(res1
)) {
32260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32262 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32264 if (!SWIG_IsOK(ecode2
)) {
32265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
32267 arg2
= static_cast< int >(val2
);
32268 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32269 if (!SWIG_IsOK(ecode3
)) {
32270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
32272 arg3
= static_cast< int >(val3
);
32274 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
32275 if (PyErr_Occurred()) SWIG_fail
;
32277 resultobj
= result
;
32284 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32285 PyObject
*resultobj
= 0;
32286 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32288 wxDC
*arg3
= (wxDC
*) 0 ;
32295 PyObject
* obj0
= 0 ;
32296 PyObject
* obj1
= 0 ;
32297 PyObject
* obj2
= 0 ;
32298 char * kwnames
[] = {
32299 (char *) "self",(char *) "id",(char *) "dc", NULL
32302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32304 if (!SWIG_IsOK(res1
)) {
32305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32307 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32309 if (!SWIG_IsOK(ecode2
)) {
32310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
32312 arg2
= static_cast< int >(val2
);
32313 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
32314 if (!SWIG_IsOK(res3
)) {
32315 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
32317 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32320 (arg1
)->DrawIdToDC(arg2
,arg3
);
32321 wxPyEndAllowThreads(__tstate
);
32322 if (PyErr_Occurred()) SWIG_fail
;
32324 resultobj
= SWIG_Py_Void();
32331 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32332 PyObject
*resultobj
= 0;
32333 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32341 PyObject
* obj0
= 0 ;
32342 PyObject
* obj1
= 0 ;
32343 PyObject
* obj2
= 0 ;
32344 char * kwnames
[] = {
32345 (char *) "self",(char *) "id",(char *) "rect", NULL
32348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32350 if (!SWIG_IsOK(res1
)) {
32351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32353 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32355 if (!SWIG_IsOK(ecode2
)) {
32356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
32358 arg2
= static_cast< int >(val2
);
32361 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32365 (arg1
)->SetIdBounds(arg2
,*arg3
);
32366 wxPyEndAllowThreads(__tstate
);
32367 if (PyErr_Occurred()) SWIG_fail
;
32369 resultobj
= SWIG_Py_Void();
32376 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32377 PyObject
*resultobj
= 0;
32378 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32385 PyObject
* obj0
= 0 ;
32386 PyObject
* obj1
= 0 ;
32387 char * kwnames
[] = {
32388 (char *) "self",(char *) "id", NULL
32391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32393 if (!SWIG_IsOK(res1
)) {
32394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32396 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32398 if (!SWIG_IsOK(ecode2
)) {
32399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
32401 arg2
= static_cast< int >(val2
);
32403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32404 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
32405 wxPyEndAllowThreads(__tstate
);
32406 if (PyErr_Occurred()) SWIG_fail
;
32408 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
32415 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32416 PyObject
*resultobj
= 0;
32417 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32418 wxDC
*arg2
= (wxDC
*) 0 ;
32425 PyObject
* obj0
= 0 ;
32426 PyObject
* obj1
= 0 ;
32427 PyObject
* obj2
= 0 ;
32428 char * kwnames
[] = {
32429 (char *) "self",(char *) "dc",(char *) "rect", NULL
32432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32434 if (!SWIG_IsOK(res1
)) {
32435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32437 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32438 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32439 if (!SWIG_IsOK(res2
)) {
32440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
32442 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32445 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32449 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
32450 wxPyEndAllowThreads(__tstate
);
32451 if (PyErr_Occurred()) SWIG_fail
;
32453 resultobj
= SWIG_Py_Void();
32460 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32461 PyObject
*resultobj
= 0;
32462 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32463 wxDC
*arg2
= (wxDC
*) 0 ;
32464 wxRegion
*arg3
= 0 ;
32471 PyObject
* obj0
= 0 ;
32472 PyObject
* obj1
= 0 ;
32473 PyObject
* obj2
= 0 ;
32474 char * kwnames
[] = {
32475 (char *) "self",(char *) "dc",(char *) "region", NULL
32478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32480 if (!SWIG_IsOK(res1
)) {
32481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32483 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32484 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32485 if (!SWIG_IsOK(res2
)) {
32486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
32488 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32489 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
32490 if (!SWIG_IsOK(res3
)) {
32491 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
32494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
32496 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
32498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32499 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
32500 wxPyEndAllowThreads(__tstate
);
32501 if (PyErr_Occurred()) SWIG_fail
;
32503 resultobj
= SWIG_Py_Void();
32510 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32511 PyObject
*resultobj
= 0;
32512 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32513 wxDC
*arg2
= (wxDC
*) 0 ;
32518 PyObject
* obj0
= 0 ;
32519 PyObject
* obj1
= 0 ;
32520 char * kwnames
[] = {
32521 (char *) "self",(char *) "dc", NULL
32524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32526 if (!SWIG_IsOK(res1
)) {
32527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32529 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32530 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32531 if (!SWIG_IsOK(res2
)) {
32532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
32534 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32537 (arg1
)->DrawToDC(arg2
);
32538 wxPyEndAllowThreads(__tstate
);
32539 if (PyErr_Occurred()) SWIG_fail
;
32541 resultobj
= SWIG_Py_Void();
32548 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32549 PyObject
*resultobj
= 0;
32550 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32553 wxColour
*arg4
= 0 ;
32554 int arg5
= (int) wxFLOOD_SURFACE
;
32564 PyObject
* obj0
= 0 ;
32565 PyObject
* obj1
= 0 ;
32566 PyObject
* obj2
= 0 ;
32567 PyObject
* obj3
= 0 ;
32568 PyObject
* obj4
= 0 ;
32569 char * kwnames
[] = {
32570 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
32573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32575 if (!SWIG_IsOK(res1
)) {
32576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32578 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32580 if (!SWIG_IsOK(ecode2
)) {
32581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
32583 arg2
= static_cast< int >(val2
);
32584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32585 if (!SWIG_IsOK(ecode3
)) {
32586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
32588 arg3
= static_cast< int >(val3
);
32591 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
32594 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32595 if (!SWIG_IsOK(ecode5
)) {
32596 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
32598 arg5
= static_cast< int >(val5
);
32601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32602 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
32603 wxPyEndAllowThreads(__tstate
);
32604 if (PyErr_Occurred()) SWIG_fail
;
32606 resultobj
= SWIG_Py_Void();
32613 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32614 PyObject
*resultobj
= 0;
32615 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32616 wxPoint
*arg2
= 0 ;
32617 wxColour
*arg3
= 0 ;
32618 int arg4
= (int) wxFLOOD_SURFACE
;
32625 PyObject
* obj0
= 0 ;
32626 PyObject
* obj1
= 0 ;
32627 PyObject
* obj2
= 0 ;
32628 PyObject
* obj3
= 0 ;
32629 char * kwnames
[] = {
32630 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
32633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32635 if (!SWIG_IsOK(res1
)) {
32636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32638 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32641 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32645 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32648 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32649 if (!SWIG_IsOK(ecode4
)) {
32650 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
32652 arg4
= static_cast< int >(val4
);
32655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32656 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
32657 wxPyEndAllowThreads(__tstate
);
32658 if (PyErr_Occurred()) SWIG_fail
;
32660 resultobj
= SWIG_Py_Void();
32667 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32668 PyObject
*resultobj
= 0;
32669 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32684 PyObject
* obj0
= 0 ;
32685 PyObject
* obj1
= 0 ;
32686 PyObject
* obj2
= 0 ;
32687 PyObject
* obj3
= 0 ;
32688 PyObject
* obj4
= 0 ;
32689 char * kwnames
[] = {
32690 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
32693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32695 if (!SWIG_IsOK(res1
)) {
32696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32698 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32700 if (!SWIG_IsOK(ecode2
)) {
32701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
32703 arg2
= static_cast< int >(val2
);
32704 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32705 if (!SWIG_IsOK(ecode3
)) {
32706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
32708 arg3
= static_cast< int >(val3
);
32709 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32710 if (!SWIG_IsOK(ecode4
)) {
32711 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
32713 arg4
= static_cast< int >(val4
);
32714 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32715 if (!SWIG_IsOK(ecode5
)) {
32716 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
32718 arg5
= static_cast< int >(val5
);
32720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32721 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
32722 wxPyEndAllowThreads(__tstate
);
32723 if (PyErr_Occurred()) SWIG_fail
;
32725 resultobj
= SWIG_Py_Void();
32732 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32733 PyObject
*resultobj
= 0;
32734 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32735 wxPoint
*arg2
= 0 ;
32736 wxPoint
*arg3
= 0 ;
32741 PyObject
* obj0
= 0 ;
32742 PyObject
* obj1
= 0 ;
32743 PyObject
* obj2
= 0 ;
32744 char * kwnames
[] = {
32745 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
32748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32750 if (!SWIG_IsOK(res1
)) {
32751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32753 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32756 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32760 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32764 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
32765 wxPyEndAllowThreads(__tstate
);
32766 if (PyErr_Occurred()) SWIG_fail
;
32768 resultobj
= SWIG_Py_Void();
32775 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32776 PyObject
*resultobj
= 0;
32777 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32786 PyObject
* obj0
= 0 ;
32787 PyObject
* obj1
= 0 ;
32788 PyObject
* obj2
= 0 ;
32789 char * kwnames
[] = {
32790 (char *) "self",(char *) "x",(char *) "y", NULL
32793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32795 if (!SWIG_IsOK(res1
)) {
32796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32798 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32800 if (!SWIG_IsOK(ecode2
)) {
32801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
32803 arg2
= static_cast< int >(val2
);
32804 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32805 if (!SWIG_IsOK(ecode3
)) {
32806 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
32808 arg3
= static_cast< int >(val3
);
32810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32811 (arg1
)->CrossHair(arg2
,arg3
);
32812 wxPyEndAllowThreads(__tstate
);
32813 if (PyErr_Occurred()) SWIG_fail
;
32815 resultobj
= SWIG_Py_Void();
32822 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32823 PyObject
*resultobj
= 0;
32824 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32825 wxPoint
*arg2
= 0 ;
32829 PyObject
* obj0
= 0 ;
32830 PyObject
* obj1
= 0 ;
32831 char * kwnames
[] = {
32832 (char *) "self",(char *) "pt", NULL
32835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32837 if (!SWIG_IsOK(res1
)) {
32838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32840 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32843 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32847 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
32848 wxPyEndAllowThreads(__tstate
);
32849 if (PyErr_Occurred()) SWIG_fail
;
32851 resultobj
= SWIG_Py_Void();
32858 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32859 PyObject
*resultobj
= 0;
32860 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32881 PyObject
* obj0
= 0 ;
32882 PyObject
* obj1
= 0 ;
32883 PyObject
* obj2
= 0 ;
32884 PyObject
* obj3
= 0 ;
32885 PyObject
* obj4
= 0 ;
32886 PyObject
* obj5
= 0 ;
32887 PyObject
* obj6
= 0 ;
32888 char * kwnames
[] = {
32889 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
32892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32894 if (!SWIG_IsOK(res1
)) {
32895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32897 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32899 if (!SWIG_IsOK(ecode2
)) {
32900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
32902 arg2
= static_cast< int >(val2
);
32903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32904 if (!SWIG_IsOK(ecode3
)) {
32905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
32907 arg3
= static_cast< int >(val3
);
32908 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32909 if (!SWIG_IsOK(ecode4
)) {
32910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
32912 arg4
= static_cast< int >(val4
);
32913 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32914 if (!SWIG_IsOK(ecode5
)) {
32915 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
32917 arg5
= static_cast< int >(val5
);
32918 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32919 if (!SWIG_IsOK(ecode6
)) {
32920 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
32922 arg6
= static_cast< int >(val6
);
32923 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
32924 if (!SWIG_IsOK(ecode7
)) {
32925 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
32927 arg7
= static_cast< int >(val7
);
32929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32930 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32931 wxPyEndAllowThreads(__tstate
);
32932 if (PyErr_Occurred()) SWIG_fail
;
32934 resultobj
= SWIG_Py_Void();
32941 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32942 PyObject
*resultobj
= 0;
32943 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32944 wxPoint
*arg2
= 0 ;
32945 wxPoint
*arg3
= 0 ;
32946 wxPoint
*arg4
= 0 ;
32952 PyObject
* obj0
= 0 ;
32953 PyObject
* obj1
= 0 ;
32954 PyObject
* obj2
= 0 ;
32955 PyObject
* obj3
= 0 ;
32956 char * kwnames
[] = {
32957 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
32960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32962 if (!SWIG_IsOK(res1
)) {
32963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32965 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32968 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32972 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32976 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32980 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
32981 wxPyEndAllowThreads(__tstate
);
32982 if (PyErr_Occurred()) SWIG_fail
;
32984 resultobj
= SWIG_Py_Void();
32991 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32992 PyObject
*resultobj
= 0;
32993 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33008 PyObject
* obj0
= 0 ;
33009 PyObject
* obj1
= 0 ;
33010 PyObject
* obj2
= 0 ;
33011 PyObject
* obj3
= 0 ;
33012 PyObject
* obj4
= 0 ;
33013 char * kwnames
[] = {
33014 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33019 if (!SWIG_IsOK(res1
)) {
33020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33022 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33024 if (!SWIG_IsOK(ecode2
)) {
33025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
33027 arg2
= static_cast< int >(val2
);
33028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33029 if (!SWIG_IsOK(ecode3
)) {
33030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
33032 arg3
= static_cast< int >(val3
);
33033 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33034 if (!SWIG_IsOK(ecode4
)) {
33035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
33037 arg4
= static_cast< int >(val4
);
33038 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33039 if (!SWIG_IsOK(ecode5
)) {
33040 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
33042 arg5
= static_cast< int >(val5
);
33044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33045 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
33046 wxPyEndAllowThreads(__tstate
);
33047 if (PyErr_Occurred()) SWIG_fail
;
33049 resultobj
= SWIG_Py_Void();
33056 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33057 PyObject
*resultobj
= 0;
33058 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33063 PyObject
* obj0
= 0 ;
33064 PyObject
* obj1
= 0 ;
33065 char * kwnames
[] = {
33066 (char *) "self",(char *) "rect", NULL
33069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33071 if (!SWIG_IsOK(res1
)) {
33072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33074 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33077 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33081 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
33082 wxPyEndAllowThreads(__tstate
);
33083 if (PyErr_Occurred()) SWIG_fail
;
33085 resultobj
= SWIG_Py_Void();
33092 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33093 PyObject
*resultobj
= 0;
33094 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33115 PyObject
* obj0
= 0 ;
33116 PyObject
* obj1
= 0 ;
33117 PyObject
* obj2
= 0 ;
33118 PyObject
* obj3
= 0 ;
33119 PyObject
* obj4
= 0 ;
33120 PyObject
* obj5
= 0 ;
33121 PyObject
* obj6
= 0 ;
33122 char * kwnames
[] = {
33123 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
33126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33128 if (!SWIG_IsOK(res1
)) {
33129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33131 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33133 if (!SWIG_IsOK(ecode2
)) {
33134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
33136 arg2
= static_cast< int >(val2
);
33137 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33138 if (!SWIG_IsOK(ecode3
)) {
33139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
33141 arg3
= static_cast< int >(val3
);
33142 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33143 if (!SWIG_IsOK(ecode4
)) {
33144 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
33146 arg4
= static_cast< int >(val4
);
33147 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33148 if (!SWIG_IsOK(ecode5
)) {
33149 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
33151 arg5
= static_cast< int >(val5
);
33152 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
33153 if (!SWIG_IsOK(ecode6
)) {
33154 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
33156 arg6
= static_cast< double >(val6
);
33157 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
33158 if (!SWIG_IsOK(ecode7
)) {
33159 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
33161 arg7
= static_cast< double >(val7
);
33163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33164 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33165 wxPyEndAllowThreads(__tstate
);
33166 if (PyErr_Occurred()) SWIG_fail
;
33168 resultobj
= SWIG_Py_Void();
33175 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33176 PyObject
*resultobj
= 0;
33177 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33178 wxPoint
*arg2
= 0 ;
33190 PyObject
* obj0
= 0 ;
33191 PyObject
* obj1
= 0 ;
33192 PyObject
* obj2
= 0 ;
33193 PyObject
* obj3
= 0 ;
33194 PyObject
* obj4
= 0 ;
33195 char * kwnames
[] = {
33196 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
33199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33201 if (!SWIG_IsOK(res1
)) {
33202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33204 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33207 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33211 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33213 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33214 if (!SWIG_IsOK(ecode4
)) {
33215 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
33217 arg4
= static_cast< double >(val4
);
33218 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
33219 if (!SWIG_IsOK(ecode5
)) {
33220 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
33222 arg5
= static_cast< double >(val5
);
33224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33225 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
33226 wxPyEndAllowThreads(__tstate
);
33227 if (PyErr_Occurred()) SWIG_fail
;
33229 resultobj
= SWIG_Py_Void();
33236 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33237 PyObject
*resultobj
= 0;
33238 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33247 PyObject
* obj0
= 0 ;
33248 PyObject
* obj1
= 0 ;
33249 PyObject
* obj2
= 0 ;
33250 char * kwnames
[] = {
33251 (char *) "self",(char *) "x",(char *) "y", NULL
33254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33256 if (!SWIG_IsOK(res1
)) {
33257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33259 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33261 if (!SWIG_IsOK(ecode2
)) {
33262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
33264 arg2
= static_cast< int >(val2
);
33265 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33266 if (!SWIG_IsOK(ecode3
)) {
33267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
33269 arg3
= static_cast< int >(val3
);
33271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33272 (arg1
)->DrawPoint(arg2
,arg3
);
33273 wxPyEndAllowThreads(__tstate
);
33274 if (PyErr_Occurred()) SWIG_fail
;
33276 resultobj
= SWIG_Py_Void();
33283 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33284 PyObject
*resultobj
= 0;
33285 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33286 wxPoint
*arg2
= 0 ;
33290 PyObject
* obj0
= 0 ;
33291 PyObject
* obj1
= 0 ;
33292 char * kwnames
[] = {
33293 (char *) "self",(char *) "pt", NULL
33296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33298 if (!SWIG_IsOK(res1
)) {
33299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33301 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33304 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33308 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
33309 wxPyEndAllowThreads(__tstate
);
33310 if (PyErr_Occurred()) SWIG_fail
;
33312 resultobj
= SWIG_Py_Void();
33319 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33320 PyObject
*resultobj
= 0;
33321 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33336 PyObject
* obj0
= 0 ;
33337 PyObject
* obj1
= 0 ;
33338 PyObject
* obj2
= 0 ;
33339 PyObject
* obj3
= 0 ;
33340 PyObject
* obj4
= 0 ;
33341 char * kwnames
[] = {
33342 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33347 if (!SWIG_IsOK(res1
)) {
33348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33350 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33352 if (!SWIG_IsOK(ecode2
)) {
33353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
33355 arg2
= static_cast< int >(val2
);
33356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33357 if (!SWIG_IsOK(ecode3
)) {
33358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
33360 arg3
= static_cast< int >(val3
);
33361 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33362 if (!SWIG_IsOK(ecode4
)) {
33363 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
33365 arg4
= static_cast< int >(val4
);
33366 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33367 if (!SWIG_IsOK(ecode5
)) {
33368 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
33370 arg5
= static_cast< int >(val5
);
33372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33373 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
33374 wxPyEndAllowThreads(__tstate
);
33375 if (PyErr_Occurred()) SWIG_fail
;
33377 resultobj
= SWIG_Py_Void();
33384 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33385 PyObject
*resultobj
= 0;
33386 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33391 PyObject
* obj0
= 0 ;
33392 PyObject
* obj1
= 0 ;
33393 char * kwnames
[] = {
33394 (char *) "self",(char *) "rect", NULL
33397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33399 if (!SWIG_IsOK(res1
)) {
33400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33402 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33405 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33409 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
33410 wxPyEndAllowThreads(__tstate
);
33411 if (PyErr_Occurred()) SWIG_fail
;
33413 resultobj
= SWIG_Py_Void();
33420 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33421 PyObject
*resultobj
= 0;
33422 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33423 wxPoint
*arg2
= 0 ;
33429 PyObject
* obj0
= 0 ;
33430 PyObject
* obj1
= 0 ;
33431 PyObject
* obj2
= 0 ;
33432 char * kwnames
[] = {
33433 (char *) "self",(char *) "pt",(char *) "sz", NULL
33436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33438 if (!SWIG_IsOK(res1
)) {
33439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33441 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33444 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33448 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33452 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
33453 wxPyEndAllowThreads(__tstate
);
33454 if (PyErr_Occurred()) SWIG_fail
;
33456 resultobj
= SWIG_Py_Void();
33463 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33464 PyObject
*resultobj
= 0;
33465 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33483 PyObject
* obj0
= 0 ;
33484 PyObject
* obj1
= 0 ;
33485 PyObject
* obj2
= 0 ;
33486 PyObject
* obj3
= 0 ;
33487 PyObject
* obj4
= 0 ;
33488 PyObject
* obj5
= 0 ;
33489 char * kwnames
[] = {
33490 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
33493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33495 if (!SWIG_IsOK(res1
)) {
33496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33498 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33500 if (!SWIG_IsOK(ecode2
)) {
33501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
33503 arg2
= static_cast< int >(val2
);
33504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33505 if (!SWIG_IsOK(ecode3
)) {
33506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
33508 arg3
= static_cast< int >(val3
);
33509 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33510 if (!SWIG_IsOK(ecode4
)) {
33511 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
33513 arg4
= static_cast< int >(val4
);
33514 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33515 if (!SWIG_IsOK(ecode5
)) {
33516 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
33518 arg5
= static_cast< int >(val5
);
33519 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
33520 if (!SWIG_IsOK(ecode6
)) {
33521 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
33523 arg6
= static_cast< double >(val6
);
33525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33526 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
33527 wxPyEndAllowThreads(__tstate
);
33528 if (PyErr_Occurred()) SWIG_fail
;
33530 resultobj
= SWIG_Py_Void();
33537 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33538 PyObject
*resultobj
= 0;
33539 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33547 PyObject
* obj0
= 0 ;
33548 PyObject
* obj1
= 0 ;
33549 PyObject
* obj2
= 0 ;
33550 char * kwnames
[] = {
33551 (char *) "self",(char *) "r",(char *) "radius", NULL
33554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33556 if (!SWIG_IsOK(res1
)) {
33557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33559 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33562 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33564 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
33565 if (!SWIG_IsOK(ecode3
)) {
33566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
33568 arg3
= static_cast< double >(val3
);
33570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33571 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
33572 wxPyEndAllowThreads(__tstate
);
33573 if (PyErr_Occurred()) SWIG_fail
;
33575 resultobj
= SWIG_Py_Void();
33582 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33583 PyObject
*resultobj
= 0;
33584 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33585 wxPoint
*arg2
= 0 ;
33594 PyObject
* obj0
= 0 ;
33595 PyObject
* obj1
= 0 ;
33596 PyObject
* obj2
= 0 ;
33597 PyObject
* obj3
= 0 ;
33598 char * kwnames
[] = {
33599 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
33602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33604 if (!SWIG_IsOK(res1
)) {
33605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33607 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33610 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33614 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33616 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33617 if (!SWIG_IsOK(ecode4
)) {
33618 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
33620 arg4
= static_cast< double >(val4
);
33622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33623 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
33624 wxPyEndAllowThreads(__tstate
);
33625 if (PyErr_Occurred()) SWIG_fail
;
33627 resultobj
= SWIG_Py_Void();
33634 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33635 PyObject
*resultobj
= 0;
33636 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33648 PyObject
* obj0
= 0 ;
33649 PyObject
* obj1
= 0 ;
33650 PyObject
* obj2
= 0 ;
33651 PyObject
* obj3
= 0 ;
33652 char * kwnames
[] = {
33653 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
33656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33658 if (!SWIG_IsOK(res1
)) {
33659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33661 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33663 if (!SWIG_IsOK(ecode2
)) {
33664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
33666 arg2
= static_cast< int >(val2
);
33667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33668 if (!SWIG_IsOK(ecode3
)) {
33669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
33671 arg3
= static_cast< int >(val3
);
33672 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33673 if (!SWIG_IsOK(ecode4
)) {
33674 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
33676 arg4
= static_cast< int >(val4
);
33678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33679 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
33680 wxPyEndAllowThreads(__tstate
);
33681 if (PyErr_Occurred()) SWIG_fail
;
33683 resultobj
= SWIG_Py_Void();
33690 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33691 PyObject
*resultobj
= 0;
33692 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33693 wxPoint
*arg2
= 0 ;
33700 PyObject
* obj0
= 0 ;
33701 PyObject
* obj1
= 0 ;
33702 PyObject
* obj2
= 0 ;
33703 char * kwnames
[] = {
33704 (char *) "self",(char *) "pt",(char *) "radius", NULL
33707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33709 if (!SWIG_IsOK(res1
)) {
33710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33712 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33715 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33718 if (!SWIG_IsOK(ecode3
)) {
33719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
33721 arg3
= static_cast< int >(val3
);
33723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33724 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
33725 wxPyEndAllowThreads(__tstate
);
33726 if (PyErr_Occurred()) SWIG_fail
;
33728 resultobj
= SWIG_Py_Void();
33735 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33736 PyObject
*resultobj
= 0;
33737 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33752 PyObject
* obj0
= 0 ;
33753 PyObject
* obj1
= 0 ;
33754 PyObject
* obj2
= 0 ;
33755 PyObject
* obj3
= 0 ;
33756 PyObject
* obj4
= 0 ;
33757 char * kwnames
[] = {
33758 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33763 if (!SWIG_IsOK(res1
)) {
33764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33766 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33768 if (!SWIG_IsOK(ecode2
)) {
33769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
33771 arg2
= static_cast< int >(val2
);
33772 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33773 if (!SWIG_IsOK(ecode3
)) {
33774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
33776 arg3
= static_cast< int >(val3
);
33777 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33778 if (!SWIG_IsOK(ecode4
)) {
33779 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
33781 arg4
= static_cast< int >(val4
);
33782 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33783 if (!SWIG_IsOK(ecode5
)) {
33784 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
33786 arg5
= static_cast< int >(val5
);
33788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33789 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
33790 wxPyEndAllowThreads(__tstate
);
33791 if (PyErr_Occurred()) SWIG_fail
;
33793 resultobj
= SWIG_Py_Void();
33800 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33801 PyObject
*resultobj
= 0;
33802 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33807 PyObject
* obj0
= 0 ;
33808 PyObject
* obj1
= 0 ;
33809 char * kwnames
[] = {
33810 (char *) "self",(char *) "rect", NULL
33813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33815 if (!SWIG_IsOK(res1
)) {
33816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33818 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33821 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33825 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
33826 wxPyEndAllowThreads(__tstate
);
33827 if (PyErr_Occurred()) SWIG_fail
;
33829 resultobj
= SWIG_Py_Void();
33836 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33837 PyObject
*resultobj
= 0;
33838 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33839 wxPoint
*arg2
= 0 ;
33845 PyObject
* obj0
= 0 ;
33846 PyObject
* obj1
= 0 ;
33847 PyObject
* obj2
= 0 ;
33848 char * kwnames
[] = {
33849 (char *) "self",(char *) "pt",(char *) "sz", NULL
33852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33854 if (!SWIG_IsOK(res1
)) {
33855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33857 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33860 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33864 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33868 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
33869 wxPyEndAllowThreads(__tstate
);
33870 if (PyErr_Occurred()) SWIG_fail
;
33872 resultobj
= SWIG_Py_Void();
33879 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33880 PyObject
*resultobj
= 0;
33881 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33893 PyObject
* obj0
= 0 ;
33894 PyObject
* obj1
= 0 ;
33895 PyObject
* obj2
= 0 ;
33896 PyObject
* obj3
= 0 ;
33897 char * kwnames
[] = {
33898 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
33901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33903 if (!SWIG_IsOK(res1
)) {
33904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33906 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33907 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33908 if (!SWIG_IsOK(res2
)) {
33909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33914 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33916 if (!SWIG_IsOK(ecode3
)) {
33917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
33919 arg3
= static_cast< int >(val3
);
33920 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33921 if (!SWIG_IsOK(ecode4
)) {
33922 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
33924 arg4
= static_cast< int >(val4
);
33926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33927 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
33928 wxPyEndAllowThreads(__tstate
);
33929 if (PyErr_Occurred()) SWIG_fail
;
33931 resultobj
= SWIG_Py_Void();
33938 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33939 PyObject
*resultobj
= 0;
33940 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33942 wxPoint
*arg3
= 0 ;
33948 PyObject
* obj0
= 0 ;
33949 PyObject
* obj1
= 0 ;
33950 PyObject
* obj2
= 0 ;
33951 char * kwnames
[] = {
33952 (char *) "self",(char *) "icon",(char *) "pt", NULL
33955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33957 if (!SWIG_IsOK(res1
)) {
33958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33960 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33962 if (!SWIG_IsOK(res2
)) {
33963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33968 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33971 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33975 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
33976 wxPyEndAllowThreads(__tstate
);
33977 if (PyErr_Occurred()) SWIG_fail
;
33979 resultobj
= SWIG_Py_Void();
33986 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33987 PyObject
*resultobj
= 0;
33988 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33989 wxBitmap
*arg2
= 0 ;
33992 bool arg5
= (bool) false ;
34003 PyObject
* obj0
= 0 ;
34004 PyObject
* obj1
= 0 ;
34005 PyObject
* obj2
= 0 ;
34006 PyObject
* obj3
= 0 ;
34007 PyObject
* obj4
= 0 ;
34008 char * kwnames
[] = {
34009 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
34012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34014 if (!SWIG_IsOK(res1
)) {
34015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34017 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34018 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34019 if (!SWIG_IsOK(res2
)) {
34020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34025 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34026 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34027 if (!SWIG_IsOK(ecode3
)) {
34028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
34030 arg3
= static_cast< int >(val3
);
34031 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34032 if (!SWIG_IsOK(ecode4
)) {
34033 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
34035 arg4
= static_cast< int >(val4
);
34037 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
34038 if (!SWIG_IsOK(ecode5
)) {
34039 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
34041 arg5
= static_cast< bool >(val5
);
34044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34045 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
34046 wxPyEndAllowThreads(__tstate
);
34047 if (PyErr_Occurred()) SWIG_fail
;
34049 resultobj
= SWIG_Py_Void();
34056 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34057 PyObject
*resultobj
= 0;
34058 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34059 wxBitmap
*arg2
= 0 ;
34060 wxPoint
*arg3
= 0 ;
34061 bool arg4
= (bool) false ;
34069 PyObject
* obj0
= 0 ;
34070 PyObject
* obj1
= 0 ;
34071 PyObject
* obj2
= 0 ;
34072 PyObject
* obj3
= 0 ;
34073 char * kwnames
[] = {
34074 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
34077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34079 if (!SWIG_IsOK(res1
)) {
34080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34082 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34083 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34084 if (!SWIG_IsOK(res2
)) {
34085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34090 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34093 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34096 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
34097 if (!SWIG_IsOK(ecode4
)) {
34098 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
34100 arg4
= static_cast< bool >(val4
);
34103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34104 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
34105 wxPyEndAllowThreads(__tstate
);
34106 if (PyErr_Occurred()) SWIG_fail
;
34108 resultobj
= SWIG_Py_Void();
34115 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34116 PyObject
*resultobj
= 0;
34117 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34118 wxString
*arg2
= 0 ;
34123 bool temp2
= false ;
34128 PyObject
* obj0
= 0 ;
34129 PyObject
* obj1
= 0 ;
34130 PyObject
* obj2
= 0 ;
34131 PyObject
* obj3
= 0 ;
34132 char * kwnames
[] = {
34133 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
34136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34138 if (!SWIG_IsOK(res1
)) {
34139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34141 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34143 arg2
= wxString_in_helper(obj1
);
34144 if (arg2
== NULL
) SWIG_fail
;
34147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34148 if (!SWIG_IsOK(ecode3
)) {
34149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
34151 arg3
= static_cast< int >(val3
);
34152 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34153 if (!SWIG_IsOK(ecode4
)) {
34154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
34156 arg4
= static_cast< int >(val4
);
34158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34159 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
34160 wxPyEndAllowThreads(__tstate
);
34161 if (PyErr_Occurred()) SWIG_fail
;
34163 resultobj
= SWIG_Py_Void();
34178 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34179 PyObject
*resultobj
= 0;
34180 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34181 wxString
*arg2
= 0 ;
34182 wxPoint
*arg3
= 0 ;
34185 bool temp2
= false ;
34187 PyObject
* obj0
= 0 ;
34188 PyObject
* obj1
= 0 ;
34189 PyObject
* obj2
= 0 ;
34190 char * kwnames
[] = {
34191 (char *) "self",(char *) "text",(char *) "pt", NULL
34194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34196 if (!SWIG_IsOK(res1
)) {
34197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34199 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34201 arg2
= wxString_in_helper(obj1
);
34202 if (arg2
== NULL
) SWIG_fail
;
34207 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34211 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
34212 wxPyEndAllowThreads(__tstate
);
34213 if (PyErr_Occurred()) SWIG_fail
;
34215 resultobj
= SWIG_Py_Void();
34230 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34231 PyObject
*resultobj
= 0;
34232 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34233 wxString
*arg2
= 0 ;
34239 bool temp2
= false ;
34246 PyObject
* obj0
= 0 ;
34247 PyObject
* obj1
= 0 ;
34248 PyObject
* obj2
= 0 ;
34249 PyObject
* obj3
= 0 ;
34250 PyObject
* obj4
= 0 ;
34251 char * kwnames
[] = {
34252 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
34255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34257 if (!SWIG_IsOK(res1
)) {
34258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34260 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34262 arg2
= wxString_in_helper(obj1
);
34263 if (arg2
== NULL
) SWIG_fail
;
34266 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34267 if (!SWIG_IsOK(ecode3
)) {
34268 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
34270 arg3
= static_cast< int >(val3
);
34271 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34272 if (!SWIG_IsOK(ecode4
)) {
34273 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
34275 arg4
= static_cast< int >(val4
);
34276 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
34277 if (!SWIG_IsOK(ecode5
)) {
34278 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
34280 arg5
= static_cast< double >(val5
);
34282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34283 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
34284 wxPyEndAllowThreads(__tstate
);
34285 if (PyErr_Occurred()) SWIG_fail
;
34287 resultobj
= SWIG_Py_Void();
34302 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34303 PyObject
*resultobj
= 0;
34304 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34305 wxString
*arg2
= 0 ;
34306 wxPoint
*arg3
= 0 ;
34310 bool temp2
= false ;
34314 PyObject
* obj0
= 0 ;
34315 PyObject
* obj1
= 0 ;
34316 PyObject
* obj2
= 0 ;
34317 PyObject
* obj3
= 0 ;
34318 char * kwnames
[] = {
34319 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
34322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34324 if (!SWIG_IsOK(res1
)) {
34325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34327 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34329 arg2
= wxString_in_helper(obj1
);
34330 if (arg2
== NULL
) SWIG_fail
;
34335 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34337 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
34338 if (!SWIG_IsOK(ecode4
)) {
34339 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
34341 arg4
= static_cast< double >(val4
);
34343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34344 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
34345 wxPyEndAllowThreads(__tstate
);
34346 if (PyErr_Occurred()) SWIG_fail
;
34348 resultobj
= SWIG_Py_Void();
34363 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34364 PyObject
*resultobj
= 0;
34365 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34367 wxPoint
*arg3
= (wxPoint
*) 0 ;
34368 int arg4
= (int) 0 ;
34369 int arg5
= (int) 0 ;
34376 PyObject
* obj0
= 0 ;
34377 PyObject
* obj1
= 0 ;
34378 PyObject
* obj2
= 0 ;
34379 PyObject
* obj3
= 0 ;
34380 char * kwnames
[] = {
34381 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
34384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34386 if (!SWIG_IsOK(res1
)) {
34387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34389 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34391 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34392 if (arg3
== NULL
) SWIG_fail
;
34395 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
34396 if (!SWIG_IsOK(ecode4
)) {
34397 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
34399 arg4
= static_cast< int >(val4
);
34402 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
34403 if (!SWIG_IsOK(ecode5
)) {
34404 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
34406 arg5
= static_cast< int >(val5
);
34409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34410 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
34411 wxPyEndAllowThreads(__tstate
);
34412 if (PyErr_Occurred()) SWIG_fail
;
34414 resultobj
= SWIG_Py_Void();
34416 if (arg3
) delete [] arg3
;
34421 if (arg3
) delete [] arg3
;
34427 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34428 PyObject
*resultobj
= 0;
34429 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34431 wxPoint
*arg3
= (wxPoint
*) 0 ;
34432 int arg4
= (int) 0 ;
34433 int arg5
= (int) 0 ;
34434 int arg6
= (int) wxODDEVEN_RULE
;
34443 PyObject
* obj0
= 0 ;
34444 PyObject
* obj1
= 0 ;
34445 PyObject
* obj2
= 0 ;
34446 PyObject
* obj3
= 0 ;
34447 PyObject
* obj4
= 0 ;
34448 char * kwnames
[] = {
34449 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
34452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34454 if (!SWIG_IsOK(res1
)) {
34455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34457 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34459 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34460 if (arg3
== NULL
) SWIG_fail
;
34463 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
34464 if (!SWIG_IsOK(ecode4
)) {
34465 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
34467 arg4
= static_cast< int >(val4
);
34470 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
34471 if (!SWIG_IsOK(ecode5
)) {
34472 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
34474 arg5
= static_cast< int >(val5
);
34477 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
34478 if (!SWIG_IsOK(ecode6
)) {
34479 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
34481 arg6
= static_cast< int >(val6
);
34484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34485 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
34486 wxPyEndAllowThreads(__tstate
);
34487 if (PyErr_Occurred()) SWIG_fail
;
34489 resultobj
= SWIG_Py_Void();
34491 if (arg3
) delete [] arg3
;
34496 if (arg3
) delete [] arg3
;
34502 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34503 PyObject
*resultobj
= 0;
34504 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34505 wxString
*arg2
= 0 ;
34507 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
34508 int arg5
= (int) -1 ;
34511 bool temp2
= false ;
34517 PyObject
* obj0
= 0 ;
34518 PyObject
* obj1
= 0 ;
34519 PyObject
* obj2
= 0 ;
34520 PyObject
* obj3
= 0 ;
34521 PyObject
* obj4
= 0 ;
34522 char * kwnames
[] = {
34523 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
34526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34528 if (!SWIG_IsOK(res1
)) {
34529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34531 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34533 arg2
= wxString_in_helper(obj1
);
34534 if (arg2
== NULL
) SWIG_fail
;
34539 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34542 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34543 if (!SWIG_IsOK(ecode4
)) {
34544 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
34546 arg4
= static_cast< int >(val4
);
34549 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34550 if (!SWIG_IsOK(ecode5
)) {
34551 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
34553 arg5
= static_cast< int >(val5
);
34556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34557 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
34558 wxPyEndAllowThreads(__tstate
);
34559 if (PyErr_Occurred()) SWIG_fail
;
34561 resultobj
= SWIG_Py_Void();
34576 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34577 PyObject
*resultobj
= 0;
34578 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34579 wxString
*arg2
= 0 ;
34580 wxBitmap
*arg3
= 0 ;
34582 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
34583 int arg6
= (int) -1 ;
34586 bool temp2
= false ;
34594 PyObject
* obj0
= 0 ;
34595 PyObject
* obj1
= 0 ;
34596 PyObject
* obj2
= 0 ;
34597 PyObject
* obj3
= 0 ;
34598 PyObject
* obj4
= 0 ;
34599 PyObject
* obj5
= 0 ;
34600 char * kwnames
[] = {
34601 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
34604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
34605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34606 if (!SWIG_IsOK(res1
)) {
34607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34609 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34611 arg2
= wxString_in_helper(obj1
);
34612 if (arg2
== NULL
) SWIG_fail
;
34615 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34616 if (!SWIG_IsOK(res3
)) {
34617 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
34620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
34622 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
34625 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34628 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34629 if (!SWIG_IsOK(ecode5
)) {
34630 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
34632 arg5
= static_cast< int >(val5
);
34635 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34636 if (!SWIG_IsOK(ecode6
)) {
34637 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
34639 arg6
= static_cast< int >(val6
);
34642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34643 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
34644 wxPyEndAllowThreads(__tstate
);
34645 if (PyErr_Occurred()) SWIG_fail
;
34647 resultobj
= SWIG_Py_Void();
34662 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34663 PyObject
*resultobj
= 0;
34664 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34666 wxPoint
*arg3
= (wxPoint
*) 0 ;
34669 PyObject
* obj0
= 0 ;
34670 PyObject
* obj1
= 0 ;
34671 char * kwnames
[] = {
34672 (char *) "self",(char *) "points", NULL
34675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34677 if (!SWIG_IsOK(res1
)) {
34678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34680 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34682 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34683 if (arg3
== NULL
) SWIG_fail
;
34686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34687 (arg1
)->DrawSpline(arg2
,arg3
);
34688 wxPyEndAllowThreads(__tstate
);
34689 if (PyErr_Occurred()) SWIG_fail
;
34691 resultobj
= SWIG_Py_Void();
34693 if (arg3
) delete [] arg3
;
34698 if (arg3
) delete [] arg3
;
34704 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34705 PyObject
*resultobj
= 0;
34706 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34709 PyObject
*swig_obj
[1] ;
34711 if (!args
) SWIG_fail
;
34712 swig_obj
[0] = args
;
34713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34714 if (!SWIG_IsOK(res1
)) {
34715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34717 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34721 wxPyEndAllowThreads(__tstate
);
34722 if (PyErr_Occurred()) SWIG_fail
;
34724 resultobj
= SWIG_Py_Void();
34731 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34732 PyObject
*resultobj
= 0;
34733 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34739 PyObject
* obj0
= 0 ;
34740 PyObject
* obj1
= 0 ;
34741 char * kwnames
[] = {
34742 (char *) "self",(char *) "font", NULL
34745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34747 if (!SWIG_IsOK(res1
)) {
34748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34750 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34751 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
34752 if (!SWIG_IsOK(res2
)) {
34753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34756 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34758 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34761 (arg1
)->SetFont((wxFont
const &)*arg2
);
34762 wxPyEndAllowThreads(__tstate
);
34763 if (PyErr_Occurred()) SWIG_fail
;
34765 resultobj
= SWIG_Py_Void();
34772 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34773 PyObject
*resultobj
= 0;
34774 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34780 PyObject
* obj0
= 0 ;
34781 PyObject
* obj1
= 0 ;
34782 char * kwnames
[] = {
34783 (char *) "self",(char *) "pen", NULL
34786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34788 if (!SWIG_IsOK(res1
)) {
34789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34791 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34792 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
34793 if (!SWIG_IsOK(res2
)) {
34794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34799 arg2
= reinterpret_cast< wxPen
* >(argp2
);
34801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34802 (arg1
)->SetPen((wxPen
const &)*arg2
);
34803 wxPyEndAllowThreads(__tstate
);
34804 if (PyErr_Occurred()) SWIG_fail
;
34806 resultobj
= SWIG_Py_Void();
34813 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34814 PyObject
*resultobj
= 0;
34815 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34816 wxBrush
*arg2
= 0 ;
34821 PyObject
* obj0
= 0 ;
34822 PyObject
* obj1
= 0 ;
34823 char * kwnames
[] = {
34824 (char *) "self",(char *) "brush", NULL
34827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34829 if (!SWIG_IsOK(res1
)) {
34830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34832 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34834 if (!SWIG_IsOK(res2
)) {
34835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34840 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34843 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
34844 wxPyEndAllowThreads(__tstate
);
34845 if (PyErr_Occurred()) SWIG_fail
;
34847 resultobj
= SWIG_Py_Void();
34854 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34855 PyObject
*resultobj
= 0;
34856 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34857 wxBrush
*arg2
= 0 ;
34862 PyObject
* obj0
= 0 ;
34863 PyObject
* obj1
= 0 ;
34864 char * kwnames
[] = {
34865 (char *) "self",(char *) "brush", NULL
34868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34870 if (!SWIG_IsOK(res1
)) {
34871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34873 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34875 if (!SWIG_IsOK(res2
)) {
34876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34881 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34884 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
34885 wxPyEndAllowThreads(__tstate
);
34886 if (PyErr_Occurred()) SWIG_fail
;
34888 resultobj
= SWIG_Py_Void();
34895 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34896 PyObject
*resultobj
= 0;
34897 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34903 PyObject
* obj0
= 0 ;
34904 PyObject
* obj1
= 0 ;
34905 char * kwnames
[] = {
34906 (char *) "self",(char *) "mode", NULL
34909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34911 if (!SWIG_IsOK(res1
)) {
34912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34914 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34916 if (!SWIG_IsOK(ecode2
)) {
34917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
34919 arg2
= static_cast< int >(val2
);
34921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34922 (arg1
)->SetBackgroundMode(arg2
);
34923 wxPyEndAllowThreads(__tstate
);
34924 if (PyErr_Occurred()) SWIG_fail
;
34926 resultobj
= SWIG_Py_Void();
34933 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34934 PyObject
*resultobj
= 0;
34935 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34936 wxPalette
*arg2
= 0 ;
34941 PyObject
* obj0
= 0 ;
34942 PyObject
* obj1
= 0 ;
34943 char * kwnames
[] = {
34944 (char *) "self",(char *) "palette", NULL
34947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34949 if (!SWIG_IsOK(res1
)) {
34950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34952 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34953 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
34954 if (!SWIG_IsOK(res2
)) {
34955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34960 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
34962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34963 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
34964 wxPyEndAllowThreads(__tstate
);
34965 if (PyErr_Occurred()) SWIG_fail
;
34967 resultobj
= SWIG_Py_Void();
34974 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34975 PyObject
*resultobj
= 0;
34976 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34977 wxColour
*arg2
= 0 ;
34981 PyObject
* obj0
= 0 ;
34982 PyObject
* obj1
= 0 ;
34983 char * kwnames
[] = {
34984 (char *) "self",(char *) "colour", NULL
34987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34989 if (!SWIG_IsOK(res1
)) {
34990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34992 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34995 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34999 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
35000 wxPyEndAllowThreads(__tstate
);
35001 if (PyErr_Occurred()) SWIG_fail
;
35003 resultobj
= SWIG_Py_Void();
35010 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35011 PyObject
*resultobj
= 0;
35012 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35013 wxColour
*arg2
= 0 ;
35017 PyObject
* obj0
= 0 ;
35018 PyObject
* obj1
= 0 ;
35019 char * kwnames
[] = {
35020 (char *) "self",(char *) "colour", NULL
35023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35025 if (!SWIG_IsOK(res1
)) {
35026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35028 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35031 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
35034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35035 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
35036 wxPyEndAllowThreads(__tstate
);
35037 if (PyErr_Occurred()) SWIG_fail
;
35039 resultobj
= SWIG_Py_Void();
35046 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35047 PyObject
*resultobj
= 0;
35048 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35054 PyObject
* obj0
= 0 ;
35055 PyObject
* obj1
= 0 ;
35056 char * kwnames
[] = {
35057 (char *) "self",(char *) "function", NULL
35060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35062 if (!SWIG_IsOK(res1
)) {
35063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35065 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35067 if (!SWIG_IsOK(ecode2
)) {
35068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
35070 arg2
= static_cast< int >(val2
);
35072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35073 (arg1
)->SetLogicalFunction(arg2
);
35074 wxPyEndAllowThreads(__tstate
);
35075 if (PyErr_Occurred()) SWIG_fail
;
35077 resultobj
= SWIG_Py_Void();
35084 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35086 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35087 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
35088 return SWIG_Py_Void();
35091 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35092 return SWIG_Python_InitShadowInstance(args
);
35095 static PyMethodDef SwigMethods
[] = {
35096 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
35097 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
35098 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
35099 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
35100 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
35101 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
35105 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
35106 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
35107 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
35108 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
35109 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
35110 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
35115 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
35119 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
35120 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
35121 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
35123 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
35126 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
35127 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
35128 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
35129 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
35131 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
35132 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
35133 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
35134 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
35135 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
35136 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
35137 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
35144 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
35146 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
35147 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
35151 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
35152 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
35155 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
35159 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
35160 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
35161 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
35162 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
35163 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
35164 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
35165 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
35167 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
35173 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
35175 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
35176 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
35177 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
35178 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
35179 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
35180 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
35181 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
35187 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
35197 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
35198 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
35202 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
35203 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
35204 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
35205 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
35206 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
35207 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
35208 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
35209 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
35210 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
35211 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
35212 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
35213 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
35214 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
35215 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
35216 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
35218 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
35219 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
35225 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
35226 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
35227 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
35228 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
35229 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
35230 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
35231 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
35232 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
35233 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
35234 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
35235 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
35236 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
35238 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
35239 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
35245 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
35246 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
35247 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
35249 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
35250 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
35251 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
35253 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
35254 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
35259 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
35261 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
35262 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
35263 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
35264 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
35270 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
35271 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
35273 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
35274 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
35276 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
35278 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
35279 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
35280 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
35281 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
35284 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
35288 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
35289 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
35291 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
35294 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
35296 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
35297 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
35298 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
35299 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
35304 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
35305 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
35310 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
35311 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
35317 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
35321 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
35332 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
35335 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
35336 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
35338 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
35339 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
35340 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
35341 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
35342 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
35343 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
35344 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
35345 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
35346 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
35347 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
35348 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
35349 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
35350 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
35351 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
35352 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
35353 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
35354 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
35356 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
35357 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
35358 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
35359 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
35360 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
35361 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
35362 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
35363 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
35373 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
35374 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
35376 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
35377 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
35378 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
35379 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
35380 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
35381 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
35382 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
35383 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
35384 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
35386 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
35387 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
35388 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
35391 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
35392 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
35393 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
35396 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
35402 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
35407 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
35408 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
35410 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
35416 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
35419 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
35420 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
35421 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
35422 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
35423 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
35424 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
35425 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
35426 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
35427 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
35428 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
35429 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
35430 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
35431 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
35443 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
35444 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
35445 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
35447 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
35448 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
35450 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
35451 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
35452 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
35453 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
35457 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
35458 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
35460 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
35461 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
35462 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
35463 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
35464 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
35465 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
35466 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
35467 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
35468 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
35470 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
35473 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
35474 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
35475 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
35476 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
35477 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
35478 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
35479 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
35480 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
35490 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
35491 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
35492 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
35494 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
35498 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
35499 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
35500 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
35501 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
35502 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
35503 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
35509 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
35510 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
35511 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
35560 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
35562 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
35563 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
35564 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
35571 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
35572 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
35573 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
35574 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
35575 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
35580 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
35581 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
35582 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
35583 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
35592 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
35593 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
35594 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
35595 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
35596 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
35597 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
35598 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
35599 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
35600 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
35601 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
35602 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
35603 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
35606 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
35608 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
35610 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
35612 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
35613 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
35616 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
35617 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
35621 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
35623 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
35626 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
35627 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
35628 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
35629 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
35630 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
35631 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
35632 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
35634 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
35641 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
35645 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
35646 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
35647 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
35648 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
35649 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
35650 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
35651 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
35653 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
35654 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
35655 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
35658 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
35659 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
35660 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
35662 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
35663 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
35665 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
35666 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
35668 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
35669 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
35672 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
35673 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35674 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
35675 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
35678 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
35679 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
35680 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
35682 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
35683 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
35685 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
35686 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
35687 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
35688 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
35689 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
35690 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35691 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
35692 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
35693 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
35694 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35695 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
35696 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
35697 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
35698 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35699 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35700 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35701 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
35702 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
35703 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35704 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35705 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35706 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35707 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35708 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
35709 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
35710 { (char *)"GraphicsContext_Create", (PyCFunction
) _wrap_GraphicsContext_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35711 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
35712 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
35713 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
35714 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35715 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35716 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35717 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35718 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35719 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35720 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35721 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35722 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35723 { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35724 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35725 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35726 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35727 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35728 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35729 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35730 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35731 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35732 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35733 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35734 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35735 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35736 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35737 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35738 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35739 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35740 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
35741 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35742 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
35743 { (char *)"GCDC_GetGraphicContext", (PyCFunction
)_wrap_GCDC_GetGraphicContext
, METH_O
, NULL
},
35744 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
35745 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
35746 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
35747 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
35748 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
35749 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
35750 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
35751 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
35752 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
35753 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
35754 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
35755 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
35756 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35757 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
35758 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35759 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35760 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35761 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35762 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35763 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35764 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35765 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
35766 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35767 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
35768 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35769 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
35770 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
35771 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
35772 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
35773 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
35774 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
35775 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35776 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35777 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35778 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35779 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35780 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
35781 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
35782 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
35783 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
35784 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
35785 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
35786 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35787 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35788 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35789 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
35790 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35791 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35792 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35793 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
35794 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35795 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35796 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35797 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
35798 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
35799 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
35800 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35801 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35802 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35803 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35804 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
35805 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
35806 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
35807 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
35808 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
35809 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
35810 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
35811 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
35812 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
35813 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
35814 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
35815 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
35816 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35817 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35818 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35819 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35820 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35821 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35822 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35823 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35824 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
35825 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
35826 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35827 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
35828 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
35829 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
35830 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
35831 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
35832 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
35833 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
35834 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
35835 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
35836 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
35837 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
35838 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
35839 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
35840 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
35841 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
35842 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
35843 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
35844 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
35845 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
35846 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
35847 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
35848 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
35849 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
35850 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
35851 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35852 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
35853 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35854 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
35855 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
35856 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
35857 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
35858 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35859 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35860 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35861 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35862 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35863 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35864 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35865 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35866 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35867 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35868 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35869 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35870 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
35871 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
35872 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
35873 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35874 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
35875 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
35876 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
35877 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
35878 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
35879 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
35880 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
35881 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
35882 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35883 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35884 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35885 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35886 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35887 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35888 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35889 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35890 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35891 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35892 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35893 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35894 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35895 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35896 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35897 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35898 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35899 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35900 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35901 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35902 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35903 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35904 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35905 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35906 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35907 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35908 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35909 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35910 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35911 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35912 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35913 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35914 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35915 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35916 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35917 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35918 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35919 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35920 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35921 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35922 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35923 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35924 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35925 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35926 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35927 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35928 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35929 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35930 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35931 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35932 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35933 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35934 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
35935 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35936 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35937 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35938 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35939 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35940 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35941 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35942 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35943 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35944 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
35945 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
35946 { NULL
, NULL
, 0, NULL
}
35950 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35952 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
35953 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
35955 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
35956 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
35958 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
35959 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35961 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
35962 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
35964 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
35965 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
35967 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
35968 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
35970 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
35971 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
35973 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
35974 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
35976 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
35977 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
35979 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
35980 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
35982 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
35983 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
35985 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
35986 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
35988 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
35989 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
35991 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
35992 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
35994 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
35995 return (void *)((wxDC
*) ((wxGCDC
*) x
));
35997 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
35998 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
36000 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
36001 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
36003 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
36004 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
36006 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
36007 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
36009 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
36010 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
36012 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
36013 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
36015 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
36016 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36018 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
36019 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
36021 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
36022 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
36024 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
36025 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
36027 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
36028 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
36030 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
36031 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
36033 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
36034 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
36036 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
36037 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
36039 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
36040 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36042 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36043 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36045 static void *_p_wxPenTo_p_wxObject(void *x
) {
36046 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
36048 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
36049 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
36051 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36052 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36054 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36055 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36057 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36058 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36060 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36061 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36063 static void *_p_wxIconTo_p_wxObject(void *x
) {
36064 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
36066 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36067 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36069 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36070 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36072 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36073 return (void *)((wxObject
*) ((wxSizer
*) x
));
36075 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36076 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36078 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36079 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36081 static void *_p_wxEventTo_p_wxObject(void *x
) {
36082 return (void *)((wxObject
*) ((wxEvent
*) x
));
36084 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36085 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36087 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36088 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36090 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36091 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36093 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
36094 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
36096 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
36097 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
36099 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36100 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36102 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36103 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36105 static void *_p_wxDCTo_p_wxObject(void *x
) {
36106 return (void *)((wxObject
*) ((wxDC
*) x
));
36108 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36109 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36111 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36112 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36114 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36115 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36117 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36118 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36120 static void *_p_wxControlTo_p_wxObject(void *x
) {
36121 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36123 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36124 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36126 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
36127 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
36129 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36130 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36132 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
36133 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
36135 static void *_p_wxRegionTo_p_wxObject(void *x
) {
36136 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
36138 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36139 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36141 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
36142 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
36144 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
36145 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
36147 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
36148 return (void *)((wxObject
*) ((wxEffects
*) x
));
36150 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36151 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36153 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36154 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36156 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
36157 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
36159 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36160 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36162 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36163 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36165 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36166 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36168 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36169 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36171 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36172 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36174 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36175 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36177 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36178 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36180 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36181 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36183 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36184 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36186 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36187 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36189 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36190 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36192 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36193 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36195 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36196 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36198 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36199 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36201 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36202 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36204 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36205 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36207 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36208 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36210 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36211 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36213 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36214 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36216 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36217 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36219 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
36220 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
36222 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36223 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36225 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36226 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36228 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36229 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36231 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36232 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36234 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
36235 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
36237 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
36238 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36240 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
36241 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
36243 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
36244 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
36246 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
36247 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
36249 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36250 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36252 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36253 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36255 static void *_p_wxImageTo_p_wxObject(void *x
) {
36256 return (void *)((wxObject
*) ((wxImage
*) x
));
36258 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36259 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36261 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
36262 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
36264 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
36265 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
36267 static void *_p_wxImageListTo_p_wxObject(void *x
) {
36268 return (void *)((wxObject
*) ((wxImageList
*) x
));
36270 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
36271 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
36273 static void *_p_wxCursorTo_p_wxObject(void *x
) {
36274 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
36276 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
36277 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
36279 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
36280 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
36282 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36283 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36285 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36286 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36288 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36289 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36291 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36292 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36294 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36295 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36297 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36300 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
36301 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
36303 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36304 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36306 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
36307 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
36309 static void *_p_wxMaskTo_p_wxObject(void *x
) {
36310 return (void *)((wxObject
*) ((wxMask
*) x
));
36312 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36313 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36315 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36316 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36318 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36319 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36321 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36322 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36324 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36325 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36327 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36328 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36330 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36331 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36333 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36334 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36336 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36337 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36339 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36340 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36342 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36343 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36345 static void *_p_wxFontTo_p_wxObject(void *x
) {
36346 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
36348 static void *_p_wxBrushTo_p_wxObject(void *x
) {
36349 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
36351 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
36352 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
36354 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36357 static void *_p_wxColourTo_p_wxObject(void *x
) {
36358 return (void *)((wxObject
*) ((wxColour
*) x
));
36360 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36361 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36363 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36364 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36366 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36367 return (void *)((wxWindow
*) ((wxControl
*) x
));
36369 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36370 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36372 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36373 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36375 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
36376 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
36378 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
36379 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
36381 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
36382 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
36383 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
36384 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};
36385 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
36386 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
36387 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
36388 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
36389 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
36390 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
36391 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
36392 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
36393 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
36394 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
36395 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
36396 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
36397 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
36398 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
36399 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
36400 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
36401 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
36402 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
36403 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
36404 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
36405 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
36406 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
36407 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
36408 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
36409 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
36410 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
36411 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
36412 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
36413 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
36414 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
36415 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
36416 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
36417 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
36418 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
36419 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
36420 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
36421 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
36422 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
36423 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
36424 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
36425 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
36426 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
36427 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
36428 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
36429 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
36430 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
36431 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
36432 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
36433 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
36434 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
36435 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
36436 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
36437 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
36438 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
36439 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
36440 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
36441 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
36442 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
36443 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
36444 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
36445 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
36446 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
36447 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
36448 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
36449 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
36450 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
36451 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
36452 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
36453 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
36454 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
36455 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
36456 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
36457 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
36458 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
36459 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
36460 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
36461 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
36462 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
36463 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
36464 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
36465 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
36466 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
36467 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
36468 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
36469 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
36470 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
36471 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
36472 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
36473 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
36474 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
36475 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
36476 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
36477 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
36478 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
36479 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
36480 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
36481 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
36482 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
36483 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
36484 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
36485 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
36486 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
36487 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
36488 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
36489 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
36490 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
36491 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
36492 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
36493 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
36494 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
36495 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
36496 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
36497 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
36498 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
36499 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
36500 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
36501 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
36502 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
36503 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
36504 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
36505 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
36506 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
36507 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
36508 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
36509 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
36510 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
36511 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
36512 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
36513 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
36514 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
36515 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
36516 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
36517 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
36518 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
36519 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
36520 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
36521 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
36522 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
36523 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
36524 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
36525 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
36526 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
36527 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
36528 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
36529 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
36530 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
36531 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
36532 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
36533 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
36534 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
36535 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
36536 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
36538 static swig_type_info
*swig_type_initial
[] = {
36542 &_swigt__p_form_ops_t
,
36544 &_swigt__p_unsigned_char
,
36545 &_swigt__p_unsigned_int
,
36546 &_swigt__p_unsigned_long
,
36547 &_swigt__p_wxANIHandler
,
36548 &_swigt__p_wxAcceleratorTable
,
36549 &_swigt__p_wxActivateEvent
,
36550 &_swigt__p_wxAlphaPixelData
,
36551 &_swigt__p_wxAlphaPixelData_Accessor
,
36552 &_swigt__p_wxBMPHandler
,
36553 &_swigt__p_wxBitmap
,
36554 &_swigt__p_wxBoxSizer
,
36555 &_swigt__p_wxBrush
,
36556 &_swigt__p_wxBrushList
,
36557 &_swigt__p_wxBufferedDC
,
36558 &_swigt__p_wxBufferedPaintDC
,
36559 &_swigt__p_wxCURHandler
,
36561 &_swigt__p_wxChildFocusEvent
,
36562 &_swigt__p_wxClientDC
,
36563 &_swigt__p_wxClipboardTextEvent
,
36564 &_swigt__p_wxCloseEvent
,
36565 &_swigt__p_wxColor
,
36566 &_swigt__p_wxColour
,
36567 &_swigt__p_wxColourDatabase
,
36568 &_swigt__p_wxCommandEvent
,
36569 &_swigt__p_wxContextMenuEvent
,
36570 &_swigt__p_wxControl
,
36571 &_swigt__p_wxControlWithItems
,
36572 &_swigt__p_wxCursor
,
36574 &_swigt__p_wxDCOverlay
,
36576 &_swigt__p_wxDateEvent
,
36577 &_swigt__p_wxDisplayChangedEvent
,
36578 &_swigt__p_wxDropFilesEvent
,
36579 &_swigt__p_wxDuplexMode
,
36580 &_swigt__p_wxEffects
,
36581 &_swigt__p_wxEncodingConverter
,
36582 &_swigt__p_wxEraseEvent
,
36583 &_swigt__p_wxEvent
,
36584 &_swigt__p_wxEvtHandler
,
36585 &_swigt__p_wxFSFile
,
36586 &_swigt__p_wxFileSystem
,
36587 &_swigt__p_wxFlexGridSizer
,
36588 &_swigt__p_wxFocusEvent
,
36590 &_swigt__p_wxFontList
,
36591 &_swigt__p_wxFontMapper
,
36592 &_swigt__p_wxGBSizerItem
,
36594 &_swigt__p_wxGDIObjListBase
,
36595 &_swigt__p_wxGDIObject
,
36596 &_swigt__p_wxGIFHandler
,
36597 &_swigt__p_wxGraphicsContext
,
36598 &_swigt__p_wxGraphicsPath
,
36599 &_swigt__p_wxGridBagSizer
,
36600 &_swigt__p_wxGridSizer
,
36601 &_swigt__p_wxHeaderButtonParams
,
36602 &_swigt__p_wxICOHandler
,
36604 &_swigt__p_wxIconBundle
,
36605 &_swigt__p_wxIconLocation
,
36606 &_swigt__p_wxIconizeEvent
,
36607 &_swigt__p_wxIdleEvent
,
36608 &_swigt__p_wxImage
,
36609 &_swigt__p_wxImageHandler
,
36610 &_swigt__p_wxImageList
,
36611 &_swigt__p_wxIndividualLayoutConstraint
,
36612 &_swigt__p_wxInitDialogEvent
,
36613 &_swigt__p_wxJPEGHandler
,
36614 &_swigt__p_wxKeyEvent
,
36615 &_swigt__p_wxLanguageInfo
,
36616 &_swigt__p_wxLayoutConstraints
,
36617 &_swigt__p_wxLocale
,
36619 &_swigt__p_wxMaximizeEvent
,
36620 &_swigt__p_wxMemoryDC
,
36622 &_swigt__p_wxMenuBar
,
36623 &_swigt__p_wxMenuEvent
,
36624 &_swigt__p_wxMenuItem
,
36625 &_swigt__p_wxMetaFile
,
36626 &_swigt__p_wxMetaFileDC
,
36627 &_swigt__p_wxMirrorDC
,
36628 &_swigt__p_wxMouseCaptureChangedEvent
,
36629 &_swigt__p_wxMouseCaptureLostEvent
,
36630 &_swigt__p_wxMouseEvent
,
36631 &_swigt__p_wxMoveEvent
,
36632 &_swigt__p_wxNativeEncodingInfo
,
36633 &_swigt__p_wxNativeFontInfo
,
36634 &_swigt__p_wxNativePixelData
,
36635 &_swigt__p_wxNativePixelData_Accessor
,
36636 &_swigt__p_wxNavigationKeyEvent
,
36637 &_swigt__p_wxNcPaintEvent
,
36638 &_swigt__p_wxNotifyEvent
,
36639 &_swigt__p_wxObject
,
36640 &_swigt__p_wxOverlay
,
36641 &_swigt__p_wxPCXHandler
,
36642 &_swigt__p_wxPNGHandler
,
36643 &_swigt__p_wxPNMHandler
,
36644 &_swigt__p_wxPaintDC
,
36645 &_swigt__p_wxPaintEvent
,
36646 &_swigt__p_wxPalette
,
36647 &_swigt__p_wxPaletteChangedEvent
,
36648 &_swigt__p_wxPaperSize
,
36650 &_swigt__p_wxPenList
,
36651 &_swigt__p_wxPixelDataBase
,
36652 &_swigt__p_wxPoint
,
36653 &_swigt__p_wxPoint2D
,
36654 &_swigt__p_wxPostScriptDC
,
36655 &_swigt__p_wxPrintData
,
36656 &_swigt__p_wxPrinterDC
,
36657 &_swigt__p_wxPseudoDC
,
36658 &_swigt__p_wxPyApp
,
36659 &_swigt__p_wxPyCommandEvent
,
36660 &_swigt__p_wxPyEvent
,
36661 &_swigt__p_wxPyFontEnumerator
,
36662 &_swigt__p_wxPyImageHandler
,
36663 &_swigt__p_wxPyLocale
,
36664 &_swigt__p_wxPySizer
,
36665 &_swigt__p_wxPyValidator
,
36666 &_swigt__p_wxQueryNewPaletteEvent
,
36668 &_swigt__p_wxRegion
,
36669 &_swigt__p_wxRegionIterator
,
36670 &_swigt__p_wxRendererNative
,
36671 &_swigt__p_wxRendererVersion
,
36672 &_swigt__p_wxScreenDC
,
36673 &_swigt__p_wxScrollEvent
,
36674 &_swigt__p_wxScrollWinEvent
,
36675 &_swigt__p_wxSetCursorEvent
,
36676 &_swigt__p_wxShowEvent
,
36678 &_swigt__p_wxSizeEvent
,
36679 &_swigt__p_wxSizer
,
36680 &_swigt__p_wxSizerItem
,
36681 &_swigt__p_wxSplitterRenderParams
,
36682 &_swigt__p_wxStaticBoxSizer
,
36683 &_swigt__p_wxStdDialogButtonSizer
,
36684 &_swigt__p_wxStockGDI
,
36685 &_swigt__p_wxString
,
36686 &_swigt__p_wxSysColourChangedEvent
,
36687 &_swigt__p_wxTIFFHandler
,
36688 &_swigt__p_wxUpdateUIEvent
,
36689 &_swigt__p_wxValidator
,
36690 &_swigt__p_wxWindow
,
36691 &_swigt__p_wxWindowCreateEvent
,
36692 &_swigt__p_wxWindowDC
,
36693 &_swigt__p_wxWindowDestroyEvent
,
36694 &_swigt__p_wxXPMHandler
,
36697 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
36698 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
36699 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
36700 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
36701 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
36702 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
36703 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
36704 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
36705 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
36706 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36707 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
36708 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
36709 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
36710 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}};
36711 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36712 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
36713 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}};
36714 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
36715 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
36716 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
36717 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
36718 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxDC
, 0, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxDC
, 0, 0},{0, 0, 0, 0}};
36719 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
36720 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
36721 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
36722 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
36723 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
36724 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
36725 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
36726 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
36727 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
36728 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}};
36729 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}};
36730 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
36731 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
36732 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
36733 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
36734 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
36735 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
36736 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
36737 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
36738 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
36739 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}};
36740 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
36741 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}};
36742 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
36743 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
36744 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
36745 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
36746 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
36747 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
36748 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36749 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
36750 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36751 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36752 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
36753 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
36754 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36755 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36756 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36757 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
36758 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
36759 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
36760 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
36761 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36762 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36763 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36764 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
36765 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36766 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36767 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36768 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36769 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36770 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36771 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
36772 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
36773 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
36774 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
36775 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36776 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36777 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
36778 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
36779 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36780 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
36781 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36782 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
36783 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36784 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36785 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36786 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
36787 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36788 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
36789 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
36790 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
36791 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36792 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36793 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36794 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36795 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
36796 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
36797 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36798 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36799 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
36800 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36801 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36802 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
36803 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
36804 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
36805 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
36806 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36807 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36808 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36809 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
36810 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
36811 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36812 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36813 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
36814 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36815 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36816 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36817 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36818 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36819 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
36820 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36821 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36822 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
36823 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
36824 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
36825 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPseudoDC
, _p_wxPseudoDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_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_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_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_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_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_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_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_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_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}};
36826 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
36827 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36828 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
36829 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
36830 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
36831 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
36832 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}};
36833 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
36834 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
36835 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
36836 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
36837 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
36838 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
36839 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
36840 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
36841 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
36842 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
36843 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
36844 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
36845 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
36846 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
36847 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
36848 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
36849 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
36850 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
36851 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}};
36852 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
36854 static swig_cast_info
*swig_cast_initial
[] = {
36858 _swigc__p_form_ops_t
,
36860 _swigc__p_unsigned_char
,
36861 _swigc__p_unsigned_int
,
36862 _swigc__p_unsigned_long
,
36863 _swigc__p_wxANIHandler
,
36864 _swigc__p_wxAcceleratorTable
,
36865 _swigc__p_wxActivateEvent
,
36866 _swigc__p_wxAlphaPixelData
,
36867 _swigc__p_wxAlphaPixelData_Accessor
,
36868 _swigc__p_wxBMPHandler
,
36869 _swigc__p_wxBitmap
,
36870 _swigc__p_wxBoxSizer
,
36872 _swigc__p_wxBrushList
,
36873 _swigc__p_wxBufferedDC
,
36874 _swigc__p_wxBufferedPaintDC
,
36875 _swigc__p_wxCURHandler
,
36877 _swigc__p_wxChildFocusEvent
,
36878 _swigc__p_wxClientDC
,
36879 _swigc__p_wxClipboardTextEvent
,
36880 _swigc__p_wxCloseEvent
,
36882 _swigc__p_wxColour
,
36883 _swigc__p_wxColourDatabase
,
36884 _swigc__p_wxCommandEvent
,
36885 _swigc__p_wxContextMenuEvent
,
36886 _swigc__p_wxControl
,
36887 _swigc__p_wxControlWithItems
,
36888 _swigc__p_wxCursor
,
36890 _swigc__p_wxDCOverlay
,
36892 _swigc__p_wxDateEvent
,
36893 _swigc__p_wxDisplayChangedEvent
,
36894 _swigc__p_wxDropFilesEvent
,
36895 _swigc__p_wxDuplexMode
,
36896 _swigc__p_wxEffects
,
36897 _swigc__p_wxEncodingConverter
,
36898 _swigc__p_wxEraseEvent
,
36900 _swigc__p_wxEvtHandler
,
36901 _swigc__p_wxFSFile
,
36902 _swigc__p_wxFileSystem
,
36903 _swigc__p_wxFlexGridSizer
,
36904 _swigc__p_wxFocusEvent
,
36906 _swigc__p_wxFontList
,
36907 _swigc__p_wxFontMapper
,
36908 _swigc__p_wxGBSizerItem
,
36910 _swigc__p_wxGDIObjListBase
,
36911 _swigc__p_wxGDIObject
,
36912 _swigc__p_wxGIFHandler
,
36913 _swigc__p_wxGraphicsContext
,
36914 _swigc__p_wxGraphicsPath
,
36915 _swigc__p_wxGridBagSizer
,
36916 _swigc__p_wxGridSizer
,
36917 _swigc__p_wxHeaderButtonParams
,
36918 _swigc__p_wxICOHandler
,
36920 _swigc__p_wxIconBundle
,
36921 _swigc__p_wxIconLocation
,
36922 _swigc__p_wxIconizeEvent
,
36923 _swigc__p_wxIdleEvent
,
36925 _swigc__p_wxImageHandler
,
36926 _swigc__p_wxImageList
,
36927 _swigc__p_wxIndividualLayoutConstraint
,
36928 _swigc__p_wxInitDialogEvent
,
36929 _swigc__p_wxJPEGHandler
,
36930 _swigc__p_wxKeyEvent
,
36931 _swigc__p_wxLanguageInfo
,
36932 _swigc__p_wxLayoutConstraints
,
36933 _swigc__p_wxLocale
,
36935 _swigc__p_wxMaximizeEvent
,
36936 _swigc__p_wxMemoryDC
,
36938 _swigc__p_wxMenuBar
,
36939 _swigc__p_wxMenuEvent
,
36940 _swigc__p_wxMenuItem
,
36941 _swigc__p_wxMetaFile
,
36942 _swigc__p_wxMetaFileDC
,
36943 _swigc__p_wxMirrorDC
,
36944 _swigc__p_wxMouseCaptureChangedEvent
,
36945 _swigc__p_wxMouseCaptureLostEvent
,
36946 _swigc__p_wxMouseEvent
,
36947 _swigc__p_wxMoveEvent
,
36948 _swigc__p_wxNativeEncodingInfo
,
36949 _swigc__p_wxNativeFontInfo
,
36950 _swigc__p_wxNativePixelData
,
36951 _swigc__p_wxNativePixelData_Accessor
,
36952 _swigc__p_wxNavigationKeyEvent
,
36953 _swigc__p_wxNcPaintEvent
,
36954 _swigc__p_wxNotifyEvent
,
36955 _swigc__p_wxObject
,
36956 _swigc__p_wxOverlay
,
36957 _swigc__p_wxPCXHandler
,
36958 _swigc__p_wxPNGHandler
,
36959 _swigc__p_wxPNMHandler
,
36960 _swigc__p_wxPaintDC
,
36961 _swigc__p_wxPaintEvent
,
36962 _swigc__p_wxPalette
,
36963 _swigc__p_wxPaletteChangedEvent
,
36964 _swigc__p_wxPaperSize
,
36966 _swigc__p_wxPenList
,
36967 _swigc__p_wxPixelDataBase
,
36969 _swigc__p_wxPoint2D
,
36970 _swigc__p_wxPostScriptDC
,
36971 _swigc__p_wxPrintData
,
36972 _swigc__p_wxPrinterDC
,
36973 _swigc__p_wxPseudoDC
,
36975 _swigc__p_wxPyCommandEvent
,
36976 _swigc__p_wxPyEvent
,
36977 _swigc__p_wxPyFontEnumerator
,
36978 _swigc__p_wxPyImageHandler
,
36979 _swigc__p_wxPyLocale
,
36980 _swigc__p_wxPySizer
,
36981 _swigc__p_wxPyValidator
,
36982 _swigc__p_wxQueryNewPaletteEvent
,
36984 _swigc__p_wxRegion
,
36985 _swigc__p_wxRegionIterator
,
36986 _swigc__p_wxRendererNative
,
36987 _swigc__p_wxRendererVersion
,
36988 _swigc__p_wxScreenDC
,
36989 _swigc__p_wxScrollEvent
,
36990 _swigc__p_wxScrollWinEvent
,
36991 _swigc__p_wxSetCursorEvent
,
36992 _swigc__p_wxShowEvent
,
36994 _swigc__p_wxSizeEvent
,
36996 _swigc__p_wxSizerItem
,
36997 _swigc__p_wxSplitterRenderParams
,
36998 _swigc__p_wxStaticBoxSizer
,
36999 _swigc__p_wxStdDialogButtonSizer
,
37000 _swigc__p_wxStockGDI
,
37001 _swigc__p_wxString
,
37002 _swigc__p_wxSysColourChangedEvent
,
37003 _swigc__p_wxTIFFHandler
,
37004 _swigc__p_wxUpdateUIEvent
,
37005 _swigc__p_wxValidator
,
37006 _swigc__p_wxWindow
,
37007 _swigc__p_wxWindowCreateEvent
,
37008 _swigc__p_wxWindowDC
,
37009 _swigc__p_wxWindowDestroyEvent
,
37010 _swigc__p_wxXPMHandler
,
37014 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37016 static swig_const_info swig_const_table
[] = {
37017 {0, 0, 0, 0.0, 0, 0}};
37022 /* -----------------------------------------------------------------------------
37023 * Type initialization:
37024 * This problem is tough by the requirement that no dynamic
37025 * memory is used. Also, since swig_type_info structures store pointers to
37026 * swig_cast_info structures and swig_cast_info structures store pointers back
37027 * to swig_type_info structures, we need some lookup code at initialization.
37028 * The idea is that swig generates all the structures that are needed.
37029 * The runtime then collects these partially filled structures.
37030 * The SWIG_InitializeModule function takes these initial arrays out of
37031 * swig_module, and does all the lookup, filling in the swig_module.types
37032 * array with the correct data and linking the correct swig_cast_info
37033 * structures together.
37035 * The generated swig_type_info structures are assigned staticly to an initial
37036 * array. We just loop though that array, and handle each type individually.
37037 * First we lookup if this type has been already loaded, and if so, use the
37038 * loaded structure instead of the generated one. Then we have to fill in the
37039 * cast linked list. The cast data is initially stored in something like a
37040 * two-dimensional array. Each row corresponds to a type (there are the same
37041 * number of rows as there are in the swig_type_initial array). Each entry in
37042 * a column is one of the swig_cast_info structures for that type.
37043 * The cast_initial array is actually an array of arrays, because each row has
37044 * a variable number of columns. So to actually build the cast linked list,
37045 * we find the array of casts associated with the type, and loop through it
37046 * adding the casts to the list. The one last trick we need to do is making
37047 * sure the type pointer in the swig_cast_info struct is correct.
37049 * First off, we lookup the cast->type name to see if it is already loaded.
37050 * There are three cases to handle:
37051 * 1) If the cast->type has already been loaded AND the type we are adding
37052 * casting info to has not been loaded (it is in this module), THEN we
37053 * replace the cast->type pointer with the type pointer that has already
37055 * 2) If BOTH types (the one we are adding casting info to, and the
37056 * cast->type) are loaded, THEN the cast info has already been loaded by
37057 * the previous module so we just ignore it.
37058 * 3) Finally, if cast->type has not already been loaded, then we add that
37059 * swig_cast_info to the linked list (because the cast->type) pointer will
37061 * ----------------------------------------------------------------------------- */
37071 #define SWIGRUNTIME_DEBUG
37075 SWIG_InitializeModule(void *clientdata
) {
37077 swig_module_info
*module_head
;
37078 static int init_run
= 0;
37080 clientdata
= clientdata
;
37082 if (init_run
) return;
37085 /* Initialize the swig_module */
37086 swig_module
.type_initial
= swig_type_initial
;
37087 swig_module
.cast_initial
= swig_cast_initial
;
37089 /* Try and load any already created modules */
37090 module_head
= SWIG_GetModule(clientdata
);
37092 swig_module
.next
= module_head
->next
;
37093 module_head
->next
= &swig_module
;
37095 /* This is the first module loaded */
37096 swig_module
.next
= &swig_module
;
37097 SWIG_SetModule(clientdata
, &swig_module
);
37100 /* Now work on filling in swig_module.types */
37101 #ifdef SWIGRUNTIME_DEBUG
37102 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
37104 for (i
= 0; i
< swig_module
.size
; ++i
) {
37105 swig_type_info
*type
= 0;
37106 swig_type_info
*ret
;
37107 swig_cast_info
*cast
;
37109 #ifdef SWIGRUNTIME_DEBUG
37110 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37113 /* if there is another module already loaded */
37114 if (swig_module
.next
!= &swig_module
) {
37115 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
37118 /* Overwrite clientdata field */
37119 #ifdef SWIGRUNTIME_DEBUG
37120 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
37122 if (swig_module
.type_initial
[i
]->clientdata
) {
37123 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
37124 #ifdef SWIGRUNTIME_DEBUG
37125 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
37129 type
= swig_module
.type_initial
[i
];
37132 /* Insert casting types */
37133 cast
= swig_module
.cast_initial
[i
];
37134 while (cast
->type
) {
37135 /* Don't need to add information already in the list */
37137 #ifdef SWIGRUNTIME_DEBUG
37138 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
37140 if (swig_module
.next
!= &swig_module
) {
37141 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
37142 #ifdef SWIGRUNTIME_DEBUG
37143 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
37147 if (type
== swig_module
.type_initial
[i
]) {
37148 #ifdef SWIGRUNTIME_DEBUG
37149 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
37154 /* Check for casting already in the list */
37155 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
37156 #ifdef SWIGRUNTIME_DEBUG
37157 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
37159 if (!ocast
) ret
= 0;
37164 #ifdef SWIGRUNTIME_DEBUG
37165 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
37168 type
->cast
->prev
= cast
;
37169 cast
->next
= type
->cast
;
37175 /* Set entry in modules->types array equal to the type */
37176 swig_module
.types
[i
] = type
;
37178 swig_module
.types
[i
] = 0;
37180 #ifdef SWIGRUNTIME_DEBUG
37181 printf("**** SWIG_InitializeModule: Cast List ******\n");
37182 for (i
= 0; i
< swig_module
.size
; ++i
) {
37184 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
37185 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37186 while (cast
->type
) {
37187 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
37191 printf("---- Total casts: %d\n",j
);
37193 printf("**** SWIG_InitializeModule: Cast List ******\n");
37197 /* This function will propagate the clientdata field of type to
37198 * any new swig_type_info structures that have been added into the list
37199 * of equivalent types. It is like calling
37200 * SWIG_TypeClientData(type, clientdata) a second time.
37203 SWIG_PropagateClientData(void) {
37205 swig_cast_info
*equiv
;
37206 static int init_run
= 0;
37208 if (init_run
) return;
37211 for (i
= 0; i
< swig_module
.size
; i
++) {
37212 if (swig_module
.types
[i
]->clientdata
) {
37213 equiv
= swig_module
.types
[i
]->cast
;
37215 if (!equiv
->converter
) {
37216 if (equiv
->type
&& !equiv
->type
->clientdata
)
37217 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
37219 equiv
= equiv
->next
;
37239 /* Python-specific SWIG API */
37240 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37241 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37242 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37244 /* -----------------------------------------------------------------------------
37245 * global variable support code.
37246 * ----------------------------------------------------------------------------- */
37248 typedef struct swig_globalvar
{
37249 char *name
; /* Name of global variable */
37250 PyObject
*(*get_attr
)(void); /* Return the current value */
37251 int (*set_attr
)(PyObject
*); /* Set the value */
37252 struct swig_globalvar
*next
;
37255 typedef struct swig_varlinkobject
{
37257 swig_globalvar
*vars
;
37258 } swig_varlinkobject
;
37260 SWIGINTERN PyObject
*
37261 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
37262 return PyString_FromString("<Swig global variables>");
37265 SWIGINTERN PyObject
*
37266 swig_varlink_str(swig_varlinkobject
*v
) {
37267 PyObject
*str
= PyString_FromString("(");
37268 swig_globalvar
*var
;
37269 for (var
= v
->vars
; var
; var
=var
->next
) {
37270 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
37271 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
37273 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
37278 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
37279 PyObject
*str
= swig_varlink_str(v
);
37280 fprintf(fp
,"Swig global variables ");
37281 fprintf(fp
,"%s\n", PyString_AsString(str
));
37287 swig_varlink_dealloc(swig_varlinkobject
*v
) {
37288 swig_globalvar
*var
= v
->vars
;
37290 swig_globalvar
*n
= var
->next
;
37297 SWIGINTERN PyObject
*
37298 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37299 PyObject
*res
= NULL
;
37300 swig_globalvar
*var
= v
->vars
;
37302 if (strcmp(var
->name
,n
) == 0) {
37303 res
= (*var
->get_attr
)();
37308 if (res
== NULL
&& !PyErr_Occurred()) {
37309 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37315 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37317 swig_globalvar
*var
= v
->vars
;
37319 if (strcmp(var
->name
,n
) == 0) {
37320 res
= (*var
->set_attr
)(p
);
37325 if (res
== 1 && !PyErr_Occurred()) {
37326 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37331 SWIGINTERN PyTypeObject
*
37332 swig_varlink_type(void) {
37333 static char varlink__doc__
[] = "Swig var link object";
37334 static PyTypeObject varlink_type
;
37335 static int type_init
= 0;
37337 const PyTypeObject tmp
37339 PyObject_HEAD_INIT(NULL
)
37340 0, /* Number of items in variable part (ob_size) */
37341 (char *)"swigvarlink", /* Type name (tp_name) */
37342 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37343 0, /* Itemsize (tp_itemsize) */
37344 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
37345 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37346 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37347 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37348 0, /* tp_compare */
37349 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37350 0, /* tp_as_number */
37351 0, /* tp_as_sequence */
37352 0, /* tp_as_mapping */
37355 (reprfunc
)swig_varlink_str
, /* tp_str */
37356 0, /* tp_getattro */
37357 0, /* tp_setattro */
37358 0, /* tp_as_buffer */
37360 varlink__doc__
, /* tp_doc */
37361 0, /* tp_traverse */
37363 0, /* tp_richcompare */
37364 0, /* tp_weaklistoffset */
37365 #if PY_VERSION_HEX >= 0x02020000
37366 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37368 #if PY_VERSION_HEX >= 0x02030000
37371 #ifdef COUNT_ALLOCS
37372 0,0,0,0 /* tp_alloc -> tp_next */
37375 varlink_type
= tmp
;
37376 varlink_type
.ob_type
= &PyType_Type
;
37379 return &varlink_type
;
37382 /* Create a variable linking object for use later */
37383 SWIGINTERN PyObject
*
37384 SWIG_Python_newvarlink(void) {
37385 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
37389 return ((PyObject
*) result
);
37393 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37394 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
37395 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37397 size_t size
= strlen(name
)+1;
37398 gv
->name
= (char *)malloc(size
);
37400 strncpy(gv
->name
,name
,size
);
37401 gv
->get_attr
= get_attr
;
37402 gv
->set_attr
= set_attr
;
37403 gv
->next
= v
->vars
;
37409 SWIGINTERN PyObject
*
37411 static PyObject
*_SWIG_globals
= 0;
37412 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
37413 return _SWIG_globals
;
37416 /* -----------------------------------------------------------------------------
37417 * constants/methods manipulation
37418 * ----------------------------------------------------------------------------- */
37420 /* Install Constants */
37422 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37425 for (i
= 0; constants
[i
].type
; ++i
) {
37426 switch(constants
[i
].type
) {
37427 case SWIG_PY_POINTER
:
37428 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37430 case SWIG_PY_BINARY
:
37431 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37438 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
37444 /* -----------------------------------------------------------------------------*/
37445 /* Fix SwigMethods to carry the callback ptrs when needed */
37446 /* -----------------------------------------------------------------------------*/
37449 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37450 swig_const_info
*const_table
,
37451 swig_type_info
**types
,
37452 swig_type_info
**types_initial
) {
37454 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37455 const char *c
= methods
[i
].ml_doc
;
37456 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37458 swig_const_info
*ci
= 0;
37459 const char *name
= c
+ 10;
37460 for (j
= 0; const_table
[j
].type
; ++j
) {
37461 if (strncmp(const_table
[j
].name
, name
,
37462 strlen(const_table
[j
].name
)) == 0) {
37463 ci
= &(const_table
[j
]);
37468 size_t shift
= (ci
->ptype
) - types
;
37469 swig_type_info
*ty
= types_initial
[shift
];
37470 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37471 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37472 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37475 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
37477 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37479 strncpy(buff
, "swig_ptr: ", 10);
37481 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37482 methods
[i
].ml_doc
= ndoc
;
37494 /* -----------------------------------------------------------------------------*
37495 * Partial Init method
37496 * -----------------------------------------------------------------------------*/
37501 SWIGEXPORT
void SWIG_init(void) {
37504 /* Fix SwigMethods to carry the callback ptrs when needed */
37505 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
37507 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37508 d
= PyModule_GetDict(m
);
37510 SWIG_InitializeModule(0);
37511 SWIG_InstallConstants(d
,swig_const_table
);
37514 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
37515 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
37516 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
37517 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
37518 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
37519 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
37520 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
37521 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
37522 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
37523 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
37524 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
37525 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
37526 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
37527 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
37528 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
37529 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
37530 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
37531 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
37532 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
37533 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
37534 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
37535 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
37536 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
37537 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
37538 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
37539 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
37540 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
37541 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
37542 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
37543 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
37544 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
37545 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
37546 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
37547 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
37548 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
37549 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
37550 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
37551 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
37552 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
37553 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
37554 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
37555 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
37556 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
37557 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
37558 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
37559 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
37560 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
37561 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
37562 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
37563 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
37564 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
37565 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
37566 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
37567 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
37568 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
37569 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
37570 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
37571 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
37572 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
37573 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
37574 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
37575 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
37576 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
37577 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
37578 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
37579 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
37580 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
37581 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
37582 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
37583 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
37584 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
37585 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
37586 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
37587 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
37588 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
37589 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
37590 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
37591 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
37592 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
37593 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
37594 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
37595 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
37596 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
37597 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
37598 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
37599 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
37600 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
37601 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
37602 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
37603 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
37604 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
37605 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
37606 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
37607 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
37608 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
37609 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
37610 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
37611 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
37612 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
37613 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
37614 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
37615 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
37616 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
37617 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
37618 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
37619 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
37620 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
37621 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
37622 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
37623 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
37624 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
37625 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
37626 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
37627 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
37628 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
37629 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
37630 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
37631 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
37632 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
37633 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
37634 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
37635 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
37636 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
37637 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
37638 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
37639 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
37640 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
37641 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
37642 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
37643 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
37644 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
37645 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
37647 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
37649 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
37650 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
37651 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
37652 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
37653 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
37654 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
37655 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
37656 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
37657 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
37658 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
37659 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
37660 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
37661 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
37662 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
37663 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
37664 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
37665 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
37666 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
37667 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
37668 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
37669 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
37670 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
37671 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
37672 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
37673 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
37674 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
37675 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
37676 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
37677 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
37678 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
37679 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
37680 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
37681 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
37682 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
37683 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
37684 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
37685 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
37686 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
37687 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
37688 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
37689 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
37690 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
37691 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
37692 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
37693 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
37694 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
37695 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
37696 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
37697 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
37698 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
37699 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
37700 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
37701 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
37702 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
37703 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
37704 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
37705 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
37706 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
37707 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
37708 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
37709 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
37710 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
37711 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
37712 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
37713 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
37714 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
37715 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
37716 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
37717 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
37718 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
37719 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
37720 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
37721 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
37722 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
37723 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
37724 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
37725 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
37726 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
37727 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
37728 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
37729 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
37730 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
37731 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
37732 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
37733 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
37734 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
37735 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
37736 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
37737 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
37738 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
37739 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
37740 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
37741 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
37742 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
37743 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
37744 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
37745 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
37746 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
37747 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
37748 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
37749 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
37750 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
37751 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
37752 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
37753 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
37754 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
37755 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
37756 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
37757 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
37758 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
37759 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
37760 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
37761 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
37762 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
37763 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
37764 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
37765 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
37766 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
37767 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
37768 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
37769 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
37770 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
37771 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
37772 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
37773 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
37774 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
37775 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
37776 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
37777 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
37778 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
37779 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
37780 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
37781 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
37782 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
37783 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
37784 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
37785 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
37786 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
37787 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
37788 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
37789 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
37790 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
37791 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
37792 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
37793 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
37794 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
37795 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
37796 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
37797 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
37798 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
37799 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
37800 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
37801 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
37802 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
37803 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
37804 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
37805 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
37806 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
37807 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
37808 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
37809 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
37810 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
37811 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
37812 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
37813 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
37814 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
37815 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
37816 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
37817 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
37818 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
37819 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
37820 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
37821 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
37822 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
37823 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
37824 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
37825 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
37826 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
37827 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
37828 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
37829 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
37830 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
37831 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
37832 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
37833 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
37834 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
37835 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
37836 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
37837 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
37838 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
37839 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
37840 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
37841 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
37842 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
37843 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
37844 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
37845 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
37846 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
37847 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
37848 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
37849 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
37850 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
37851 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
37852 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
37853 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
37854 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
37855 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
37856 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
37857 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
37858 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
37859 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
37860 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
37861 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
37862 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
37863 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
37864 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
37865 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
37866 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
37867 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
37868 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
37869 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
37870 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
37871 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
37872 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
37873 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
37874 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
37875 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
37876 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
37877 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
37878 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
37879 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
37880 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
37881 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
37882 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
37883 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
37884 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
37885 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
37886 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
37887 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
37888 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
37889 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
37890 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
37891 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
37892 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
37893 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
37894 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
37895 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
37896 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
37897 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
37898 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
37899 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
37900 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
37901 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
37902 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
37903 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
37904 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
37905 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
37906 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
37907 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
37908 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
37909 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
37910 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
37911 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
37912 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
37913 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
37914 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
37915 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
37916 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
37917 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
37918 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
37919 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
37920 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
37921 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
37922 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
37923 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
37924 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
37925 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
37926 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
37927 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
37928 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
37929 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
37930 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
37931 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
37932 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
37933 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
37934 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
37935 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
37936 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
37937 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
37938 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
37939 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
37940 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
37941 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
37942 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
37943 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
37944 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
37945 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
37946 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
37947 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
37948 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
37949 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
37950 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
37951 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
37952 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
37953 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
37954 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
37955 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
37956 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
37957 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
37958 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
37959 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
37960 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
37961 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
37962 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
37963 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
37964 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
37965 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
37966 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
37967 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
37969 // Work around a chicken/egg problem in drawlist.cpp
37970 wxPyDrawList_SetAPIPtr();