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_StrokeDisconnectedLines(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
) {
23791 PyObject
*resultobj
= 0;
23792 wxMemoryDC
*result
= 0 ;
23794 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
23796 if (!wxPyCheckForApp()) SWIG_fail
;
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 result
= (wxMemoryDC
*)new wxMemoryDC();
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23809 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
= 0;
23811 wxDC
*arg1
= (wxDC
*) 0 ;
23812 wxMemoryDC
*result
= 0 ;
23815 PyObject
* obj0
= 0 ;
23816 char * kwnames
[] = {
23817 (char *) "oldDC", NULL
23820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23822 if (!SWIG_IsOK(res1
)) {
23823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23825 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23827 if (!wxPyCheckForApp()) SWIG_fail
;
23828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23829 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23840 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23841 PyObject
*resultobj
= 0;
23842 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23843 wxBitmap
*arg2
= 0 ;
23848 PyObject
* obj0
= 0 ;
23849 PyObject
* obj1
= 0 ;
23850 char * kwnames
[] = {
23851 (char *) "self",(char *) "bitmap", NULL
23854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23856 if (!SWIG_IsOK(res1
)) {
23857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23859 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23860 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23861 if (!SWIG_IsOK(res2
)) {
23862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23867 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23874 resultobj
= SWIG_Py_Void();
23881 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23883 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23884 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23885 return SWIG_Py_Void();
23888 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23889 return SWIG_Python_InitShadowInstance(args
);
23892 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23893 PyObject
*resultobj
= 0;
23894 wxDC
*arg1
= (wxDC
*) 0 ;
23895 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23896 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23897 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23898 wxBufferedDC
*result
= 0 ;
23906 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23908 if (!SWIG_IsOK(res1
)) {
23909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23911 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23913 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23914 if (!SWIG_IsOK(res2
)) {
23915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23920 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23923 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23924 if (!SWIG_IsOK(ecode3
)) {
23925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23927 arg3
= static_cast< int >(val3
);
23930 if (!wxPyCheckForApp()) SWIG_fail
;
23931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23932 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23933 wxPyEndAllowThreads(__tstate
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23943 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23944 PyObject
*resultobj
= 0;
23945 wxDC
*arg1
= (wxDC
*) 0 ;
23947 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23948 wxBufferedDC
*result
= 0 ;
23955 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23957 if (!SWIG_IsOK(res1
)) {
23958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23960 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23963 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23966 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23967 if (!SWIG_IsOK(ecode3
)) {
23968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23970 arg3
= static_cast< int >(val3
);
23973 if (!wxPyCheckForApp()) SWIG_fail
;
23974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23975 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23976 wxPyEndAllowThreads(__tstate
);
23977 if (PyErr_Occurred()) SWIG_fail
;
23979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23986 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23987 PyObject
*resultobj
= 0;
23988 wxWindow
*arg1
= (wxWindow
*) 0 ;
23989 wxDC
*arg2
= (wxDC
*) 0 ;
23991 int arg4
= (int) wxBUFFER_CLIENT_AREA
;
23992 wxBufferedDC
*result
= 0 ;
24001 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
24002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24003 if (!SWIG_IsOK(res1
)) {
24004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24006 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24007 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
24008 if (!SWIG_IsOK(res2
)) {
24009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxDC *""'");
24011 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24014 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
24017 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24018 if (!SWIG_IsOK(ecode4
)) {
24019 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BufferedDC" "', expected argument " "4"" of type '" "int""'");
24021 arg4
= static_cast< int >(val4
);
24024 if (!wxPyCheckForApp()) SWIG_fail
;
24025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24026 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,arg2
,(wxSize
const &)*arg3
,arg4
);
24027 wxPyEndAllowThreads(__tstate
);
24028 if (PyErr_Occurred()) SWIG_fail
;
24030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24037 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24041 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,4,argv
))) SWIG_fail
;
24043 if ((argc
>= 1) && (argc
<= 3)) {
24047 int res
= SWIG_ConvertPtr(argv
[0], &vptr
, SWIGTYPE_p_wxDC
, 0);
24048 _v
= SWIG_CheckState(res
);
24050 if (!_v
) goto check_1
;
24053 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
24054 _v
= SWIG_CheckState(res
);
24056 if (!_v
) goto check_1
;
24060 int res
= SWIG_AsVal_int(argv
[2], NULL
);
24061 _v
= SWIG_CheckState(res
);
24064 if (!_v
) goto check_1
;
24067 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24071 if ((argc
>= 2) && (argc
<= 3)) {
24075 int res
= SWIG_ConvertPtr(argv
[0], &vptr
, SWIGTYPE_p_wxDC
, 0);
24076 _v
= SWIG_CheckState(res
);
24078 if (!_v
) goto check_2
;
24081 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
24084 if (!_v
) goto check_2
;
24088 int res
= SWIG_AsVal_int(argv
[2], NULL
);
24089 _v
= SWIG_CheckState(res
);
24092 if (!_v
) goto check_2
;
24094 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24098 if ((argc
>= 3) && (argc
<= 4)) {
24099 return _wrap_new_BufferedDC__SWIG_2(self
, argc
, argv
);
24103 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24108 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24109 PyObject
*resultobj
= 0;
24110 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24113 PyObject
*swig_obj
[1] ;
24115 if (!args
) SWIG_fail
;
24116 swig_obj
[0] = args
;
24117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24118 if (!SWIG_IsOK(res1
)) {
24119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24121 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24126 wxPyEndAllowThreads(__tstate
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24129 resultobj
= SWIG_Py_Void();
24136 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24137 PyObject
*resultobj
= 0;
24138 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24141 PyObject
*swig_obj
[1] ;
24143 if (!args
) SWIG_fail
;
24144 swig_obj
[0] = args
;
24145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24146 if (!SWIG_IsOK(res1
)) {
24147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24149 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= SWIG_Py_Void();
24163 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24165 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24166 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24167 return SWIG_Py_Void();
24170 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24171 return SWIG_Python_InitShadowInstance(args
);
24174 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24175 PyObject
*resultobj
= 0;
24176 wxWindow
*arg1
= (wxWindow
*) 0 ;
24177 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24178 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24179 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24180 wxBufferedPaintDC
*result
= 0 ;
24187 PyObject
* obj0
= 0 ;
24188 PyObject
* obj1
= 0 ;
24189 PyObject
* obj2
= 0 ;
24190 char * kwnames
[] = {
24191 (char *) "window",(char *) "buffer",(char *) "style", NULL
24194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24196 if (!SWIG_IsOK(res1
)) {
24197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24199 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24202 if (!SWIG_IsOK(res2
)) {
24203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24208 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24211 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24212 if (!SWIG_IsOK(ecode3
)) {
24213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24215 arg3
= static_cast< int >(val3
);
24218 if (!wxPyCheckForApp()) SWIG_fail
;
24219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24220 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24221 wxPyEndAllowThreads(__tstate
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24231 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24233 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24234 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24235 return SWIG_Py_Void();
24238 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24239 return SWIG_Python_InitShadowInstance(args
);
24242 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24243 PyObject
*resultobj
= 0;
24244 wxScreenDC
*result
= 0 ;
24246 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24248 if (!wxPyCheckForApp()) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= (wxScreenDC
*)new wxScreenDC();
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24261 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
= 0;
24263 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24264 wxWindow
*arg2
= (wxWindow
*) 0 ;
24270 PyObject
* obj0
= 0 ;
24271 PyObject
* obj1
= 0 ;
24272 char * kwnames
[] = {
24273 (char *) "self",(char *) "window", NULL
24276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24278 if (!SWIG_IsOK(res1
)) {
24279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24281 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24282 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24283 if (!SWIG_IsOK(res2
)) {
24284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24286 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24289 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24290 wxPyEndAllowThreads(__tstate
);
24291 if (PyErr_Occurred()) SWIG_fail
;
24294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24302 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24303 PyObject
*resultobj
= 0;
24304 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24305 wxRect
*arg2
= (wxRect
*) NULL
;
24311 PyObject
* obj0
= 0 ;
24312 PyObject
* obj1
= 0 ;
24313 char * kwnames
[] = {
24314 (char *) "self",(char *) "rect", NULL
24317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24319 if (!SWIG_IsOK(res1
)) {
24320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24322 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24324 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24325 if (!SWIG_IsOK(res2
)) {
24326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24328 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24332 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24333 wxPyEndAllowThreads(__tstate
);
24334 if (PyErr_Occurred()) SWIG_fail
;
24337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24345 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24346 PyObject
*resultobj
= 0;
24347 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24351 PyObject
*swig_obj
[1] ;
24353 if (!args
) SWIG_fail
;
24354 swig_obj
[0] = args
;
24355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24356 if (!SWIG_IsOK(res1
)) {
24357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24359 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24362 result
= (bool)(arg1
)->EndDrawingOnTop();
24363 wxPyEndAllowThreads(__tstate
);
24364 if (PyErr_Occurred()) SWIG_fail
;
24367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24375 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24378 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24379 return SWIG_Py_Void();
24382 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24383 return SWIG_Python_InitShadowInstance(args
);
24386 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24387 PyObject
*resultobj
= 0;
24388 wxWindow
*arg1
= (wxWindow
*) 0 ;
24389 wxWindowDC
*result
= 0 ;
24392 PyObject
* obj0
= 0 ;
24393 char * kwnames
[] = {
24394 (char *) "win", NULL
24397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24399 if (!SWIG_IsOK(res1
)) {
24400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24402 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24404 if (!wxPyCheckForApp()) SWIG_fail
;
24405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24406 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24407 wxPyEndAllowThreads(__tstate
);
24408 if (PyErr_Occurred()) SWIG_fail
;
24410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24417 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24419 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24420 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24421 return SWIG_Py_Void();
24424 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24425 return SWIG_Python_InitShadowInstance(args
);
24428 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24429 PyObject
*resultobj
= 0;
24430 wxWindow
*arg1
= (wxWindow
*) 0 ;
24431 wxClientDC
*result
= 0 ;
24434 PyObject
* obj0
= 0 ;
24435 char * kwnames
[] = {
24436 (char *) "win", NULL
24439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24441 if (!SWIG_IsOK(res1
)) {
24442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24444 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24446 if (!wxPyCheckForApp()) SWIG_fail
;
24447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24448 result
= (wxClientDC
*)new wxClientDC(arg1
);
24449 wxPyEndAllowThreads(__tstate
);
24450 if (PyErr_Occurred()) SWIG_fail
;
24452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24459 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24461 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24462 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24463 return SWIG_Py_Void();
24466 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24467 return SWIG_Python_InitShadowInstance(args
);
24470 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
= 0;
24472 wxWindow
*arg1
= (wxWindow
*) 0 ;
24473 wxPaintDC
*result
= 0 ;
24476 PyObject
* obj0
= 0 ;
24477 char * kwnames
[] = {
24478 (char *) "win", NULL
24481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24483 if (!SWIG_IsOK(res1
)) {
24484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24486 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24488 if (!wxPyCheckForApp()) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24501 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24504 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24505 return SWIG_Py_Void();
24508 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24509 return SWIG_Python_InitShadowInstance(args
);
24512 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24513 PyObject
*resultobj
= 0;
24516 wxMirrorDC
*result
= 0 ;
24521 PyObject
* obj0
= 0 ;
24522 PyObject
* obj1
= 0 ;
24523 char * kwnames
[] = {
24524 (char *) "dc",(char *) "mirror", NULL
24527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24528 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24529 if (!SWIG_IsOK(res1
)) {
24530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24533 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24536 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24537 if (!SWIG_IsOK(ecode2
)) {
24538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24540 arg2
= static_cast< bool >(val2
);
24542 if (!wxPyCheckForApp()) SWIG_fail
;
24543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24544 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24545 wxPyEndAllowThreads(__tstate
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24555 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24558 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24559 return SWIG_Py_Void();
24562 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24563 return SWIG_Python_InitShadowInstance(args
);
24566 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24567 PyObject
*resultobj
= 0;
24568 wxPrintData
*arg1
= 0 ;
24569 wxPostScriptDC
*result
= 0 ;
24572 PyObject
* obj0
= 0 ;
24573 char * kwnames
[] = {
24574 (char *) "printData", NULL
24577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24578 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24579 if (!SWIG_IsOK(res1
)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24585 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24587 if (!wxPyCheckForApp()) SWIG_fail
;
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24589 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24590 wxPyEndAllowThreads(__tstate
);
24591 if (PyErr_Occurred()) SWIG_fail
;
24593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24600 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24601 PyObject
*resultobj
= 0;
24602 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24603 wxPrintData
*result
= 0 ;
24606 PyObject
*swig_obj
[1] ;
24608 if (!args
) SWIG_fail
;
24609 swig_obj
[0] = args
;
24610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24611 if (!SWIG_IsOK(res1
)) {
24612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24614 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24618 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24619 result
= (wxPrintData
*) &_result_ref
;
24621 wxPyEndAllowThreads(__tstate
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24631 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24632 PyObject
*resultobj
= 0;
24633 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24634 wxPrintData
*arg2
= 0 ;
24639 PyObject
* obj0
= 0 ;
24640 PyObject
* obj1
= 0 ;
24641 char * kwnames
[] = {
24642 (char *) "self",(char *) "data", NULL
24645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24647 if (!SWIG_IsOK(res1
)) {
24648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24650 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24651 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24652 if (!SWIG_IsOK(res2
)) {
24653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24658 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24662 wxPyEndAllowThreads(__tstate
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24665 resultobj
= SWIG_Py_Void();
24672 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24673 PyObject
*resultobj
= 0;
24677 PyObject
* obj0
= 0 ;
24678 char * kwnames
[] = {
24679 (char *) "ppi", NULL
24682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24683 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24684 if (!SWIG_IsOK(ecode1
)) {
24685 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24687 arg1
= static_cast< int >(val1
);
24689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 wxPostScriptDC::SetResolution(arg1
);
24691 wxPyEndAllowThreads(__tstate
);
24692 if (PyErr_Occurred()) SWIG_fail
;
24694 resultobj
= SWIG_Py_Void();
24701 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24702 PyObject
*resultobj
= 0;
24705 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24708 result
= (int)wxPostScriptDC::GetResolution();
24709 wxPyEndAllowThreads(__tstate
);
24710 if (PyErr_Occurred()) SWIG_fail
;
24712 resultobj
= SWIG_From_int(static_cast< int >(result
));
24719 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24721 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24722 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24723 return SWIG_Py_Void();
24726 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24727 return SWIG_Python_InitShadowInstance(args
);
24730 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24731 PyObject
*resultobj
= 0;
24732 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24733 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24734 wxMetaFile
*result
= 0 ;
24735 bool temp1
= false ;
24736 PyObject
* obj0
= 0 ;
24737 char * kwnames
[] = {
24738 (char *) "filename", NULL
24741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24744 arg1
= wxString_in_helper(obj0
);
24745 if (arg1
== NULL
) SWIG_fail
;
24750 if (!wxPyCheckForApp()) SWIG_fail
;
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24752 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24753 wxPyEndAllowThreads(__tstate
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24771 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24772 PyObject
*resultobj
= 0;
24773 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24776 PyObject
*swig_obj
[1] ;
24778 if (!args
) SWIG_fail
;
24779 swig_obj
[0] = args
;
24780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24781 if (!SWIG_IsOK(res1
)) {
24782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24784 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24792 resultobj
= SWIG_Py_Void();
24799 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24800 PyObject
*resultobj
= 0;
24801 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24805 PyObject
*swig_obj
[1] ;
24807 if (!args
) SWIG_fail
;
24808 swig_obj
[0] = args
;
24809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24810 if (!SWIG_IsOK(res1
)) {
24811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24813 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 result
= (bool)(arg1
)->IsOk();
24817 wxPyEndAllowThreads(__tstate
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24829 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24830 PyObject
*resultobj
= 0;
24831 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24832 int arg2
= (int) 0 ;
24833 int arg3
= (int) 0 ;
24841 PyObject
* obj0
= 0 ;
24842 PyObject
* obj1
= 0 ;
24843 PyObject
* obj2
= 0 ;
24844 char * kwnames
[] = {
24845 (char *) "self",(char *) "width",(char *) "height", NULL
24848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24850 if (!SWIG_IsOK(res1
)) {
24851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24853 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24856 if (!SWIG_IsOK(ecode2
)) {
24857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
24859 arg2
= static_cast< int >(val2
);
24862 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24863 if (!SWIG_IsOK(ecode3
)) {
24864 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
24866 arg3
= static_cast< int >(val3
);
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
24871 wxPyEndAllowThreads(__tstate
);
24872 if (PyErr_Occurred()) SWIG_fail
;
24875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24883 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24884 PyObject
*resultobj
= 0;
24885 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24889 PyObject
*swig_obj
[1] ;
24891 if (!args
) SWIG_fail
;
24892 swig_obj
[0] = args
;
24893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24894 if (!SWIG_IsOK(res1
)) {
24895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24897 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24900 result
= (arg1
)->GetSize();
24901 wxPyEndAllowThreads(__tstate
);
24902 if (PyErr_Occurred()) SWIG_fail
;
24904 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24911 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24912 PyObject
*resultobj
= 0;
24913 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24917 PyObject
*swig_obj
[1] ;
24919 if (!args
) SWIG_fail
;
24920 swig_obj
[0] = args
;
24921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24922 if (!SWIG_IsOK(res1
)) {
24923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24925 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24928 result
= (int)(arg1
)->GetWidth();
24929 wxPyEndAllowThreads(__tstate
);
24930 if (PyErr_Occurred()) SWIG_fail
;
24932 resultobj
= SWIG_From_int(static_cast< int >(result
));
24939 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24940 PyObject
*resultobj
= 0;
24941 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24945 PyObject
*swig_obj
[1] ;
24947 if (!args
) SWIG_fail
;
24948 swig_obj
[0] = args
;
24949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24950 if (!SWIG_IsOK(res1
)) {
24951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24953 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24956 result
= (int)(arg1
)->GetHeight();
24957 wxPyEndAllowThreads(__tstate
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24960 resultobj
= SWIG_From_int(static_cast< int >(result
));
24967 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24968 PyObject
*resultobj
= 0;
24969 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24970 wxString
*result
= 0 ;
24973 PyObject
*swig_obj
[1] ;
24975 if (!args
) SWIG_fail
;
24976 swig_obj
[0] = args
;
24977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24978 if (!SWIG_IsOK(res1
)) {
24979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
24981 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24985 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
24986 result
= (wxString
*) &_result_ref
;
24988 wxPyEndAllowThreads(__tstate
);
24989 if (PyErr_Occurred()) SWIG_fail
;
24993 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24995 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25004 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25006 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25007 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25008 return SWIG_Py_Void();
25011 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25012 return SWIG_Python_InitShadowInstance(args
);
25015 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25016 PyObject
*resultobj
= 0;
25017 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25018 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25019 int arg2
= (int) 0 ;
25020 int arg3
= (int) 0 ;
25021 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25022 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25023 wxMetaFileDC
*result
= 0 ;
25024 bool temp1
= false ;
25029 bool temp4
= false ;
25030 PyObject
* obj0
= 0 ;
25031 PyObject
* obj1
= 0 ;
25032 PyObject
* obj2
= 0 ;
25033 PyObject
* obj3
= 0 ;
25034 char * kwnames
[] = {
25035 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25041 arg1
= wxString_in_helper(obj0
);
25042 if (arg1
== NULL
) SWIG_fail
;
25047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25048 if (!SWIG_IsOK(ecode2
)) {
25049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25051 arg2
= static_cast< int >(val2
);
25054 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25055 if (!SWIG_IsOK(ecode3
)) {
25056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25058 arg3
= static_cast< int >(val3
);
25062 arg4
= wxString_in_helper(obj3
);
25063 if (arg4
== NULL
) SWIG_fail
;
25068 if (!wxPyCheckForApp()) SWIG_fail
;
25069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25070 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25071 wxPyEndAllowThreads(__tstate
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25097 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25098 PyObject
*resultobj
= 0;
25099 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25100 wxMetaFile
*result
= 0 ;
25103 PyObject
*swig_obj
[1] ;
25105 if (!args
) SWIG_fail
;
25106 swig_obj
[0] = args
;
25107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25108 if (!SWIG_IsOK(res1
)) {
25109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25111 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25114 result
= (wxMetaFile
*)(arg1
)->Close();
25115 wxPyEndAllowThreads(__tstate
);
25116 if (PyErr_Occurred()) SWIG_fail
;
25118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25125 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25127 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25128 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25129 return SWIG_Py_Void();
25132 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25133 return SWIG_Python_InitShadowInstance(args
);
25136 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25137 PyObject
*resultobj
= 0;
25138 wxPrintData
*arg1
= 0 ;
25139 wxPrinterDC
*result
= 0 ;
25142 PyObject
* obj0
= 0 ;
25143 char * kwnames
[] = {
25144 (char *) "printData", NULL
25147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25148 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25149 if (!SWIG_IsOK(res1
)) {
25150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25155 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25157 if (!wxPyCheckForApp()) SWIG_fail
;
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25170 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25173 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25174 return SWIG_Py_Void();
25177 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25178 return SWIG_Python_InitShadowInstance(args
);
25181 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25182 PyObject
*resultobj
= 0;
25183 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25186 PyObject
*swig_obj
[1] ;
25188 if (!args
) SWIG_fail
;
25189 swig_obj
[0] = args
;
25190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
25191 if (!SWIG_IsOK(res1
)) {
25192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25194 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25198 if (PyErr_Occurred()) SWIG_fail
;
25200 resultobj
= SWIG_Py_Void();
25207 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25208 PyObject
*resultobj
= 0;
25209 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25218 PyObject
* obj0
= 0 ;
25219 PyObject
* obj1
= 0 ;
25220 PyObject
* obj2
= 0 ;
25221 char * kwnames
[] = {
25222 (char *) "self",(char *) "x",(char *) "y", NULL
25225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25227 if (!SWIG_IsOK(res1
)) {
25228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25230 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25231 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25232 if (!SWIG_IsOK(ecode2
)) {
25233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25235 arg2
= static_cast< wxDouble
>(val2
);
25236 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25237 if (!SWIG_IsOK(ecode3
)) {
25238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25240 arg3
= static_cast< wxDouble
>(val3
);
25242 (arg1
)->MoveToPoint(arg2
,arg3
);
25243 if (PyErr_Occurred()) SWIG_fail
;
25245 resultobj
= SWIG_Py_Void();
25252 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25253 PyObject
*resultobj
= 0;
25254 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25263 PyObject
* obj0
= 0 ;
25264 PyObject
* obj1
= 0 ;
25265 PyObject
* obj2
= 0 ;
25266 char * kwnames
[] = {
25267 (char *) "self",(char *) "x",(char *) "y", NULL
25270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25272 if (!SWIG_IsOK(res1
)) {
25273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25275 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25276 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25277 if (!SWIG_IsOK(ecode2
)) {
25278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25280 arg2
= static_cast< wxDouble
>(val2
);
25281 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25282 if (!SWIG_IsOK(ecode3
)) {
25283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25285 arg3
= static_cast< wxDouble
>(val3
);
25287 (arg1
)->AddLineToPoint(arg2
,arg3
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25290 resultobj
= SWIG_Py_Void();
25297 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
= 0;
25299 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25320 PyObject
* obj0
= 0 ;
25321 PyObject
* obj1
= 0 ;
25322 PyObject
* obj2
= 0 ;
25323 PyObject
* obj3
= 0 ;
25324 PyObject
* obj4
= 0 ;
25325 PyObject
* obj5
= 0 ;
25326 PyObject
* obj6
= 0 ;
25327 char * kwnames
[] = {
25328 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
25331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25333 if (!SWIG_IsOK(res1
)) {
25334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25336 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25337 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25338 if (!SWIG_IsOK(ecode2
)) {
25339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25341 arg2
= static_cast< wxDouble
>(val2
);
25342 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25343 if (!SWIG_IsOK(ecode3
)) {
25344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25346 arg3
= static_cast< wxDouble
>(val3
);
25347 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25348 if (!SWIG_IsOK(ecode4
)) {
25349 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25351 arg4
= static_cast< wxDouble
>(val4
);
25352 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25353 if (!SWIG_IsOK(ecode5
)) {
25354 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25356 arg5
= static_cast< wxDouble
>(val5
);
25357 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25358 if (!SWIG_IsOK(ecode6
)) {
25359 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25361 arg6
= static_cast< wxDouble
>(val6
);
25362 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25363 if (!SWIG_IsOK(ecode7
)) {
25364 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
25366 arg7
= static_cast< wxDouble
>(val7
);
25368 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25371 resultobj
= SWIG_Py_Void();
25378 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25379 PyObject
*resultobj
= 0;
25380 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25383 PyObject
*swig_obj
[1] ;
25385 if (!args
) SWIG_fail
;
25386 swig_obj
[0] = args
;
25387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25388 if (!SWIG_IsOK(res1
)) {
25389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25391 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25393 (arg1
)->CloseSubpath();
25394 if (PyErr_Occurred()) SWIG_fail
;
25396 resultobj
= SWIG_Py_Void();
25403 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25404 PyObject
*resultobj
= 0;
25405 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25409 PyObject
*swig_obj
[1] ;
25411 if (!args
) SWIG_fail
;
25412 swig_obj
[0] = args
;
25413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25414 if (!SWIG_IsOK(res1
)) {
25415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25417 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25419 result
= (arg1
)->GetCurrentPoint();
25420 if (PyErr_Occurred()) SWIG_fail
;
25422 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
25429 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25430 PyObject
*resultobj
= 0;
25431 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25452 PyObject
* obj0
= 0 ;
25453 PyObject
* obj1
= 0 ;
25454 PyObject
* obj2
= 0 ;
25455 PyObject
* obj3
= 0 ;
25456 PyObject
* obj4
= 0 ;
25457 PyObject
* obj5
= 0 ;
25458 PyObject
* obj6
= 0 ;
25459 char * kwnames
[] = {
25460 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
25463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25465 if (!SWIG_IsOK(res1
)) {
25466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25468 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25469 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25470 if (!SWIG_IsOK(ecode2
)) {
25471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
25473 arg2
= static_cast< wxDouble
>(val2
);
25474 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25475 if (!SWIG_IsOK(ecode3
)) {
25476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
25478 arg3
= static_cast< wxDouble
>(val3
);
25479 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25480 if (!SWIG_IsOK(ecode4
)) {
25481 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
25483 arg4
= static_cast< wxDouble
>(val4
);
25484 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25485 if (!SWIG_IsOK(ecode5
)) {
25486 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
25488 arg5
= static_cast< wxDouble
>(val5
);
25489 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25490 if (!SWIG_IsOK(ecode6
)) {
25491 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
25493 arg6
= static_cast< wxDouble
>(val6
);
25494 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
25495 if (!SWIG_IsOK(ecode7
)) {
25496 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
25498 arg7
= static_cast< bool >(val7
);
25500 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25501 if (PyErr_Occurred()) SWIG_fail
;
25503 resultobj
= SWIG_Py_Void();
25510 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25511 PyObject
*resultobj
= 0;
25512 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25527 PyObject
* obj0
= 0 ;
25528 PyObject
* obj1
= 0 ;
25529 PyObject
* obj2
= 0 ;
25530 PyObject
* obj3
= 0 ;
25531 PyObject
* obj4
= 0 ;
25532 char * kwnames
[] = {
25533 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
25536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25538 if (!SWIG_IsOK(res1
)) {
25539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25541 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25542 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25543 if (!SWIG_IsOK(ecode2
)) {
25544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25546 arg2
= static_cast< wxDouble
>(val2
);
25547 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25548 if (!SWIG_IsOK(ecode3
)) {
25549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25551 arg3
= static_cast< wxDouble
>(val3
);
25552 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25553 if (!SWIG_IsOK(ecode4
)) {
25554 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25556 arg4
= static_cast< wxDouble
>(val4
);
25557 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25558 if (!SWIG_IsOK(ecode5
)) {
25559 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25561 arg5
= static_cast< wxDouble
>(val5
);
25563 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25566 resultobj
= SWIG_Py_Void();
25573 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25574 PyObject
*resultobj
= 0;
25575 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25590 PyObject
* obj0
= 0 ;
25591 PyObject
* obj1
= 0 ;
25592 PyObject
* obj2
= 0 ;
25593 PyObject
* obj3
= 0 ;
25594 PyObject
* obj4
= 0 ;
25595 char * kwnames
[] = {
25596 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25601 if (!SWIG_IsOK(res1
)) {
25602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25604 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25605 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25606 if (!SWIG_IsOK(ecode2
)) {
25607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
25609 arg2
= static_cast< wxDouble
>(val2
);
25610 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25611 if (!SWIG_IsOK(ecode3
)) {
25612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
25614 arg3
= static_cast< wxDouble
>(val3
);
25615 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25616 if (!SWIG_IsOK(ecode4
)) {
25617 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
25619 arg4
= static_cast< wxDouble
>(val4
);
25620 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25621 if (!SWIG_IsOK(ecode5
)) {
25622 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
25624 arg5
= static_cast< wxDouble
>(val5
);
25626 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25629 resultobj
= SWIG_Py_Void();
25636 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
= 0;
25638 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25650 PyObject
* obj0
= 0 ;
25651 PyObject
* obj1
= 0 ;
25652 PyObject
* obj2
= 0 ;
25653 PyObject
* obj3
= 0 ;
25654 char * kwnames
[] = {
25655 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
25658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25660 if (!SWIG_IsOK(res1
)) {
25661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25663 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25664 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25665 if (!SWIG_IsOK(ecode2
)) {
25666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
25668 arg2
= static_cast< wxDouble
>(val2
);
25669 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25670 if (!SWIG_IsOK(ecode3
)) {
25671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
25673 arg3
= static_cast< wxDouble
>(val3
);
25674 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25675 if (!SWIG_IsOK(ecode4
)) {
25676 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
25678 arg4
= static_cast< wxDouble
>(val4
);
25680 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
25681 if (PyErr_Occurred()) SWIG_fail
;
25683 resultobj
= SWIG_Py_Void();
25690 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25691 PyObject
*resultobj
= 0;
25692 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25710 PyObject
* obj0
= 0 ;
25711 PyObject
* obj1
= 0 ;
25712 PyObject
* obj2
= 0 ;
25713 PyObject
* obj3
= 0 ;
25714 PyObject
* obj4
= 0 ;
25715 PyObject
* obj5
= 0 ;
25716 char * kwnames
[] = {
25717 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
25720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25722 if (!SWIG_IsOK(res1
)) {
25723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25725 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25726 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25727 if (!SWIG_IsOK(ecode2
)) {
25728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25730 arg2
= static_cast< wxDouble
>(val2
);
25731 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25732 if (!SWIG_IsOK(ecode3
)) {
25733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25735 arg3
= static_cast< wxDouble
>(val3
);
25736 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25737 if (!SWIG_IsOK(ecode4
)) {
25738 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25740 arg4
= static_cast< wxDouble
>(val4
);
25741 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25742 if (!SWIG_IsOK(ecode5
)) {
25743 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25745 arg5
= static_cast< wxDouble
>(val5
);
25746 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25747 if (!SWIG_IsOK(ecode6
)) {
25748 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25750 arg6
= static_cast< wxDouble
>(val6
);
25752 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25755 resultobj
= SWIG_Py_Void();
25762 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25765 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
25766 return SWIG_Py_Void();
25769 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25770 PyObject
*resultobj
= 0;
25771 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25774 PyObject
*swig_obj
[1] ;
25776 if (!args
) SWIG_fail
;
25777 swig_obj
[0] = args
;
25778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
25779 if (!SWIG_IsOK(res1
)) {
25780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25782 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25788 resultobj
= SWIG_Py_Void();
25795 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25796 PyObject
*resultobj
= 0;
25797 wxWindowDC
*arg1
= 0 ;
25798 wxGraphicsContext
*result
= 0 ;
25801 PyObject
* obj0
= 0 ;
25802 char * kwnames
[] = {
25803 (char *) "dc", NULL
25806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_Create",kwnames
,&obj0
)) SWIG_fail
;
25807 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
25808 if (!SWIG_IsOK(res1
)) {
25809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25814 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
25816 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25826 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25827 PyObject
*resultobj
= 0;
25828 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25829 wxGraphicsPath
*result
= 0 ;
25832 PyObject
*swig_obj
[1] ;
25834 if (!args
) SWIG_fail
;
25835 swig_obj
[0] = args
;
25836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25837 if (!SWIG_IsOK(res1
)) {
25838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25840 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25842 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
25843 if (PyErr_Occurred()) SWIG_fail
;
25845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25852 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25853 PyObject
*resultobj
= 0;
25854 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25857 PyObject
*swig_obj
[1] ;
25859 if (!args
) SWIG_fail
;
25860 swig_obj
[0] = args
;
25861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25862 if (!SWIG_IsOK(res1
)) {
25863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25865 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25867 (arg1
)->PushState();
25868 if (PyErr_Occurred()) SWIG_fail
;
25870 resultobj
= SWIG_Py_Void();
25877 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25878 PyObject
*resultobj
= 0;
25879 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25882 PyObject
*swig_obj
[1] ;
25884 if (!args
) SWIG_fail
;
25885 swig_obj
[0] = args
;
25886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25887 if (!SWIG_IsOK(res1
)) {
25888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25890 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25892 (arg1
)->PopState();
25893 if (PyErr_Occurred()) SWIG_fail
;
25895 resultobj
= SWIG_Py_Void();
25902 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25903 PyObject
*resultobj
= 0;
25904 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25905 wxRegion
*arg2
= 0 ;
25910 PyObject
* obj0
= 0 ;
25911 PyObject
* obj1
= 0 ;
25912 char * kwnames
[] = {
25913 (char *) "self",(char *) "region", NULL
25916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
)) 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_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25921 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25922 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
25923 if (!SWIG_IsOK(res2
)) {
25924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
25927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
25929 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
25931 (arg1
)->Clip((wxRegion
const &)*arg2
);
25932 if (PyErr_Occurred()) SWIG_fail
;
25934 resultobj
= SWIG_Py_Void();
25941 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25942 PyObject
*resultobj
= 0;
25943 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25952 PyObject
* obj0
= 0 ;
25953 PyObject
* obj1
= 0 ;
25954 PyObject
* obj2
= 0 ;
25955 char * kwnames
[] = {
25956 (char *) "self",(char *) "dx",(char *) "dy", NULL
25959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25961 if (!SWIG_IsOK(res1
)) {
25962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25964 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25965 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25966 if (!SWIG_IsOK(ecode2
)) {
25967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25969 arg2
= static_cast< wxDouble
>(val2
);
25970 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25971 if (!SWIG_IsOK(ecode3
)) {
25972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25974 arg3
= static_cast< wxDouble
>(val3
);
25976 (arg1
)->Translate(arg2
,arg3
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25979 resultobj
= SWIG_Py_Void();
25986 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25987 PyObject
*resultobj
= 0;
25988 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25997 PyObject
* obj0
= 0 ;
25998 PyObject
* obj1
= 0 ;
25999 PyObject
* obj2
= 0 ;
26000 char * kwnames
[] = {
26001 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26006 if (!SWIG_IsOK(res1
)) {
26007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26009 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26010 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26011 if (!SWIG_IsOK(ecode2
)) {
26012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26014 arg2
= static_cast< wxDouble
>(val2
);
26015 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26016 if (!SWIG_IsOK(ecode3
)) {
26017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26019 arg3
= static_cast< wxDouble
>(val3
);
26021 (arg1
)->Scale(arg2
,arg3
);
26022 if (PyErr_Occurred()) SWIG_fail
;
26024 resultobj
= SWIG_Py_Void();
26031 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26032 PyObject
*resultobj
= 0;
26033 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26039 PyObject
* obj0
= 0 ;
26040 PyObject
* obj1
= 0 ;
26041 char * kwnames
[] = {
26042 (char *) "self",(char *) "angle", NULL
26045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26047 if (!SWIG_IsOK(res1
)) {
26048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26050 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26051 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26052 if (!SWIG_IsOK(ecode2
)) {
26053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26055 arg2
= static_cast< wxDouble
>(val2
);
26057 (arg1
)->Rotate(arg2
);
26058 if (PyErr_Occurred()) SWIG_fail
;
26060 resultobj
= SWIG_Py_Void();
26067 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26068 PyObject
*resultobj
= 0;
26069 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26075 PyObject
* obj0
= 0 ;
26076 PyObject
* obj1
= 0 ;
26077 char * kwnames
[] = {
26078 (char *) "self",(char *) "pen", NULL
26081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26083 if (!SWIG_IsOK(res1
)) {
26084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26086 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
26088 if (!SWIG_IsOK(res2
)) {
26089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
26092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
26094 arg2
= reinterpret_cast< wxPen
* >(argp2
);
26096 (arg1
)->SetPen((wxPen
const &)*arg2
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26099 resultobj
= SWIG_Py_Void();
26106 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
= 0;
26108 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26109 wxBrush
*arg2
= 0 ;
26114 PyObject
* obj0
= 0 ;
26115 PyObject
* obj1
= 0 ;
26116 char * kwnames
[] = {
26117 (char *) "self",(char *) "brush", NULL
26120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26122 if (!SWIG_IsOK(res1
)) {
26123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26125 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26126 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
26127 if (!SWIG_IsOK(res2
)) {
26128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
26131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
26133 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
26135 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 resultobj
= SWIG_Py_Void();
26145 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26146 PyObject
*resultobj
= 0;
26147 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26152 wxColour
*arg6
= 0 ;
26153 wxColour
*arg7
= 0 ;
26166 PyObject
* obj0
= 0 ;
26167 PyObject
* obj1
= 0 ;
26168 PyObject
* obj2
= 0 ;
26169 PyObject
* obj3
= 0 ;
26170 PyObject
* obj4
= 0 ;
26171 PyObject
* obj5
= 0 ;
26172 PyObject
* obj6
= 0 ;
26173 char * kwnames
[] = {
26174 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
26177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26179 if (!SWIG_IsOK(res1
)) {
26180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26182 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26183 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26184 if (!SWIG_IsOK(ecode2
)) {
26185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
26187 arg2
= static_cast< wxDouble
>(val2
);
26188 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26189 if (!SWIG_IsOK(ecode3
)) {
26190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
26192 arg3
= static_cast< wxDouble
>(val3
);
26193 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26194 if (!SWIG_IsOK(ecode4
)) {
26195 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
26197 arg4
= static_cast< wxDouble
>(val4
);
26198 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26199 if (!SWIG_IsOK(ecode5
)) {
26200 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
26202 arg5
= static_cast< wxDouble
>(val5
);
26205 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
26209 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
26212 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= SWIG_Py_Void();
26222 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
= 0;
26224 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26230 wxColour
*arg7
= 0 ;
26231 wxColour
*arg8
= 0 ;
26246 PyObject
* obj0
= 0 ;
26247 PyObject
* obj1
= 0 ;
26248 PyObject
* obj2
= 0 ;
26249 PyObject
* obj3
= 0 ;
26250 PyObject
* obj4
= 0 ;
26251 PyObject
* obj5
= 0 ;
26252 PyObject
* obj6
= 0 ;
26253 PyObject
* obj7
= 0 ;
26254 char * kwnames
[] = {
26255 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
26258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
26259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26260 if (!SWIG_IsOK(res1
)) {
26261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26263 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26264 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26265 if (!SWIG_IsOK(ecode2
)) {
26266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
26268 arg2
= static_cast< wxDouble
>(val2
);
26269 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26270 if (!SWIG_IsOK(ecode3
)) {
26271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
26273 arg3
= static_cast< wxDouble
>(val3
);
26274 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26275 if (!SWIG_IsOK(ecode4
)) {
26276 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
26278 arg4
= static_cast< wxDouble
>(val4
);
26279 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26280 if (!SWIG_IsOK(ecode5
)) {
26281 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
26283 arg5
= static_cast< wxDouble
>(val5
);
26284 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26285 if (!SWIG_IsOK(ecode6
)) {
26286 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
26288 arg6
= static_cast< wxDouble
>(val6
);
26291 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
26295 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
26298 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26301 resultobj
= SWIG_Py_Void();
26308 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26309 PyObject
*resultobj
= 0;
26310 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26316 PyObject
* obj0
= 0 ;
26317 PyObject
* obj1
= 0 ;
26318 char * kwnames
[] = {
26319 (char *) "self",(char *) "font", NULL
26322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26324 if (!SWIG_IsOK(res1
)) {
26325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26327 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26328 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26329 if (!SWIG_IsOK(res2
)) {
26330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26335 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26337 (arg1
)->SetFont((wxFont
const &)*arg2
);
26338 if (PyErr_Occurred()) SWIG_fail
;
26340 resultobj
= SWIG_Py_Void();
26347 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26348 PyObject
*resultobj
= 0;
26349 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26350 wxColour
*arg2
= 0 ;
26354 PyObject
* obj0
= 0 ;
26355 PyObject
* obj1
= 0 ;
26356 char * kwnames
[] = {
26357 (char *) "self",(char *) "col", NULL
26360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26362 if (!SWIG_IsOK(res1
)) {
26363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26365 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26368 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26371 (arg1
)->SetTextColor((wxColour
const &)*arg2
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26374 resultobj
= SWIG_Py_Void();
26381 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26382 PyObject
*resultobj
= 0;
26383 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26384 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26389 PyObject
* obj0
= 0 ;
26390 PyObject
* obj1
= 0 ;
26391 char * kwnames
[] = {
26392 (char *) "self",(char *) "path", NULL
26395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26397 if (!SWIG_IsOK(res1
)) {
26398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26400 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26401 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26402 if (!SWIG_IsOK(res2
)) {
26403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26405 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26407 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
26408 if (PyErr_Occurred()) SWIG_fail
;
26410 resultobj
= SWIG_Py_Void();
26417 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26418 PyObject
*resultobj
= 0;
26419 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26420 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26421 int arg3
= (int) wxWINDING_RULE
;
26428 PyObject
* obj0
= 0 ;
26429 PyObject
* obj1
= 0 ;
26430 PyObject
* obj2
= 0 ;
26431 char * kwnames
[] = {
26432 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
26435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26437 if (!SWIG_IsOK(res1
)) {
26438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26440 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26441 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26442 if (!SWIG_IsOK(res2
)) {
26443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26445 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26448 if (!SWIG_IsOK(ecode3
)) {
26449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
26451 arg3
= static_cast< int >(val3
);
26454 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26457 resultobj
= SWIG_Py_Void();
26464 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26465 PyObject
*resultobj
= 0;
26466 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26467 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26468 int arg3
= (int) wxWINDING_RULE
;
26475 PyObject
* obj0
= 0 ;
26476 PyObject
* obj1
= 0 ;
26477 PyObject
* obj2
= 0 ;
26478 char * kwnames
[] = {
26479 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
26482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26484 if (!SWIG_IsOK(res1
)) {
26485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26487 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26488 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26489 if (!SWIG_IsOK(res2
)) {
26490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26492 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26494 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26495 if (!SWIG_IsOK(ecode3
)) {
26496 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
26498 arg3
= static_cast< int >(val3
);
26501 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26504 resultobj
= SWIG_Py_Void();
26511 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26512 PyObject
*resultobj
= 0;
26513 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26514 wxString
*arg2
= 0 ;
26519 bool temp2
= false ;
26524 PyObject
* obj0
= 0 ;
26525 PyObject
* obj1
= 0 ;
26526 PyObject
* obj2
= 0 ;
26527 PyObject
* obj3
= 0 ;
26528 char * kwnames
[] = {
26529 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
26532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26534 if (!SWIG_IsOK(res1
)) {
26535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26537 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26539 arg2
= wxString_in_helper(obj1
);
26540 if (arg2
== NULL
) SWIG_fail
;
26543 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26544 if (!SWIG_IsOK(ecode3
)) {
26545 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
26547 arg3
= static_cast< wxDouble
>(val3
);
26548 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26549 if (!SWIG_IsOK(ecode4
)) {
26550 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
26552 arg4
= static_cast< wxDouble
>(val4
);
26554 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 resultobj
= SWIG_Py_Void();
26572 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26573 PyObject
*resultobj
= 0;
26574 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26575 wxString
*arg2
= 0 ;
26581 bool temp2
= false ;
26588 PyObject
* obj0
= 0 ;
26589 PyObject
* obj1
= 0 ;
26590 PyObject
* obj2
= 0 ;
26591 PyObject
* obj3
= 0 ;
26592 PyObject
* obj4
= 0 ;
26593 char * kwnames
[] = {
26594 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
26597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26599 if (!SWIG_IsOK(res1
)) {
26600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26602 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26604 arg2
= wxString_in_helper(obj1
);
26605 if (arg2
== NULL
) SWIG_fail
;
26608 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26609 if (!SWIG_IsOK(ecode3
)) {
26610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
26612 arg3
= static_cast< wxDouble
>(val3
);
26613 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26614 if (!SWIG_IsOK(ecode4
)) {
26615 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
26617 arg4
= static_cast< wxDouble
>(val4
);
26618 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26619 if (!SWIG_IsOK(ecode5
)) {
26620 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
26622 arg5
= static_cast< wxDouble
>(val5
);
26624 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26627 resultobj
= SWIG_Py_Void();
26642 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26643 PyObject
*resultobj
= 0;
26644 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26645 wxString
*arg2
= 0 ;
26646 wxDouble
*arg3
= (wxDouble
*) 0 ;
26647 wxDouble
*arg4
= (wxDouble
*) 0 ;
26648 wxDouble
*arg5
= (wxDouble
*) 0 ;
26649 wxDouble
*arg6
= (wxDouble
*) 0 ;
26652 bool temp2
= false ;
26654 int res3
= SWIG_TMPOBJ
;
26656 int res4
= SWIG_TMPOBJ
;
26658 int res5
= SWIG_TMPOBJ
;
26660 int res6
= SWIG_TMPOBJ
;
26661 PyObject
* obj0
= 0 ;
26662 PyObject
* obj1
= 0 ;
26663 char * kwnames
[] = {
26664 (char *) "self",(char *) "text", NULL
26671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26673 if (!SWIG_IsOK(res1
)) {
26674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
26676 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26678 arg2
= wxString_in_helper(obj1
);
26679 if (arg2
== NULL
) SWIG_fail
;
26683 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26684 if (PyErr_Occurred()) SWIG_fail
;
26686 resultobj
= SWIG_Py_Void();
26687 if (SWIG_IsTmpObj(res3
)) {
26688 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26690 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26691 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26693 if (SWIG_IsTmpObj(res4
)) {
26694 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26696 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26699 if (SWIG_IsTmpObj(res5
)) {
26700 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26702 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26705 if (SWIG_IsTmpObj(res6
)) {
26706 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26708 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26709 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26725 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26726 PyObject
*resultobj
= 0;
26727 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26728 wxString
*arg2
= 0 ;
26729 wxArrayDouble result
;
26732 bool temp2
= false ;
26733 PyObject
* obj0
= 0 ;
26734 PyObject
* obj1
= 0 ;
26735 char * kwnames
[] = {
26736 (char *) "self",(char *) "text", NULL
26739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26741 if (!SWIG_IsOK(res1
)) {
26742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26744 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26746 arg2
= wxString_in_helper(obj1
);
26747 if (arg2
== NULL
) SWIG_fail
;
26751 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26755 resultobj
= wxArrayDouble2PyList_helper(result
);
26771 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26772 PyObject
*resultobj
= 0;
26773 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26774 wxBitmap
*arg2
= 0 ;
26791 PyObject
* obj0
= 0 ;
26792 PyObject
* obj1
= 0 ;
26793 PyObject
* obj2
= 0 ;
26794 PyObject
* obj3
= 0 ;
26795 PyObject
* obj4
= 0 ;
26796 PyObject
* obj5
= 0 ;
26797 char * kwnames
[] = {
26798 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26803 if (!SWIG_IsOK(res1
)) {
26804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26806 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26807 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26808 if (!SWIG_IsOK(res2
)) {
26809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26814 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26815 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26816 if (!SWIG_IsOK(ecode3
)) {
26817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
26819 arg3
= static_cast< wxDouble
>(val3
);
26820 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26821 if (!SWIG_IsOK(ecode4
)) {
26822 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
26824 arg4
= static_cast< wxDouble
>(val4
);
26825 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26826 if (!SWIG_IsOK(ecode5
)) {
26827 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
26829 arg5
= static_cast< wxDouble
>(val5
);
26830 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26831 if (!SWIG_IsOK(ecode6
)) {
26832 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
26834 arg6
= static_cast< wxDouble
>(val6
);
26836 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26839 resultobj
= SWIG_Py_Void();
26846 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26847 PyObject
*resultobj
= 0;
26848 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26866 PyObject
* obj0
= 0 ;
26867 PyObject
* obj1
= 0 ;
26868 PyObject
* obj2
= 0 ;
26869 PyObject
* obj3
= 0 ;
26870 PyObject
* obj4
= 0 ;
26871 PyObject
* obj5
= 0 ;
26872 char * kwnames
[] = {
26873 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26878 if (!SWIG_IsOK(res1
)) {
26879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26881 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26882 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
26883 if (!SWIG_IsOK(res2
)) {
26884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26889 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
26890 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26891 if (!SWIG_IsOK(ecode3
)) {
26892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
26894 arg3
= static_cast< wxDouble
>(val3
);
26895 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26896 if (!SWIG_IsOK(ecode4
)) {
26897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
26899 arg4
= static_cast< wxDouble
>(val4
);
26900 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26901 if (!SWIG_IsOK(ecode5
)) {
26902 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
26904 arg5
= static_cast< wxDouble
>(val5
);
26905 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26906 if (!SWIG_IsOK(ecode6
)) {
26907 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
26909 arg6
= static_cast< wxDouble
>(val6
);
26911 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26912 if (PyErr_Occurred()) SWIG_fail
;
26914 resultobj
= SWIG_Py_Void();
26921 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26922 PyObject
*resultobj
= 0;
26923 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26938 PyObject
* obj0
= 0 ;
26939 PyObject
* obj1
= 0 ;
26940 PyObject
* obj2
= 0 ;
26941 PyObject
* obj3
= 0 ;
26942 PyObject
* obj4
= 0 ;
26943 char * kwnames
[] = {
26944 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26949 if (!SWIG_IsOK(res1
)) {
26950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26952 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26953 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26954 if (!SWIG_IsOK(ecode2
)) {
26955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
26957 arg2
= static_cast< wxDouble
>(val2
);
26958 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26959 if (!SWIG_IsOK(ecode3
)) {
26960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
26962 arg3
= static_cast< wxDouble
>(val3
);
26963 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26964 if (!SWIG_IsOK(ecode4
)) {
26965 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
26967 arg4
= static_cast< wxDouble
>(val4
);
26968 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26969 if (!SWIG_IsOK(ecode5
)) {
26970 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
26972 arg5
= static_cast< wxDouble
>(val5
);
26974 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
26975 if (PyErr_Occurred()) SWIG_fail
;
26977 resultobj
= SWIG_Py_Void();
26984 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26985 PyObject
*resultobj
= 0;
26986 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26988 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26991 PyObject
* obj0
= 0 ;
26992 PyObject
* obj1
= 0 ;
26993 char * kwnames
[] = {
26994 (char *) "self",(char *) "points", NULL
26997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26999 if (!SWIG_IsOK(res1
)) {
27000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27002 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27004 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
27005 if (arg3
== NULL
) SWIG_fail
;
27008 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
27009 if (PyErr_Occurred()) SWIG_fail
;
27011 resultobj
= SWIG_Py_Void();
27013 if (arg3
) delete [] arg3
;
27018 if (arg3
) delete [] arg3
;
27024 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeDisconnectedLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27025 PyObject
*resultobj
= 0;
27026 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27027 PyObject
*arg2
= (PyObject
*) 0 ;
27028 PyObject
*arg3
= (PyObject
*) 0 ;
27031 PyObject
* obj0
= 0 ;
27032 PyObject
* obj1
= 0 ;
27033 PyObject
* obj2
= 0 ;
27034 char * kwnames
[] = {
27035 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
27038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeDisconnectedLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27040 if (!SWIG_IsOK(res1
)) {
27041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeDisconnectedLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27043 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27047 wxGraphicsContext_StrokeDisconnectedLines(arg1
,arg2
,arg3
);
27048 if (PyErr_Occurred()) SWIG_fail
;
27050 resultobj
= SWIG_Py_Void();
27057 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27058 PyObject
*resultobj
= 0;
27059 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27061 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
27062 int arg4
= (int) wxWINDING_RULE
;
27067 PyObject
* obj0
= 0 ;
27068 PyObject
* obj1
= 0 ;
27069 PyObject
* obj2
= 0 ;
27070 char * kwnames
[] = {
27071 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
27074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27076 if (!SWIG_IsOK(res1
)) {
27077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27079 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27081 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
27082 if (arg3
== NULL
) SWIG_fail
;
27085 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
27086 if (!SWIG_IsOK(ecode4
)) {
27087 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
27089 arg4
= static_cast< int >(val4
);
27092 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27095 resultobj
= SWIG_Py_Void();
27097 if (arg3
) delete [] arg3
;
27102 if (arg3
) delete [] arg3
;
27108 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27109 PyObject
*resultobj
= 0;
27110 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27125 PyObject
* obj0
= 0 ;
27126 PyObject
* obj1
= 0 ;
27127 PyObject
* obj2
= 0 ;
27128 PyObject
* obj3
= 0 ;
27129 PyObject
* obj4
= 0 ;
27130 char * kwnames
[] = {
27131 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27136 if (!SWIG_IsOK(res1
)) {
27137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27139 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27140 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27141 if (!SWIG_IsOK(ecode2
)) {
27142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27144 arg2
= static_cast< wxDouble
>(val2
);
27145 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27146 if (!SWIG_IsOK(ecode3
)) {
27147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27149 arg3
= static_cast< wxDouble
>(val3
);
27150 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27151 if (!SWIG_IsOK(ecode4
)) {
27152 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27154 arg4
= static_cast< wxDouble
>(val4
);
27155 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27156 if (!SWIG_IsOK(ecode5
)) {
27157 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27159 arg5
= static_cast< wxDouble
>(val5
);
27161 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
27162 if (PyErr_Occurred()) SWIG_fail
;
27164 resultobj
= SWIG_Py_Void();
27171 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27172 PyObject
*resultobj
= 0;
27173 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27188 PyObject
* obj0
= 0 ;
27189 PyObject
* obj1
= 0 ;
27190 PyObject
* obj2
= 0 ;
27191 PyObject
* obj3
= 0 ;
27192 PyObject
* obj4
= 0 ;
27193 char * kwnames
[] = {
27194 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27199 if (!SWIG_IsOK(res1
)) {
27200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27202 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27203 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27204 if (!SWIG_IsOK(ecode2
)) {
27205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27207 arg2
= static_cast< wxDouble
>(val2
);
27208 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27209 if (!SWIG_IsOK(ecode3
)) {
27210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27212 arg3
= static_cast< wxDouble
>(val3
);
27213 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27214 if (!SWIG_IsOK(ecode4
)) {
27215 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27217 arg4
= static_cast< wxDouble
>(val4
);
27218 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27219 if (!SWIG_IsOK(ecode5
)) {
27220 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27222 arg5
= static_cast< wxDouble
>(val5
);
27224 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27227 resultobj
= SWIG_Py_Void();
27234 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27235 PyObject
*resultobj
= 0;
27236 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27254 PyObject
* obj0
= 0 ;
27255 PyObject
* obj1
= 0 ;
27256 PyObject
* obj2
= 0 ;
27257 PyObject
* obj3
= 0 ;
27258 PyObject
* obj4
= 0 ;
27259 PyObject
* obj5
= 0 ;
27260 char * kwnames
[] = {
27261 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27266 if (!SWIG_IsOK(res1
)) {
27267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27269 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27270 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27271 if (!SWIG_IsOK(ecode2
)) {
27272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27274 arg2
= static_cast< wxDouble
>(val2
);
27275 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27276 if (!SWIG_IsOK(ecode3
)) {
27277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27279 arg3
= static_cast< wxDouble
>(val3
);
27280 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27281 if (!SWIG_IsOK(ecode4
)) {
27282 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27284 arg4
= static_cast< wxDouble
>(val4
);
27285 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27286 if (!SWIG_IsOK(ecode5
)) {
27287 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27289 arg5
= static_cast< wxDouble
>(val5
);
27290 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27291 if (!SWIG_IsOK(ecode6
)) {
27292 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27294 arg6
= static_cast< wxDouble
>(val6
);
27296 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27297 if (PyErr_Occurred()) SWIG_fail
;
27299 resultobj
= SWIG_Py_Void();
27306 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27309 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
27310 return SWIG_Py_Void();
27313 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
= 0;
27315 wxWindowDC
*arg1
= 0 ;
27316 wxGCDC
*result
= 0 ;
27319 PyObject
* obj0
= 0 ;
27320 char * kwnames
[] = {
27321 (char *) "dc", NULL
27324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
27325 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27326 if (!SWIG_IsOK(res1
)) {
27327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27332 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27334 if (!wxPyCheckForApp()) SWIG_fail
;
27335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27336 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
27337 wxPyEndAllowThreads(__tstate
);
27338 if (PyErr_Occurred()) SWIG_fail
;
27340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
27347 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27348 PyObject
*resultobj
= 0;
27349 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
27352 PyObject
*swig_obj
[1] ;
27354 if (!args
) SWIG_fail
;
27355 swig_obj
[0] = args
;
27356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
27357 if (!SWIG_IsOK(res1
)) {
27358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
27360 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27366 resultobj
= SWIG_Py_Void();
27373 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27374 PyObject
*resultobj
= 0;
27375 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
27376 wxGraphicsContext
*result
= 0 ;
27379 PyObject
*swig_obj
[1] ;
27381 if (!args
) SWIG_fail
;
27382 swig_obj
[0] = args
;
27383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
27384 if (!SWIG_IsOK(res1
)) {
27385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
27387 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
27389 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicContext();
27390 if (PyErr_Occurred()) SWIG_fail
;
27392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27399 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27401 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27402 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
27403 return SWIG_Py_Void();
27406 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27407 return SWIG_Python_InitShadowInstance(args
);
27410 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27411 PyObject
*resultobj
= 0;
27412 wxOverlay
*result
= 0 ;
27414 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
27416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27417 result
= (wxOverlay
*)new wxOverlay();
27418 wxPyEndAllowThreads(__tstate
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
27428 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27429 PyObject
*resultobj
= 0;
27430 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
27433 PyObject
*swig_obj
[1] ;
27435 if (!args
) SWIG_fail
;
27436 swig_obj
[0] = args
;
27437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
27438 if (!SWIG_IsOK(res1
)) {
27439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
27441 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27446 wxPyEndAllowThreads(__tstate
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27449 resultobj
= SWIG_Py_Void();
27456 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27457 PyObject
*resultobj
= 0;
27458 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
27461 PyObject
*swig_obj
[1] ;
27463 if (!args
) SWIG_fail
;
27464 swig_obj
[0] = args
;
27465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
27466 if (!SWIG_IsOK(res1
)) {
27467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
27469 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27476 resultobj
= SWIG_Py_Void();
27483 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27485 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27486 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
27487 return SWIG_Py_Void();
27490 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27491 return SWIG_Python_InitShadowInstance(args
);
27494 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27495 PyObject
*resultobj
= 0;
27496 wxOverlay
*arg1
= 0 ;
27497 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
27502 wxDCOverlay
*result
= 0 ;
27516 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
27517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
27518 if (!SWIG_IsOK(res1
)) {
27519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27524 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27525 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
27526 if (!SWIG_IsOK(res2
)) {
27527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
27529 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
27530 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27531 if (!SWIG_IsOK(ecode3
)) {
27532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
27534 arg3
= static_cast< int >(val3
);
27535 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27536 if (!SWIG_IsOK(ecode4
)) {
27537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
27539 arg4
= static_cast< int >(val4
);
27540 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
27541 if (!SWIG_IsOK(ecode5
)) {
27542 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
27544 arg5
= static_cast< int >(val5
);
27545 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
27546 if (!SWIG_IsOK(ecode6
)) {
27547 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
27549 arg6
= static_cast< int >(val6
);
27551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27552 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
27553 wxPyEndAllowThreads(__tstate
);
27554 if (PyErr_Occurred()) SWIG_fail
;
27556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
27563 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27564 PyObject
*resultobj
= 0;
27565 wxOverlay
*arg1
= 0 ;
27566 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
27567 wxDCOverlay
*result
= 0 ;
27573 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
27575 if (!SWIG_IsOK(res1
)) {
27576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27581 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27582 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
27583 if (!SWIG_IsOK(res2
)) {
27584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
27586 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
27588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27589 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
27590 wxPyEndAllowThreads(__tstate
);
27591 if (PyErr_Occurred()) SWIG_fail
;
27593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
27600 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
27604 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
27607 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
27610 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
27614 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
27619 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27620 PyObject
*resultobj
= 0;
27621 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
27624 PyObject
*swig_obj
[1] ;
27626 if (!args
) SWIG_fail
;
27627 swig_obj
[0] = args
;
27628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
27629 if (!SWIG_IsOK(res1
)) {
27630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
27632 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
27634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27637 wxPyEndAllowThreads(__tstate
);
27638 if (PyErr_Occurred()) SWIG_fail
;
27640 resultobj
= SWIG_Py_Void();
27647 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27648 PyObject
*resultobj
= 0;
27649 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
27652 PyObject
*swig_obj
[1] ;
27654 if (!args
) SWIG_fail
;
27655 swig_obj
[0] = args
;
27656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
27657 if (!SWIG_IsOK(res1
)) {
27658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
27660 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
27662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27664 wxPyEndAllowThreads(__tstate
);
27665 if (PyErr_Occurred()) SWIG_fail
;
27667 resultobj
= SWIG_Py_Void();
27674 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27676 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27677 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
27678 return SWIG_Py_Void();
27681 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27682 return SWIG_Python_InitShadowInstance(args
);
27685 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27686 PyObject
*resultobj
= 0;
27689 int arg3
= (int) true ;
27690 int arg4
= (int) 1 ;
27691 wxImageList
*result
= 0 ;
27700 PyObject
* obj0
= 0 ;
27701 PyObject
* obj1
= 0 ;
27702 PyObject
* obj2
= 0 ;
27703 PyObject
* obj3
= 0 ;
27704 char * kwnames
[] = {
27705 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
27708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27709 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27710 if (!SWIG_IsOK(ecode1
)) {
27711 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
27713 arg1
= static_cast< int >(val1
);
27714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27715 if (!SWIG_IsOK(ecode2
)) {
27716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
27718 arg2
= static_cast< int >(val2
);
27720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27721 if (!SWIG_IsOK(ecode3
)) {
27722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
27724 arg3
= static_cast< int >(val3
);
27727 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27728 if (!SWIG_IsOK(ecode4
)) {
27729 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
27731 arg4
= static_cast< int >(val4
);
27734 if (!wxPyCheckForApp()) SWIG_fail
;
27735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27736 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
27737 wxPyEndAllowThreads(__tstate
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27741 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
27749 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27750 PyObject
*resultobj
= 0;
27751 wxImageList
*arg1
= (wxImageList
*) 0 ;
27754 PyObject
*swig_obj
[1] ;
27756 if (!args
) SWIG_fail
;
27757 swig_obj
[0] = args
;
27758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
27759 if (!SWIG_IsOK(res1
)) {
27760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
27762 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27767 wxPyEndAllowThreads(__tstate
);
27768 if (PyErr_Occurred()) SWIG_fail
;
27770 resultobj
= SWIG_Py_Void();
27777 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27778 PyObject
*resultobj
= 0;
27779 wxImageList
*arg1
= (wxImageList
*) 0 ;
27780 wxBitmap
*arg2
= 0 ;
27781 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
27782 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
27790 PyObject
* obj0
= 0 ;
27791 PyObject
* obj1
= 0 ;
27792 PyObject
* obj2
= 0 ;
27793 char * kwnames
[] = {
27794 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
27797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27799 if (!SWIG_IsOK(res1
)) {
27800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
27802 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27803 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27804 if (!SWIG_IsOK(res2
)) {
27805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27810 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27812 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27813 if (!SWIG_IsOK(res3
)) {
27814 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27819 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27823 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
27824 wxPyEndAllowThreads(__tstate
);
27825 if (PyErr_Occurred()) SWIG_fail
;
27827 resultobj
= SWIG_From_int(static_cast< int >(result
));
27834 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27835 PyObject
*resultobj
= 0;
27836 wxImageList
*arg1
= (wxImageList
*) 0 ;
27837 wxBitmap
*arg2
= 0 ;
27838 wxColour
*arg3
= 0 ;
27845 PyObject
* obj0
= 0 ;
27846 PyObject
* obj1
= 0 ;
27847 PyObject
* obj2
= 0 ;
27848 char * kwnames
[] = {
27849 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
27852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27854 if (!SWIG_IsOK(res1
)) {
27855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
27857 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27858 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27859 if (!SWIG_IsOK(res2
)) {
27860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27865 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27868 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27872 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
27873 wxPyEndAllowThreads(__tstate
);
27874 if (PyErr_Occurred()) SWIG_fail
;
27876 resultobj
= SWIG_From_int(static_cast< int >(result
));
27883 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27884 PyObject
*resultobj
= 0;
27885 wxImageList
*arg1
= (wxImageList
*) 0 ;
27892 PyObject
* obj0
= 0 ;
27893 PyObject
* obj1
= 0 ;
27894 char * kwnames
[] = {
27895 (char *) "self",(char *) "icon", NULL
27898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27900 if (!SWIG_IsOK(res1
)) {
27901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
27903 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27904 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27905 if (!SWIG_IsOK(res2
)) {
27906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27911 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27914 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
27915 wxPyEndAllowThreads(__tstate
);
27916 if (PyErr_Occurred()) SWIG_fail
;
27918 resultobj
= SWIG_From_int(static_cast< int >(result
));
27925 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27926 PyObject
*resultobj
= 0;
27927 wxImageList
*arg1
= (wxImageList
*) 0 ;
27929 SwigValueWrapper
<wxBitmap
> result
;
27934 PyObject
* obj0
= 0 ;
27935 PyObject
* obj1
= 0 ;
27936 char * kwnames
[] = {
27937 (char *) "self",(char *) "index", NULL
27940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27942 if (!SWIG_IsOK(res1
)) {
27943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
27945 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27947 if (!SWIG_IsOK(ecode2
)) {
27948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
27950 arg2
= static_cast< int >(val2
);
27952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27953 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
27954 wxPyEndAllowThreads(__tstate
);
27955 if (PyErr_Occurred()) SWIG_fail
;
27957 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
27964 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27965 PyObject
*resultobj
= 0;
27966 wxImageList
*arg1
= (wxImageList
*) 0 ;
27973 PyObject
* obj0
= 0 ;
27974 PyObject
* obj1
= 0 ;
27975 char * kwnames
[] = {
27976 (char *) "self",(char *) "index", NULL
27979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27981 if (!SWIG_IsOK(res1
)) {
27982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
27984 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27986 if (!SWIG_IsOK(ecode2
)) {
27987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
27989 arg2
= static_cast< int >(val2
);
27991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27992 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
27993 wxPyEndAllowThreads(__tstate
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27996 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
28003 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28004 PyObject
*resultobj
= 0;
28005 wxImageList
*arg1
= (wxImageList
*) 0 ;
28007 wxBitmap
*arg3
= 0 ;
28008 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
28009 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
28019 PyObject
* obj0
= 0 ;
28020 PyObject
* obj1
= 0 ;
28021 PyObject
* obj2
= 0 ;
28022 PyObject
* obj3
= 0 ;
28023 char * kwnames
[] = {
28024 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
28027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28029 if (!SWIG_IsOK(res1
)) {
28030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
28032 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28034 if (!SWIG_IsOK(ecode2
)) {
28035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
28037 arg2
= static_cast< int >(val2
);
28038 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28039 if (!SWIG_IsOK(res3
)) {
28040 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28045 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
28047 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28048 if (!SWIG_IsOK(res4
)) {
28049 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
28052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
28054 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
28057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28058 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
28059 wxPyEndAllowThreads(__tstate
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28071 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28072 PyObject
*resultobj
= 0;
28073 wxImageList
*arg1
= (wxImageList
*) 0 ;
28078 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
28079 bool arg7
= (bool) (bool)false ;
28095 PyObject
* obj0
= 0 ;
28096 PyObject
* obj1
= 0 ;
28097 PyObject
* obj2
= 0 ;
28098 PyObject
* obj3
= 0 ;
28099 PyObject
* obj4
= 0 ;
28100 PyObject
* obj5
= 0 ;
28101 PyObject
* obj6
= 0 ;
28102 char * kwnames
[] = {
28103 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
28106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28108 if (!SWIG_IsOK(res1
)) {
28109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
28111 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28113 if (!SWIG_IsOK(ecode2
)) {
28114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
28116 arg2
= static_cast< int >(val2
);
28117 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28118 if (!SWIG_IsOK(res3
)) {
28119 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
28122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
28124 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28125 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28126 if (!SWIG_IsOK(ecode4
)) {
28127 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
28129 arg4
= static_cast< int >(val4
);
28130 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28131 if (!SWIG_IsOK(ecode5
)) {
28132 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
28134 arg5
= static_cast< int >(val5
);
28136 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28137 if (!SWIG_IsOK(ecode6
)) {
28138 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
28140 arg6
= static_cast< int >(val6
);
28143 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
28144 if (!SWIG_IsOK(ecode7
)) {
28145 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
28147 arg7
= static_cast< bool >(val7
);
28150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28151 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
28152 wxPyEndAllowThreads(__tstate
);
28153 if (PyErr_Occurred()) SWIG_fail
;
28156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28164 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28165 PyObject
*resultobj
= 0;
28166 wxImageList
*arg1
= (wxImageList
*) 0 ;
28170 PyObject
*swig_obj
[1] ;
28172 if (!args
) SWIG_fail
;
28173 swig_obj
[0] = args
;
28174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28175 if (!SWIG_IsOK(res1
)) {
28176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
28178 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28181 result
= (int)(arg1
)->GetImageCount();
28182 wxPyEndAllowThreads(__tstate
);
28183 if (PyErr_Occurred()) SWIG_fail
;
28185 resultobj
= SWIG_From_int(static_cast< int >(result
));
28192 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28193 PyObject
*resultobj
= 0;
28194 wxImageList
*arg1
= (wxImageList
*) 0 ;
28201 PyObject
* obj0
= 0 ;
28202 PyObject
* obj1
= 0 ;
28203 char * kwnames
[] = {
28204 (char *) "self",(char *) "index", NULL
28207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28209 if (!SWIG_IsOK(res1
)) {
28210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
28212 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28214 if (!SWIG_IsOK(ecode2
)) {
28215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
28217 arg2
= static_cast< int >(val2
);
28219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28220 result
= (bool)(arg1
)->Remove(arg2
);
28221 wxPyEndAllowThreads(__tstate
);
28222 if (PyErr_Occurred()) SWIG_fail
;
28225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28233 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28234 PyObject
*resultobj
= 0;
28235 wxImageList
*arg1
= (wxImageList
*) 0 ;
28239 PyObject
*swig_obj
[1] ;
28241 if (!args
) SWIG_fail
;
28242 swig_obj
[0] = args
;
28243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28244 if (!SWIG_IsOK(res1
)) {
28245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
28247 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28250 result
= (bool)(arg1
)->RemoveAll();
28251 wxPyEndAllowThreads(__tstate
);
28252 if (PyErr_Occurred()) SWIG_fail
;
28255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28263 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28264 PyObject
*resultobj
= 0;
28265 wxImageList
*arg1
= (wxImageList
*) 0 ;
28274 int res3
= SWIG_TMPOBJ
;
28276 int res4
= SWIG_TMPOBJ
;
28277 PyObject
* obj0
= 0 ;
28278 PyObject
* obj1
= 0 ;
28279 char * kwnames
[] = {
28280 (char *) "self",(char *) "index", NULL
28285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28287 if (!SWIG_IsOK(res1
)) {
28288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
28290 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28292 if (!SWIG_IsOK(ecode2
)) {
28293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
28295 arg2
= static_cast< int >(val2
);
28297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28298 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
28299 wxPyEndAllowThreads(__tstate
);
28300 if (PyErr_Occurred()) SWIG_fail
;
28302 resultobj
= SWIG_Py_Void();
28303 if (SWIG_IsTmpObj(res3
)) {
28304 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28306 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28307 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28309 if (SWIG_IsTmpObj(res4
)) {
28310 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28312 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28313 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28321 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28323 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28324 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
28325 return SWIG_Py_Void();
28328 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28329 return SWIG_Python_InitShadowInstance(args
);
28332 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28333 PyObject
*resultobj
= 0;
28334 wxStockGDI
*result
= 0 ;
28336 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
28338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28339 result
= (wxStockGDI
*)new wxStockGDI();
28340 wxPyEndAllowThreads(__tstate
);
28341 if (PyErr_Occurred()) SWIG_fail
;
28343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
28350 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28351 PyObject
*resultobj
= 0;
28352 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
28355 PyObject
*swig_obj
[1] ;
28357 if (!args
) SWIG_fail
;
28358 swig_obj
[0] = args
;
28359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
28360 if (!SWIG_IsOK(res1
)) {
28361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
28363 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
28365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28368 wxPyEndAllowThreads(__tstate
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28371 resultobj
= SWIG_Py_Void();
28378 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28379 PyObject
*resultobj
= 0;
28381 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
28383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28384 wxStockGDI::DeleteAll();
28385 wxPyEndAllowThreads(__tstate
);
28386 if (PyErr_Occurred()) SWIG_fail
;
28388 resultobj
= SWIG_Py_Void();
28395 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28396 PyObject
*resultobj
= 0;
28397 wxStockGDI
*result
= 0 ;
28399 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
28401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28403 wxStockGDI
&_result_ref
= wxStockGDI::instance();
28404 result
= (wxStockGDI
*) &_result_ref
;
28406 wxPyEndAllowThreads(__tstate
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
28416 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28417 PyObject
*resultobj
= 0;
28418 wxStockGDI::Item arg1
;
28419 wxBrush
*result
= 0 ;
28422 PyObject
* obj0
= 0 ;
28423 char * kwnames
[] = {
28424 (char *) "item", NULL
28427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
28428 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28429 if (!SWIG_IsOK(ecode1
)) {
28430 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28432 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28435 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
28436 wxPyEndAllowThreads(__tstate
);
28437 if (PyErr_Occurred()) SWIG_fail
;
28439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
28446 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28447 PyObject
*resultobj
= 0;
28448 wxStockGDI::Item arg1
;
28449 wxColour
*result
= 0 ;
28452 PyObject
* obj0
= 0 ;
28453 char * kwnames
[] = {
28454 (char *) "item", NULL
28457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
28458 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28459 if (!SWIG_IsOK(ecode1
)) {
28460 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28462 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28465 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
28466 wxPyEndAllowThreads(__tstate
);
28467 if (PyErr_Occurred()) SWIG_fail
;
28469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
28476 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28477 PyObject
*resultobj
= 0;
28478 wxStockGDI::Item arg1
;
28479 wxCursor
*result
= 0 ;
28482 PyObject
* obj0
= 0 ;
28483 char * kwnames
[] = {
28484 (char *) "item", NULL
28487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
28488 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28489 if (!SWIG_IsOK(ecode1
)) {
28490 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28492 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28495 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
28496 wxPyEndAllowThreads(__tstate
);
28497 if (PyErr_Occurred()) SWIG_fail
;
28499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
28506 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28507 PyObject
*resultobj
= 0;
28508 wxStockGDI::Item arg1
;
28509 wxPen
*result
= 0 ;
28512 PyObject
* obj0
= 0 ;
28513 char * kwnames
[] = {
28514 (char *) "item", NULL
28517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
28518 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28519 if (!SWIG_IsOK(ecode1
)) {
28520 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28522 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28525 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
28526 wxPyEndAllowThreads(__tstate
);
28527 if (PyErr_Occurred()) SWIG_fail
;
28529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28536 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28537 PyObject
*resultobj
= 0;
28538 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
28539 wxStockGDI::Item arg2
;
28540 wxFont
*result
= 0 ;
28545 PyObject
* obj0
= 0 ;
28546 PyObject
* obj1
= 0 ;
28547 char * kwnames
[] = {
28548 (char *) "self",(char *) "item", NULL
28551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
28553 if (!SWIG_IsOK(res1
)) {
28554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
28556 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
28557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28558 if (!SWIG_IsOK(ecode2
)) {
28559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
28561 arg2
= static_cast< wxStockGDI::Item
>(val2
);
28563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28564 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
28565 wxPyEndAllowThreads(__tstate
);
28566 if (PyErr_Occurred()) SWIG_fail
;
28568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28575 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28577 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28578 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
28579 return SWIG_Py_Void();
28582 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28583 return SWIG_Python_InitShadowInstance(args
);
28586 SWIGINTERN
int NullBitmap_set(PyObject
*) {
28587 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
28592 SWIGINTERN PyObject
*NullBitmap_get(void) {
28593 PyObject
*pyobj
= 0;
28595 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
28600 SWIGINTERN
int NullIcon_set(PyObject
*) {
28601 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
28606 SWIGINTERN PyObject
*NullIcon_get(void) {
28607 PyObject
*pyobj
= 0;
28609 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
28614 SWIGINTERN
int NullCursor_set(PyObject
*) {
28615 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
28620 SWIGINTERN PyObject
*NullCursor_get(void) {
28621 PyObject
*pyobj
= 0;
28623 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
28628 SWIGINTERN
int NullPen_set(PyObject
*) {
28629 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
28634 SWIGINTERN PyObject
*NullPen_get(void) {
28635 PyObject
*pyobj
= 0;
28637 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
28642 SWIGINTERN
int NullBrush_set(PyObject
*) {
28643 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
28648 SWIGINTERN PyObject
*NullBrush_get(void) {
28649 PyObject
*pyobj
= 0;
28651 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
28656 SWIGINTERN
int NullPalette_set(PyObject
*) {
28657 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
28662 SWIGINTERN PyObject
*NullPalette_get(void) {
28663 PyObject
*pyobj
= 0;
28665 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
28670 SWIGINTERN
int NullFont_set(PyObject
*) {
28671 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
28676 SWIGINTERN PyObject
*NullFont_get(void) {
28677 PyObject
*pyobj
= 0;
28679 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
28684 SWIGINTERN
int NullColour_set(PyObject
*) {
28685 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
28690 SWIGINTERN PyObject
*NullColour_get(void) {
28691 PyObject
*pyobj
= 0;
28693 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
28698 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28699 PyObject
*resultobj
= 0;
28700 wxGDIObjListBase
*result
= 0 ;
28702 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
28704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28705 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
28706 wxPyEndAllowThreads(__tstate
);
28707 if (PyErr_Occurred()) SWIG_fail
;
28709 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
28716 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28717 PyObject
*resultobj
= 0;
28718 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
28721 PyObject
*swig_obj
[1] ;
28723 if (!args
) SWIG_fail
;
28724 swig_obj
[0] = args
;
28725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
28726 if (!SWIG_IsOK(res1
)) {
28727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
28729 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
28731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28734 wxPyEndAllowThreads(__tstate
);
28735 if (PyErr_Occurred()) SWIG_fail
;
28737 resultobj
= SWIG_Py_Void();
28744 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28747 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
28748 return SWIG_Py_Void();
28751 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28752 return SWIG_Python_InitShadowInstance(args
);
28755 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28756 PyObject
*resultobj
= 0;
28757 wxPenList
*arg1
= (wxPenList
*) 0 ;
28758 wxColour
*arg2
= 0 ;
28761 wxPen
*result
= 0 ;
28769 PyObject
* obj0
= 0 ;
28770 PyObject
* obj1
= 0 ;
28771 PyObject
* obj2
= 0 ;
28772 PyObject
* obj3
= 0 ;
28773 char * kwnames
[] = {
28774 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
28777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28779 if (!SWIG_IsOK(res1
)) {
28780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28782 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28785 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28787 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28788 if (!SWIG_IsOK(ecode3
)) {
28789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
28791 arg3
= static_cast< int >(val3
);
28792 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28793 if (!SWIG_IsOK(ecode4
)) {
28794 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
28796 arg4
= static_cast< int >(val4
);
28798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28799 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
28800 wxPyEndAllowThreads(__tstate
);
28801 if (PyErr_Occurred()) SWIG_fail
;
28803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28810 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28811 PyObject
*resultobj
= 0;
28812 wxPenList
*arg1
= (wxPenList
*) 0 ;
28813 wxPen
*arg2
= (wxPen
*) 0 ;
28818 PyObject
* obj0
= 0 ;
28819 PyObject
* obj1
= 0 ;
28820 char * kwnames
[] = {
28821 (char *) "self",(char *) "pen", NULL
28824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28826 if (!SWIG_IsOK(res1
)) {
28827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
28829 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28830 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28831 if (!SWIG_IsOK(res2
)) {
28832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
28834 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28837 (arg1
)->AddPen(arg2
);
28838 wxPyEndAllowThreads(__tstate
);
28839 if (PyErr_Occurred()) SWIG_fail
;
28841 resultobj
= SWIG_Py_Void();
28848 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28849 PyObject
*resultobj
= 0;
28850 wxPenList
*arg1
= (wxPenList
*) 0 ;
28851 wxPen
*arg2
= (wxPen
*) 0 ;
28856 PyObject
* obj0
= 0 ;
28857 PyObject
* obj1
= 0 ;
28858 char * kwnames
[] = {
28859 (char *) "self",(char *) "pen", NULL
28862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28864 if (!SWIG_IsOK(res1
)) {
28865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28867 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28868 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28869 if (!SWIG_IsOK(res2
)) {
28870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
28872 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 (arg1
)->RemovePen(arg2
);
28876 wxPyEndAllowThreads(__tstate
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28879 resultobj
= SWIG_Py_Void();
28886 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28888 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28889 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
28890 return SWIG_Py_Void();
28893 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28894 PyObject
*resultobj
= 0;
28895 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28896 wxColour
*arg2
= 0 ;
28897 int arg3
= (int) wxSOLID
;
28898 wxBrush
*result
= 0 ;
28904 PyObject
* obj0
= 0 ;
28905 PyObject
* obj1
= 0 ;
28906 PyObject
* obj2
= 0 ;
28907 char * kwnames
[] = {
28908 (char *) "self",(char *) "colour",(char *) "style", NULL
28911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28913 if (!SWIG_IsOK(res1
)) {
28914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28916 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28919 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28922 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28923 if (!SWIG_IsOK(ecode3
)) {
28924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
28926 arg3
= static_cast< int >(val3
);
28929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28930 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
28931 wxPyEndAllowThreads(__tstate
);
28932 if (PyErr_Occurred()) SWIG_fail
;
28934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
28941 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28942 PyObject
*resultobj
= 0;
28943 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28944 wxBrush
*arg2
= (wxBrush
*) 0 ;
28949 PyObject
* obj0
= 0 ;
28950 PyObject
* obj1
= 0 ;
28951 char * kwnames
[] = {
28952 (char *) "self",(char *) "brush", NULL
28955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28957 if (!SWIG_IsOK(res1
)) {
28958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28960 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28961 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28962 if (!SWIG_IsOK(res2
)) {
28963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28965 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28968 (arg1
)->AddBrush(arg2
);
28969 wxPyEndAllowThreads(__tstate
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28972 resultobj
= SWIG_Py_Void();
28979 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28980 PyObject
*resultobj
= 0;
28981 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28982 wxBrush
*arg2
= (wxBrush
*) 0 ;
28987 PyObject
* obj0
= 0 ;
28988 PyObject
* obj1
= 0 ;
28989 char * kwnames
[] = {
28990 (char *) "self",(char *) "brush", NULL
28993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28995 if (!SWIG_IsOK(res1
)) {
28996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28998 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28999 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
29000 if (!SWIG_IsOK(res2
)) {
29001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
29003 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29006 (arg1
)->RemoveBrush(arg2
);
29007 wxPyEndAllowThreads(__tstate
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29010 resultobj
= SWIG_Py_Void();
29017 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29020 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
29021 return SWIG_Py_Void();
29024 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29025 PyObject
*resultobj
= 0;
29026 wxFontList
*arg1
= (wxFontList
*) 0 ;
29031 bool arg6
= (bool) false ;
29032 wxString
const &arg7_defvalue
= wxPyEmptyString
;
29033 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29034 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
29035 wxFont
*result
= 0 ;
29048 bool temp7
= false ;
29051 PyObject
* obj0
= 0 ;
29052 PyObject
* obj1
= 0 ;
29053 PyObject
* obj2
= 0 ;
29054 PyObject
* obj3
= 0 ;
29055 PyObject
* obj4
= 0 ;
29056 PyObject
* obj5
= 0 ;
29057 PyObject
* obj6
= 0 ;
29058 PyObject
* obj7
= 0 ;
29059 char * kwnames
[] = {
29060 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
29063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29065 if (!SWIG_IsOK(res1
)) {
29066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29068 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29070 if (!SWIG_IsOK(ecode2
)) {
29071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
29073 arg2
= static_cast< int >(val2
);
29074 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29075 if (!SWIG_IsOK(ecode3
)) {
29076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
29078 arg3
= static_cast< int >(val3
);
29079 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29080 if (!SWIG_IsOK(ecode4
)) {
29081 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
29083 arg4
= static_cast< int >(val4
);
29084 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29085 if (!SWIG_IsOK(ecode5
)) {
29086 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
29088 arg5
= static_cast< int >(val5
);
29090 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
29091 if (!SWIG_IsOK(ecode6
)) {
29092 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
29094 arg6
= static_cast< bool >(val6
);
29098 arg7
= wxString_in_helper(obj6
);
29099 if (arg7
== NULL
) SWIG_fail
;
29104 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
29105 if (!SWIG_IsOK(ecode8
)) {
29106 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
29108 arg8
= static_cast< wxFontEncoding
>(val8
);
29111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29112 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
29113 wxPyEndAllowThreads(__tstate
);
29114 if (PyErr_Occurred()) SWIG_fail
;
29116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29131 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29132 PyObject
*resultobj
= 0;
29133 wxFontList
*arg1
= (wxFontList
*) 0 ;
29134 wxFont
*arg2
= (wxFont
*) 0 ;
29139 PyObject
* obj0
= 0 ;
29140 PyObject
* obj1
= 0 ;
29141 char * kwnames
[] = {
29142 (char *) "self",(char *) "font", NULL
29145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29147 if (!SWIG_IsOK(res1
)) {
29148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29150 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29151 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29152 if (!SWIG_IsOK(res2
)) {
29153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
29155 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29158 (arg1
)->AddFont(arg2
);
29159 wxPyEndAllowThreads(__tstate
);
29160 if (PyErr_Occurred()) SWIG_fail
;
29162 resultobj
= SWIG_Py_Void();
29169 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29170 PyObject
*resultobj
= 0;
29171 wxFontList
*arg1
= (wxFontList
*) 0 ;
29172 wxFont
*arg2
= (wxFont
*) 0 ;
29177 PyObject
* obj0
= 0 ;
29178 PyObject
* obj1
= 0 ;
29179 char * kwnames
[] = {
29180 (char *) "self",(char *) "font", NULL
29183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29185 if (!SWIG_IsOK(res1
)) {
29186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29188 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29189 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29190 if (!SWIG_IsOK(res2
)) {
29191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
29193 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29196 (arg1
)->RemoveFont(arg2
);
29197 wxPyEndAllowThreads(__tstate
);
29198 if (PyErr_Occurred()) SWIG_fail
;
29200 resultobj
= SWIG_Py_Void();
29207 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29209 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29210 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
29211 return SWIG_Py_Void();
29214 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29215 PyObject
*resultobj
= 0;
29216 wxColourDatabase
*result
= 0 ;
29218 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
29220 if (!wxPyCheckForApp()) SWIG_fail
;
29221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29222 result
= (wxColourDatabase
*)new wxColourDatabase();
29223 wxPyEndAllowThreads(__tstate
);
29224 if (PyErr_Occurred()) SWIG_fail
;
29226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
29233 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29234 PyObject
*resultobj
= 0;
29235 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29238 PyObject
*swig_obj
[1] ;
29240 if (!args
) SWIG_fail
;
29241 swig_obj
[0] = args
;
29242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
29243 if (!SWIG_IsOK(res1
)) {
29244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29246 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29251 wxPyEndAllowThreads(__tstate
);
29252 if (PyErr_Occurred()) SWIG_fail
;
29254 resultobj
= SWIG_Py_Void();
29261 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29262 PyObject
*resultobj
= 0;
29263 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29264 wxString
*arg2
= 0 ;
29268 bool temp2
= false ;
29269 PyObject
* obj0
= 0 ;
29270 PyObject
* obj1
= 0 ;
29271 char * kwnames
[] = {
29272 (char *) "self",(char *) "name", NULL
29275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29277 if (!SWIG_IsOK(res1
)) {
29278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
29280 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29282 arg2
= wxString_in_helper(obj1
);
29283 if (arg2
== NULL
) SWIG_fail
;
29287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29288 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
29289 wxPyEndAllowThreads(__tstate
);
29290 if (PyErr_Occurred()) SWIG_fail
;
29292 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29307 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29308 PyObject
*resultobj
= 0;
29309 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29310 wxColour
*arg2
= 0 ;
29315 PyObject
* obj0
= 0 ;
29316 PyObject
* obj1
= 0 ;
29317 char * kwnames
[] = {
29318 (char *) "self",(char *) "colour", NULL
29321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29323 if (!SWIG_IsOK(res1
)) {
29324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
29326 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29329 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29333 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
29334 wxPyEndAllowThreads(__tstate
);
29335 if (PyErr_Occurred()) SWIG_fail
;
29339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29350 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29351 PyObject
*resultobj
= 0;
29352 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29353 wxString
*arg2
= 0 ;
29354 wxColour
*arg3
= 0 ;
29357 bool temp2
= false ;
29359 PyObject
* obj0
= 0 ;
29360 PyObject
* obj1
= 0 ;
29361 PyObject
* obj2
= 0 ;
29362 char * kwnames
[] = {
29363 (char *) "self",(char *) "name",(char *) "colour", NULL
29366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29368 if (!SWIG_IsOK(res1
)) {
29369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29371 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29373 arg2
= wxString_in_helper(obj1
);
29374 if (arg2
== NULL
) SWIG_fail
;
29379 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29383 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
29384 wxPyEndAllowThreads(__tstate
);
29385 if (PyErr_Occurred()) SWIG_fail
;
29387 resultobj
= SWIG_Py_Void();
29402 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29403 PyObject
*resultobj
= 0;
29404 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29405 wxString
*arg2
= 0 ;
29411 bool temp2
= false ;
29418 PyObject
* obj0
= 0 ;
29419 PyObject
* obj1
= 0 ;
29420 PyObject
* obj2
= 0 ;
29421 PyObject
* obj3
= 0 ;
29422 PyObject
* obj4
= 0 ;
29423 char * kwnames
[] = {
29424 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
29427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29429 if (!SWIG_IsOK(res1
)) {
29430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29432 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29434 arg2
= wxString_in_helper(obj1
);
29435 if (arg2
== NULL
) SWIG_fail
;
29438 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29439 if (!SWIG_IsOK(ecode3
)) {
29440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
29442 arg3
= static_cast< int >(val3
);
29443 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29444 if (!SWIG_IsOK(ecode4
)) {
29445 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
29447 arg4
= static_cast< int >(val4
);
29448 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29449 if (!SWIG_IsOK(ecode5
)) {
29450 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
29452 arg5
= static_cast< int >(val5
);
29454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29455 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29456 wxPyEndAllowThreads(__tstate
);
29457 if (PyErr_Occurred()) SWIG_fail
;
29459 resultobj
= SWIG_Py_Void();
29474 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29477 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
29478 return SWIG_Py_Void();
29481 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29482 return SWIG_Python_InitShadowInstance(args
);
29485 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29486 PyObject
*resultobj
= 0;
29487 wxFontList
*result
= 0 ;
29489 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
29491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29492 result
= (wxFontList
*)_wxPyInitTheFontList();
29493 wxPyEndAllowThreads(__tstate
);
29494 if (PyErr_Occurred()) SWIG_fail
;
29496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
29503 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29504 PyObject
*resultobj
= 0;
29505 wxPenList
*result
= 0 ;
29507 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
29509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29510 result
= (wxPenList
*)_wxPyInitThePenList();
29511 wxPyEndAllowThreads(__tstate
);
29512 if (PyErr_Occurred()) SWIG_fail
;
29514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
29521 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29522 PyObject
*resultobj
= 0;
29523 wxBrushList
*result
= 0 ;
29525 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
29527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29528 result
= (wxBrushList
*)_wxPyInitTheBrushList();
29529 wxPyEndAllowThreads(__tstate
);
29530 if (PyErr_Occurred()) SWIG_fail
;
29532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
29539 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29540 PyObject
*resultobj
= 0;
29541 wxColourDatabase
*result
= 0 ;
29543 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
29545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29546 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
29547 wxPyEndAllowThreads(__tstate
);
29548 if (PyErr_Occurred()) SWIG_fail
;
29550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29557 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29558 PyObject
*resultobj
= 0;
29559 wxEffects
*result
= 0 ;
29561 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
29563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29564 result
= (wxEffects
*)new wxEffects();
29565 wxPyEndAllowThreads(__tstate
);
29566 if (PyErr_Occurred()) SWIG_fail
;
29568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
29575 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29576 PyObject
*resultobj
= 0;
29577 wxEffects
*arg1
= (wxEffects
*) 0 ;
29581 PyObject
*swig_obj
[1] ;
29583 if (!args
) SWIG_fail
;
29584 swig_obj
[0] = args
;
29585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29586 if (!SWIG_IsOK(res1
)) {
29587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
29589 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29592 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
29593 wxPyEndAllowThreads(__tstate
);
29594 if (PyErr_Occurred()) SWIG_fail
;
29596 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29603 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29604 PyObject
*resultobj
= 0;
29605 wxEffects
*arg1
= (wxEffects
*) 0 ;
29609 PyObject
*swig_obj
[1] ;
29611 if (!args
) SWIG_fail
;
29612 swig_obj
[0] = args
;
29613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29614 if (!SWIG_IsOK(res1
)) {
29615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29617 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29620 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
29621 wxPyEndAllowThreads(__tstate
);
29622 if (PyErr_Occurred()) SWIG_fail
;
29624 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29631 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29632 PyObject
*resultobj
= 0;
29633 wxEffects
*arg1
= (wxEffects
*) 0 ;
29637 PyObject
*swig_obj
[1] ;
29639 if (!args
) SWIG_fail
;
29640 swig_obj
[0] = args
;
29641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29642 if (!SWIG_IsOK(res1
)) {
29643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
29645 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29648 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
29649 wxPyEndAllowThreads(__tstate
);
29650 if (PyErr_Occurred()) SWIG_fail
;
29652 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29659 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29660 PyObject
*resultobj
= 0;
29661 wxEffects
*arg1
= (wxEffects
*) 0 ;
29665 PyObject
*swig_obj
[1] ;
29667 if (!args
) SWIG_fail
;
29668 swig_obj
[0] = args
;
29669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29670 if (!SWIG_IsOK(res1
)) {
29671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29673 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29676 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
29677 wxPyEndAllowThreads(__tstate
);
29678 if (PyErr_Occurred()) SWIG_fail
;
29680 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29687 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29688 PyObject
*resultobj
= 0;
29689 wxEffects
*arg1
= (wxEffects
*) 0 ;
29693 PyObject
*swig_obj
[1] ;
29695 if (!args
) SWIG_fail
;
29696 swig_obj
[0] = args
;
29697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29698 if (!SWIG_IsOK(res1
)) {
29699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29701 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29704 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
29705 wxPyEndAllowThreads(__tstate
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29708 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29715 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29716 PyObject
*resultobj
= 0;
29717 wxEffects
*arg1
= (wxEffects
*) 0 ;
29718 wxColour
*arg2
= 0 ;
29722 PyObject
* obj0
= 0 ;
29723 PyObject
* obj1
= 0 ;
29724 char * kwnames
[] = {
29725 (char *) "self",(char *) "c", NULL
29728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29730 if (!SWIG_IsOK(res1
)) {
29731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29733 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29736 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29740 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
29741 wxPyEndAllowThreads(__tstate
);
29742 if (PyErr_Occurred()) SWIG_fail
;
29744 resultobj
= SWIG_Py_Void();
29751 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29752 PyObject
*resultobj
= 0;
29753 wxEffects
*arg1
= (wxEffects
*) 0 ;
29754 wxColour
*arg2
= 0 ;
29758 PyObject
* obj0
= 0 ;
29759 PyObject
* obj1
= 0 ;
29760 char * kwnames
[] = {
29761 (char *) "self",(char *) "c", NULL
29764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29766 if (!SWIG_IsOK(res1
)) {
29767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29769 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29772 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29776 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
29777 wxPyEndAllowThreads(__tstate
);
29778 if (PyErr_Occurred()) SWIG_fail
;
29780 resultobj
= SWIG_Py_Void();
29787 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29788 PyObject
*resultobj
= 0;
29789 wxEffects
*arg1
= (wxEffects
*) 0 ;
29790 wxColour
*arg2
= 0 ;
29794 PyObject
* obj0
= 0 ;
29795 PyObject
* obj1
= 0 ;
29796 char * kwnames
[] = {
29797 (char *) "self",(char *) "c", NULL
29800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29802 if (!SWIG_IsOK(res1
)) {
29803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29805 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29808 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29812 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
29813 wxPyEndAllowThreads(__tstate
);
29814 if (PyErr_Occurred()) SWIG_fail
;
29816 resultobj
= SWIG_Py_Void();
29823 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29824 PyObject
*resultobj
= 0;
29825 wxEffects
*arg1
= (wxEffects
*) 0 ;
29826 wxColour
*arg2
= 0 ;
29830 PyObject
* obj0
= 0 ;
29831 PyObject
* obj1
= 0 ;
29832 char * kwnames
[] = {
29833 (char *) "self",(char *) "c", NULL
29836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29838 if (!SWIG_IsOK(res1
)) {
29839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29841 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29844 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29848 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
29849 wxPyEndAllowThreads(__tstate
);
29850 if (PyErr_Occurred()) SWIG_fail
;
29852 resultobj
= SWIG_Py_Void();
29859 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29860 PyObject
*resultobj
= 0;
29861 wxEffects
*arg1
= (wxEffects
*) 0 ;
29862 wxColour
*arg2
= 0 ;
29866 PyObject
* obj0
= 0 ;
29867 PyObject
* obj1
= 0 ;
29868 char * kwnames
[] = {
29869 (char *) "self",(char *) "c", NULL
29872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29874 if (!SWIG_IsOK(res1
)) {
29875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29877 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29880 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29884 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
29885 wxPyEndAllowThreads(__tstate
);
29886 if (PyErr_Occurred()) SWIG_fail
;
29888 resultobj
= SWIG_Py_Void();
29895 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29896 PyObject
*resultobj
= 0;
29897 wxEffects
*arg1
= (wxEffects
*) 0 ;
29898 wxColour
*arg2
= 0 ;
29899 wxColour
*arg3
= 0 ;
29900 wxColour
*arg4
= 0 ;
29901 wxColour
*arg5
= 0 ;
29902 wxColour
*arg6
= 0 ;
29910 PyObject
* obj0
= 0 ;
29911 PyObject
* obj1
= 0 ;
29912 PyObject
* obj2
= 0 ;
29913 PyObject
* obj3
= 0 ;
29914 PyObject
* obj4
= 0 ;
29915 PyObject
* obj5
= 0 ;
29916 char * kwnames
[] = {
29917 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
29920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29922 if (!SWIG_IsOK(res1
)) {
29923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
29925 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29928 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29932 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29936 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
29940 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
29944 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
29947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29948 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
29949 wxPyEndAllowThreads(__tstate
);
29950 if (PyErr_Occurred()) SWIG_fail
;
29952 resultobj
= SWIG_Py_Void();
29959 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29960 PyObject
*resultobj
= 0;
29961 wxEffects
*arg1
= (wxEffects
*) 0 ;
29964 int arg4
= (int) 1 ;
29972 PyObject
* obj0
= 0 ;
29973 PyObject
* obj1
= 0 ;
29974 PyObject
* obj2
= 0 ;
29975 PyObject
* obj3
= 0 ;
29976 char * kwnames
[] = {
29977 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
29980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29982 if (!SWIG_IsOK(res1
)) {
29983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
29985 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29986 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
29987 if (!SWIG_IsOK(res2
)) {
29988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29993 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29996 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29999 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30000 if (!SWIG_IsOK(ecode4
)) {
30001 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
30003 arg4
= static_cast< int >(val4
);
30006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30007 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
30008 wxPyEndAllowThreads(__tstate
);
30009 if (PyErr_Occurred()) SWIG_fail
;
30011 resultobj
= SWIG_Py_Void();
30018 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30019 PyObject
*resultobj
= 0;
30020 wxEffects
*arg1
= (wxEffects
*) 0 ;
30023 wxBitmap
*arg4
= 0 ;
30032 PyObject
* obj0
= 0 ;
30033 PyObject
* obj1
= 0 ;
30034 PyObject
* obj2
= 0 ;
30035 PyObject
* obj3
= 0 ;
30036 char * kwnames
[] = {
30037 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
30040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30042 if (!SWIG_IsOK(res1
)) {
30043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
30045 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30048 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30050 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30051 if (!SWIG_IsOK(res3
)) {
30052 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
30055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
30057 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30058 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
30059 if (!SWIG_IsOK(res4
)) {
30060 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
30063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
30065 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
30067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30068 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
30069 wxPyEndAllowThreads(__tstate
);
30070 if (PyErr_Occurred()) SWIG_fail
;
30073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30081 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30083 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30084 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
30085 return SWIG_Py_Void();
30088 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30089 return SWIG_Python_InitShadowInstance(args
);
30092 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30093 PyObject
*resultobj
= 0;
30097 wxSplitterRenderParams
*result
= 0 ;
30104 PyObject
* obj0
= 0 ;
30105 PyObject
* obj1
= 0 ;
30106 PyObject
* obj2
= 0 ;
30107 char * kwnames
[] = {
30108 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
30111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30112 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30113 if (!SWIG_IsOK(ecode1
)) {
30114 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
30116 arg1
= static_cast< int >(val1
);
30117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30118 if (!SWIG_IsOK(ecode2
)) {
30119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
30121 arg2
= static_cast< int >(val2
);
30122 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30123 if (!SWIG_IsOK(ecode3
)) {
30124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
30126 arg3
= static_cast< bool >(val3
);
30128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30129 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
30130 wxPyEndAllowThreads(__tstate
);
30131 if (PyErr_Occurred()) SWIG_fail
;
30133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
30140 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30141 PyObject
*resultobj
= 0;
30142 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30145 PyObject
*swig_obj
[1] ;
30147 if (!args
) SWIG_fail
;
30148 swig_obj
[0] = args
;
30149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
30150 if (!SWIG_IsOK(res1
)) {
30151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30153 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30158 wxPyEndAllowThreads(__tstate
);
30159 if (PyErr_Occurred()) SWIG_fail
;
30161 resultobj
= SWIG_Py_Void();
30168 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30169 PyObject
*resultobj
= 0;
30170 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30174 PyObject
*swig_obj
[1] ;
30176 if (!args
) SWIG_fail
;
30177 swig_obj
[0] = args
;
30178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30179 if (!SWIG_IsOK(res1
)) {
30180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30182 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30183 result
= (int)(int) ((arg1
)->widthSash
);
30184 resultobj
= SWIG_From_int(static_cast< int >(result
));
30191 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30192 PyObject
*resultobj
= 0;
30193 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30197 PyObject
*swig_obj
[1] ;
30199 if (!args
) SWIG_fail
;
30200 swig_obj
[0] = args
;
30201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30202 if (!SWIG_IsOK(res1
)) {
30203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30205 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30206 result
= (int)(int) ((arg1
)->border
);
30207 resultobj
= SWIG_From_int(static_cast< int >(result
));
30214 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30215 PyObject
*resultobj
= 0;
30216 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30220 PyObject
*swig_obj
[1] ;
30222 if (!args
) SWIG_fail
;
30223 swig_obj
[0] = args
;
30224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30225 if (!SWIG_IsOK(res1
)) {
30226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30228 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30229 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
30230 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
30237 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30240 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
30241 return SWIG_Py_Void();
30244 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30245 return SWIG_Python_InitShadowInstance(args
);
30248 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30249 PyObject
*resultobj
= 0;
30250 wxHeaderButtonParams
*result
= 0 ;
30252 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
30254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30255 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
30256 wxPyEndAllowThreads(__tstate
);
30257 if (PyErr_Occurred()) SWIG_fail
;
30259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
30266 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30267 PyObject
*resultobj
= 0;
30268 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30271 PyObject
*swig_obj
[1] ;
30273 if (!args
) SWIG_fail
;
30274 swig_obj
[0] = args
;
30275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
30276 if (!SWIG_IsOK(res1
)) {
30277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30279 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30284 wxPyEndAllowThreads(__tstate
);
30285 if (PyErr_Occurred()) SWIG_fail
;
30287 resultobj
= SWIG_Py_Void();
30294 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30295 PyObject
*resultobj
= 0;
30296 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30297 wxColour
*arg2
= (wxColour
*) 0 ;
30301 PyObject
*swig_obj
[2] ;
30303 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
30304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30305 if (!SWIG_IsOK(res1
)) {
30306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30308 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30311 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30313 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
30315 resultobj
= SWIG_Py_Void();
30322 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30323 PyObject
*resultobj
= 0;
30324 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30325 wxColour
*result
= 0 ;
30328 PyObject
*swig_obj
[1] ;
30330 if (!args
) SWIG_fail
;
30331 swig_obj
[0] = args
;
30332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30333 if (!SWIG_IsOK(res1
)) {
30334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30336 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30337 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
30338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30345 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30346 PyObject
*resultobj
= 0;
30347 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30348 wxColour
*arg2
= (wxColour
*) 0 ;
30352 PyObject
*swig_obj
[2] ;
30354 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
30355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30356 if (!SWIG_IsOK(res1
)) {
30357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30359 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30362 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30364 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
30366 resultobj
= SWIG_Py_Void();
30373 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30374 PyObject
*resultobj
= 0;
30375 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30376 wxColour
*result
= 0 ;
30379 PyObject
*swig_obj
[1] ;
30381 if (!args
) SWIG_fail
;
30382 swig_obj
[0] = args
;
30383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30384 if (!SWIG_IsOK(res1
)) {
30385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30387 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30388 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
30389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30396 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30397 PyObject
*resultobj
= 0;
30398 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30399 wxString
*arg2
= (wxString
*) 0 ;
30402 bool temp2
= false ;
30403 PyObject
*swig_obj
[2] ;
30405 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
30406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30407 if (!SWIG_IsOK(res1
)) {
30408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30410 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30412 arg2
= wxString_in_helper(swig_obj
[1]);
30413 if (arg2
== NULL
) SWIG_fail
;
30416 if (arg1
) (arg1
)->m_labelText
= *arg2
;
30418 resultobj
= SWIG_Py_Void();
30433 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30434 PyObject
*resultobj
= 0;
30435 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30436 wxString
*result
= 0 ;
30439 PyObject
*swig_obj
[1] ;
30441 if (!args
) SWIG_fail
;
30442 swig_obj
[0] = args
;
30443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30444 if (!SWIG_IsOK(res1
)) {
30445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30447 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30448 result
= (wxString
*)& ((arg1
)->m_labelText
);
30451 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30453 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30462 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30463 PyObject
*resultobj
= 0;
30464 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30465 wxFont
*arg2
= (wxFont
*) 0 ;
30470 PyObject
*swig_obj
[2] ;
30472 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
30473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30474 if (!SWIG_IsOK(res1
)) {
30475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30477 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30478 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
30479 if (!SWIG_IsOK(res2
)) {
30480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
30482 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30483 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
30485 resultobj
= SWIG_Py_Void();
30492 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30493 PyObject
*resultobj
= 0;
30494 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30495 wxFont
*result
= 0 ;
30498 PyObject
*swig_obj
[1] ;
30500 if (!args
) SWIG_fail
;
30501 swig_obj
[0] = args
;
30502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30503 if (!SWIG_IsOK(res1
)) {
30504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30506 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30507 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
30508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
30515 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30516 PyObject
*resultobj
= 0;
30517 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30518 wxColour
*arg2
= (wxColour
*) 0 ;
30522 PyObject
*swig_obj
[2] ;
30524 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
30525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30526 if (!SWIG_IsOK(res1
)) {
30527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30529 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30532 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30534 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
30536 resultobj
= SWIG_Py_Void();
30543 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30544 PyObject
*resultobj
= 0;
30545 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30546 wxColour
*result
= 0 ;
30549 PyObject
*swig_obj
[1] ;
30551 if (!args
) SWIG_fail
;
30552 swig_obj
[0] = args
;
30553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30554 if (!SWIG_IsOK(res1
)) {
30555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30557 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30558 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
30559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30566 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30567 PyObject
*resultobj
= 0;
30568 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30569 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30574 PyObject
*swig_obj
[2] ;
30576 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
30577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30578 if (!SWIG_IsOK(res1
)) {
30579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30581 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30582 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
30583 if (!SWIG_IsOK(res2
)) {
30584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
30586 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30587 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
30589 resultobj
= SWIG_Py_Void();
30596 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30597 PyObject
*resultobj
= 0;
30598 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30599 wxBitmap
*result
= 0 ;
30602 PyObject
*swig_obj
[1] ;
30604 if (!args
) SWIG_fail
;
30605 swig_obj
[0] = args
;
30606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30607 if (!SWIG_IsOK(res1
)) {
30608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30610 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30611 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
30612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
30619 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30620 PyObject
*resultobj
= 0;
30621 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30627 PyObject
*swig_obj
[2] ;
30629 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
30630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30631 if (!SWIG_IsOK(res1
)) {
30632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30634 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30635 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30636 if (!SWIG_IsOK(ecode2
)) {
30637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
30639 arg2
= static_cast< int >(val2
);
30640 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
30642 resultobj
= SWIG_Py_Void();
30649 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30650 PyObject
*resultobj
= 0;
30651 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30655 PyObject
*swig_obj
[1] ;
30657 if (!args
) SWIG_fail
;
30658 swig_obj
[0] = args
;
30659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30660 if (!SWIG_IsOK(res1
)) {
30661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30663 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30664 result
= (int) ((arg1
)->m_labelAlignment
);
30665 resultobj
= SWIG_From_int(static_cast< int >(result
));
30672 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30675 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
30676 return SWIG_Py_Void();
30679 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30680 return SWIG_Python_InitShadowInstance(args
);
30683 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30684 PyObject
*resultobj
= 0;
30687 wxRendererVersion
*result
= 0 ;
30692 PyObject
* obj0
= 0 ;
30693 PyObject
* obj1
= 0 ;
30694 char * kwnames
[] = {
30695 (char *) "version_",(char *) "age_", NULL
30698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30699 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30700 if (!SWIG_IsOK(ecode1
)) {
30701 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
30703 arg1
= static_cast< int >(val1
);
30704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30705 if (!SWIG_IsOK(ecode2
)) {
30706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
30708 arg2
= static_cast< int >(val2
);
30710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30711 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
30712 wxPyEndAllowThreads(__tstate
);
30713 if (PyErr_Occurred()) SWIG_fail
;
30715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
30722 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30723 PyObject
*resultobj
= 0;
30724 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30727 PyObject
*swig_obj
[1] ;
30729 if (!args
) SWIG_fail
;
30730 swig_obj
[0] = args
;
30731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
30732 if (!SWIG_IsOK(res1
)) {
30733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30735 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30740 wxPyEndAllowThreads(__tstate
);
30741 if (PyErr_Occurred()) SWIG_fail
;
30743 resultobj
= SWIG_Py_Void();
30750 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30751 PyObject
*resultobj
= 0;
30752 wxRendererVersion
*arg1
= 0 ;
30756 PyObject
* obj0
= 0 ;
30757 char * kwnames
[] = {
30758 (char *) "ver", NULL
30761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
30762 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
30763 if (!SWIG_IsOK(res1
)) {
30764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30769 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30772 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
30773 wxPyEndAllowThreads(__tstate
);
30774 if (PyErr_Occurred()) SWIG_fail
;
30777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30785 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30786 PyObject
*resultobj
= 0;
30787 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30791 PyObject
*swig_obj
[1] ;
30793 if (!args
) SWIG_fail
;
30794 swig_obj
[0] = args
;
30795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30796 if (!SWIG_IsOK(res1
)) {
30797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30799 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30800 result
= (int)(int) ((arg1
)->version
);
30801 resultobj
= SWIG_From_int(static_cast< int >(result
));
30808 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30809 PyObject
*resultobj
= 0;
30810 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30814 PyObject
*swig_obj
[1] ;
30816 if (!args
) SWIG_fail
;
30817 swig_obj
[0] = args
;
30818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30819 if (!SWIG_IsOK(res1
)) {
30820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30822 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30823 result
= (int)(int) ((arg1
)->age
);
30824 resultobj
= SWIG_From_int(static_cast< int >(result
));
30831 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30834 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
30835 return SWIG_Py_Void();
30838 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30839 return SWIG_Python_InitShadowInstance(args
);
30842 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30843 PyObject
*resultobj
= 0;
30844 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30845 wxWindow
*arg2
= (wxWindow
*) 0 ;
30848 int arg5
= (int) 0 ;
30849 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30850 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30864 PyObject
* obj0
= 0 ;
30865 PyObject
* obj1
= 0 ;
30866 PyObject
* obj2
= 0 ;
30867 PyObject
* obj3
= 0 ;
30868 PyObject
* obj4
= 0 ;
30869 PyObject
* obj5
= 0 ;
30870 PyObject
* obj6
= 0 ;
30871 char * kwnames
[] = {
30872 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30877 if (!SWIG_IsOK(res1
)) {
30878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30880 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30881 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30882 if (!SWIG_IsOK(res2
)) {
30883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30885 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30886 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30887 if (!SWIG_IsOK(res3
)) {
30888 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30893 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30896 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30899 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30900 if (!SWIG_IsOK(ecode5
)) {
30901 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
30903 arg5
= static_cast< int >(val5
);
30906 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30907 if (!SWIG_IsOK(ecode6
)) {
30908 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30910 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30913 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30914 if (!SWIG_IsOK(res7
)) {
30915 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30917 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30921 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30922 wxPyEndAllowThreads(__tstate
);
30923 if (PyErr_Occurred()) SWIG_fail
;
30925 resultobj
= SWIG_Py_Void();
30932 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30933 PyObject
*resultobj
= 0;
30934 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30935 wxWindow
*arg2
= (wxWindow
*) 0 ;
30938 int arg5
= (int) 0 ;
30939 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30940 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30954 PyObject
* obj0
= 0 ;
30955 PyObject
* obj1
= 0 ;
30956 PyObject
* obj2
= 0 ;
30957 PyObject
* obj3
= 0 ;
30958 PyObject
* obj4
= 0 ;
30959 PyObject
* obj5
= 0 ;
30960 PyObject
* obj6
= 0 ;
30961 char * kwnames
[] = {
30962 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30967 if (!SWIG_IsOK(res1
)) {
30968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30970 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30971 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30972 if (!SWIG_IsOK(res2
)) {
30973 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
30975 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30976 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30977 if (!SWIG_IsOK(res3
)) {
30978 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30983 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30986 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30989 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30990 if (!SWIG_IsOK(ecode5
)) {
30991 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
30993 arg5
= static_cast< int >(val5
);
30996 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30997 if (!SWIG_IsOK(ecode6
)) {
30998 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
31000 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
31003 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
31004 if (!SWIG_IsOK(res7
)) {
31005 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
31007 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
31010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31011 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
31012 wxPyEndAllowThreads(__tstate
);
31013 if (PyErr_Occurred()) SWIG_fail
;
31015 resultobj
= SWIG_Py_Void();
31022 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31023 PyObject
*resultobj
= 0;
31024 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31025 wxWindow
*arg2
= (wxWindow
*) 0 ;
31031 PyObject
* obj0
= 0 ;
31032 PyObject
* obj1
= 0 ;
31033 char * kwnames
[] = {
31034 (char *) "self",(char *) "win", NULL
31037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31039 if (!SWIG_IsOK(res1
)) {
31040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31042 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31043 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31044 if (!SWIG_IsOK(res2
)) {
31045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
31047 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31050 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
31051 wxPyEndAllowThreads(__tstate
);
31052 if (PyErr_Occurred()) SWIG_fail
;
31054 resultobj
= SWIG_From_int(static_cast< int >(result
));
31061 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31062 PyObject
*resultobj
= 0;
31063 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31064 wxWindow
*arg2
= (wxWindow
*) 0 ;
31067 int arg5
= (int) 0 ;
31077 PyObject
* obj0
= 0 ;
31078 PyObject
* obj1
= 0 ;
31079 PyObject
* obj2
= 0 ;
31080 PyObject
* obj3
= 0 ;
31081 PyObject
* obj4
= 0 ;
31082 char * kwnames
[] = {
31083 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31088 if (!SWIG_IsOK(res1
)) {
31089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31091 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31092 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31093 if (!SWIG_IsOK(res2
)) {
31094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31096 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31097 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31098 if (!SWIG_IsOK(res3
)) {
31099 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
31102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
31104 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31107 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31110 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31111 if (!SWIG_IsOK(ecode5
)) {
31112 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
31114 arg5
= static_cast< int >(val5
);
31117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31118 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31119 wxPyEndAllowThreads(__tstate
);
31120 if (PyErr_Occurred()) SWIG_fail
;
31122 resultobj
= SWIG_Py_Void();
31129 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31130 PyObject
*resultobj
= 0;
31131 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31132 wxWindow
*arg2
= (wxWindow
*) 0 ;
31135 int arg5
= (int) 0 ;
31145 PyObject
* obj0
= 0 ;
31146 PyObject
* obj1
= 0 ;
31147 PyObject
* obj2
= 0 ;
31148 PyObject
* obj3
= 0 ;
31149 PyObject
* obj4
= 0 ;
31150 char * kwnames
[] = {
31151 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31156 if (!SWIG_IsOK(res1
)) {
31157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31159 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31160 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31161 if (!SWIG_IsOK(res2
)) {
31162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
31164 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31165 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31166 if (!SWIG_IsOK(res3
)) {
31167 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
31170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
31172 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31175 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31178 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31179 if (!SWIG_IsOK(ecode5
)) {
31180 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
31182 arg5
= static_cast< int >(val5
);
31185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31186 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31187 wxPyEndAllowThreads(__tstate
);
31188 if (PyErr_Occurred()) SWIG_fail
;
31190 resultobj
= SWIG_Py_Void();
31197 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31198 PyObject
*resultobj
= 0;
31199 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31200 wxWindow
*arg2
= (wxWindow
*) 0 ;
31204 wxOrientation arg6
;
31205 int arg7
= (int) 0 ;
31219 PyObject
* obj0
= 0 ;
31220 PyObject
* obj1
= 0 ;
31221 PyObject
* obj2
= 0 ;
31222 PyObject
* obj3
= 0 ;
31223 PyObject
* obj4
= 0 ;
31224 PyObject
* obj5
= 0 ;
31225 PyObject
* obj6
= 0 ;
31226 char * kwnames
[] = {
31227 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
31230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31232 if (!SWIG_IsOK(res1
)) {
31233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31235 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31236 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31237 if (!SWIG_IsOK(res2
)) {
31238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
31240 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31241 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31242 if (!SWIG_IsOK(res3
)) {
31243 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
31246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
31248 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31251 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31253 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31254 if (!SWIG_IsOK(ecode5
)) {
31255 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
31257 arg5
= static_cast< int >(val5
);
31258 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31259 if (!SWIG_IsOK(ecode6
)) {
31260 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
31262 arg6
= static_cast< wxOrientation
>(val6
);
31264 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
31265 if (!SWIG_IsOK(ecode7
)) {
31266 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
31268 arg7
= static_cast< int >(val7
);
31271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31272 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
31273 wxPyEndAllowThreads(__tstate
);
31274 if (PyErr_Occurred()) SWIG_fail
;
31276 resultobj
= SWIG_Py_Void();
31283 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31284 PyObject
*resultobj
= 0;
31285 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31286 wxWindow
*arg2
= (wxWindow
*) 0 ;
31289 int arg5
= (int) 0 ;
31299 PyObject
* obj0
= 0 ;
31300 PyObject
* obj1
= 0 ;
31301 PyObject
* obj2
= 0 ;
31302 PyObject
* obj3
= 0 ;
31303 PyObject
* obj4
= 0 ;
31304 char * kwnames
[] = {
31305 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31310 if (!SWIG_IsOK(res1
)) {
31311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31313 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31314 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31315 if (!SWIG_IsOK(res2
)) {
31316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31318 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31319 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31320 if (!SWIG_IsOK(res3
)) {
31321 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
31324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
31326 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31329 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31332 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31333 if (!SWIG_IsOK(ecode5
)) {
31334 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
31336 arg5
= static_cast< int >(val5
);
31339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31340 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31341 wxPyEndAllowThreads(__tstate
);
31342 if (PyErr_Occurred()) SWIG_fail
;
31344 resultobj
= SWIG_Py_Void();
31351 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31352 PyObject
*resultobj
= 0;
31353 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31354 wxWindow
*arg2
= (wxWindow
*) 0 ;
31357 int arg5
= (int) 0 ;
31367 PyObject
* obj0
= 0 ;
31368 PyObject
* obj1
= 0 ;
31369 PyObject
* obj2
= 0 ;
31370 PyObject
* obj3
= 0 ;
31371 PyObject
* obj4
= 0 ;
31372 char * kwnames
[] = {
31373 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31378 if (!SWIG_IsOK(res1
)) {
31379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31381 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31382 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31383 if (!SWIG_IsOK(res2
)) {
31384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
31386 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31387 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31388 if (!SWIG_IsOK(res3
)) {
31389 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
31392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
31394 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31397 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31400 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31401 if (!SWIG_IsOK(ecode5
)) {
31402 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
31404 arg5
= static_cast< int >(val5
);
31407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31408 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31409 wxPyEndAllowThreads(__tstate
);
31410 if (PyErr_Occurred()) SWIG_fail
;
31412 resultobj
= SWIG_Py_Void();
31419 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31420 PyObject
*resultobj
= 0;
31421 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31422 wxWindow
*arg2
= (wxWindow
*) 0 ;
31425 int arg5
= (int) 0 ;
31435 PyObject
* obj0
= 0 ;
31436 PyObject
* obj1
= 0 ;
31437 PyObject
* obj2
= 0 ;
31438 PyObject
* obj3
= 0 ;
31439 PyObject
* obj4
= 0 ;
31440 char * kwnames
[] = {
31441 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31446 if (!SWIG_IsOK(res1
)) {
31447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31449 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31450 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31451 if (!SWIG_IsOK(res2
)) {
31452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
31454 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31455 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31456 if (!SWIG_IsOK(res3
)) {
31457 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
31460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
31462 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31465 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31468 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31469 if (!SWIG_IsOK(ecode5
)) {
31470 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
31472 arg5
= static_cast< int >(val5
);
31475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31476 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31477 wxPyEndAllowThreads(__tstate
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31480 resultobj
= SWIG_Py_Void();
31487 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31488 PyObject
*resultobj
= 0;
31489 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31490 wxWindow
*arg2
= (wxWindow
*) 0 ;
31493 int arg5
= (int) 0 ;
31503 PyObject
* obj0
= 0 ;
31504 PyObject
* obj1
= 0 ;
31505 PyObject
* obj2
= 0 ;
31506 PyObject
* obj3
= 0 ;
31507 PyObject
* obj4
= 0 ;
31508 char * kwnames
[] = {
31509 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31514 if (!SWIG_IsOK(res1
)) {
31515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31517 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31518 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31519 if (!SWIG_IsOK(res2
)) {
31520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31522 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31523 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31524 if (!SWIG_IsOK(res3
)) {
31525 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
31528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
31530 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31533 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31536 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31537 if (!SWIG_IsOK(ecode5
)) {
31538 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
31540 arg5
= static_cast< int >(val5
);
31543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31544 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31545 wxPyEndAllowThreads(__tstate
);
31546 if (PyErr_Occurred()) SWIG_fail
;
31548 resultobj
= SWIG_Py_Void();
31555 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31556 PyObject
*resultobj
= 0;
31557 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31558 wxWindow
*arg2
= (wxWindow
*) 0 ;
31561 int arg5
= (int) 0 ;
31571 PyObject
* obj0
= 0 ;
31572 PyObject
* obj1
= 0 ;
31573 PyObject
* obj2
= 0 ;
31574 PyObject
* obj3
= 0 ;
31575 PyObject
* obj4
= 0 ;
31576 char * kwnames
[] = {
31577 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31582 if (!SWIG_IsOK(res1
)) {
31583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31585 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31586 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31587 if (!SWIG_IsOK(res2
)) {
31588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
31590 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31591 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31592 if (!SWIG_IsOK(res3
)) {
31593 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
31596 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
31598 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31601 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31604 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31605 if (!SWIG_IsOK(ecode5
)) {
31606 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
31608 arg5
= static_cast< int >(val5
);
31611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31612 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31613 wxPyEndAllowThreads(__tstate
);
31614 if (PyErr_Occurred()) SWIG_fail
;
31616 resultobj
= SWIG_Py_Void();
31623 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31624 PyObject
*resultobj
= 0;
31625 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31626 wxWindow
*arg2
= (wxWindow
*) 0 ;
31627 SwigValueWrapper
<wxSplitterRenderParams
> result
;
31632 PyObject
* obj0
= 0 ;
31633 PyObject
* obj1
= 0 ;
31634 char * kwnames
[] = {
31635 (char *) "self",(char *) "win", NULL
31638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31640 if (!SWIG_IsOK(res1
)) {
31641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31643 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31644 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31645 if (!SWIG_IsOK(res2
)) {
31646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
31648 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31651 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
31652 wxPyEndAllowThreads(__tstate
);
31653 if (PyErr_Occurred()) SWIG_fail
;
31655 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
31662 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31663 PyObject
*resultobj
= 0;
31664 wxRendererNative
*result
= 0 ;
31666 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
31668 if (!wxPyCheckForApp()) SWIG_fail
;
31669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31671 wxRendererNative
&_result_ref
= wxRendererNative::Get();
31672 result
= (wxRendererNative
*) &_result_ref
;
31674 wxPyEndAllowThreads(__tstate
);
31675 if (PyErr_Occurred()) SWIG_fail
;
31677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31684 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31685 PyObject
*resultobj
= 0;
31686 wxRendererNative
*result
= 0 ;
31688 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
31690 if (!wxPyCheckForApp()) SWIG_fail
;
31691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31693 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
31694 result
= (wxRendererNative
*) &_result_ref
;
31696 wxPyEndAllowThreads(__tstate
);
31697 if (PyErr_Occurred()) SWIG_fail
;
31699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31706 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31707 PyObject
*resultobj
= 0;
31708 wxRendererNative
*result
= 0 ;
31710 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
31712 if (!wxPyCheckForApp()) SWIG_fail
;
31713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31715 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
31716 result
= (wxRendererNative
*) &_result_ref
;
31718 wxPyEndAllowThreads(__tstate
);
31719 if (PyErr_Occurred()) SWIG_fail
;
31721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31728 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31729 PyObject
*resultobj
= 0;
31730 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31731 wxRendererNative
*result
= 0 ;
31734 PyObject
* obj0
= 0 ;
31735 char * kwnames
[] = {
31736 (char *) "renderer", NULL
31739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
31740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31741 if (!SWIG_IsOK(res1
)) {
31742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31744 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31746 if (!wxPyCheckForApp()) SWIG_fail
;
31747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31748 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
31749 wxPyEndAllowThreads(__tstate
);
31750 if (PyErr_Occurred()) SWIG_fail
;
31752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31759 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31760 PyObject
*resultobj
= 0;
31761 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31762 SwigValueWrapper
<wxRendererVersion
> result
;
31765 PyObject
*swig_obj
[1] ;
31767 if (!args
) SWIG_fail
;
31768 swig_obj
[0] = args
;
31769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31770 if (!SWIG_IsOK(res1
)) {
31771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
31773 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31776 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
31777 wxPyEndAllowThreads(__tstate
);
31778 if (PyErr_Occurred()) SWIG_fail
;
31780 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
31787 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31789 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31790 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
31791 return SWIG_Py_Void();
31794 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31795 PyObject
*resultobj
= 0;
31796 wxPseudoDC
*result
= 0 ;
31798 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
31800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31801 result
= (wxPseudoDC
*)new wxPseudoDC();
31802 wxPyEndAllowThreads(__tstate
);
31803 if (PyErr_Occurred()) SWIG_fail
;
31805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
31812 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31813 PyObject
*resultobj
= 0;
31814 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31817 PyObject
*swig_obj
[1] ;
31819 if (!args
) SWIG_fail
;
31820 swig_obj
[0] = args
;
31821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31822 if (!SWIG_IsOK(res1
)) {
31823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31825 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31828 (arg1
)->BeginDrawing();
31829 wxPyEndAllowThreads(__tstate
);
31830 if (PyErr_Occurred()) SWIG_fail
;
31832 resultobj
= SWIG_Py_Void();
31839 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31840 PyObject
*resultobj
= 0;
31841 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31844 PyObject
*swig_obj
[1] ;
31846 if (!args
) SWIG_fail
;
31847 swig_obj
[0] = args
;
31848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31849 if (!SWIG_IsOK(res1
)) {
31850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31852 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31855 (arg1
)->EndDrawing();
31856 wxPyEndAllowThreads(__tstate
);
31857 if (PyErr_Occurred()) SWIG_fail
;
31859 resultobj
= SWIG_Py_Void();
31866 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31867 PyObject
*resultobj
= 0;
31868 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31871 PyObject
*swig_obj
[1] ;
31873 if (!args
) SWIG_fail
;
31874 swig_obj
[0] = args
;
31875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
31876 if (!SWIG_IsOK(res1
)) {
31877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31879 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31884 wxPyEndAllowThreads(__tstate
);
31885 if (PyErr_Occurred()) SWIG_fail
;
31887 resultobj
= SWIG_Py_Void();
31894 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31895 PyObject
*resultobj
= 0;
31896 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31899 PyObject
*swig_obj
[1] ;
31901 if (!args
) SWIG_fail
;
31902 swig_obj
[0] = args
;
31903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31904 if (!SWIG_IsOK(res1
)) {
31905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31907 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31910 (arg1
)->RemoveAll();
31911 wxPyEndAllowThreads(__tstate
);
31912 if (PyErr_Occurred()) SWIG_fail
;
31914 resultobj
= SWIG_Py_Void();
31921 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31922 PyObject
*resultobj
= 0;
31923 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31927 PyObject
*swig_obj
[1] ;
31929 if (!args
) SWIG_fail
;
31930 swig_obj
[0] = args
;
31931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31932 if (!SWIG_IsOK(res1
)) {
31933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31935 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31938 result
= (int)(arg1
)->GetLen();
31939 wxPyEndAllowThreads(__tstate
);
31940 if (PyErr_Occurred()) SWIG_fail
;
31942 resultobj
= SWIG_From_int(static_cast< int >(result
));
31949 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31950 PyObject
*resultobj
= 0;
31951 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31957 PyObject
* obj0
= 0 ;
31958 PyObject
* obj1
= 0 ;
31959 char * kwnames
[] = {
31960 (char *) "self",(char *) "id", NULL
31963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31965 if (!SWIG_IsOK(res1
)) {
31966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31968 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31970 if (!SWIG_IsOK(ecode2
)) {
31971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
31973 arg2
= static_cast< int >(val2
);
31975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31976 (arg1
)->SetId(arg2
);
31977 wxPyEndAllowThreads(__tstate
);
31978 if (PyErr_Occurred()) SWIG_fail
;
31980 resultobj
= SWIG_Py_Void();
31987 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31988 PyObject
*resultobj
= 0;
31989 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31995 PyObject
* obj0
= 0 ;
31996 PyObject
* obj1
= 0 ;
31997 char * kwnames
[] = {
31998 (char *) "self",(char *) "id", NULL
32001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32003 if (!SWIG_IsOK(res1
)) {
32004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32006 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32008 if (!SWIG_IsOK(ecode2
)) {
32009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
32011 arg2
= static_cast< int >(val2
);
32013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32014 (arg1
)->ClearId(arg2
);
32015 wxPyEndAllowThreads(__tstate
);
32016 if (PyErr_Occurred()) SWIG_fail
;
32018 resultobj
= SWIG_Py_Void();
32025 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32026 PyObject
*resultobj
= 0;
32027 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32033 PyObject
* obj0
= 0 ;
32034 PyObject
* obj1
= 0 ;
32035 char * kwnames
[] = {
32036 (char *) "self",(char *) "id", NULL
32039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32041 if (!SWIG_IsOK(res1
)) {
32042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32044 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32046 if (!SWIG_IsOK(ecode2
)) {
32047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
32049 arg2
= static_cast< int >(val2
);
32051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32052 (arg1
)->RemoveId(arg2
);
32053 wxPyEndAllowThreads(__tstate
);
32054 if (PyErr_Occurred()) SWIG_fail
;
32056 resultobj
= SWIG_Py_Void();
32063 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32064 PyObject
*resultobj
= 0;
32065 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32077 PyObject
* obj0
= 0 ;
32078 PyObject
* obj1
= 0 ;
32079 PyObject
* obj2
= 0 ;
32080 PyObject
* obj3
= 0 ;
32081 char * kwnames
[] = {
32082 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
32085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32087 if (!SWIG_IsOK(res1
)) {
32088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32090 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32092 if (!SWIG_IsOK(ecode2
)) {
32093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
32095 arg2
= static_cast< int >(val2
);
32096 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32097 if (!SWIG_IsOK(ecode3
)) {
32098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
32100 arg3
= static_cast< int >(val3
);
32101 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32102 if (!SWIG_IsOK(ecode4
)) {
32103 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
32105 arg4
= static_cast< int >(val4
);
32107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32108 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
32109 wxPyEndAllowThreads(__tstate
);
32110 if (PyErr_Occurred()) SWIG_fail
;
32112 resultobj
= SWIG_Py_Void();
32119 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32120 PyObject
*resultobj
= 0;
32121 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32123 bool arg3
= (bool) true ;
32130 PyObject
* obj0
= 0 ;
32131 PyObject
* obj1
= 0 ;
32132 PyObject
* obj2
= 0 ;
32133 char * kwnames
[] = {
32134 (char *) "self",(char *) "id",(char *) "greyout", NULL
32137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32139 if (!SWIG_IsOK(res1
)) {
32140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32142 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32144 if (!SWIG_IsOK(ecode2
)) {
32145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
32147 arg2
= static_cast< int >(val2
);
32149 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32150 if (!SWIG_IsOK(ecode3
)) {
32151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
32153 arg3
= static_cast< bool >(val3
);
32156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32157 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
32158 wxPyEndAllowThreads(__tstate
);
32159 if (PyErr_Occurred()) SWIG_fail
;
32161 resultobj
= SWIG_Py_Void();
32168 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32169 PyObject
*resultobj
= 0;
32170 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32177 PyObject
* obj0
= 0 ;
32178 PyObject
* obj1
= 0 ;
32179 char * kwnames
[] = {
32180 (char *) "self",(char *) "id", NULL
32183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32185 if (!SWIG_IsOK(res1
)) {
32186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32188 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32190 if (!SWIG_IsOK(ecode2
)) {
32191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
32193 arg2
= static_cast< int >(val2
);
32195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32196 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
32197 wxPyEndAllowThreads(__tstate
);
32198 if (PyErr_Occurred()) SWIG_fail
;
32201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32209 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32210 PyObject
*resultobj
= 0;
32211 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32214 int arg4
= (int) 1 ;
32215 wxColor
const &arg5_defvalue
= *wxWHITE
;
32216 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
32217 PyObject
*result
= 0 ;
32228 PyObject
* obj0
= 0 ;
32229 PyObject
* obj1
= 0 ;
32230 PyObject
* obj2
= 0 ;
32231 PyObject
* obj3
= 0 ;
32232 PyObject
* obj4
= 0 ;
32233 char * kwnames
[] = {
32234 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
32237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32239 if (!SWIG_IsOK(res1
)) {
32240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32242 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32244 if (!SWIG_IsOK(ecode2
)) {
32245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
32247 arg2
= static_cast< int >(val2
);
32248 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32249 if (!SWIG_IsOK(ecode3
)) {
32250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
32252 arg3
= static_cast< int >(val3
);
32254 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32255 if (!SWIG_IsOK(ecode4
)) {
32256 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
32258 arg4
= static_cast< int >(val4
);
32261 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
32262 if (!SWIG_IsOK(res5
)) {
32263 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
32266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
32268 arg5
= reinterpret_cast< wxColor
* >(argp5
);
32271 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
32272 if (PyErr_Occurred()) SWIG_fail
;
32274 resultobj
= result
;
32281 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32282 PyObject
*resultobj
= 0;
32283 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32286 PyObject
*result
= 0 ;
32293 PyObject
* obj0
= 0 ;
32294 PyObject
* obj1
= 0 ;
32295 PyObject
* obj2
= 0 ;
32296 char * kwnames
[] = {
32297 (char *) "self",(char *) "x",(char *) "y", NULL
32300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32302 if (!SWIG_IsOK(res1
)) {
32303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32305 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32307 if (!SWIG_IsOK(ecode2
)) {
32308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
32310 arg2
= static_cast< int >(val2
);
32311 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32312 if (!SWIG_IsOK(ecode3
)) {
32313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
32315 arg3
= static_cast< int >(val3
);
32317 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
32318 if (PyErr_Occurred()) SWIG_fail
;
32320 resultobj
= result
;
32327 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32328 PyObject
*resultobj
= 0;
32329 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32331 wxDC
*arg3
= (wxDC
*) 0 ;
32338 PyObject
* obj0
= 0 ;
32339 PyObject
* obj1
= 0 ;
32340 PyObject
* obj2
= 0 ;
32341 char * kwnames
[] = {
32342 (char *) "self",(char *) "id",(char *) "dc", NULL
32345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32347 if (!SWIG_IsOK(res1
)) {
32348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32350 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32352 if (!SWIG_IsOK(ecode2
)) {
32353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
32355 arg2
= static_cast< int >(val2
);
32356 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
32357 if (!SWIG_IsOK(res3
)) {
32358 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
32360 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32363 (arg1
)->DrawIdToDC(arg2
,arg3
);
32364 wxPyEndAllowThreads(__tstate
);
32365 if (PyErr_Occurred()) SWIG_fail
;
32367 resultobj
= SWIG_Py_Void();
32374 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32375 PyObject
*resultobj
= 0;
32376 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32384 PyObject
* obj0
= 0 ;
32385 PyObject
* obj1
= 0 ;
32386 PyObject
* obj2
= 0 ;
32387 char * kwnames
[] = {
32388 (char *) "self",(char *) "id",(char *) "rect", NULL
32391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetIdBounds" "', 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_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
32401 arg2
= static_cast< int >(val2
);
32404 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32408 (arg1
)->SetIdBounds(arg2
,*arg3
);
32409 wxPyEndAllowThreads(__tstate
);
32410 if (PyErr_Occurred()) SWIG_fail
;
32412 resultobj
= SWIG_Py_Void();
32419 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32420 PyObject
*resultobj
= 0;
32421 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32428 PyObject
* obj0
= 0 ;
32429 PyObject
* obj1
= 0 ;
32430 char * kwnames
[] = {
32431 (char *) "self",(char *) "id", NULL
32434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32436 if (!SWIG_IsOK(res1
)) {
32437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32439 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32441 if (!SWIG_IsOK(ecode2
)) {
32442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
32444 arg2
= static_cast< int >(val2
);
32446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32447 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
32448 wxPyEndAllowThreads(__tstate
);
32449 if (PyErr_Occurred()) SWIG_fail
;
32451 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
32458 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32459 PyObject
*resultobj
= 0;
32460 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32461 wxDC
*arg2
= (wxDC
*) 0 ;
32468 PyObject
* obj0
= 0 ;
32469 PyObject
* obj1
= 0 ;
32470 PyObject
* obj2
= 0 ;
32471 char * kwnames
[] = {
32472 (char *) "self",(char *) "dc",(char *) "rect", NULL
32475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32477 if (!SWIG_IsOK(res1
)) {
32478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32480 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32481 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32482 if (!SWIG_IsOK(res2
)) {
32483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
32485 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32488 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32492 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
32493 wxPyEndAllowThreads(__tstate
);
32494 if (PyErr_Occurred()) SWIG_fail
;
32496 resultobj
= SWIG_Py_Void();
32503 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32504 PyObject
*resultobj
= 0;
32505 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32506 wxDC
*arg2
= (wxDC
*) 0 ;
32507 wxRegion
*arg3
= 0 ;
32514 PyObject
* obj0
= 0 ;
32515 PyObject
* obj1
= 0 ;
32516 PyObject
* obj2
= 0 ;
32517 char * kwnames
[] = {
32518 (char *) "self",(char *) "dc",(char *) "region", NULL
32521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32523 if (!SWIG_IsOK(res1
)) {
32524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32526 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32527 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32528 if (!SWIG_IsOK(res2
)) {
32529 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
32531 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32532 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
32533 if (!SWIG_IsOK(res3
)) {
32534 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
32537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
32539 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
32541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32542 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
32543 wxPyEndAllowThreads(__tstate
);
32544 if (PyErr_Occurred()) SWIG_fail
;
32546 resultobj
= SWIG_Py_Void();
32553 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32554 PyObject
*resultobj
= 0;
32555 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32556 wxDC
*arg2
= (wxDC
*) 0 ;
32561 PyObject
* obj0
= 0 ;
32562 PyObject
* obj1
= 0 ;
32563 char * kwnames
[] = {
32564 (char *) "self",(char *) "dc", NULL
32567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32569 if (!SWIG_IsOK(res1
)) {
32570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32572 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32573 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32574 if (!SWIG_IsOK(res2
)) {
32575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
32577 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32580 (arg1
)->DrawToDC(arg2
);
32581 wxPyEndAllowThreads(__tstate
);
32582 if (PyErr_Occurred()) SWIG_fail
;
32584 resultobj
= SWIG_Py_Void();
32591 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32592 PyObject
*resultobj
= 0;
32593 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32596 wxColour
*arg4
= 0 ;
32597 int arg5
= (int) wxFLOOD_SURFACE
;
32607 PyObject
* obj0
= 0 ;
32608 PyObject
* obj1
= 0 ;
32609 PyObject
* obj2
= 0 ;
32610 PyObject
* obj3
= 0 ;
32611 PyObject
* obj4
= 0 ;
32612 char * kwnames
[] = {
32613 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
32616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32618 if (!SWIG_IsOK(res1
)) {
32619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32621 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32623 if (!SWIG_IsOK(ecode2
)) {
32624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
32626 arg2
= static_cast< int >(val2
);
32627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32628 if (!SWIG_IsOK(ecode3
)) {
32629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
32631 arg3
= static_cast< int >(val3
);
32634 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
32637 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32638 if (!SWIG_IsOK(ecode5
)) {
32639 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
32641 arg5
= static_cast< int >(val5
);
32644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32645 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
32646 wxPyEndAllowThreads(__tstate
);
32647 if (PyErr_Occurred()) SWIG_fail
;
32649 resultobj
= SWIG_Py_Void();
32656 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32657 PyObject
*resultobj
= 0;
32658 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32659 wxPoint
*arg2
= 0 ;
32660 wxColour
*arg3
= 0 ;
32661 int arg4
= (int) wxFLOOD_SURFACE
;
32668 PyObject
* obj0
= 0 ;
32669 PyObject
* obj1
= 0 ;
32670 PyObject
* obj2
= 0 ;
32671 PyObject
* obj3
= 0 ;
32672 char * kwnames
[] = {
32673 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
32676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32678 if (!SWIG_IsOK(res1
)) {
32679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32681 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32684 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32688 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32691 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32692 if (!SWIG_IsOK(ecode4
)) {
32693 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
32695 arg4
= static_cast< int >(val4
);
32698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32699 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
32700 wxPyEndAllowThreads(__tstate
);
32701 if (PyErr_Occurred()) SWIG_fail
;
32703 resultobj
= SWIG_Py_Void();
32710 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32711 PyObject
*resultobj
= 0;
32712 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32727 PyObject
* obj0
= 0 ;
32728 PyObject
* obj1
= 0 ;
32729 PyObject
* obj2
= 0 ;
32730 PyObject
* obj3
= 0 ;
32731 PyObject
* obj4
= 0 ;
32732 char * kwnames
[] = {
32733 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
32736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32738 if (!SWIG_IsOK(res1
)) {
32739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32741 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32743 if (!SWIG_IsOK(ecode2
)) {
32744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
32746 arg2
= static_cast< int >(val2
);
32747 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32748 if (!SWIG_IsOK(ecode3
)) {
32749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
32751 arg3
= static_cast< int >(val3
);
32752 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32753 if (!SWIG_IsOK(ecode4
)) {
32754 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
32756 arg4
= static_cast< int >(val4
);
32757 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32758 if (!SWIG_IsOK(ecode5
)) {
32759 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
32761 arg5
= static_cast< int >(val5
);
32763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32764 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
32765 wxPyEndAllowThreads(__tstate
);
32766 if (PyErr_Occurred()) SWIG_fail
;
32768 resultobj
= SWIG_Py_Void();
32775 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32776 PyObject
*resultobj
= 0;
32777 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32778 wxPoint
*arg2
= 0 ;
32779 wxPoint
*arg3
= 0 ;
32784 PyObject
* obj0
= 0 ;
32785 PyObject
* obj1
= 0 ;
32786 PyObject
* obj2
= 0 ;
32787 char * kwnames
[] = {
32788 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
32791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32793 if (!SWIG_IsOK(res1
)) {
32794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32796 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32799 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32803 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32807 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
32808 wxPyEndAllowThreads(__tstate
);
32809 if (PyErr_Occurred()) SWIG_fail
;
32811 resultobj
= SWIG_Py_Void();
32818 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32819 PyObject
*resultobj
= 0;
32820 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32829 PyObject
* obj0
= 0 ;
32830 PyObject
* obj1
= 0 ;
32831 PyObject
* obj2
= 0 ;
32832 char * kwnames
[] = {
32833 (char *) "self",(char *) "x",(char *) "y", NULL
32836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32838 if (!SWIG_IsOK(res1
)) {
32839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32841 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32843 if (!SWIG_IsOK(ecode2
)) {
32844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
32846 arg2
= static_cast< int >(val2
);
32847 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32848 if (!SWIG_IsOK(ecode3
)) {
32849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
32851 arg3
= static_cast< int >(val3
);
32853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32854 (arg1
)->CrossHair(arg2
,arg3
);
32855 wxPyEndAllowThreads(__tstate
);
32856 if (PyErr_Occurred()) SWIG_fail
;
32858 resultobj
= SWIG_Py_Void();
32865 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32866 PyObject
*resultobj
= 0;
32867 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32868 wxPoint
*arg2
= 0 ;
32872 PyObject
* obj0
= 0 ;
32873 PyObject
* obj1
= 0 ;
32874 char * kwnames
[] = {
32875 (char *) "self",(char *) "pt", NULL
32878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32880 if (!SWIG_IsOK(res1
)) {
32881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32883 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32886 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32890 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
32891 wxPyEndAllowThreads(__tstate
);
32892 if (PyErr_Occurred()) SWIG_fail
;
32894 resultobj
= SWIG_Py_Void();
32901 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32902 PyObject
*resultobj
= 0;
32903 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32924 PyObject
* obj0
= 0 ;
32925 PyObject
* obj1
= 0 ;
32926 PyObject
* obj2
= 0 ;
32927 PyObject
* obj3
= 0 ;
32928 PyObject
* obj4
= 0 ;
32929 PyObject
* obj5
= 0 ;
32930 PyObject
* obj6
= 0 ;
32931 char * kwnames
[] = {
32932 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
32935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32937 if (!SWIG_IsOK(res1
)) {
32938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32940 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32942 if (!SWIG_IsOK(ecode2
)) {
32943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
32945 arg2
= static_cast< int >(val2
);
32946 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32947 if (!SWIG_IsOK(ecode3
)) {
32948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
32950 arg3
= static_cast< int >(val3
);
32951 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32952 if (!SWIG_IsOK(ecode4
)) {
32953 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
32955 arg4
= static_cast< int >(val4
);
32956 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32957 if (!SWIG_IsOK(ecode5
)) {
32958 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
32960 arg5
= static_cast< int >(val5
);
32961 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32962 if (!SWIG_IsOK(ecode6
)) {
32963 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
32965 arg6
= static_cast< int >(val6
);
32966 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
32967 if (!SWIG_IsOK(ecode7
)) {
32968 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
32970 arg7
= static_cast< int >(val7
);
32972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32973 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32974 wxPyEndAllowThreads(__tstate
);
32975 if (PyErr_Occurred()) SWIG_fail
;
32977 resultobj
= SWIG_Py_Void();
32984 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32985 PyObject
*resultobj
= 0;
32986 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32987 wxPoint
*arg2
= 0 ;
32988 wxPoint
*arg3
= 0 ;
32989 wxPoint
*arg4
= 0 ;
32995 PyObject
* obj0
= 0 ;
32996 PyObject
* obj1
= 0 ;
32997 PyObject
* obj2
= 0 ;
32998 PyObject
* obj3
= 0 ;
32999 char * kwnames
[] = {
33000 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
33003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33005 if (!SWIG_IsOK(res1
)) {
33006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33008 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33011 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33015 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33019 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33023 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
33024 wxPyEndAllowThreads(__tstate
);
33025 if (PyErr_Occurred()) SWIG_fail
;
33027 resultobj
= SWIG_Py_Void();
33034 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33035 PyObject
*resultobj
= 0;
33036 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33051 PyObject
* obj0
= 0 ;
33052 PyObject
* obj1
= 0 ;
33053 PyObject
* obj2
= 0 ;
33054 PyObject
* obj3
= 0 ;
33055 PyObject
* obj4
= 0 ;
33056 char * kwnames
[] = {
33057 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33062 if (!SWIG_IsOK(res1
)) {
33063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33065 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33067 if (!SWIG_IsOK(ecode2
)) {
33068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
33070 arg2
= static_cast< int >(val2
);
33071 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33072 if (!SWIG_IsOK(ecode3
)) {
33073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
33075 arg3
= static_cast< int >(val3
);
33076 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33077 if (!SWIG_IsOK(ecode4
)) {
33078 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
33080 arg4
= static_cast< int >(val4
);
33081 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33082 if (!SWIG_IsOK(ecode5
)) {
33083 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
33085 arg5
= static_cast< int >(val5
);
33087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33088 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
33089 wxPyEndAllowThreads(__tstate
);
33090 if (PyErr_Occurred()) SWIG_fail
;
33092 resultobj
= SWIG_Py_Void();
33099 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33100 PyObject
*resultobj
= 0;
33101 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33106 PyObject
* obj0
= 0 ;
33107 PyObject
* obj1
= 0 ;
33108 char * kwnames
[] = {
33109 (char *) "self",(char *) "rect", NULL
33112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33114 if (!SWIG_IsOK(res1
)) {
33115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33117 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33120 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33124 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
33125 wxPyEndAllowThreads(__tstate
);
33126 if (PyErr_Occurred()) SWIG_fail
;
33128 resultobj
= SWIG_Py_Void();
33135 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33136 PyObject
*resultobj
= 0;
33137 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33158 PyObject
* obj0
= 0 ;
33159 PyObject
* obj1
= 0 ;
33160 PyObject
* obj2
= 0 ;
33161 PyObject
* obj3
= 0 ;
33162 PyObject
* obj4
= 0 ;
33163 PyObject
* obj5
= 0 ;
33164 PyObject
* obj6
= 0 ;
33165 char * kwnames
[] = {
33166 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
33169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33171 if (!SWIG_IsOK(res1
)) {
33172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33174 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33176 if (!SWIG_IsOK(ecode2
)) {
33177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
33179 arg2
= static_cast< int >(val2
);
33180 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33181 if (!SWIG_IsOK(ecode3
)) {
33182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
33184 arg3
= static_cast< int >(val3
);
33185 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33186 if (!SWIG_IsOK(ecode4
)) {
33187 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
33189 arg4
= static_cast< int >(val4
);
33190 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33191 if (!SWIG_IsOK(ecode5
)) {
33192 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
33194 arg5
= static_cast< int >(val5
);
33195 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
33196 if (!SWIG_IsOK(ecode6
)) {
33197 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
33199 arg6
= static_cast< double >(val6
);
33200 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
33201 if (!SWIG_IsOK(ecode7
)) {
33202 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
33204 arg7
= static_cast< double >(val7
);
33206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33207 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33208 wxPyEndAllowThreads(__tstate
);
33209 if (PyErr_Occurred()) SWIG_fail
;
33211 resultobj
= SWIG_Py_Void();
33218 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33219 PyObject
*resultobj
= 0;
33220 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33221 wxPoint
*arg2
= 0 ;
33233 PyObject
* obj0
= 0 ;
33234 PyObject
* obj1
= 0 ;
33235 PyObject
* obj2
= 0 ;
33236 PyObject
* obj3
= 0 ;
33237 PyObject
* obj4
= 0 ;
33238 char * kwnames
[] = {
33239 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
33242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33244 if (!SWIG_IsOK(res1
)) {
33245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33247 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33250 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33254 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33256 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33257 if (!SWIG_IsOK(ecode4
)) {
33258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
33260 arg4
= static_cast< double >(val4
);
33261 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
33262 if (!SWIG_IsOK(ecode5
)) {
33263 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
33265 arg5
= static_cast< double >(val5
);
33267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33268 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
33269 wxPyEndAllowThreads(__tstate
);
33270 if (PyErr_Occurred()) SWIG_fail
;
33272 resultobj
= SWIG_Py_Void();
33279 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33280 PyObject
*resultobj
= 0;
33281 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33290 PyObject
* obj0
= 0 ;
33291 PyObject
* obj1
= 0 ;
33292 PyObject
* obj2
= 0 ;
33293 char * kwnames
[] = {
33294 (char *) "self",(char *) "x",(char *) "y", NULL
33297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33299 if (!SWIG_IsOK(res1
)) {
33300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33302 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33304 if (!SWIG_IsOK(ecode2
)) {
33305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
33307 arg2
= static_cast< int >(val2
);
33308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33309 if (!SWIG_IsOK(ecode3
)) {
33310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
33312 arg3
= static_cast< int >(val3
);
33314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33315 (arg1
)->DrawPoint(arg2
,arg3
);
33316 wxPyEndAllowThreads(__tstate
);
33317 if (PyErr_Occurred()) SWIG_fail
;
33319 resultobj
= SWIG_Py_Void();
33326 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33327 PyObject
*resultobj
= 0;
33328 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33329 wxPoint
*arg2
= 0 ;
33333 PyObject
* obj0
= 0 ;
33334 PyObject
* obj1
= 0 ;
33335 char * kwnames
[] = {
33336 (char *) "self",(char *) "pt", NULL
33339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33341 if (!SWIG_IsOK(res1
)) {
33342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33344 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33347 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33351 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
33352 wxPyEndAllowThreads(__tstate
);
33353 if (PyErr_Occurred()) SWIG_fail
;
33355 resultobj
= SWIG_Py_Void();
33362 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33363 PyObject
*resultobj
= 0;
33364 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33379 PyObject
* obj0
= 0 ;
33380 PyObject
* obj1
= 0 ;
33381 PyObject
* obj2
= 0 ;
33382 PyObject
* obj3
= 0 ;
33383 PyObject
* obj4
= 0 ;
33384 char * kwnames
[] = {
33385 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33390 if (!SWIG_IsOK(res1
)) {
33391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33393 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33395 if (!SWIG_IsOK(ecode2
)) {
33396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
33398 arg2
= static_cast< int >(val2
);
33399 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33400 if (!SWIG_IsOK(ecode3
)) {
33401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
33403 arg3
= static_cast< int >(val3
);
33404 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33405 if (!SWIG_IsOK(ecode4
)) {
33406 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
33408 arg4
= static_cast< int >(val4
);
33409 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33410 if (!SWIG_IsOK(ecode5
)) {
33411 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
33413 arg5
= static_cast< int >(val5
);
33415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33416 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
33417 wxPyEndAllowThreads(__tstate
);
33418 if (PyErr_Occurred()) SWIG_fail
;
33420 resultobj
= SWIG_Py_Void();
33427 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33428 PyObject
*resultobj
= 0;
33429 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33434 PyObject
* obj0
= 0 ;
33435 PyObject
* obj1
= 0 ;
33436 char * kwnames
[] = {
33437 (char *) "self",(char *) "rect", NULL
33440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33442 if (!SWIG_IsOK(res1
)) {
33443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33445 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33448 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33452 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
33453 wxPyEndAllowThreads(__tstate
);
33454 if (PyErr_Occurred()) SWIG_fail
;
33456 resultobj
= SWIG_Py_Void();
33463 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33464 PyObject
*resultobj
= 0;
33465 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33466 wxPoint
*arg2
= 0 ;
33472 PyObject
* obj0
= 0 ;
33473 PyObject
* obj1
= 0 ;
33474 PyObject
* obj2
= 0 ;
33475 char * kwnames
[] = {
33476 (char *) "self",(char *) "pt",(char *) "sz", NULL
33479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33481 if (!SWIG_IsOK(res1
)) {
33482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33484 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33487 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33491 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33495 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
33496 wxPyEndAllowThreads(__tstate
);
33497 if (PyErr_Occurred()) SWIG_fail
;
33499 resultobj
= SWIG_Py_Void();
33506 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33507 PyObject
*resultobj
= 0;
33508 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33526 PyObject
* obj0
= 0 ;
33527 PyObject
* obj1
= 0 ;
33528 PyObject
* obj2
= 0 ;
33529 PyObject
* obj3
= 0 ;
33530 PyObject
* obj4
= 0 ;
33531 PyObject
* obj5
= 0 ;
33532 char * kwnames
[] = {
33533 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
33536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33538 if (!SWIG_IsOK(res1
)) {
33539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33541 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33543 if (!SWIG_IsOK(ecode2
)) {
33544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
33546 arg2
= static_cast< int >(val2
);
33547 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33548 if (!SWIG_IsOK(ecode3
)) {
33549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
33551 arg3
= static_cast< int >(val3
);
33552 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33553 if (!SWIG_IsOK(ecode4
)) {
33554 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
33556 arg4
= static_cast< int >(val4
);
33557 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33558 if (!SWIG_IsOK(ecode5
)) {
33559 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
33561 arg5
= static_cast< int >(val5
);
33562 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
33563 if (!SWIG_IsOK(ecode6
)) {
33564 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
33566 arg6
= static_cast< double >(val6
);
33568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33569 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
33570 wxPyEndAllowThreads(__tstate
);
33571 if (PyErr_Occurred()) SWIG_fail
;
33573 resultobj
= SWIG_Py_Void();
33580 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33581 PyObject
*resultobj
= 0;
33582 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33590 PyObject
* obj0
= 0 ;
33591 PyObject
* obj1
= 0 ;
33592 PyObject
* obj2
= 0 ;
33593 char * kwnames
[] = {
33594 (char *) "self",(char *) "r",(char *) "radius", NULL
33597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33599 if (!SWIG_IsOK(res1
)) {
33600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33602 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33605 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33607 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
33608 if (!SWIG_IsOK(ecode3
)) {
33609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
33611 arg3
= static_cast< double >(val3
);
33613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33614 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
33615 wxPyEndAllowThreads(__tstate
);
33616 if (PyErr_Occurred()) SWIG_fail
;
33618 resultobj
= SWIG_Py_Void();
33625 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33626 PyObject
*resultobj
= 0;
33627 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33628 wxPoint
*arg2
= 0 ;
33637 PyObject
* obj0
= 0 ;
33638 PyObject
* obj1
= 0 ;
33639 PyObject
* obj2
= 0 ;
33640 PyObject
* obj3
= 0 ;
33641 char * kwnames
[] = {
33642 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
33645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33647 if (!SWIG_IsOK(res1
)) {
33648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33650 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33653 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33657 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33659 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33660 if (!SWIG_IsOK(ecode4
)) {
33661 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
33663 arg4
= static_cast< double >(val4
);
33665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33666 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
33667 wxPyEndAllowThreads(__tstate
);
33668 if (PyErr_Occurred()) SWIG_fail
;
33670 resultobj
= SWIG_Py_Void();
33677 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33678 PyObject
*resultobj
= 0;
33679 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33691 PyObject
* obj0
= 0 ;
33692 PyObject
* obj1
= 0 ;
33693 PyObject
* obj2
= 0 ;
33694 PyObject
* obj3
= 0 ;
33695 char * kwnames
[] = {
33696 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
33699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33701 if (!SWIG_IsOK(res1
)) {
33702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33704 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33706 if (!SWIG_IsOK(ecode2
)) {
33707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
33709 arg2
= static_cast< int >(val2
);
33710 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33711 if (!SWIG_IsOK(ecode3
)) {
33712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
33714 arg3
= static_cast< int >(val3
);
33715 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33716 if (!SWIG_IsOK(ecode4
)) {
33717 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
33719 arg4
= static_cast< int >(val4
);
33721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33722 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
33723 wxPyEndAllowThreads(__tstate
);
33724 if (PyErr_Occurred()) SWIG_fail
;
33726 resultobj
= SWIG_Py_Void();
33733 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33734 PyObject
*resultobj
= 0;
33735 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33736 wxPoint
*arg2
= 0 ;
33743 PyObject
* obj0
= 0 ;
33744 PyObject
* obj1
= 0 ;
33745 PyObject
* obj2
= 0 ;
33746 char * kwnames
[] = {
33747 (char *) "self",(char *) "pt",(char *) "radius", NULL
33750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33752 if (!SWIG_IsOK(res1
)) {
33753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33755 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33758 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33761 if (!SWIG_IsOK(ecode3
)) {
33762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
33764 arg3
= static_cast< int >(val3
);
33766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33767 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
33768 wxPyEndAllowThreads(__tstate
);
33769 if (PyErr_Occurred()) SWIG_fail
;
33771 resultobj
= SWIG_Py_Void();
33778 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33779 PyObject
*resultobj
= 0;
33780 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33795 PyObject
* obj0
= 0 ;
33796 PyObject
* obj1
= 0 ;
33797 PyObject
* obj2
= 0 ;
33798 PyObject
* obj3
= 0 ;
33799 PyObject
* obj4
= 0 ;
33800 char * kwnames
[] = {
33801 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33806 if (!SWIG_IsOK(res1
)) {
33807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33809 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33811 if (!SWIG_IsOK(ecode2
)) {
33812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
33814 arg2
= static_cast< int >(val2
);
33815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33816 if (!SWIG_IsOK(ecode3
)) {
33817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
33819 arg3
= static_cast< int >(val3
);
33820 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33821 if (!SWIG_IsOK(ecode4
)) {
33822 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
33824 arg4
= static_cast< int >(val4
);
33825 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33826 if (!SWIG_IsOK(ecode5
)) {
33827 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
33829 arg5
= static_cast< int >(val5
);
33831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33832 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
33833 wxPyEndAllowThreads(__tstate
);
33834 if (PyErr_Occurred()) SWIG_fail
;
33836 resultobj
= SWIG_Py_Void();
33843 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33844 PyObject
*resultobj
= 0;
33845 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33850 PyObject
* obj0
= 0 ;
33851 PyObject
* obj1
= 0 ;
33852 char * kwnames
[] = {
33853 (char *) "self",(char *) "rect", NULL
33856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33858 if (!SWIG_IsOK(res1
)) {
33859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33861 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33864 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33868 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
33869 wxPyEndAllowThreads(__tstate
);
33870 if (PyErr_Occurred()) SWIG_fail
;
33872 resultobj
= SWIG_Py_Void();
33879 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33880 PyObject
*resultobj
= 0;
33881 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33882 wxPoint
*arg2
= 0 ;
33888 PyObject
* obj0
= 0 ;
33889 PyObject
* obj1
= 0 ;
33890 PyObject
* obj2
= 0 ;
33891 char * kwnames
[] = {
33892 (char *) "self",(char *) "pt",(char *) "sz", NULL
33895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33897 if (!SWIG_IsOK(res1
)) {
33898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33900 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33903 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33907 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33911 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
33912 wxPyEndAllowThreads(__tstate
);
33913 if (PyErr_Occurred()) SWIG_fail
;
33915 resultobj
= SWIG_Py_Void();
33922 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33923 PyObject
*resultobj
= 0;
33924 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33936 PyObject
* obj0
= 0 ;
33937 PyObject
* obj1
= 0 ;
33938 PyObject
* obj2
= 0 ;
33939 PyObject
* obj3
= 0 ;
33940 char * kwnames
[] = {
33941 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
33944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33946 if (!SWIG_IsOK(res1
)) {
33947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33949 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33951 if (!SWIG_IsOK(res2
)) {
33952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33957 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33958 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33959 if (!SWIG_IsOK(ecode3
)) {
33960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
33962 arg3
= static_cast< int >(val3
);
33963 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33964 if (!SWIG_IsOK(ecode4
)) {
33965 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
33967 arg4
= static_cast< int >(val4
);
33969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33970 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
33971 wxPyEndAllowThreads(__tstate
);
33972 if (PyErr_Occurred()) SWIG_fail
;
33974 resultobj
= SWIG_Py_Void();
33981 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33982 PyObject
*resultobj
= 0;
33983 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33985 wxPoint
*arg3
= 0 ;
33991 PyObject
* obj0
= 0 ;
33992 PyObject
* obj1
= 0 ;
33993 PyObject
* obj2
= 0 ;
33994 char * kwnames
[] = {
33995 (char *) "self",(char *) "icon",(char *) "pt", NULL
33998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34000 if (!SWIG_IsOK(res1
)) {
34001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34003 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
34005 if (!SWIG_IsOK(res2
)) {
34006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
34009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
34011 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
34014 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34018 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
34019 wxPyEndAllowThreads(__tstate
);
34020 if (PyErr_Occurred()) SWIG_fail
;
34022 resultobj
= SWIG_Py_Void();
34029 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34030 PyObject
*resultobj
= 0;
34031 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34032 wxBitmap
*arg2
= 0 ;
34035 bool arg5
= (bool) false ;
34046 PyObject
* obj0
= 0 ;
34047 PyObject
* obj1
= 0 ;
34048 PyObject
* obj2
= 0 ;
34049 PyObject
* obj3
= 0 ;
34050 PyObject
* obj4
= 0 ;
34051 char * kwnames
[] = {
34052 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
34055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34057 if (!SWIG_IsOK(res1
)) {
34058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34060 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34062 if (!SWIG_IsOK(res2
)) {
34063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34068 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34069 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34070 if (!SWIG_IsOK(ecode3
)) {
34071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
34073 arg3
= static_cast< int >(val3
);
34074 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34075 if (!SWIG_IsOK(ecode4
)) {
34076 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
34078 arg4
= static_cast< int >(val4
);
34080 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
34081 if (!SWIG_IsOK(ecode5
)) {
34082 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
34084 arg5
= static_cast< bool >(val5
);
34087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34088 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
34089 wxPyEndAllowThreads(__tstate
);
34090 if (PyErr_Occurred()) SWIG_fail
;
34092 resultobj
= SWIG_Py_Void();
34099 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34100 PyObject
*resultobj
= 0;
34101 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34102 wxBitmap
*arg2
= 0 ;
34103 wxPoint
*arg3
= 0 ;
34104 bool arg4
= (bool) false ;
34112 PyObject
* obj0
= 0 ;
34113 PyObject
* obj1
= 0 ;
34114 PyObject
* obj2
= 0 ;
34115 PyObject
* obj3
= 0 ;
34116 char * kwnames
[] = {
34117 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
34120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34122 if (!SWIG_IsOK(res1
)) {
34123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34125 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34126 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34127 if (!SWIG_IsOK(res2
)) {
34128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34133 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34136 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34139 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
34140 if (!SWIG_IsOK(ecode4
)) {
34141 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
34143 arg4
= static_cast< bool >(val4
);
34146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34147 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
34148 wxPyEndAllowThreads(__tstate
);
34149 if (PyErr_Occurred()) SWIG_fail
;
34151 resultobj
= SWIG_Py_Void();
34158 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34159 PyObject
*resultobj
= 0;
34160 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34161 wxString
*arg2
= 0 ;
34166 bool temp2
= false ;
34171 PyObject
* obj0
= 0 ;
34172 PyObject
* obj1
= 0 ;
34173 PyObject
* obj2
= 0 ;
34174 PyObject
* obj3
= 0 ;
34175 char * kwnames
[] = {
34176 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
34179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34181 if (!SWIG_IsOK(res1
)) {
34182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34184 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34186 arg2
= wxString_in_helper(obj1
);
34187 if (arg2
== NULL
) SWIG_fail
;
34190 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34191 if (!SWIG_IsOK(ecode3
)) {
34192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
34194 arg3
= static_cast< int >(val3
);
34195 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34196 if (!SWIG_IsOK(ecode4
)) {
34197 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
34199 arg4
= static_cast< int >(val4
);
34201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34202 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
34203 wxPyEndAllowThreads(__tstate
);
34204 if (PyErr_Occurred()) SWIG_fail
;
34206 resultobj
= SWIG_Py_Void();
34221 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34222 PyObject
*resultobj
= 0;
34223 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34224 wxString
*arg2
= 0 ;
34225 wxPoint
*arg3
= 0 ;
34228 bool temp2
= false ;
34230 PyObject
* obj0
= 0 ;
34231 PyObject
* obj1
= 0 ;
34232 PyObject
* obj2
= 0 ;
34233 char * kwnames
[] = {
34234 (char *) "self",(char *) "text",(char *) "pt", NULL
34237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34239 if (!SWIG_IsOK(res1
)) {
34240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34242 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34244 arg2
= wxString_in_helper(obj1
);
34245 if (arg2
== NULL
) SWIG_fail
;
34250 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34254 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
34255 wxPyEndAllowThreads(__tstate
);
34256 if (PyErr_Occurred()) SWIG_fail
;
34258 resultobj
= SWIG_Py_Void();
34273 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34274 PyObject
*resultobj
= 0;
34275 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34276 wxString
*arg2
= 0 ;
34282 bool temp2
= false ;
34289 PyObject
* obj0
= 0 ;
34290 PyObject
* obj1
= 0 ;
34291 PyObject
* obj2
= 0 ;
34292 PyObject
* obj3
= 0 ;
34293 PyObject
* obj4
= 0 ;
34294 char * kwnames
[] = {
34295 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
34298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34300 if (!SWIG_IsOK(res1
)) {
34301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34303 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34305 arg2
= wxString_in_helper(obj1
);
34306 if (arg2
== NULL
) SWIG_fail
;
34309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34310 if (!SWIG_IsOK(ecode3
)) {
34311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
34313 arg3
= static_cast< int >(val3
);
34314 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34315 if (!SWIG_IsOK(ecode4
)) {
34316 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
34318 arg4
= static_cast< int >(val4
);
34319 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
34320 if (!SWIG_IsOK(ecode5
)) {
34321 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
34323 arg5
= static_cast< double >(val5
);
34325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34326 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
34327 wxPyEndAllowThreads(__tstate
);
34328 if (PyErr_Occurred()) SWIG_fail
;
34330 resultobj
= SWIG_Py_Void();
34345 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34346 PyObject
*resultobj
= 0;
34347 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34348 wxString
*arg2
= 0 ;
34349 wxPoint
*arg3
= 0 ;
34353 bool temp2
= false ;
34357 PyObject
* obj0
= 0 ;
34358 PyObject
* obj1
= 0 ;
34359 PyObject
* obj2
= 0 ;
34360 PyObject
* obj3
= 0 ;
34361 char * kwnames
[] = {
34362 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
34365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34367 if (!SWIG_IsOK(res1
)) {
34368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34370 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34372 arg2
= wxString_in_helper(obj1
);
34373 if (arg2
== NULL
) SWIG_fail
;
34378 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34380 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
34381 if (!SWIG_IsOK(ecode4
)) {
34382 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
34384 arg4
= static_cast< double >(val4
);
34386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34387 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
34388 wxPyEndAllowThreads(__tstate
);
34389 if (PyErr_Occurred()) SWIG_fail
;
34391 resultobj
= SWIG_Py_Void();
34406 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34407 PyObject
*resultobj
= 0;
34408 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34410 wxPoint
*arg3
= (wxPoint
*) 0 ;
34411 int arg4
= (int) 0 ;
34412 int arg5
= (int) 0 ;
34419 PyObject
* obj0
= 0 ;
34420 PyObject
* obj1
= 0 ;
34421 PyObject
* obj2
= 0 ;
34422 PyObject
* obj3
= 0 ;
34423 char * kwnames
[] = {
34424 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
34427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34429 if (!SWIG_IsOK(res1
)) {
34430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34432 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34434 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34435 if (arg3
== NULL
) SWIG_fail
;
34438 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
34439 if (!SWIG_IsOK(ecode4
)) {
34440 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
34442 arg4
= static_cast< int >(val4
);
34445 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
34446 if (!SWIG_IsOK(ecode5
)) {
34447 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
34449 arg5
= static_cast< int >(val5
);
34452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34453 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
34454 wxPyEndAllowThreads(__tstate
);
34455 if (PyErr_Occurred()) SWIG_fail
;
34457 resultobj
= SWIG_Py_Void();
34459 if (arg3
) delete [] arg3
;
34464 if (arg3
) delete [] arg3
;
34470 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34471 PyObject
*resultobj
= 0;
34472 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34474 wxPoint
*arg3
= (wxPoint
*) 0 ;
34475 int arg4
= (int) 0 ;
34476 int arg5
= (int) 0 ;
34477 int arg6
= (int) wxODDEVEN_RULE
;
34486 PyObject
* obj0
= 0 ;
34487 PyObject
* obj1
= 0 ;
34488 PyObject
* obj2
= 0 ;
34489 PyObject
* obj3
= 0 ;
34490 PyObject
* obj4
= 0 ;
34491 char * kwnames
[] = {
34492 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
34495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34497 if (!SWIG_IsOK(res1
)) {
34498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34500 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34502 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34503 if (arg3
== NULL
) SWIG_fail
;
34506 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
34507 if (!SWIG_IsOK(ecode4
)) {
34508 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
34510 arg4
= static_cast< int >(val4
);
34513 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
34514 if (!SWIG_IsOK(ecode5
)) {
34515 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
34517 arg5
= static_cast< int >(val5
);
34520 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
34521 if (!SWIG_IsOK(ecode6
)) {
34522 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
34524 arg6
= static_cast< int >(val6
);
34527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34528 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
34529 wxPyEndAllowThreads(__tstate
);
34530 if (PyErr_Occurred()) SWIG_fail
;
34532 resultobj
= SWIG_Py_Void();
34534 if (arg3
) delete [] arg3
;
34539 if (arg3
) delete [] arg3
;
34545 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34546 PyObject
*resultobj
= 0;
34547 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34548 wxString
*arg2
= 0 ;
34550 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
34551 int arg5
= (int) -1 ;
34554 bool temp2
= false ;
34560 PyObject
* obj0
= 0 ;
34561 PyObject
* obj1
= 0 ;
34562 PyObject
* obj2
= 0 ;
34563 PyObject
* obj3
= 0 ;
34564 PyObject
* obj4
= 0 ;
34565 char * kwnames
[] = {
34566 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
34569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34571 if (!SWIG_IsOK(res1
)) {
34572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34574 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34576 arg2
= wxString_in_helper(obj1
);
34577 if (arg2
== NULL
) SWIG_fail
;
34582 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34585 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34586 if (!SWIG_IsOK(ecode4
)) {
34587 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
34589 arg4
= static_cast< int >(val4
);
34592 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34593 if (!SWIG_IsOK(ecode5
)) {
34594 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
34596 arg5
= static_cast< int >(val5
);
34599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34600 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
34601 wxPyEndAllowThreads(__tstate
);
34602 if (PyErr_Occurred()) SWIG_fail
;
34604 resultobj
= SWIG_Py_Void();
34619 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34620 PyObject
*resultobj
= 0;
34621 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34622 wxString
*arg2
= 0 ;
34623 wxBitmap
*arg3
= 0 ;
34625 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
34626 int arg6
= (int) -1 ;
34629 bool temp2
= false ;
34637 PyObject
* obj0
= 0 ;
34638 PyObject
* obj1
= 0 ;
34639 PyObject
* obj2
= 0 ;
34640 PyObject
* obj3
= 0 ;
34641 PyObject
* obj4
= 0 ;
34642 PyObject
* obj5
= 0 ;
34643 char * kwnames
[] = {
34644 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
34647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
34648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34649 if (!SWIG_IsOK(res1
)) {
34650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34652 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34654 arg2
= wxString_in_helper(obj1
);
34655 if (arg2
== NULL
) SWIG_fail
;
34658 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34659 if (!SWIG_IsOK(res3
)) {
34660 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
34663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
34665 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
34668 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34671 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34672 if (!SWIG_IsOK(ecode5
)) {
34673 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
34675 arg5
= static_cast< int >(val5
);
34678 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34679 if (!SWIG_IsOK(ecode6
)) {
34680 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
34682 arg6
= static_cast< int >(val6
);
34685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34686 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
34687 wxPyEndAllowThreads(__tstate
);
34688 if (PyErr_Occurred()) SWIG_fail
;
34690 resultobj
= SWIG_Py_Void();
34705 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34706 PyObject
*resultobj
= 0;
34707 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34709 wxPoint
*arg3
= (wxPoint
*) 0 ;
34712 PyObject
* obj0
= 0 ;
34713 PyObject
* obj1
= 0 ;
34714 char * kwnames
[] = {
34715 (char *) "self",(char *) "points", NULL
34718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34720 if (!SWIG_IsOK(res1
)) {
34721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34723 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34725 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34726 if (arg3
== NULL
) SWIG_fail
;
34729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34730 (arg1
)->DrawSpline(arg2
,arg3
);
34731 wxPyEndAllowThreads(__tstate
);
34732 if (PyErr_Occurred()) SWIG_fail
;
34734 resultobj
= SWIG_Py_Void();
34736 if (arg3
) delete [] arg3
;
34741 if (arg3
) delete [] arg3
;
34747 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34748 PyObject
*resultobj
= 0;
34749 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34752 PyObject
*swig_obj
[1] ;
34754 if (!args
) SWIG_fail
;
34755 swig_obj
[0] = args
;
34756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34757 if (!SWIG_IsOK(res1
)) {
34758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34760 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34764 wxPyEndAllowThreads(__tstate
);
34765 if (PyErr_Occurred()) SWIG_fail
;
34767 resultobj
= SWIG_Py_Void();
34774 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34775 PyObject
*resultobj
= 0;
34776 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34782 PyObject
* obj0
= 0 ;
34783 PyObject
* obj1
= 0 ;
34784 char * kwnames
[] = {
34785 (char *) "self",(char *) "font", NULL
34788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34790 if (!SWIG_IsOK(res1
)) {
34791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34793 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34794 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
34795 if (!SWIG_IsOK(res2
)) {
34796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34801 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34804 (arg1
)->SetFont((wxFont
const &)*arg2
);
34805 wxPyEndAllowThreads(__tstate
);
34806 if (PyErr_Occurred()) SWIG_fail
;
34808 resultobj
= SWIG_Py_Void();
34815 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34816 PyObject
*resultobj
= 0;
34817 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34823 PyObject
* obj0
= 0 ;
34824 PyObject
* obj1
= 0 ;
34825 char * kwnames
[] = {
34826 (char *) "self",(char *) "pen", NULL
34829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34831 if (!SWIG_IsOK(res1
)) {
34832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34834 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
34836 if (!SWIG_IsOK(res2
)) {
34837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34842 arg2
= reinterpret_cast< wxPen
* >(argp2
);
34844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34845 (arg1
)->SetPen((wxPen
const &)*arg2
);
34846 wxPyEndAllowThreads(__tstate
);
34847 if (PyErr_Occurred()) SWIG_fail
;
34849 resultobj
= SWIG_Py_Void();
34856 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34857 PyObject
*resultobj
= 0;
34858 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34859 wxBrush
*arg2
= 0 ;
34864 PyObject
* obj0
= 0 ;
34865 PyObject
* obj1
= 0 ;
34866 char * kwnames
[] = {
34867 (char *) "self",(char *) "brush", NULL
34870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34872 if (!SWIG_IsOK(res1
)) {
34873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34875 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34876 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34877 if (!SWIG_IsOK(res2
)) {
34878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34883 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34886 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
34887 wxPyEndAllowThreads(__tstate
);
34888 if (PyErr_Occurred()) SWIG_fail
;
34890 resultobj
= SWIG_Py_Void();
34897 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34898 PyObject
*resultobj
= 0;
34899 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34900 wxBrush
*arg2
= 0 ;
34905 PyObject
* obj0
= 0 ;
34906 PyObject
* obj1
= 0 ;
34907 char * kwnames
[] = {
34908 (char *) "self",(char *) "brush", NULL
34911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34913 if (!SWIG_IsOK(res1
)) {
34914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34916 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34917 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34918 if (!SWIG_IsOK(res2
)) {
34919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34924 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34927 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
34928 wxPyEndAllowThreads(__tstate
);
34929 if (PyErr_Occurred()) SWIG_fail
;
34931 resultobj
= SWIG_Py_Void();
34938 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34939 PyObject
*resultobj
= 0;
34940 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34946 PyObject
* obj0
= 0 ;
34947 PyObject
* obj1
= 0 ;
34948 char * kwnames
[] = {
34949 (char *) "self",(char *) "mode", NULL
34952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34954 if (!SWIG_IsOK(res1
)) {
34955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34957 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34959 if (!SWIG_IsOK(ecode2
)) {
34960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
34962 arg2
= static_cast< int >(val2
);
34964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34965 (arg1
)->SetBackgroundMode(arg2
);
34966 wxPyEndAllowThreads(__tstate
);
34967 if (PyErr_Occurred()) SWIG_fail
;
34969 resultobj
= SWIG_Py_Void();
34976 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34977 PyObject
*resultobj
= 0;
34978 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34979 wxPalette
*arg2
= 0 ;
34984 PyObject
* obj0
= 0 ;
34985 PyObject
* obj1
= 0 ;
34986 char * kwnames
[] = {
34987 (char *) "self",(char *) "palette", NULL
34990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34992 if (!SWIG_IsOK(res1
)) {
34993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34995 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34996 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
34997 if (!SWIG_IsOK(res2
)) {
34998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
35001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
35003 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
35005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35006 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
35007 wxPyEndAllowThreads(__tstate
);
35008 if (PyErr_Occurred()) SWIG_fail
;
35010 resultobj
= SWIG_Py_Void();
35017 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35018 PyObject
*resultobj
= 0;
35019 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35020 wxColour
*arg2
= 0 ;
35024 PyObject
* obj0
= 0 ;
35025 PyObject
* obj1
= 0 ;
35026 char * kwnames
[] = {
35027 (char *) "self",(char *) "colour", NULL
35030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35032 if (!SWIG_IsOK(res1
)) {
35033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35035 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35038 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
35041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35042 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
35043 wxPyEndAllowThreads(__tstate
);
35044 if (PyErr_Occurred()) SWIG_fail
;
35046 resultobj
= SWIG_Py_Void();
35053 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35054 PyObject
*resultobj
= 0;
35055 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35056 wxColour
*arg2
= 0 ;
35060 PyObject
* obj0
= 0 ;
35061 PyObject
* obj1
= 0 ;
35062 char * kwnames
[] = {
35063 (char *) "self",(char *) "colour", NULL
35066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35068 if (!SWIG_IsOK(res1
)) {
35069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35071 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35074 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
35077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35078 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
35079 wxPyEndAllowThreads(__tstate
);
35080 if (PyErr_Occurred()) SWIG_fail
;
35082 resultobj
= SWIG_Py_Void();
35089 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35090 PyObject
*resultobj
= 0;
35091 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35097 PyObject
* obj0
= 0 ;
35098 PyObject
* obj1
= 0 ;
35099 char * kwnames
[] = {
35100 (char *) "self",(char *) "function", NULL
35103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35105 if (!SWIG_IsOK(res1
)) {
35106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35108 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35110 if (!SWIG_IsOK(ecode2
)) {
35111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
35113 arg2
= static_cast< int >(val2
);
35115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35116 (arg1
)->SetLogicalFunction(arg2
);
35117 wxPyEndAllowThreads(__tstate
);
35118 if (PyErr_Occurred()) SWIG_fail
;
35120 resultobj
= SWIG_Py_Void();
35127 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35129 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35130 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
35131 return SWIG_Py_Void();
35134 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35135 return SWIG_Python_InitShadowInstance(args
);
35138 static PyMethodDef SwigMethods
[] = {
35139 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
35140 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
35141 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
35142 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
35143 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
35144 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
35148 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
35149 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
35150 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
35151 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
35152 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
35153 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
35158 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
35162 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
35163 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
35164 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
35166 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
35169 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
35170 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
35171 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
35172 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
35174 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
35175 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
35176 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
35177 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
35178 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
35179 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
35180 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
35187 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
35189 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
35190 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
35194 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
35195 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
35198 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
35202 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
35203 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
35204 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
35205 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
35206 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
35207 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
35208 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
35210 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
35216 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
35218 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
35219 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
35220 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
35221 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
35222 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
35223 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
35224 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
35230 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
35240 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
35241 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
35245 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
35246 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
35247 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
35248 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
35249 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
35250 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
35251 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
35252 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
35253 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
35254 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
35255 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
35256 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
35257 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
35258 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
35259 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
35261 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
35262 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
35268 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
35269 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
35270 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
35271 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
35272 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
35273 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
35274 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
35275 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
35276 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
35277 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
35278 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
35279 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
35281 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
35282 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
35288 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
35289 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
35290 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
35292 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
35293 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
35294 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
35296 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
35297 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
35302 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
35304 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
35305 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
35306 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
35307 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
35313 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
35314 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
35316 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
35317 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
35319 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
35321 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
35322 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
35323 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
35324 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
35327 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
35331 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
35332 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
35334 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
35337 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
35339 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
35340 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
35341 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
35342 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
35347 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
35348 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
35353 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
35354 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
35360 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
35364 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
35375 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
35378 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
35379 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
35381 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
35382 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
35383 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
35384 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
35385 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
35386 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
35387 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
35388 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
35389 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
35390 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
35391 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
35392 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
35393 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
35394 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
35395 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
35396 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
35397 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
35399 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
35400 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
35401 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
35402 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
35403 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
35404 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
35405 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
35406 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
35416 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
35417 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
35419 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
35420 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
35421 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
35422 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
35423 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
35424 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
35425 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
35426 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
35427 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
35429 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
35430 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
35431 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
35434 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
35435 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
35436 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
35439 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
35445 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
35450 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
35451 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
35453 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
35459 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
35462 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
35463 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
35464 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
35465 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
35466 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
35467 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
35468 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
35469 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
35470 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
35471 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
35472 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
35473 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
35474 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
35486 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
35487 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
35488 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
35490 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
35491 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
35493 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
35494 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
35495 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
35496 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
35500 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
35501 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
35503 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
35504 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
35505 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
35506 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
35507 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
35508 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
35509 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
35510 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
35511 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
35513 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
35516 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
35517 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
35518 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
35519 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
35520 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
35521 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
35522 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
35523 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
35533 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
35534 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
35535 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
35537 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
35541 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
35542 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
35543 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
35544 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
35545 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
35546 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
35552 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
35553 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
35554 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
35603 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
35605 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
35606 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
35607 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
35614 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
35615 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
35616 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
35617 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
35618 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
35623 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
35624 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
35625 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
35626 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
35635 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
35636 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
35637 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
35638 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
35639 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
35640 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
35641 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
35642 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
35643 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
35644 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
35645 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
35646 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
35649 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
35651 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
35653 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
35655 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
35656 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
35659 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
35660 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
35664 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
35666 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35668 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
35669 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
35670 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
35671 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
35672 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
35673 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
35674 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
35675 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
35677 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35678 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35683 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
35684 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
35685 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35686 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35687 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
35688 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
35689 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
35690 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
35691 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
35692 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
35693 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
35694 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35695 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
35696 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
35697 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
35698 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35699 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35700 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
35701 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
35702 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
35703 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35704 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
35705 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
35706 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35707 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
35708 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
35709 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35710 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
35711 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
35712 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35713 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
35714 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
35715 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35716 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
35717 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35718 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35719 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
35720 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
35721 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
35722 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35723 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
35724 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
35725 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35726 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
35727 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
35728 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
35729 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
35730 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
35731 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
35732 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35733 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
35734 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
35735 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
35736 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35737 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
35738 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
35739 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
35740 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35741 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35742 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35743 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
35744 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
35745 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35746 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35747 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35748 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35749 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35750 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
35751 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
35752 { (char *)"GraphicsContext_Create", (PyCFunction
) _wrap_GraphicsContext_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35753 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
35754 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
35755 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
35756 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35757 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35758 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35759 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35760 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35761 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35762 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35763 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35764 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35765 { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35766 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35767 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35768 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35769 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35770 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35771 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35772 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35773 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35774 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35775 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35776 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35777 { (char *)"GraphicsContext_StrokeDisconnectedLines", (PyCFunction
) _wrap_GraphicsContext_StrokeDisconnectedLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35778 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35779 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35780 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35781 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35782 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
35783 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35784 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
35785 { (char *)"GCDC_GetGraphicContext", (PyCFunction
)_wrap_GCDC_GetGraphicContext
, METH_O
, NULL
},
35786 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
35787 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
35788 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
35789 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
35790 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
35791 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
35792 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
35793 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
35794 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
35795 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
35796 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
35797 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
35798 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35799 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
35800 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35801 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35802 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35803 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35804 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35805 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35806 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35807 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
35808 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35809 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
35810 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35811 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
35812 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
35813 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
35814 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
35815 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
35816 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
35817 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35818 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35819 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35820 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35821 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35822 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
35823 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
35824 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
35825 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
35826 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
35827 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
35828 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35829 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35830 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35831 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
35832 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35833 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35834 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35835 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
35836 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35837 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35838 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35839 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
35840 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
35841 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
35842 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35843 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35844 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35845 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35846 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
35847 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
35848 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
35849 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
35850 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
35851 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
35852 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
35853 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
35854 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
35855 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
35856 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
35857 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
35858 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35859 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35860 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35861 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35862 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35863 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35864 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35865 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35866 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
35867 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
35868 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35869 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
35870 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
35871 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
35872 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
35873 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
35874 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
35875 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
35876 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
35877 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
35878 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
35879 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
35880 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
35881 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
35882 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
35883 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
35884 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
35885 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
35886 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
35887 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
35888 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
35889 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
35890 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
35891 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
35892 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
35893 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35894 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
35895 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35896 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
35897 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
35898 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
35899 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
35900 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35901 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35902 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35903 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35904 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35905 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35906 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35907 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35908 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35909 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35910 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35911 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35912 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
35913 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
35914 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
35915 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35916 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
35917 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
35918 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
35919 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
35920 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
35921 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
35922 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
35923 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
35924 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35925 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35926 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35927 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35928 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35929 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35930 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35931 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35932 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35933 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35934 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35935 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35936 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35937 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35938 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35939 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35940 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35941 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35942 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35943 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35944 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35945 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35946 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35947 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35948 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35949 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35950 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35951 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35952 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35953 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35954 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35955 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35956 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35957 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35958 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35959 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35960 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35961 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35962 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35963 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35964 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35965 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35966 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35967 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35968 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35969 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35970 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35971 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35972 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35973 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35974 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35975 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35976 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
35977 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35978 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35979 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35980 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35981 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35982 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35983 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35984 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35985 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35986 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
35987 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
35988 { NULL
, NULL
, 0, NULL
}
35992 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35994 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
35995 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
35997 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
35998 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
36000 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
36001 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
36003 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
36004 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
36006 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
36007 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
36009 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
36010 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
36012 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
36013 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
36015 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
36016 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
36018 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
36019 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
36021 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
36022 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
36024 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
36025 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
36027 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
36028 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
36030 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
36031 return (void *)((wxDC
*) ((wxGCDC
*) x
));
36033 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
36034 return (void *)((wxDC
*) ((wxBufferedDC
*) x
));
36036 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
36037 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
36039 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
36040 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
36042 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
36043 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
36045 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
36046 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
36048 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
36049 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
36051 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
36052 return (void *)((wxDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36054 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
36055 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
36057 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
36058 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
36060 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
36061 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
36063 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
36064 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
36066 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
36067 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
36069 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
36070 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
36072 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
36073 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
36075 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
36076 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36078 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36079 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36081 static void *_p_wxPenTo_p_wxObject(void *x
) {
36082 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
36084 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
36085 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
36087 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36088 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36090 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36091 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36093 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36094 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36096 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36097 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36099 static void *_p_wxIconTo_p_wxObject(void *x
) {
36100 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
36102 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36103 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36105 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36106 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36108 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36109 return (void *)((wxObject
*) ((wxSizer
*) x
));
36111 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36112 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36114 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36115 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36117 static void *_p_wxEventTo_p_wxObject(void *x
) {
36118 return (void *)((wxObject
*) ((wxEvent
*) x
));
36120 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36121 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36123 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36124 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36126 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36127 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36129 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
36130 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
36132 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
36133 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
36135 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36136 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36138 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36139 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36141 static void *_p_wxDCTo_p_wxObject(void *x
) {
36142 return (void *)((wxObject
*) ((wxDC
*) x
));
36144 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36145 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36147 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36148 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36150 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36151 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36153 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36154 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36156 static void *_p_wxControlTo_p_wxObject(void *x
) {
36157 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36159 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36160 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36162 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
36163 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
36165 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36166 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36168 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
36169 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
36171 static void *_p_wxRegionTo_p_wxObject(void *x
) {
36172 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
36174 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36175 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36177 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
36178 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
36180 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
36181 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
36183 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
36184 return (void *)((wxObject
*) ((wxEffects
*) x
));
36186 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36187 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36189 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36190 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36192 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
36193 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
36195 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36196 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36198 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36199 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36201 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36202 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36204 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36205 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36207 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36208 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36210 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36211 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36213 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36214 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36216 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36217 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36219 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36220 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36222 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36223 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36225 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36226 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36228 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36229 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36231 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36232 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36234 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36235 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36237 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36238 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36240 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36241 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36243 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36244 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36246 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36247 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36249 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36250 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36252 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36253 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36255 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
36256 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
36258 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36259 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36261 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36262 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36264 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36265 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36267 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36268 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36270 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
36271 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
36273 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
36274 return (void *)((wxObject
*) (wxDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36276 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
36277 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
36279 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
36280 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
36282 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
36283 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
36285 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36286 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36288 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36289 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36291 static void *_p_wxImageTo_p_wxObject(void *x
) {
36292 return (void *)((wxObject
*) ((wxImage
*) x
));
36294 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36295 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36297 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
36298 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
36300 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
36301 return (void *)((wxObject
*) (wxDC
*) ((wxBufferedDC
*) x
));
36303 static void *_p_wxImageListTo_p_wxObject(void *x
) {
36304 return (void *)((wxObject
*) ((wxImageList
*) x
));
36306 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
36307 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
36309 static void *_p_wxCursorTo_p_wxObject(void *x
) {
36310 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
36312 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
36313 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
36315 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
36316 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
36318 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36319 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36321 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36322 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36324 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36325 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36327 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36328 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36330 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36331 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36333 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36334 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36336 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
36337 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
36339 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36340 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36342 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
36343 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
36345 static void *_p_wxMaskTo_p_wxObject(void *x
) {
36346 return (void *)((wxObject
*) ((wxMask
*) x
));
36348 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36349 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36351 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36352 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36354 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36355 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36357 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36358 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36360 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36361 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36363 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36364 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36366 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36367 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36369 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36370 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36372 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36373 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36375 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36376 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36378 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36379 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36381 static void *_p_wxFontTo_p_wxObject(void *x
) {
36382 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
36384 static void *_p_wxBrushTo_p_wxObject(void *x
) {
36385 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
36387 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
36388 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
36390 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36393 static void *_p_wxColourTo_p_wxObject(void *x
) {
36394 return (void *)((wxObject
*) ((wxColour
*) x
));
36396 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36397 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36399 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36400 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36402 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36403 return (void *)((wxWindow
*) ((wxControl
*) x
));
36405 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36406 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36408 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36409 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36411 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
36412 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
36414 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
36415 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
36417 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
36418 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
36419 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
36420 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};
36421 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
36422 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
36423 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
36424 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
36425 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
36426 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
36427 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
36428 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
36429 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
36430 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
36431 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
36432 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
36433 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
36434 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
36435 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
36436 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
36437 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
36438 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
36439 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
36440 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
36441 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
36442 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
36443 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
36444 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
36445 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
36446 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
36447 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
36448 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
36449 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
36450 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
36451 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
36452 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
36453 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
36454 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
36455 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
36456 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
36457 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
36458 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
36459 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
36460 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
36461 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
36462 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
36463 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
36464 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
36465 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
36466 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
36467 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
36468 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
36469 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
36470 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
36471 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
36472 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
36473 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
36474 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
36475 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
36476 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
36477 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
36478 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
36479 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
36480 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
36481 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
36482 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
36483 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
36484 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
36485 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
36486 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
36487 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
36488 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
36489 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
36490 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
36491 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
36492 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
36493 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
36494 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
36495 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
36496 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
36497 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
36498 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
36499 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
36500 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
36501 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
36502 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
36503 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
36504 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
36505 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
36506 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
36507 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
36508 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
36509 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
36510 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
36511 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
36512 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
36513 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
36514 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
36515 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
36516 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
36517 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
36518 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
36519 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
36520 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
36521 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
36522 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
36523 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
36524 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
36525 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
36526 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
36527 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
36528 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
36529 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
36530 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
36531 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
36532 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
36533 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
36534 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
36535 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
36536 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
36537 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
36538 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
36539 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
36540 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
36541 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
36542 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
36543 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
36544 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
36545 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
36546 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
36547 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
36548 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
36549 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
36550 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
36551 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
36552 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
36553 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
36554 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
36555 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
36556 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
36557 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
36558 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
36559 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
36560 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
36561 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
36562 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
36563 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
36564 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
36565 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
36566 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
36567 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
36568 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
36569 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
36570 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
36571 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
36572 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
36574 static swig_type_info
*swig_type_initial
[] = {
36578 &_swigt__p_form_ops_t
,
36580 &_swigt__p_unsigned_char
,
36581 &_swigt__p_unsigned_int
,
36582 &_swigt__p_unsigned_long
,
36583 &_swigt__p_wxANIHandler
,
36584 &_swigt__p_wxAcceleratorTable
,
36585 &_swigt__p_wxActivateEvent
,
36586 &_swigt__p_wxAlphaPixelData
,
36587 &_swigt__p_wxAlphaPixelData_Accessor
,
36588 &_swigt__p_wxBMPHandler
,
36589 &_swigt__p_wxBitmap
,
36590 &_swigt__p_wxBoxSizer
,
36591 &_swigt__p_wxBrush
,
36592 &_swigt__p_wxBrushList
,
36593 &_swigt__p_wxBufferedDC
,
36594 &_swigt__p_wxBufferedPaintDC
,
36595 &_swigt__p_wxCURHandler
,
36597 &_swigt__p_wxChildFocusEvent
,
36598 &_swigt__p_wxClientDC
,
36599 &_swigt__p_wxClipboardTextEvent
,
36600 &_swigt__p_wxCloseEvent
,
36601 &_swigt__p_wxColor
,
36602 &_swigt__p_wxColour
,
36603 &_swigt__p_wxColourDatabase
,
36604 &_swigt__p_wxCommandEvent
,
36605 &_swigt__p_wxContextMenuEvent
,
36606 &_swigt__p_wxControl
,
36607 &_swigt__p_wxControlWithItems
,
36608 &_swigt__p_wxCursor
,
36610 &_swigt__p_wxDCOverlay
,
36612 &_swigt__p_wxDateEvent
,
36613 &_swigt__p_wxDisplayChangedEvent
,
36614 &_swigt__p_wxDropFilesEvent
,
36615 &_swigt__p_wxDuplexMode
,
36616 &_swigt__p_wxEffects
,
36617 &_swigt__p_wxEncodingConverter
,
36618 &_swigt__p_wxEraseEvent
,
36619 &_swigt__p_wxEvent
,
36620 &_swigt__p_wxEvtHandler
,
36621 &_swigt__p_wxFSFile
,
36622 &_swigt__p_wxFileSystem
,
36623 &_swigt__p_wxFlexGridSizer
,
36624 &_swigt__p_wxFocusEvent
,
36626 &_swigt__p_wxFontList
,
36627 &_swigt__p_wxFontMapper
,
36628 &_swigt__p_wxGBSizerItem
,
36630 &_swigt__p_wxGDIObjListBase
,
36631 &_swigt__p_wxGDIObject
,
36632 &_swigt__p_wxGIFHandler
,
36633 &_swigt__p_wxGraphicsContext
,
36634 &_swigt__p_wxGraphicsPath
,
36635 &_swigt__p_wxGridBagSizer
,
36636 &_swigt__p_wxGridSizer
,
36637 &_swigt__p_wxHeaderButtonParams
,
36638 &_swigt__p_wxICOHandler
,
36640 &_swigt__p_wxIconBundle
,
36641 &_swigt__p_wxIconLocation
,
36642 &_swigt__p_wxIconizeEvent
,
36643 &_swigt__p_wxIdleEvent
,
36644 &_swigt__p_wxImage
,
36645 &_swigt__p_wxImageHandler
,
36646 &_swigt__p_wxImageList
,
36647 &_swigt__p_wxIndividualLayoutConstraint
,
36648 &_swigt__p_wxInitDialogEvent
,
36649 &_swigt__p_wxJPEGHandler
,
36650 &_swigt__p_wxKeyEvent
,
36651 &_swigt__p_wxLanguageInfo
,
36652 &_swigt__p_wxLayoutConstraints
,
36653 &_swigt__p_wxLocale
,
36655 &_swigt__p_wxMaximizeEvent
,
36656 &_swigt__p_wxMemoryDC
,
36658 &_swigt__p_wxMenuBar
,
36659 &_swigt__p_wxMenuEvent
,
36660 &_swigt__p_wxMenuItem
,
36661 &_swigt__p_wxMetaFile
,
36662 &_swigt__p_wxMetaFileDC
,
36663 &_swigt__p_wxMirrorDC
,
36664 &_swigt__p_wxMouseCaptureChangedEvent
,
36665 &_swigt__p_wxMouseCaptureLostEvent
,
36666 &_swigt__p_wxMouseEvent
,
36667 &_swigt__p_wxMoveEvent
,
36668 &_swigt__p_wxNativeEncodingInfo
,
36669 &_swigt__p_wxNativeFontInfo
,
36670 &_swigt__p_wxNativePixelData
,
36671 &_swigt__p_wxNativePixelData_Accessor
,
36672 &_swigt__p_wxNavigationKeyEvent
,
36673 &_swigt__p_wxNcPaintEvent
,
36674 &_swigt__p_wxNotifyEvent
,
36675 &_swigt__p_wxObject
,
36676 &_swigt__p_wxOverlay
,
36677 &_swigt__p_wxPCXHandler
,
36678 &_swigt__p_wxPNGHandler
,
36679 &_swigt__p_wxPNMHandler
,
36680 &_swigt__p_wxPaintDC
,
36681 &_swigt__p_wxPaintEvent
,
36682 &_swigt__p_wxPalette
,
36683 &_swigt__p_wxPaletteChangedEvent
,
36684 &_swigt__p_wxPaperSize
,
36686 &_swigt__p_wxPenList
,
36687 &_swigt__p_wxPixelDataBase
,
36688 &_swigt__p_wxPoint
,
36689 &_swigt__p_wxPoint2D
,
36690 &_swigt__p_wxPostScriptDC
,
36691 &_swigt__p_wxPrintData
,
36692 &_swigt__p_wxPrinterDC
,
36693 &_swigt__p_wxPseudoDC
,
36694 &_swigt__p_wxPyApp
,
36695 &_swigt__p_wxPyCommandEvent
,
36696 &_swigt__p_wxPyEvent
,
36697 &_swigt__p_wxPyFontEnumerator
,
36698 &_swigt__p_wxPyImageHandler
,
36699 &_swigt__p_wxPyLocale
,
36700 &_swigt__p_wxPySizer
,
36701 &_swigt__p_wxPyValidator
,
36702 &_swigt__p_wxQueryNewPaletteEvent
,
36704 &_swigt__p_wxRegion
,
36705 &_swigt__p_wxRegionIterator
,
36706 &_swigt__p_wxRendererNative
,
36707 &_swigt__p_wxRendererVersion
,
36708 &_swigt__p_wxScreenDC
,
36709 &_swigt__p_wxScrollEvent
,
36710 &_swigt__p_wxScrollWinEvent
,
36711 &_swigt__p_wxSetCursorEvent
,
36712 &_swigt__p_wxShowEvent
,
36714 &_swigt__p_wxSizeEvent
,
36715 &_swigt__p_wxSizer
,
36716 &_swigt__p_wxSizerItem
,
36717 &_swigt__p_wxSplitterRenderParams
,
36718 &_swigt__p_wxStaticBoxSizer
,
36719 &_swigt__p_wxStdDialogButtonSizer
,
36720 &_swigt__p_wxStockGDI
,
36721 &_swigt__p_wxString
,
36722 &_swigt__p_wxSysColourChangedEvent
,
36723 &_swigt__p_wxTIFFHandler
,
36724 &_swigt__p_wxUpdateUIEvent
,
36725 &_swigt__p_wxValidator
,
36726 &_swigt__p_wxWindow
,
36727 &_swigt__p_wxWindowCreateEvent
,
36728 &_swigt__p_wxWindowDC
,
36729 &_swigt__p_wxWindowDestroyEvent
,
36730 &_swigt__p_wxXPMHandler
,
36733 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
36734 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
36735 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
36736 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
36737 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
36738 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
36739 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
36740 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
36741 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
36742 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36743 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
36744 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
36745 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
36746 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}};
36747 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36748 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
36749 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}};
36750 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
36751 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
36752 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
36753 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
36754 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}};
36755 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
36756 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
36757 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
36758 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
36759 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
36760 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
36761 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
36762 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
36763 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
36764 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}};
36765 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}};
36766 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
36767 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
36768 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
36769 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
36770 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
36771 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
36772 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
36773 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
36774 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
36775 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}};
36776 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
36777 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
36778 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
36779 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
36780 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
36781 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
36782 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
36783 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
36784 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36785 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
36786 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36787 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36788 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
36789 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
36790 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36791 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36792 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36793 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
36794 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
36795 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
36796 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
36797 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36798 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36799 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36800 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
36801 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36802 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36803 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36804 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36805 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36806 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36807 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
36808 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
36809 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
36810 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
36811 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36812 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36813 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
36814 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
36815 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36816 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
36817 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36818 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
36819 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36820 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36821 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36822 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
36823 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36824 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
36825 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
36826 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
36827 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36828 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36829 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36830 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36831 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
36832 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
36833 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36834 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36835 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
36836 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36837 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36838 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
36839 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
36840 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
36841 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
36842 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36843 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36844 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36845 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
36846 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
36847 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36848 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36849 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
36850 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36851 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36852 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36853 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36854 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36855 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
36856 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36857 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36858 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
36859 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
36860 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
36861 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}};
36862 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
36863 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36864 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
36865 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
36866 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
36867 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
36868 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}};
36869 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
36870 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
36871 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
36872 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
36873 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
36874 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
36875 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
36876 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
36877 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
36878 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
36879 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
36880 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
36881 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
36882 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
36883 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
36884 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
36885 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
36886 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
36887 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}};
36888 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}};
36890 static swig_cast_info
*swig_cast_initial
[] = {
36894 _swigc__p_form_ops_t
,
36896 _swigc__p_unsigned_char
,
36897 _swigc__p_unsigned_int
,
36898 _swigc__p_unsigned_long
,
36899 _swigc__p_wxANIHandler
,
36900 _swigc__p_wxAcceleratorTable
,
36901 _swigc__p_wxActivateEvent
,
36902 _swigc__p_wxAlphaPixelData
,
36903 _swigc__p_wxAlphaPixelData_Accessor
,
36904 _swigc__p_wxBMPHandler
,
36905 _swigc__p_wxBitmap
,
36906 _swigc__p_wxBoxSizer
,
36908 _swigc__p_wxBrushList
,
36909 _swigc__p_wxBufferedDC
,
36910 _swigc__p_wxBufferedPaintDC
,
36911 _swigc__p_wxCURHandler
,
36913 _swigc__p_wxChildFocusEvent
,
36914 _swigc__p_wxClientDC
,
36915 _swigc__p_wxClipboardTextEvent
,
36916 _swigc__p_wxCloseEvent
,
36918 _swigc__p_wxColour
,
36919 _swigc__p_wxColourDatabase
,
36920 _swigc__p_wxCommandEvent
,
36921 _swigc__p_wxContextMenuEvent
,
36922 _swigc__p_wxControl
,
36923 _swigc__p_wxControlWithItems
,
36924 _swigc__p_wxCursor
,
36926 _swigc__p_wxDCOverlay
,
36928 _swigc__p_wxDateEvent
,
36929 _swigc__p_wxDisplayChangedEvent
,
36930 _swigc__p_wxDropFilesEvent
,
36931 _swigc__p_wxDuplexMode
,
36932 _swigc__p_wxEffects
,
36933 _swigc__p_wxEncodingConverter
,
36934 _swigc__p_wxEraseEvent
,
36936 _swigc__p_wxEvtHandler
,
36937 _swigc__p_wxFSFile
,
36938 _swigc__p_wxFileSystem
,
36939 _swigc__p_wxFlexGridSizer
,
36940 _swigc__p_wxFocusEvent
,
36942 _swigc__p_wxFontList
,
36943 _swigc__p_wxFontMapper
,
36944 _swigc__p_wxGBSizerItem
,
36946 _swigc__p_wxGDIObjListBase
,
36947 _swigc__p_wxGDIObject
,
36948 _swigc__p_wxGIFHandler
,
36949 _swigc__p_wxGraphicsContext
,
36950 _swigc__p_wxGraphicsPath
,
36951 _swigc__p_wxGridBagSizer
,
36952 _swigc__p_wxGridSizer
,
36953 _swigc__p_wxHeaderButtonParams
,
36954 _swigc__p_wxICOHandler
,
36956 _swigc__p_wxIconBundle
,
36957 _swigc__p_wxIconLocation
,
36958 _swigc__p_wxIconizeEvent
,
36959 _swigc__p_wxIdleEvent
,
36961 _swigc__p_wxImageHandler
,
36962 _swigc__p_wxImageList
,
36963 _swigc__p_wxIndividualLayoutConstraint
,
36964 _swigc__p_wxInitDialogEvent
,
36965 _swigc__p_wxJPEGHandler
,
36966 _swigc__p_wxKeyEvent
,
36967 _swigc__p_wxLanguageInfo
,
36968 _swigc__p_wxLayoutConstraints
,
36969 _swigc__p_wxLocale
,
36971 _swigc__p_wxMaximizeEvent
,
36972 _swigc__p_wxMemoryDC
,
36974 _swigc__p_wxMenuBar
,
36975 _swigc__p_wxMenuEvent
,
36976 _swigc__p_wxMenuItem
,
36977 _swigc__p_wxMetaFile
,
36978 _swigc__p_wxMetaFileDC
,
36979 _swigc__p_wxMirrorDC
,
36980 _swigc__p_wxMouseCaptureChangedEvent
,
36981 _swigc__p_wxMouseCaptureLostEvent
,
36982 _swigc__p_wxMouseEvent
,
36983 _swigc__p_wxMoveEvent
,
36984 _swigc__p_wxNativeEncodingInfo
,
36985 _swigc__p_wxNativeFontInfo
,
36986 _swigc__p_wxNativePixelData
,
36987 _swigc__p_wxNativePixelData_Accessor
,
36988 _swigc__p_wxNavigationKeyEvent
,
36989 _swigc__p_wxNcPaintEvent
,
36990 _swigc__p_wxNotifyEvent
,
36991 _swigc__p_wxObject
,
36992 _swigc__p_wxOverlay
,
36993 _swigc__p_wxPCXHandler
,
36994 _swigc__p_wxPNGHandler
,
36995 _swigc__p_wxPNMHandler
,
36996 _swigc__p_wxPaintDC
,
36997 _swigc__p_wxPaintEvent
,
36998 _swigc__p_wxPalette
,
36999 _swigc__p_wxPaletteChangedEvent
,
37000 _swigc__p_wxPaperSize
,
37002 _swigc__p_wxPenList
,
37003 _swigc__p_wxPixelDataBase
,
37005 _swigc__p_wxPoint2D
,
37006 _swigc__p_wxPostScriptDC
,
37007 _swigc__p_wxPrintData
,
37008 _swigc__p_wxPrinterDC
,
37009 _swigc__p_wxPseudoDC
,
37011 _swigc__p_wxPyCommandEvent
,
37012 _swigc__p_wxPyEvent
,
37013 _swigc__p_wxPyFontEnumerator
,
37014 _swigc__p_wxPyImageHandler
,
37015 _swigc__p_wxPyLocale
,
37016 _swigc__p_wxPySizer
,
37017 _swigc__p_wxPyValidator
,
37018 _swigc__p_wxQueryNewPaletteEvent
,
37020 _swigc__p_wxRegion
,
37021 _swigc__p_wxRegionIterator
,
37022 _swigc__p_wxRendererNative
,
37023 _swigc__p_wxRendererVersion
,
37024 _swigc__p_wxScreenDC
,
37025 _swigc__p_wxScrollEvent
,
37026 _swigc__p_wxScrollWinEvent
,
37027 _swigc__p_wxSetCursorEvent
,
37028 _swigc__p_wxShowEvent
,
37030 _swigc__p_wxSizeEvent
,
37032 _swigc__p_wxSizerItem
,
37033 _swigc__p_wxSplitterRenderParams
,
37034 _swigc__p_wxStaticBoxSizer
,
37035 _swigc__p_wxStdDialogButtonSizer
,
37036 _swigc__p_wxStockGDI
,
37037 _swigc__p_wxString
,
37038 _swigc__p_wxSysColourChangedEvent
,
37039 _swigc__p_wxTIFFHandler
,
37040 _swigc__p_wxUpdateUIEvent
,
37041 _swigc__p_wxValidator
,
37042 _swigc__p_wxWindow
,
37043 _swigc__p_wxWindowCreateEvent
,
37044 _swigc__p_wxWindowDC
,
37045 _swigc__p_wxWindowDestroyEvent
,
37046 _swigc__p_wxXPMHandler
,
37050 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37052 static swig_const_info swig_const_table
[] = {
37053 {0, 0, 0, 0.0, 0, 0}};
37058 /* -----------------------------------------------------------------------------
37059 * Type initialization:
37060 * This problem is tough by the requirement that no dynamic
37061 * memory is used. Also, since swig_type_info structures store pointers to
37062 * swig_cast_info structures and swig_cast_info structures store pointers back
37063 * to swig_type_info structures, we need some lookup code at initialization.
37064 * The idea is that swig generates all the structures that are needed.
37065 * The runtime then collects these partially filled structures.
37066 * The SWIG_InitializeModule function takes these initial arrays out of
37067 * swig_module, and does all the lookup, filling in the swig_module.types
37068 * array with the correct data and linking the correct swig_cast_info
37069 * structures together.
37071 * The generated swig_type_info structures are assigned staticly to an initial
37072 * array. We just loop though that array, and handle each type individually.
37073 * First we lookup if this type has been already loaded, and if so, use the
37074 * loaded structure instead of the generated one. Then we have to fill in the
37075 * cast linked list. The cast data is initially stored in something like a
37076 * two-dimensional array. Each row corresponds to a type (there are the same
37077 * number of rows as there are in the swig_type_initial array). Each entry in
37078 * a column is one of the swig_cast_info structures for that type.
37079 * The cast_initial array is actually an array of arrays, because each row has
37080 * a variable number of columns. So to actually build the cast linked list,
37081 * we find the array of casts associated with the type, and loop through it
37082 * adding the casts to the list. The one last trick we need to do is making
37083 * sure the type pointer in the swig_cast_info struct is correct.
37085 * First off, we lookup the cast->type name to see if it is already loaded.
37086 * There are three cases to handle:
37087 * 1) If the cast->type has already been loaded AND the type we are adding
37088 * casting info to has not been loaded (it is in this module), THEN we
37089 * replace the cast->type pointer with the type pointer that has already
37091 * 2) If BOTH types (the one we are adding casting info to, and the
37092 * cast->type) are loaded, THEN the cast info has already been loaded by
37093 * the previous module so we just ignore it.
37094 * 3) Finally, if cast->type has not already been loaded, then we add that
37095 * swig_cast_info to the linked list (because the cast->type) pointer will
37097 * ----------------------------------------------------------------------------- */
37107 #define SWIGRUNTIME_DEBUG
37111 SWIG_InitializeModule(void *clientdata
) {
37113 swig_module_info
*module_head
;
37114 static int init_run
= 0;
37116 clientdata
= clientdata
;
37118 if (init_run
) return;
37121 /* Initialize the swig_module */
37122 swig_module
.type_initial
= swig_type_initial
;
37123 swig_module
.cast_initial
= swig_cast_initial
;
37125 /* Try and load any already created modules */
37126 module_head
= SWIG_GetModule(clientdata
);
37128 swig_module
.next
= module_head
->next
;
37129 module_head
->next
= &swig_module
;
37131 /* This is the first module loaded */
37132 swig_module
.next
= &swig_module
;
37133 SWIG_SetModule(clientdata
, &swig_module
);
37136 /* Now work on filling in swig_module.types */
37137 #ifdef SWIGRUNTIME_DEBUG
37138 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
37140 for (i
= 0; i
< swig_module
.size
; ++i
) {
37141 swig_type_info
*type
= 0;
37142 swig_type_info
*ret
;
37143 swig_cast_info
*cast
;
37145 #ifdef SWIGRUNTIME_DEBUG
37146 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37149 /* if there is another module already loaded */
37150 if (swig_module
.next
!= &swig_module
) {
37151 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
37154 /* Overwrite clientdata field */
37155 #ifdef SWIGRUNTIME_DEBUG
37156 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
37158 if (swig_module
.type_initial
[i
]->clientdata
) {
37159 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
37160 #ifdef SWIGRUNTIME_DEBUG
37161 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
37165 type
= swig_module
.type_initial
[i
];
37168 /* Insert casting types */
37169 cast
= swig_module
.cast_initial
[i
];
37170 while (cast
->type
) {
37171 /* Don't need to add information already in the list */
37173 #ifdef SWIGRUNTIME_DEBUG
37174 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
37176 if (swig_module
.next
!= &swig_module
) {
37177 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
37178 #ifdef SWIGRUNTIME_DEBUG
37179 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
37183 if (type
== swig_module
.type_initial
[i
]) {
37184 #ifdef SWIGRUNTIME_DEBUG
37185 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
37190 /* Check for casting already in the list */
37191 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
37192 #ifdef SWIGRUNTIME_DEBUG
37193 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
37195 if (!ocast
) ret
= 0;
37200 #ifdef SWIGRUNTIME_DEBUG
37201 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
37204 type
->cast
->prev
= cast
;
37205 cast
->next
= type
->cast
;
37211 /* Set entry in modules->types array equal to the type */
37212 swig_module
.types
[i
] = type
;
37214 swig_module
.types
[i
] = 0;
37216 #ifdef SWIGRUNTIME_DEBUG
37217 printf("**** SWIG_InitializeModule: Cast List ******\n");
37218 for (i
= 0; i
< swig_module
.size
; ++i
) {
37220 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
37221 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37222 while (cast
->type
) {
37223 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
37227 printf("---- Total casts: %d\n",j
);
37229 printf("**** SWIG_InitializeModule: Cast List ******\n");
37233 /* This function will propagate the clientdata field of type to
37234 * any new swig_type_info structures that have been added into the list
37235 * of equivalent types. It is like calling
37236 * SWIG_TypeClientData(type, clientdata) a second time.
37239 SWIG_PropagateClientData(void) {
37241 swig_cast_info
*equiv
;
37242 static int init_run
= 0;
37244 if (init_run
) return;
37247 for (i
= 0; i
< swig_module
.size
; i
++) {
37248 if (swig_module
.types
[i
]->clientdata
) {
37249 equiv
= swig_module
.types
[i
]->cast
;
37251 if (!equiv
->converter
) {
37252 if (equiv
->type
&& !equiv
->type
->clientdata
)
37253 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
37255 equiv
= equiv
->next
;
37275 /* Python-specific SWIG API */
37276 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37277 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37278 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37280 /* -----------------------------------------------------------------------------
37281 * global variable support code.
37282 * ----------------------------------------------------------------------------- */
37284 typedef struct swig_globalvar
{
37285 char *name
; /* Name of global variable */
37286 PyObject
*(*get_attr
)(void); /* Return the current value */
37287 int (*set_attr
)(PyObject
*); /* Set the value */
37288 struct swig_globalvar
*next
;
37291 typedef struct swig_varlinkobject
{
37293 swig_globalvar
*vars
;
37294 } swig_varlinkobject
;
37296 SWIGINTERN PyObject
*
37297 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
37298 return PyString_FromString("<Swig global variables>");
37301 SWIGINTERN PyObject
*
37302 swig_varlink_str(swig_varlinkobject
*v
) {
37303 PyObject
*str
= PyString_FromString("(");
37304 swig_globalvar
*var
;
37305 for (var
= v
->vars
; var
; var
=var
->next
) {
37306 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
37307 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
37309 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
37314 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
37315 PyObject
*str
= swig_varlink_str(v
);
37316 fprintf(fp
,"Swig global variables ");
37317 fprintf(fp
,"%s\n", PyString_AsString(str
));
37323 swig_varlink_dealloc(swig_varlinkobject
*v
) {
37324 swig_globalvar
*var
= v
->vars
;
37326 swig_globalvar
*n
= var
->next
;
37333 SWIGINTERN PyObject
*
37334 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37335 PyObject
*res
= NULL
;
37336 swig_globalvar
*var
= v
->vars
;
37338 if (strcmp(var
->name
,n
) == 0) {
37339 res
= (*var
->get_attr
)();
37344 if (res
== NULL
&& !PyErr_Occurred()) {
37345 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37351 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37353 swig_globalvar
*var
= v
->vars
;
37355 if (strcmp(var
->name
,n
) == 0) {
37356 res
= (*var
->set_attr
)(p
);
37361 if (res
== 1 && !PyErr_Occurred()) {
37362 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37367 SWIGINTERN PyTypeObject
*
37368 swig_varlink_type(void) {
37369 static char varlink__doc__
[] = "Swig var link object";
37370 static PyTypeObject varlink_type
;
37371 static int type_init
= 0;
37373 const PyTypeObject tmp
37375 PyObject_HEAD_INIT(NULL
)
37376 0, /* Number of items in variable part (ob_size) */
37377 (char *)"swigvarlink", /* Type name (tp_name) */
37378 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37379 0, /* Itemsize (tp_itemsize) */
37380 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
37381 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37382 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37383 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37384 0, /* tp_compare */
37385 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37386 0, /* tp_as_number */
37387 0, /* tp_as_sequence */
37388 0, /* tp_as_mapping */
37391 (reprfunc
)swig_varlink_str
, /* tp_str */
37392 0, /* tp_getattro */
37393 0, /* tp_setattro */
37394 0, /* tp_as_buffer */
37396 varlink__doc__
, /* tp_doc */
37397 0, /* tp_traverse */
37399 0, /* tp_richcompare */
37400 0, /* tp_weaklistoffset */
37401 #if PY_VERSION_HEX >= 0x02020000
37402 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37404 #if PY_VERSION_HEX >= 0x02030000
37407 #ifdef COUNT_ALLOCS
37408 0,0,0,0 /* tp_alloc -> tp_next */
37411 varlink_type
= tmp
;
37412 varlink_type
.ob_type
= &PyType_Type
;
37415 return &varlink_type
;
37418 /* Create a variable linking object for use later */
37419 SWIGINTERN PyObject
*
37420 SWIG_Python_newvarlink(void) {
37421 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
37425 return ((PyObject
*) result
);
37429 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37430 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
37431 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37433 size_t size
= strlen(name
)+1;
37434 gv
->name
= (char *)malloc(size
);
37436 strncpy(gv
->name
,name
,size
);
37437 gv
->get_attr
= get_attr
;
37438 gv
->set_attr
= set_attr
;
37439 gv
->next
= v
->vars
;
37445 SWIGINTERN PyObject
*
37447 static PyObject
*_SWIG_globals
= 0;
37448 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
37449 return _SWIG_globals
;
37452 /* -----------------------------------------------------------------------------
37453 * constants/methods manipulation
37454 * ----------------------------------------------------------------------------- */
37456 /* Install Constants */
37458 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37461 for (i
= 0; constants
[i
].type
; ++i
) {
37462 switch(constants
[i
].type
) {
37463 case SWIG_PY_POINTER
:
37464 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37466 case SWIG_PY_BINARY
:
37467 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37474 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
37480 /* -----------------------------------------------------------------------------*/
37481 /* Fix SwigMethods to carry the callback ptrs when needed */
37482 /* -----------------------------------------------------------------------------*/
37485 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37486 swig_const_info
*const_table
,
37487 swig_type_info
**types
,
37488 swig_type_info
**types_initial
) {
37490 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37491 const char *c
= methods
[i
].ml_doc
;
37492 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37494 swig_const_info
*ci
= 0;
37495 const char *name
= c
+ 10;
37496 for (j
= 0; const_table
[j
].type
; ++j
) {
37497 if (strncmp(const_table
[j
].name
, name
,
37498 strlen(const_table
[j
].name
)) == 0) {
37499 ci
= &(const_table
[j
]);
37504 size_t shift
= (ci
->ptype
) - types
;
37505 swig_type_info
*ty
= types_initial
[shift
];
37506 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37507 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37508 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37511 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
37513 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37515 strncpy(buff
, "swig_ptr: ", 10);
37517 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37518 methods
[i
].ml_doc
= ndoc
;
37530 /* -----------------------------------------------------------------------------*
37531 * Partial Init method
37532 * -----------------------------------------------------------------------------*/
37537 SWIGEXPORT
void SWIG_init(void) {
37540 /* Fix SwigMethods to carry the callback ptrs when needed */
37541 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
37543 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37544 d
= PyModule_GetDict(m
);
37546 SWIG_InitializeModule(0);
37547 SWIG_InstallConstants(d
,swig_const_table
);
37550 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
37551 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
37552 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
37553 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
37554 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
37555 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
37556 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
37557 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
37558 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
37559 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
37560 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
37561 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
37562 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
37563 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
37564 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
37565 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
37566 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
37567 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
37568 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
37569 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
37570 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
37571 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
37572 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
37573 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
37574 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
37575 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
37576 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
37577 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
37578 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
37579 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
37580 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
37581 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
37582 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
37583 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
37584 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
37585 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
37586 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
37587 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
37588 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
37589 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
37590 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
37591 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
37592 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
37593 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
37594 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
37595 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
37596 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
37597 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
37598 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
37599 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
37600 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
37601 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
37602 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
37603 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
37604 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
37605 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
37606 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
37607 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
37608 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
37609 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
37610 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
37611 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
37612 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
37613 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
37614 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
37615 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
37616 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
37617 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
37618 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
37619 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
37620 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
37621 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
37622 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
37623 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
37624 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
37625 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
37626 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
37627 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
37628 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
37629 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
37630 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
37631 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
37632 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
37633 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
37634 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
37635 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
37636 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
37637 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
37638 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
37639 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
37640 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
37641 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
37642 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
37643 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
37644 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
37645 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
37646 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
37647 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
37648 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
37649 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
37650 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
37651 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
37652 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
37653 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
37654 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
37655 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
37656 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
37657 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
37658 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
37659 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
37660 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
37661 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
37662 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
37663 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
37664 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
37665 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
37666 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
37667 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
37668 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
37669 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
37670 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
37671 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
37672 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
37673 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
37674 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
37675 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
37676 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
37677 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
37678 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
37679 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
37680 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
37681 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
37683 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
37685 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
37686 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
37687 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
37688 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
37689 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
37690 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
37691 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
37692 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
37693 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
37694 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
37695 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
37696 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
37697 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
37698 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
37699 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
37700 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
37701 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
37702 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
37703 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
37704 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
37705 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
37706 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
37707 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
37708 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
37709 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
37710 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
37711 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
37712 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
37713 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
37714 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
37715 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
37716 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
37717 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
37718 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
37719 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
37720 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
37721 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
37722 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
37723 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
37724 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
37725 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
37726 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
37727 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
37728 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
37729 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
37730 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
37731 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
37732 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
37733 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
37734 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
37735 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
37736 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
37737 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
37738 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
37739 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
37740 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
37741 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
37742 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
37743 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
37744 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
37745 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
37746 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
37747 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
37748 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
37749 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
37750 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
37751 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
37752 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
37753 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
37754 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
37755 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
37756 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
37757 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
37758 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
37759 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
37760 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
37761 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
37762 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
37763 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
37764 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
37765 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
37766 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
37767 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
37768 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
37769 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
37770 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
37771 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
37772 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
37773 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
37774 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
37775 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
37776 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
37777 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
37778 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
37779 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
37780 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
37781 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
37782 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
37783 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
37784 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
37785 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
37786 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
37787 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
37788 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
37789 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
37790 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
37791 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
37792 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
37793 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
37794 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
37795 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
37796 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
37797 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
37798 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
37799 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
37800 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
37801 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
37802 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
37803 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
37804 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
37805 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
37806 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
37807 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
37808 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
37809 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
37810 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
37811 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
37812 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
37813 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
37814 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
37815 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
37816 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
37817 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
37818 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
37819 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
37820 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
37821 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
37822 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
37823 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
37824 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
37825 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
37826 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
37827 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
37828 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
37829 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
37830 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
37831 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
37832 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
37833 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
37834 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
37835 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
37836 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
37837 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
37838 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
37839 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
37840 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
37841 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
37842 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
37843 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
37844 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
37845 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
37846 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
37847 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
37848 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
37849 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
37850 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
37851 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
37852 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
37853 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
37854 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
37855 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
37856 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
37857 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
37858 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
37859 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
37860 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
37861 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
37862 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
37863 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
37864 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
37865 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
37866 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
37867 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
37868 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
37869 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
37870 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
37871 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
37872 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
37873 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
37874 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
37875 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
37876 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
37877 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
37878 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
37879 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
37880 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
37881 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
37882 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
37883 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
37884 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
37885 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
37886 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
37887 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
37888 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
37889 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
37890 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
37891 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
37892 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
37893 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
37894 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
37895 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
37896 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
37897 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
37898 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
37899 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
37900 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
37901 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
37902 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
37903 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
37904 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
37905 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
37906 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
37907 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
37908 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
37909 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
37910 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
37911 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
37912 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
37913 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
37914 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
37915 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
37916 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
37917 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
37918 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
37919 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
37920 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
37921 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
37922 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
37923 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
37924 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
37925 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
37926 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
37927 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
37928 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
37929 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
37930 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
37931 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
37932 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
37933 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
37934 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
37935 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
37936 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
37937 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
37938 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
37939 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
37940 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
37941 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
37942 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
37943 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
37944 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
37945 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
37946 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
37947 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
37948 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
37949 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
37950 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
37951 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
37952 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
37953 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
37954 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
37955 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
37956 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
37957 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
37958 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
37959 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
37960 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
37961 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
37962 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
37963 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
37964 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
37965 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
37966 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
37967 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
37968 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
37969 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
37970 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
37971 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
37972 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
37973 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
37974 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
37975 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
37976 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
37977 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
37978 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
37979 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
37980 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
37981 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
37982 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
37983 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
37984 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
37985 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
37986 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
37987 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
37988 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
37989 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
37990 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
37991 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
37992 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
37993 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
37994 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
37995 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
37996 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
37997 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
37998 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
37999 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
38000 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
38001 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
38002 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
38003 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
38005 // Work around a chicken/egg problem in drawlist.cpp
38006 wxPyDrawList_SetAPIPtr();