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_wxColour swig_types[26]
2493 #define SWIGTYPE_p_wxColourDatabase swig_types[27]
2494 #define SWIGTYPE_p_wxCommandEvent swig_types[28]
2495 #define SWIGTYPE_p_wxContextMenuEvent swig_types[29]
2496 #define SWIGTYPE_p_wxControl swig_types[30]
2497 #define SWIGTYPE_p_wxControlWithItems swig_types[31]
2498 #define SWIGTYPE_p_wxCursor swig_types[32]
2499 #define SWIGTYPE_p_wxDC swig_types[33]
2500 #define SWIGTYPE_p_wxDash swig_types[34]
2501 #define SWIGTYPE_p_wxDateEvent swig_types[35]
2502 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[36]
2503 #define SWIGTYPE_p_wxDropFilesEvent swig_types[37]
2504 #define SWIGTYPE_p_wxDuplexMode swig_types[38]
2505 #define SWIGTYPE_p_wxEffects swig_types[39]
2506 #define SWIGTYPE_p_wxEncodingConverter swig_types[40]
2507 #define SWIGTYPE_p_wxEraseEvent swig_types[41]
2508 #define SWIGTYPE_p_wxEvent swig_types[42]
2509 #define SWIGTYPE_p_wxEvtHandler swig_types[43]
2510 #define SWIGTYPE_p_wxFSFile swig_types[44]
2511 #define SWIGTYPE_p_wxFileSystem swig_types[45]
2512 #define SWIGTYPE_p_wxFlexGridSizer swig_types[46]
2513 #define SWIGTYPE_p_wxFocusEvent swig_types[47]
2514 #define SWIGTYPE_p_wxFont swig_types[48]
2515 #define SWIGTYPE_p_wxFontList swig_types[49]
2516 #define SWIGTYPE_p_wxFontMapper swig_types[50]
2517 #define SWIGTYPE_p_wxGBSizerItem swig_types[51]
2518 #define SWIGTYPE_p_wxGDIObjListBase swig_types[52]
2519 #define SWIGTYPE_p_wxGDIObject swig_types[53]
2520 #define SWIGTYPE_p_wxGIFHandler swig_types[54]
2521 #define SWIGTYPE_p_wxGridBagSizer swig_types[55]
2522 #define SWIGTYPE_p_wxGridSizer swig_types[56]
2523 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[57]
2524 #define SWIGTYPE_p_wxICOHandler swig_types[58]
2525 #define SWIGTYPE_p_wxIcon swig_types[59]
2526 #define SWIGTYPE_p_wxIconBundle swig_types[60]
2527 #define SWIGTYPE_p_wxIconLocation swig_types[61]
2528 #define SWIGTYPE_p_wxIconizeEvent swig_types[62]
2529 #define SWIGTYPE_p_wxIdleEvent swig_types[63]
2530 #define SWIGTYPE_p_wxImage swig_types[64]
2531 #define SWIGTYPE_p_wxImageHandler swig_types[65]
2532 #define SWIGTYPE_p_wxImageList swig_types[66]
2533 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[67]
2534 #define SWIGTYPE_p_wxInitDialogEvent swig_types[68]
2535 #define SWIGTYPE_p_wxJPEGHandler swig_types[69]
2536 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
2537 #define SWIGTYPE_p_wxLanguageInfo swig_types[71]
2538 #define SWIGTYPE_p_wxLayoutConstraints swig_types[72]
2539 #define SWIGTYPE_p_wxLocale swig_types[73]
2540 #define SWIGTYPE_p_wxMask swig_types[74]
2541 #define SWIGTYPE_p_wxMaximizeEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMemoryDC swig_types[76]
2543 #define SWIGTYPE_p_wxMenu swig_types[77]
2544 #define SWIGTYPE_p_wxMenuBar swig_types[78]
2545 #define SWIGTYPE_p_wxMenuEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMenuItem swig_types[80]
2547 #define SWIGTYPE_p_wxMetaFile swig_types[81]
2548 #define SWIGTYPE_p_wxMetaFileDC swig_types[82]
2549 #define SWIGTYPE_p_wxMirrorDC swig_types[83]
2550 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[84]
2551 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[85]
2552 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
2553 #define SWIGTYPE_p_wxMoveEvent swig_types[87]
2554 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[88]
2555 #define SWIGTYPE_p_wxNativeFontInfo swig_types[89]
2556 #define SWIGTYPE_p_wxNativePixelData swig_types[90]
2557 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[91]
2558 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
2559 #define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
2560 #define SWIGTYPE_p_wxNotifyEvent swig_types[94]
2561 #define SWIGTYPE_p_wxObject swig_types[95]
2562 #define SWIGTYPE_p_wxPCXHandler swig_types[96]
2563 #define SWIGTYPE_p_wxPNGHandler swig_types[97]
2564 #define SWIGTYPE_p_wxPNMHandler swig_types[98]
2565 #define SWIGTYPE_p_wxPaintDC swig_types[99]
2566 #define SWIGTYPE_p_wxPaintEvent swig_types[100]
2567 #define SWIGTYPE_p_wxPalette swig_types[101]
2568 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
2569 #define SWIGTYPE_p_wxPaperSize swig_types[103]
2570 #define SWIGTYPE_p_wxPen swig_types[104]
2571 #define SWIGTYPE_p_wxPenList swig_types[105]
2572 #define SWIGTYPE_p_wxPixelDataBase swig_types[106]
2573 #define SWIGTYPE_p_wxPoint swig_types[107]
2574 #define SWIGTYPE_p_wxPostScriptDC swig_types[108]
2575 #define SWIGTYPE_p_wxPrintData swig_types[109]
2576 #define SWIGTYPE_p_wxPrinterDC swig_types[110]
2577 #define SWIGTYPE_p_wxPseudoDC swig_types[111]
2578 #define SWIGTYPE_p_wxPyApp swig_types[112]
2579 #define SWIGTYPE_p_wxPyCommandEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPyEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[115]
2582 #define SWIGTYPE_p_wxPyImageHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPyLocale swig_types[117]
2584 #define SWIGTYPE_p_wxPySizer swig_types[118]
2585 #define SWIGTYPE_p_wxPyValidator swig_types[119]
2586 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[120]
2587 #define SWIGTYPE_p_wxRect swig_types[121]
2588 #define SWIGTYPE_p_wxRegion swig_types[122]
2589 #define SWIGTYPE_p_wxRegionIterator swig_types[123]
2590 #define SWIGTYPE_p_wxRendererNative swig_types[124]
2591 #define SWIGTYPE_p_wxRendererVersion swig_types[125]
2592 #define SWIGTYPE_p_wxScreenDC swig_types[126]
2593 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
2594 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[129]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[130]
2597 #define SWIGTYPE_p_wxSize swig_types[131]
2598 #define SWIGTYPE_p_wxSizeEvent swig_types[132]
2599 #define SWIGTYPE_p_wxSizer swig_types[133]
2600 #define SWIGTYPE_p_wxSizerItem swig_types[134]
2601 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[135]
2602 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[136]
2603 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[137]
2604 #define SWIGTYPE_p_wxStockGDI swig_types[138]
2605 #define SWIGTYPE_p_wxString swig_types[139]
2606 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
2607 #define SWIGTYPE_p_wxTIFFHandler swig_types[141]
2608 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[142]
2609 #define SWIGTYPE_p_wxValidator swig_types[143]
2610 #define SWIGTYPE_p_wxWindow swig_types[144]
2611 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[145]
2612 #define SWIGTYPE_p_wxWindowDC swig_types[146]
2613 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[147]
2614 #define SWIGTYPE_p_wxXPMHandler swig_types[148]
2615 static swig_type_info
*swig_types
[150];
2616 static swig_module_info swig_module
= {swig_types
, 149, 0, 0, 0, 0};
2617 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2618 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2620 /* -------- TYPES TABLE (END) -------- */
2622 #if (PY_VERSION_HEX <= 0x02000000)
2623 # if !defined(SWIG_PYTHON_CLASSIC)
2624 # error "This python version requires to use swig with the '-classic' option"
2627 #if (PY_VERSION_HEX <= 0x02020000)
2628 # error "This python version requires to use swig with the '-nomodern' option"
2630 #if (PY_VERSION_HEX <= 0x02020000)
2631 # error "This python version requires to use swig with the '-nomodernargs' option"
2634 # error "This python version requires to use swig with the '-nofastunpack' option"
2637 /*-----------------------------------------------
2638 @(target):= _gdi_.so
2639 ------------------------------------------------*/
2640 #define SWIG_init init_gdi_
2642 #define SWIG_name "_gdi_"
2644 #define SWIGVERSION 0x010329
2647 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2648 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2651 #include <stdexcept>
2655 class PyObject_ptr
{
2660 PyObject_ptr() :_obj(0)
2664 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2669 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2671 if (initial_ref
) Py_XINCREF(_obj
);
2674 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2676 Py_XINCREF(item
._obj
);
2687 operator PyObject
*() const
2692 PyObject
*operator->() const
2701 struct PyObject_var
: PyObject_ptr
{
2702 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2704 PyObject_var
& operator = (PyObject
* obj
)
2714 #include "wx/wxPython/wxPython.h"
2715 #include "wx/wxPython/pyclasses.h"
2718 static const wxString
wxPyEmptyString(wxEmptyString
);
2720 #define SWIG_From_long PyInt_FromLong
2723 SWIGINTERNINLINE PyObject
*
2724 SWIG_From_int (int value
)
2726 return SWIG_From_long (value
);
2732 # define LLONG_MIN LONG_LONG_MIN
2735 # define LLONG_MAX LONG_LONG_MAX
2738 # define ULLONG_MAX ULONG_LONG_MAX
2743 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2745 if (PyNumber_Check(obj
)) {
2746 if (val
) *val
= PyInt_AsLong(obj
);
2749 return SWIG_TypeError
;
2754 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2757 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2758 return SWIG_TypeError
;
2761 *val
= (unsigned long)v
;
2767 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2770 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2771 if (SWIG_IsOK(res
)) {
2772 if ((v
> UCHAR_MAX
)) {
2773 return SWIG_OverflowError
;
2775 if (val
) *val
= static_cast< unsigned char >(v
);
2782 SWIGINTERNINLINE PyObject
*
2783 SWIG_From_unsigned_SS_long (unsigned long value
)
2785 return (value
> LONG_MAX
) ?
2786 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2790 SWIGINTERNINLINE PyObject
*
2791 SWIG_From_unsigned_SS_char (unsigned char value
)
2793 return SWIG_From_unsigned_SS_long (value
);
2796 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2797 wxColour temp
, *obj
= &temp
;
2798 if ( other
== Py_None
) return false;
2799 if ( ! wxColour_helper(other
, &obj
) ) {
2803 return self
->operator==(*obj
);
2805 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2806 wxColour temp
, *obj
= &temp
;
2807 if ( other
== Py_None
) return true;
2808 if ( ! wxColour_helper(other
, &obj
)) {
2812 return self
->operator!=(*obj
);
2816 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2818 if (obj
== Py_True
) {
2819 if (val
) *val
= true;
2821 } else if (obj
== Py_False
) {
2822 if (val
) *val
= false;
2826 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2827 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2832 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2833 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2837 int alpha
= wxALPHA_OPAQUE
;
2840 green
= self
->Green();
2841 blue
= self
->Blue();
2842 alpha
= self
->Alpha();
2844 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2845 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2846 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2848 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2851 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2852 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2856 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2859 int res
= SWIG_AsVal_long (obj
, &v
);
2860 if (SWIG_IsOK(res
)) {
2861 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2862 return SWIG_OverflowError
;
2864 if (val
) *val
= static_cast< int >(v
);
2870 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2872 int count
= self
->GetDashes(&dashes
);
2873 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2874 PyObject
* retval
= PyList_New(0);
2875 for (int x
=0; x
<count
; x
++) {
2876 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2877 PyList_Append(retval
, pyint
);
2880 wxPyEndBlockThreads(blocked
);
2883 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2884 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2885 int size
= PyList_Size(pyDashes
);
2886 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2888 // black magic warning! The array of wxDashes needs to exist as
2889 // long as the pen does because wxPen does not copy the array. So
2890 // stick a copy in a Python string object and attach it to _self,
2891 // and then call SetDashes with a pointer to that array. Then
2892 // when the Python pen object is destroyed the array will be
2894 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2895 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2897 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2899 Py_DECREF(strDashes
);
2900 wxPyEndBlockThreads(blocked
);
2902 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2903 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2905 #include <wx/rawbmp.h>
2908 #include <wx/image.h>
2910 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2911 char** cArray
= NULL
;
2914 if (!PyList_Check(listOfStrings
)) {
2915 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2918 count
= PyList_Size(listOfStrings
);
2919 cArray
= new char*[count
];
2921 for(int x
=0; x
<count
; x
++) {
2922 // TODO: Need some validation and error checking here
2923 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2929 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2930 char** cArray
= NULL
;
2933 cArray
= ConvertListOfStrings(listOfStrings
);
2936 bmp
= new wxBitmap(cArray
);
2940 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2943 PyString_AsStringAndSize(bits
, &buf
, &length
);
2944 return new wxBitmap(buf
, width
, height
, depth
);
2946 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2947 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2948 wxSize
size(self
->GetWidth(), self
->GetHeight());
2951 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2952 wxMask
*mask
= new wxMask(*self
, colour
);
2953 self
->SetMask(mask
);
2955 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2956 self
->SetWidth(size
.x
);
2957 self
->SetHeight(size
.y
);
2959 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2960 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2962 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2963 // appears to me that the other platforms are already doing it, so I'll just
2964 // automatically do it for wxMSW here.
2966 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2967 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2969 #define wxPy_premultiply(p, a) (p)
2970 #define wxPy_unpremultiply(p, a) (p)
2974 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2975 buffer data
, int DATASIZE
,
2976 buffer alpha
, int ALPHASIZE
)
2978 if (DATASIZE
!= width
*height
*3) {
2979 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2983 if (ALPHASIZE
!= width
*height
) {
2984 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2988 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
2989 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
2991 // raise an exception...
2992 wxPyErr_SetString(PyExc_RuntimeError
,
2993 "Failed to gain raw access to bitmap data.");
2998 wxAlphaPixelData::Iterator
p(pixData
);
2999 for (int y
=0; y
<height
; y
++) {
3000 wxAlphaPixelData::Iterator rowStart
= p
;
3001 for (int x
=0; x
<width
; x
++) {
3002 byte a
= *(alpha
++);
3003 p
.Red() = wxPy_premultiply(*(data
++), a
);
3004 p
.Green() = wxPy_premultiply(*(data
++), a
);
3005 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3010 p
.OffsetY(pixData
, 1);
3015 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3017 if (DATASIZE
!= width
*height
*3) {
3018 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3022 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3023 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3025 // raise an exception...
3026 wxPyErr_SetString(PyExc_RuntimeError
,
3027 "Failed to gain raw access to bitmap data.");
3031 wxNativePixelData::Iterator
p(pixData
);
3032 for (int y
=0; y
<height
; y
++) {
3033 wxNativePixelData::Iterator rowStart
= p
;
3034 for (int x
=0; x
<width
; x
++) {
3035 p
.Red() = *(data
++);
3036 p
.Green() = *(data
++);
3037 p
.Blue() = *(data
++);
3041 p
.OffsetY(pixData
, 1);
3047 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3049 if (DATASIZE
!= width
*height
*4) {
3050 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3054 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3055 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3057 // raise an exception...
3058 wxPyErr_SetString(PyExc_RuntimeError
,
3059 "Failed to gain raw access to bitmap data.");
3064 wxAlphaPixelData::Iterator
p(pixData
);
3065 for (int y
=0; y
<height
; y
++) {
3066 wxAlphaPixelData::Iterator rowStart
= p
;
3067 for (int x
=0; x
<width
; x
++) {
3069 p
.Red() = wxPy_premultiply(*(data
++), a
);
3070 p
.Green() = wxPy_premultiply(*(data
++), a
);
3071 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3072 p
.Alpha() = a
; data
++;
3076 p
.OffsetY(pixData
, 1);
3082 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3084 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3085 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3086 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3088 self
->Green() = green
;
3089 self
->Blue() = blue
;
3091 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3092 PyObject
* rv
= PyTuple_New(3);
3093 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3094 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3095 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3099 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3101 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3102 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3103 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3104 self
->Red() = wxPy_premultiply(red
, alpha
);
3105 self
->Green() = wxPy_premultiply(green
, alpha
);
3106 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3107 self
->Alpha() = alpha
;
3109 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3110 PyObject
* rv
= PyTuple_New(4);
3111 int red
= self
->Red();
3112 int green
= self
->Green();
3113 int blue
= self
->Blue();
3114 int alpha
= self
->Alpha();
3116 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3117 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3118 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3119 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3122 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3124 return new wxMask(bitmap
, *wxBLACK
);
3126 return new wxMask(bitmap
, colour
);
3129 #include <wx/iconbndl.h>
3131 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3132 wxIcon
* icon
= new wxIcon();
3133 icon
->CopyFromBitmap(bmp
);
3136 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3137 char** cArray
= NULL
;
3140 cArray
= ConvertListOfStrings(listOfStrings
);
3143 icon
= new wxIcon(cArray
);
3147 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3148 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3150 return new wxIconLocation(*filename
, num
);
3155 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3157 self
->SetIndex(num
);
3162 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3164 return self
->GetIndex();
3169 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3171 wxImage
img(cursorName
, type
);
3172 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3173 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3174 return new wxCursor(img
);
3176 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3179 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3182 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3185 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3186 return self
->operator bool();
3189 #include <wx/fontutil.h>
3190 #include <wx/fontmap.h>
3191 #include <wx/fontenum.h>
3193 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3194 return self
->ToString();
3197 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3198 { wxPyRaiseNotImplemented(); return NULL
; }
3200 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3201 { wxPyRaiseNotImplemented(); return false; }
3204 SWIGINTERNINLINE PyObject
*
3205 SWIG_From_size_t (size_t value
)
3207 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3211 SWIGINTERNINLINE
int
3212 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3215 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3216 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3220 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3221 wxFontEncoding alt_enc
;
3222 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3223 return PyInt_FromLong(alt_enc
);
3229 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3230 wxNativeFontInfo nfi
;
3231 nfi
.FromString(info
);
3232 return new wxFont(nfi
);
3234 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3235 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3237 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3238 return wxFontBase::New(pixelSize
, family
,
3239 style
, weight
, underlined
,
3242 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3243 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3245 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3246 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3248 class wxPyFontEnumerator
: public wxFontEnumerator
{
3250 wxPyFontEnumerator() {}
3251 ~wxPyFontEnumerator() {}
3253 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3254 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3259 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3260 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3263 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3265 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3266 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3267 ret
= wxArrayString2PyList_helper(arr
);
3268 wxPyEndBlockThreads(blocked
);
3271 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3273 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3274 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3275 ret
= wxArrayString2PyList_helper(arr
);
3276 wxPyEndBlockThreads(blocked
);
3282 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3285 loc
= new wxLocale();
3287 loc
= new wxLocale(language
, flags
);
3288 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3289 // for the floating point conversions and such to work right.
3290 #if PY_VERSION_HEX < 0x02040000
3291 setlocale(LC_NUMERIC
, "C");
3295 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3296 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3297 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3298 // for the floating point conversions and such to work right.
3299 #if PY_VERSION_HEX < 0x02040000
3300 setlocale(LC_NUMERIC
, "C");
3304 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3305 bool rc
= self
->Init(language
, flags
);
3306 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3307 // for the floating point conversions and such to work right.
3308 #if PY_VERSION_HEX < 0x02040000
3309 setlocale(LC_NUMERIC
, "C");
3314 class wxPyLocale
: public wxLocale
3319 wxPyLocale(const wxChar
*szName
, // name (for messages)
3320 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3321 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3322 bool bLoadDefault
= true, // preload wxstd.mo?
3323 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3325 wxPyLocale(int language
, // wxLanguage id or custom language
3326 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3330 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3331 const wxChar
*szDomain
= NULL
) const;
3332 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3333 const wxChar
*szOrigString2
, size_t n
,
3334 const wxChar
*szDomain
= NULL
) const;
3336 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3337 const wxChar
*szDomain
= NULL
) const;
3338 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3339 const wxChar
*szOrigString2
, size_t n
,
3340 const wxChar
*szDomain
= NULL
) const;
3344 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3347 wxPyLocale::wxPyLocale() : wxLocale()
3351 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3352 const wxChar
*szShort
, // dir prefix (for msg files)
3353 const wxChar
*szLocale
, // locale (for setlocale)
3354 bool bLoadDefault
, // preload wxstd.mo?
3355 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3356 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3360 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3361 int flags
) : wxLocale(language
, flags
)
3365 wxPyLocale::~wxPyLocale()
3369 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3370 const wxChar
*szDomain
) const
3372 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3373 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3376 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3377 const wxChar
*szOrigString2
, size_t n
,
3378 const wxChar
*szDomain
) const
3380 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3381 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3384 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3385 const wxChar
*szDomain
) const
3388 static wxString str
;
3389 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.
3390 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3391 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3392 PyObject
* param1
= wx2PyString(szOrigString
);
3393 PyObject
* param2
= wx2PyString(szDomain
);
3394 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3398 str
= Py2wxString(ret
);
3402 wxPyEndBlockThreads(blocked
);
3403 return (found
? (wxChar
*)str
.c_str() : NULL
);
3406 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3407 const wxChar
*szOrigString2
, size_t n
,
3408 const wxChar
*szDomain
) const
3411 static wxString str
;
3412 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.
3413 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3414 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3415 PyObject
* param1
= wx2PyString(szOrigString
);
3416 PyObject
* param2
= wx2PyString(szOrigString2
);
3417 PyObject
* param4
= wx2PyString(szDomain
);
3418 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3423 str
= Py2wxString(ret
);
3427 wxPyEndBlockThreads(blocked
);
3428 return (found
? (wxChar
*)str
.c_str() : NULL
);
3431 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3434 loc
= new wxPyLocale();
3436 loc
= new wxPyLocale(language
, flags
);
3437 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3438 // for the floating point conversions and such to work right.
3439 #if PY_VERSION_HEX < 0x02040000
3440 setlocale(LC_NUMERIC
, "C");
3445 #include "wx/wxPython/pydrawxxx.h"
3447 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3449 self
->GetPixel(x
, y
, &col
);
3452 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3454 self
->GetPixel(pt
, &col
);
3459 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3461 if (PyNumber_Check(obj
)) {
3462 if (val
) *val
= PyFloat_AsDouble(obj
);
3465 return SWIG_TypeError
;
3468 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3470 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3473 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3475 self
->GetClippingBox(rect
);
3478 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3480 self
->GetPartialTextExtents(text
, widths
);
3484 #define SWIG_From_double PyFloat_FromDouble
3486 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3487 self
->SetLogicalOrigin(point
.x
, point
.y
);
3489 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3490 self
->SetDeviceOrigin(point
.x
, point
.y
);
3492 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3493 self
->CalcBoundingBox(point
.x
, point
.y
);
3495 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3496 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3498 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3499 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3501 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3502 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3504 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3505 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3507 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3508 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3510 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3511 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3514 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3522 #include <wx/dcbuffer.h>
3525 #include <wx/dcps.h>
3528 #include <wx/metafile.h>
3532 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3533 self
->AddColour(name
, wxColour(red
, green
, blue
));
3536 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3537 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3538 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3539 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3542 #include <wx/effects.h>
3545 #include "wx/renderer.h"
3548 SWIGINTERNINLINE PyObject
*
3549 SWIG_From_bool (bool value
)
3551 return PyBool_FromLong(value
? 1 : 0);
3555 #include "wx/wxPython/pseudodc.h"
3557 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3559 self
->GetIdBounds(id
, rect
);
3565 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3566 PyObject
*resultobj
= 0;
3567 wxGDIObject
*result
= 0 ;
3569 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3571 if (!wxPyCheckForApp()) SWIG_fail
;
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 result
= (wxGDIObject
*)new wxGDIObject();
3574 wxPyEndAllowThreads(__tstate
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3584 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3585 PyObject
*resultobj
= 0;
3586 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3589 PyObject
*swig_obj
[1] ;
3591 if (!args
) SWIG_fail
;
3593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3594 if (!SWIG_IsOK(res1
)) {
3595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3597 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3605 resultobj
= SWIG_Py_Void();
3612 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3613 PyObject
*resultobj
= 0;
3614 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3618 PyObject
*swig_obj
[1] ;
3620 if (!args
) SWIG_fail
;
3622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3623 if (!SWIG_IsOK(res1
)) {
3624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3626 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3629 result
= (bool)(arg1
)->IsNull();
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3642 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3644 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3645 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3646 return SWIG_Py_Void();
3649 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3650 return SWIG_Python_InitShadowInstance(args
);
3653 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
*resultobj
= 0;
3655 byte arg1
= (byte
) 0 ;
3656 byte arg2
= (byte
) 0 ;
3657 byte arg3
= (byte
) 0 ;
3658 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3659 wxColour
*result
= 0 ;
3660 unsigned char val1
;
3662 unsigned char val2
;
3664 unsigned char val3
;
3666 unsigned char val4
;
3668 PyObject
* obj0
= 0 ;
3669 PyObject
* obj1
= 0 ;
3670 PyObject
* obj2
= 0 ;
3671 PyObject
* obj3
= 0 ;
3672 char * kwnames
[] = {
3673 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3678 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3679 if (!SWIG_IsOK(ecode1
)) {
3680 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3682 arg1
= static_cast< byte
>(val1
);
3685 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3686 if (!SWIG_IsOK(ecode2
)) {
3687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3689 arg2
= static_cast< byte
>(val2
);
3692 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3693 if (!SWIG_IsOK(ecode3
)) {
3694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3696 arg3
= static_cast< byte
>(val3
);
3699 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3700 if (!SWIG_IsOK(ecode4
)) {
3701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3703 arg4
= static_cast< byte
>(val4
);
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3708 wxPyEndAllowThreads(__tstate
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3718 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
*resultobj
= 0;
3720 wxString
*arg1
= 0 ;
3721 wxColour
*result
= 0 ;
3722 bool temp1
= false ;
3723 PyObject
* obj0
= 0 ;
3724 char * kwnames
[] = {
3725 (char *) "colorName", NULL
3728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3730 arg1
= wxString_in_helper(obj0
);
3731 if (arg1
== NULL
) SWIG_fail
;
3735 if (!wxPyCheckForApp()) SWIG_fail
;
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) SWIG_fail
;
3741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3756 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
*resultobj
= 0;
3758 unsigned long arg1
;
3759 wxColour
*result
= 0 ;
3760 unsigned long val1
;
3762 PyObject
* obj0
= 0 ;
3763 char * kwnames
[] = {
3764 (char *) "colRGB", NULL
3767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3768 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3769 if (!SWIG_IsOK(ecode1
)) {
3770 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3772 arg1
= static_cast< unsigned long >(val1
);
3774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3775 result
= (wxColour
*)new wxColour(arg1
);
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) SWIG_fail
;
3779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3786 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3787 PyObject
*resultobj
= 0;
3788 wxColour
*arg1
= (wxColour
*) 0 ;
3791 PyObject
*swig_obj
[1] ;
3793 if (!args
) SWIG_fail
;
3795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3796 if (!SWIG_IsOK(res1
)) {
3797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3799 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 wxPyEndAllowThreads(__tstate
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3807 resultobj
= SWIG_Py_Void();
3814 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3815 PyObject
*resultobj
= 0;
3816 wxColour
*arg1
= (wxColour
*) 0 ;
3820 PyObject
*swig_obj
[1] ;
3822 if (!args
) SWIG_fail
;
3824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3825 if (!SWIG_IsOK(res1
)) {
3826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3828 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3831 result
= (byte
)(arg1
)->Red();
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3842 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3843 PyObject
*resultobj
= 0;
3844 wxColour
*arg1
= (wxColour
*) 0 ;
3848 PyObject
*swig_obj
[1] ;
3850 if (!args
) SWIG_fail
;
3852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3853 if (!SWIG_IsOK(res1
)) {
3854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3856 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 result
= (byte
)(arg1
)->Green();
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3870 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3871 PyObject
*resultobj
= 0;
3872 wxColour
*arg1
= (wxColour
*) 0 ;
3876 PyObject
*swig_obj
[1] ;
3878 if (!args
) SWIG_fail
;
3880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3881 if (!SWIG_IsOK(res1
)) {
3882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3884 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 result
= (byte
)(arg1
)->Blue();
3888 wxPyEndAllowThreads(__tstate
);
3889 if (PyErr_Occurred()) SWIG_fail
;
3891 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3898 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3899 PyObject
*resultobj
= 0;
3900 wxColour
*arg1
= (wxColour
*) 0 ;
3904 PyObject
*swig_obj
[1] ;
3906 if (!args
) SWIG_fail
;
3908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3909 if (!SWIG_IsOK(res1
)) {
3910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
3912 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 result
= (byte
)(arg1
)->Alpha();
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3919 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3926 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3927 PyObject
*resultobj
= 0;
3928 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
, 0 | 0 );
3937 if (!SWIG_IsOK(res1
)) {
3938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3940 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (bool)(arg1
)->Ok();
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3956 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
*resultobj
= 0;
3958 wxColour
*arg1
= (wxColour
*) 0 ;
3962 byte arg5
= (byte
) wxALPHA_OPAQUE
;
3965 unsigned char val2
;
3967 unsigned char val3
;
3969 unsigned char val4
;
3971 unsigned char val5
;
3973 PyObject
* obj0
= 0 ;
3974 PyObject
* obj1
= 0 ;
3975 PyObject
* obj2
= 0 ;
3976 PyObject
* obj3
= 0 ;
3977 PyObject
* obj4
= 0 ;
3978 char * kwnames
[] = {
3979 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
3983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3984 if (!SWIG_IsOK(res1
)) {
3985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3987 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3988 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3989 if (!SWIG_IsOK(ecode2
)) {
3990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3992 arg2
= static_cast< byte
>(val2
);
3993 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3994 if (!SWIG_IsOK(ecode3
)) {
3995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3997 arg3
= static_cast< byte
>(val3
);
3998 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3999 if (!SWIG_IsOK(ecode4
)) {
4000 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4002 arg4
= static_cast< byte
>(val4
);
4004 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4005 if (!SWIG_IsOK(ecode5
)) {
4006 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4008 arg5
= static_cast< byte
>(val5
);
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 resultobj
= SWIG_Py_Void();
4023 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
= 0;
4025 wxColour
*arg1
= (wxColour
*) 0 ;
4026 unsigned long arg2
;
4029 unsigned long val2
;
4031 PyObject
* obj0
= 0 ;
4032 PyObject
* obj1
= 0 ;
4033 char * kwnames
[] = {
4034 (char *) "self",(char *) "colRGB", NULL
4037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4039 if (!SWIG_IsOK(res1
)) {
4040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4042 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4043 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4044 if (!SWIG_IsOK(ecode2
)) {
4045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4047 arg2
= static_cast< unsigned long >(val2
);
4049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 wxPyEndAllowThreads(__tstate
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4054 resultobj
= SWIG_Py_Void();
4061 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
*resultobj
= 0;
4063 wxColour
*arg1
= (wxColour
*) 0 ;
4064 wxString
*arg2
= 0 ;
4067 bool temp2
= false ;
4068 PyObject
* obj0
= 0 ;
4069 PyObject
* obj1
= 0 ;
4070 char * kwnames
[] = {
4071 (char *) "self",(char *) "colourName", NULL
4074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4076 if (!SWIG_IsOK(res1
)) {
4077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4079 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4081 arg2
= wxString_in_helper(obj1
);
4082 if (arg2
== NULL
) SWIG_fail
;
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 (arg1
)->InitFromName((wxString
const &)*arg2
);
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4091 resultobj
= SWIG_Py_Void();
4106 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
= 0;
4108 wxColour
*arg1
= (wxColour
*) 0 ;
4109 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4115 PyObject
* obj0
= 0 ;
4116 PyObject
* obj1
= 0 ;
4117 char * kwnames
[] = {
4118 (char *) "self",(char *) "flags", NULL
4121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4123 if (!SWIG_IsOK(res1
)) {
4124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4126 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4128 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4129 if (!SWIG_IsOK(ecode2
)) {
4130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4132 arg2
= static_cast< long >(val2
);
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4153 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4154 PyObject
*resultobj
= 0;
4155 wxColour
*arg1
= (wxColour
*) 0 ;
4159 PyObject
*swig_obj
[1] ;
4161 if (!args
) SWIG_fail
;
4163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4164 if (!SWIG_IsOK(res1
)) {
4165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4167 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= SWIG_From_long(static_cast< long >(result
));
4181 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
= 0;
4183 wxColour
*arg1
= (wxColour
*) 0 ;
4184 PyObject
*arg2
= (PyObject
*) 0 ;
4188 PyObject
* obj0
= 0 ;
4189 PyObject
* obj1
= 0 ;
4190 char * kwnames
[] = {
4191 (char *) "self",(char *) "other", NULL
4194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4196 if (!SWIG_IsOK(res1
)) {
4197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4199 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4202 result
= (bool)wxColour___eq__(arg1
,arg2
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4214 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
= 0;
4216 wxColour
*arg1
= (wxColour
*) 0 ;
4217 PyObject
*arg2
= (PyObject
*) 0 ;
4221 PyObject
* obj0
= 0 ;
4222 PyObject
* obj1
= 0 ;
4223 char * kwnames
[] = {
4224 (char *) "self",(char *) "other", NULL
4227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4229 if (!SWIG_IsOK(res1
)) {
4230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4232 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4235 result
= (bool)wxColour___ne__(arg1
,arg2
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4247 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
= 0;
4249 wxColour
*arg1
= (wxColour
*) 0 ;
4250 bool arg2
= (bool) false ;
4251 PyObject
*result
= 0 ;
4256 PyObject
* obj0
= 0 ;
4257 PyObject
* obj1
= 0 ;
4258 char * kwnames
[] = {
4259 (char *) "self",(char *) "includeAlpha", NULL
4262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",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_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4267 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4269 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4270 if (!SWIG_IsOK(ecode2
)) {
4271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4273 arg2
= static_cast< bool >(val2
);
4276 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4277 if (PyErr_Occurred()) SWIG_fail
;
4286 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4287 PyObject
*resultobj
= 0;
4288 wxColour
*arg1
= (wxColour
*) 0 ;
4289 unsigned long result
;
4292 PyObject
*swig_obj
[1] ;
4294 if (!args
) SWIG_fail
;
4296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4297 if (!SWIG_IsOK(res1
)) {
4298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4300 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4302 result
= (unsigned long)wxColour_GetRGB(arg1
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4305 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4312 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4314 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4315 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4316 return SWIG_Py_Void();
4319 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4320 return SWIG_Python_InitShadowInstance(args
);
4323 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
*resultobj
= 0;
4326 unsigned char *arg2
= (unsigned char *) 0 ;
4327 unsigned char *arg3
= (unsigned char *) 0 ;
4328 unsigned char *arg4
= (unsigned char *) 0 ;
4329 wxPalette
*result
= 0 ;
4338 PyObject
* obj0
= 0 ;
4339 PyObject
* obj1
= 0 ;
4340 PyObject
* obj2
= 0 ;
4341 PyObject
* obj3
= 0 ;
4342 char * kwnames
[] = {
4343 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4347 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4348 if (!SWIG_IsOK(ecode1
)) {
4349 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4351 arg1
= static_cast< int >(val1
);
4352 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4353 if (!SWIG_IsOK(res2
)) {
4354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4356 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4357 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4358 if (!SWIG_IsOK(res3
)) {
4359 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4361 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4362 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4363 if (!SWIG_IsOK(res4
)) {
4364 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4366 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4368 if (!wxPyCheckForApp()) SWIG_fail
;
4369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4381 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4382 PyObject
*resultobj
= 0;
4383 wxPalette
*arg1
= (wxPalette
*) 0 ;
4386 PyObject
*swig_obj
[1] ;
4388 if (!args
) SWIG_fail
;
4390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4391 if (!SWIG_IsOK(res1
)) {
4392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4394 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4402 resultobj
= SWIG_Py_Void();
4409 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
*resultobj
= 0;
4411 wxPalette
*arg1
= (wxPalette
*) 0 ;
4418 unsigned char val2
;
4420 unsigned char val3
;
4422 unsigned char val4
;
4424 PyObject
* obj0
= 0 ;
4425 PyObject
* obj1
= 0 ;
4426 PyObject
* obj2
= 0 ;
4427 PyObject
* obj3
= 0 ;
4428 char * kwnames
[] = {
4429 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4434 if (!SWIG_IsOK(res1
)) {
4435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4437 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4438 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4439 if (!SWIG_IsOK(ecode2
)) {
4440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4442 arg2
= static_cast< byte
>(val2
);
4443 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4444 if (!SWIG_IsOK(ecode3
)) {
4445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4447 arg3
= static_cast< byte
>(val3
);
4448 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4449 if (!SWIG_IsOK(ecode4
)) {
4450 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4452 arg4
= static_cast< byte
>(val4
);
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 resultobj
= SWIG_From_int(static_cast< int >(result
));
4466 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
*resultobj
= 0;
4468 wxPalette
*arg1
= (wxPalette
*) 0 ;
4470 byte
*arg3
= (byte
*) 0 ;
4471 byte
*arg4
= (byte
*) 0 ;
4472 byte
*arg5
= (byte
*) 0 ;
4479 int res3
= SWIG_TMPOBJ
;
4481 int res4
= SWIG_TMPOBJ
;
4483 int res5
= SWIG_TMPOBJ
;
4484 PyObject
* obj0
= 0 ;
4485 PyObject
* obj1
= 0 ;
4486 char * kwnames
[] = {
4487 (char *) "self",(char *) "pixel", NULL
4493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4495 if (!SWIG_IsOK(res1
)) {
4496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4498 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4500 if (!SWIG_IsOK(ecode2
)) {
4501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4503 arg2
= static_cast< int >(val2
);
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4513 if (SWIG_IsTmpObj(res3
)) {
4514 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4516 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4517 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4519 if (SWIG_IsTmpObj(res4
)) {
4520 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4522 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4523 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4525 if (SWIG_IsTmpObj(res5
)) {
4526 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4528 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4529 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4537 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4538 PyObject
*resultobj
= 0;
4539 wxPalette
*arg1
= (wxPalette
*) 0 ;
4543 PyObject
*swig_obj
[1] ;
4545 if (!args
) SWIG_fail
;
4547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4548 if (!SWIG_IsOK(res1
)) {
4549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4551 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4558 resultobj
= SWIG_From_int(static_cast< int >(result
));
4565 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4566 PyObject
*resultobj
= 0;
4567 wxPalette
*arg1
= (wxPalette
*) 0 ;
4571 PyObject
*swig_obj
[1] ;
4573 if (!args
) SWIG_fail
;
4575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4576 if (!SWIG_IsOK(res1
)) {
4577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4579 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 result
= (bool)(arg1
)->Ok();
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4595 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4597 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4598 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4599 return SWIG_Py_Void();
4602 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4603 return SWIG_Python_InitShadowInstance(args
);
4606 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
*resultobj
= 0;
4608 wxColour
*arg1
= 0 ;
4609 int arg2
= (int) 1 ;
4610 int arg3
= (int) wxSOLID
;
4617 PyObject
* obj0
= 0 ;
4618 PyObject
* obj1
= 0 ;
4619 PyObject
* obj2
= 0 ;
4620 char * kwnames
[] = {
4621 (char *) "colour",(char *) "width",(char *) "style", NULL
4624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4627 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4631 if (!SWIG_IsOK(ecode2
)) {
4632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4634 arg2
= static_cast< int >(val2
);
4637 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4638 if (!SWIG_IsOK(ecode3
)) {
4639 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4641 arg3
= static_cast< int >(val3
);
4644 if (!wxPyCheckForApp()) SWIG_fail
;
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4657 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4658 PyObject
*resultobj
= 0;
4659 wxPen
*arg1
= (wxPen
*) 0 ;
4662 PyObject
*swig_obj
[1] ;
4664 if (!args
) SWIG_fail
;
4666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4667 if (!SWIG_IsOK(res1
)) {
4668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4670 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 wxPyEndAllowThreads(__tstate
);
4676 if (PyErr_Occurred()) SWIG_fail
;
4678 resultobj
= SWIG_Py_Void();
4685 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4686 PyObject
*resultobj
= 0;
4687 wxPen
*arg1
= (wxPen
*) 0 ;
4691 PyObject
*swig_obj
[1] ;
4693 if (!args
) SWIG_fail
;
4695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4696 if (!SWIG_IsOK(res1
)) {
4697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4699 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 result
= (int)(arg1
)->GetCap();
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= SWIG_From_int(static_cast< int >(result
));
4713 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4714 PyObject
*resultobj
= 0;
4715 wxPen
*arg1
= (wxPen
*) 0 ;
4719 PyObject
*swig_obj
[1] ;
4721 if (!args
) SWIG_fail
;
4723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4724 if (!SWIG_IsOK(res1
)) {
4725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4727 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 result
= (arg1
)->GetColour();
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4741 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4742 PyObject
*resultobj
= 0;
4743 wxPen
*arg1
= (wxPen
*) 0 ;
4747 PyObject
*swig_obj
[1] ;
4749 if (!args
) SWIG_fail
;
4751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4752 if (!SWIG_IsOK(res1
)) {
4753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4755 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 result
= (int)(arg1
)->GetJoin();
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4762 resultobj
= SWIG_From_int(static_cast< int >(result
));
4769 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4770 PyObject
*resultobj
= 0;
4771 wxPen
*arg1
= (wxPen
*) 0 ;
4775 PyObject
*swig_obj
[1] ;
4777 if (!args
) SWIG_fail
;
4779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4780 if (!SWIG_IsOK(res1
)) {
4781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4783 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 result
= (int)(arg1
)->GetStyle();
4787 wxPyEndAllowThreads(__tstate
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4790 resultobj
= SWIG_From_int(static_cast< int >(result
));
4797 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4798 PyObject
*resultobj
= 0;
4799 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
, 0 | 0 );
4808 if (!SWIG_IsOK(res1
)) {
4809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4811 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 result
= (int)(arg1
)->GetWidth();
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4818 resultobj
= SWIG_From_int(static_cast< int >(result
));
4825 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4826 PyObject
*resultobj
= 0;
4827 wxPen
*arg1
= (wxPen
*) 0 ;
4831 PyObject
*swig_obj
[1] ;
4833 if (!args
) SWIG_fail
;
4835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4836 if (!SWIG_IsOK(res1
)) {
4837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4839 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 result
= (bool)(arg1
)->Ok();
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4855 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
*resultobj
= 0;
4857 wxPen
*arg1
= (wxPen
*) 0 ;
4863 PyObject
* obj0
= 0 ;
4864 PyObject
* obj1
= 0 ;
4865 char * kwnames
[] = {
4866 (char *) "self",(char *) "cap_style", NULL
4869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4871 if (!SWIG_IsOK(res1
)) {
4872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4874 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4876 if (!SWIG_IsOK(ecode2
)) {
4877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4879 arg2
= static_cast< int >(val2
);
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 (arg1
)->SetCap(arg2
);
4883 wxPyEndAllowThreads(__tstate
);
4884 if (PyErr_Occurred()) SWIG_fail
;
4886 resultobj
= SWIG_Py_Void();
4893 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4894 PyObject
*resultobj
= 0;
4895 wxPen
*arg1
= (wxPen
*) 0 ;
4896 wxColour
*arg2
= 0 ;
4900 PyObject
* obj0
= 0 ;
4901 PyObject
* obj1
= 0 ;
4902 char * kwnames
[] = {
4903 (char *) "self",(char *) "colour", NULL
4906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4908 if (!SWIG_IsOK(res1
)) {
4909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4911 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4914 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 (arg1
)->SetColour(*arg2
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4922 resultobj
= SWIG_Py_Void();
4929 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
*resultobj
= 0;
4931 wxPen
*arg1
= (wxPen
*) 0 ;
4937 PyObject
* obj0
= 0 ;
4938 PyObject
* obj1
= 0 ;
4939 char * kwnames
[] = {
4940 (char *) "self",(char *) "join_style", NULL
4943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4945 if (!SWIG_IsOK(res1
)) {
4946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4948 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4950 if (!SWIG_IsOK(ecode2
)) {
4951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4953 arg2
= static_cast< int >(val2
);
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 (arg1
)->SetJoin(arg2
);
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 resultobj
= SWIG_Py_Void();
4967 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4968 PyObject
*resultobj
= 0;
4969 wxPen
*arg1
= (wxPen
*) 0 ;
4975 PyObject
* obj0
= 0 ;
4976 PyObject
* obj1
= 0 ;
4977 char * kwnames
[] = {
4978 (char *) "self",(char *) "style", NULL
4981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4983 if (!SWIG_IsOK(res1
)) {
4984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4986 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4988 if (!SWIG_IsOK(ecode2
)) {
4989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4991 arg2
= static_cast< int >(val2
);
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 (arg1
)->SetStyle(arg2
);
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) SWIG_fail
;
4998 resultobj
= SWIG_Py_Void();
5005 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5006 PyObject
*resultobj
= 0;
5007 wxPen
*arg1
= (wxPen
*) 0 ;
5013 PyObject
* obj0
= 0 ;
5014 PyObject
* obj1
= 0 ;
5015 char * kwnames
[] = {
5016 (char *) "self",(char *) "width", NULL
5019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5021 if (!SWIG_IsOK(res1
)) {
5022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5024 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5026 if (!SWIG_IsOK(ecode2
)) {
5027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5029 arg2
= static_cast< int >(val2
);
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 (arg1
)->SetWidth(arg2
);
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5036 resultobj
= SWIG_Py_Void();
5043 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
*resultobj
= 0;
5045 wxPen
*arg1
= (wxPen
*) 0 ;
5047 wxDash
*arg3
= (wxDash
*) 0 ;
5050 PyObject
* obj0
= 0 ;
5051 PyObject
* obj1
= 0 ;
5052 char * kwnames
[] = {
5053 (char *) "self",(char *) "dashes", NULL
5056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5058 if (!SWIG_IsOK(res1
)) {
5059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5061 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5063 arg2
= PyList_Size(obj1
);
5064 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5065 if (arg3
== NULL
) SWIG_fail
;
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 (arg1
)->SetDashes(arg2
,arg3
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 resultobj
= SWIG_Py_Void();
5075 if (arg3
) delete [] arg3
;
5080 if (arg3
) delete [] arg3
;
5086 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5087 PyObject
*resultobj
= 0;
5088 wxPen
*arg1
= (wxPen
*) 0 ;
5089 PyObject
*result
= 0 ;
5092 PyObject
*swig_obj
[1] ;
5094 if (!args
) SWIG_fail
;
5096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5097 if (!SWIG_IsOK(res1
)) {
5098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5100 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5114 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
*resultobj
= 0;
5116 wxPen
*arg1
= (wxPen
*) 0 ;
5117 PyObject
*arg2
= (PyObject
*) 0 ;
5118 PyObject
*arg3
= (PyObject
*) 0 ;
5121 PyObject
* obj0
= 0 ;
5122 PyObject
* obj1
= 0 ;
5123 PyObject
* obj2
= 0 ;
5124 char * kwnames
[] = {
5125 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5130 if (!SWIG_IsOK(res1
)) {
5131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5133 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5138 wxPen__SetDashes(arg1
,arg2
,arg3
);
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5142 resultobj
= SWIG_Py_Void();
5149 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5150 PyObject
*resultobj
= 0;
5151 wxPen
*arg1
= (wxPen
*) 0 ;
5155 PyObject
*swig_obj
[1] ;
5157 if (!args
) SWIG_fail
;
5159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5160 if (!SWIG_IsOK(res1
)) {
5161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5163 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5166 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5170 resultobj
= SWIG_From_int(static_cast< int >(result
));
5177 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5178 PyObject
*resultobj
= 0;
5179 wxPen
*arg1
= (wxPen
*) 0 ;
5180 wxBitmap
*result
= 0 ;
5183 PyObject
*swig_obj
[1] ;
5185 if (!args
) SWIG_fail
;
5187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5188 if (!SWIG_IsOK(res1
)) {
5189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5191 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= (wxBitmap
*)(arg1
)->GetStipple();
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5205 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5206 PyObject
*resultobj
= 0;
5207 wxPen
*arg1
= (wxPen
*) 0 ;
5208 wxBitmap
*arg2
= 0 ;
5213 PyObject
* obj0
= 0 ;
5214 PyObject
* obj1
= 0 ;
5215 char * kwnames
[] = {
5216 (char *) "self",(char *) "stipple", NULL
5219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5221 if (!SWIG_IsOK(res1
)) {
5222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5224 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5225 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5226 if (!SWIG_IsOK(res2
)) {
5227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5232 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 (arg1
)->SetStipple(*arg2
);
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5239 resultobj
= SWIG_Py_Void();
5246 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5247 PyObject
*resultobj
= 0;
5248 wxPen
*arg1
= (wxPen
*) 0 ;
5249 wxPen
*arg2
= (wxPen
*) 0 ;
5255 PyObject
* obj0
= 0 ;
5256 PyObject
* obj1
= 0 ;
5257 char * kwnames
[] = {
5258 (char *) "self",(char *) "other", NULL
5261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5263 if (!SWIG_IsOK(res1
)) {
5264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5266 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5268 if (!SWIG_IsOK(res2
)) {
5269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5271 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5287 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
= 0;
5289 wxPen
*arg1
= (wxPen
*) 0 ;
5290 wxPen
*arg2
= (wxPen
*) 0 ;
5296 PyObject
* obj0
= 0 ;
5297 PyObject
* obj1
= 0 ;
5298 char * kwnames
[] = {
5299 (char *) "self",(char *) "other", NULL
5302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5304 if (!SWIG_IsOK(res1
)) {
5305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5307 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5308 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5309 if (!SWIG_IsOK(res2
)) {
5310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5312 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5328 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5330 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5331 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5332 return SWIG_Py_Void();
5335 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5336 return SWIG_Python_InitShadowInstance(args
);
5339 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
*resultobj
= 0;
5341 wxColour
*arg1
= 0 ;
5342 int arg2
= (int) wxSOLID
;
5343 wxBrush
*result
= 0 ;
5347 PyObject
* obj0
= 0 ;
5348 PyObject
* obj1
= 0 ;
5349 char * kwnames
[] = {
5350 (char *) "colour",(char *) "style", NULL
5353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5356 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5360 if (!SWIG_IsOK(ecode2
)) {
5361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5363 arg2
= static_cast< int >(val2
);
5366 if (!wxPyCheckForApp()) SWIG_fail
;
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5369 wxPyEndAllowThreads(__tstate
);
5370 if (PyErr_Occurred()) SWIG_fail
;
5372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5379 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
*resultobj
= 0;
5381 wxBitmap
*arg1
= 0 ;
5382 wxBrush
*result
= 0 ;
5385 PyObject
* obj0
= 0 ;
5386 char * kwnames
[] = {
5387 (char *) "stippleBitmap", NULL
5390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5391 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5392 if (!SWIG_IsOK(res1
)) {
5393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5398 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5400 if (!wxPyCheckForApp()) SWIG_fail
;
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5403 wxPyEndAllowThreads(__tstate
);
5404 if (PyErr_Occurred()) SWIG_fail
;
5406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5413 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5414 PyObject
*resultobj
= 0;
5415 wxBrush
*arg1
= (wxBrush
*) 0 ;
5418 PyObject
*swig_obj
[1] ;
5420 if (!args
) SWIG_fail
;
5422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5423 if (!SWIG_IsOK(res1
)) {
5424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5426 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5434 resultobj
= SWIG_Py_Void();
5441 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
*resultobj
= 0;
5443 wxBrush
*arg1
= (wxBrush
*) 0 ;
5444 wxColour
*arg2
= 0 ;
5448 PyObject
* obj0
= 0 ;
5449 PyObject
* obj1
= 0 ;
5450 char * kwnames
[] = {
5451 (char *) "self",(char *) "col", NULL
5454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5456 if (!SWIG_IsOK(res1
)) {
5457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5459 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5462 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 (arg1
)->SetColour((wxColour
const &)*arg2
);
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= SWIG_Py_Void();
5477 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
= 0;
5479 wxBrush
*arg1
= (wxBrush
*) 0 ;
5485 PyObject
* obj0
= 0 ;
5486 PyObject
* obj1
= 0 ;
5487 char * kwnames
[] = {
5488 (char *) "self",(char *) "style", NULL
5491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5493 if (!SWIG_IsOK(res1
)) {
5494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5496 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5498 if (!SWIG_IsOK(ecode2
)) {
5499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5501 arg2
= static_cast< int >(val2
);
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 (arg1
)->SetStyle(arg2
);
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5508 resultobj
= SWIG_Py_Void();
5515 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
*resultobj
= 0;
5517 wxBrush
*arg1
= (wxBrush
*) 0 ;
5518 wxBitmap
*arg2
= 0 ;
5523 PyObject
* obj0
= 0 ;
5524 PyObject
* obj1
= 0 ;
5525 char * kwnames
[] = {
5526 (char *) "self",(char *) "stipple", NULL
5529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5531 if (!SWIG_IsOK(res1
)) {
5532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5534 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5535 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5536 if (!SWIG_IsOK(res2
)) {
5537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5542 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5545 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5549 resultobj
= SWIG_Py_Void();
5556 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5557 PyObject
*resultobj
= 0;
5558 wxBrush
*arg1
= (wxBrush
*) 0 ;
5562 PyObject
*swig_obj
[1] ;
5564 if (!args
) SWIG_fail
;
5566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5567 if (!SWIG_IsOK(res1
)) {
5568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5570 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 result
= ((wxBrush
const *)arg1
)->GetColour();
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5577 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5584 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5585 PyObject
*resultobj
= 0;
5586 wxBrush
*arg1
= (wxBrush
*) 0 ;
5590 PyObject
*swig_obj
[1] ;
5592 if (!args
) SWIG_fail
;
5594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5595 if (!SWIG_IsOK(res1
)) {
5596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5598 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5601 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5605 resultobj
= SWIG_From_int(static_cast< int >(result
));
5612 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5613 PyObject
*resultobj
= 0;
5614 wxBrush
*arg1
= (wxBrush
*) 0 ;
5615 wxBitmap
*result
= 0 ;
5618 PyObject
*swig_obj
[1] ;
5620 if (!args
) SWIG_fail
;
5622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5623 if (!SWIG_IsOK(res1
)) {
5624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5626 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5640 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5641 PyObject
*resultobj
= 0;
5642 wxBrush
*arg1
= (wxBrush
*) 0 ;
5646 PyObject
*swig_obj
[1] ;
5648 if (!args
) SWIG_fail
;
5650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5651 if (!SWIG_IsOK(res1
)) {
5652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5654 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5670 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5671 PyObject
*resultobj
= 0;
5672 wxBrush
*arg1
= (wxBrush
*) 0 ;
5676 PyObject
*swig_obj
[1] ;
5678 if (!args
) SWIG_fail
;
5680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5681 if (!SWIG_IsOK(res1
)) {
5682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5684 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5687 result
= (bool)(arg1
)->Ok();
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5700 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5702 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5703 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5704 return SWIG_Py_Void();
5707 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5708 return SWIG_Python_InitShadowInstance(args
);
5711 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
= 0;
5713 wxString
*arg1
= 0 ;
5714 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5715 wxBitmap
*result
= 0 ;
5716 bool temp1
= false ;
5719 PyObject
* obj0
= 0 ;
5720 PyObject
* obj1
= 0 ;
5721 char * kwnames
[] = {
5722 (char *) "name",(char *) "type", NULL
5725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5727 arg1
= wxString_in_helper(obj0
);
5728 if (arg1
== NULL
) SWIG_fail
;
5732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5733 if (!SWIG_IsOK(ecode2
)) {
5734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5736 arg2
= static_cast< wxBitmapType
>(val2
);
5739 if (!wxPyCheckForApp()) SWIG_fail
;
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5742 wxPyEndAllowThreads(__tstate
);
5743 if (PyErr_Occurred()) SWIG_fail
;
5745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5760 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5761 PyObject
*resultobj
= 0;
5762 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5765 PyObject
*swig_obj
[1] ;
5767 if (!args
) SWIG_fail
;
5769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5770 if (!SWIG_IsOK(res1
)) {
5771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5773 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5779 resultobj
= SWIG_Py_Void();
5786 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
*resultobj
= 0;
5790 int arg3
= (int) -1 ;
5791 wxBitmap
*result
= 0 ;
5798 PyObject
* obj0
= 0 ;
5799 PyObject
* obj1
= 0 ;
5800 PyObject
* obj2
= 0 ;
5801 char * kwnames
[] = {
5802 (char *) "width",(char *) "height",(char *) "depth", NULL
5805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5806 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5807 if (!SWIG_IsOK(ecode1
)) {
5808 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5810 arg1
= static_cast< int >(val1
);
5811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5812 if (!SWIG_IsOK(ecode2
)) {
5813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5815 arg2
= static_cast< int >(val2
);
5817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5818 if (!SWIG_IsOK(ecode3
)) {
5819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5821 arg3
= static_cast< int >(val3
);
5824 if (!wxPyCheckForApp()) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5837 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
*resultobj
= 0;
5840 wxBitmap
*result
= 0 ;
5843 PyObject
* obj0
= 0 ;
5844 char * kwnames
[] = {
5845 (char *) "icon", NULL
5848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5849 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5850 if (!SWIG_IsOK(res1
)) {
5851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5856 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5858 if (!wxPyCheckForApp()) SWIG_fail
;
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5871 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
= 0;
5874 int arg2
= (int) -1 ;
5875 wxBitmap
*result
= 0 ;
5880 PyObject
* obj0
= 0 ;
5881 PyObject
* obj1
= 0 ;
5882 char * kwnames
[] = {
5883 (char *) "image",(char *) "depth", NULL
5886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5887 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5888 if (!SWIG_IsOK(res1
)) {
5889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5894 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5897 if (!SWIG_IsOK(ecode2
)) {
5898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5900 arg2
= static_cast< int >(val2
);
5903 if (!wxPyCheckForApp()) SWIG_fail
;
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5916 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
= 0;
5918 PyObject
*arg1
= (PyObject
*) 0 ;
5919 wxBitmap
*result
= 0 ;
5920 PyObject
* obj0
= 0 ;
5921 char * kwnames
[] = {
5922 (char *) "listOfStrings", NULL
5925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5928 if (!wxPyCheckForApp()) SWIG_fail
;
5929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5930 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5941 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5942 PyObject
*resultobj
= 0;
5943 PyObject
*arg1
= (PyObject
*) 0 ;
5946 int arg4
= (int) 1 ;
5947 wxBitmap
*result
= 0 ;
5954 PyObject
* obj0
= 0 ;
5955 PyObject
* obj1
= 0 ;
5956 PyObject
* obj2
= 0 ;
5957 PyObject
* obj3
= 0 ;
5958 char * kwnames
[] = {
5959 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5965 if (!SWIG_IsOK(ecode2
)) {
5966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5968 arg2
= static_cast< int >(val2
);
5969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5970 if (!SWIG_IsOK(ecode3
)) {
5971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5973 arg3
= static_cast< int >(val3
);
5975 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5976 if (!SWIG_IsOK(ecode4
)) {
5977 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5979 arg4
= static_cast< int >(val4
);
5982 if (!wxPyCheckForApp()) SWIG_fail
;
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5995 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5996 PyObject
*resultobj
= 0;
5997 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6001 PyObject
*swig_obj
[1] ;
6003 if (!args
) SWIG_fail
;
6005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6006 if (!SWIG_IsOK(res1
)) {
6007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6009 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6011 result
= (long)(arg1
)->GetHandle();
6012 if (PyErr_Occurred()) SWIG_fail
;
6014 resultobj
= SWIG_From_long(static_cast< long >(result
));
6021 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6022 PyObject
*resultobj
= 0;
6023 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6029 PyObject
* obj0
= 0 ;
6030 PyObject
* obj1
= 0 ;
6031 char * kwnames
[] = {
6032 (char *) "self",(char *) "handle", NULL
6035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6037 if (!SWIG_IsOK(res1
)) {
6038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6040 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6041 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6042 if (!SWIG_IsOK(ecode2
)) {
6043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6045 arg2
= static_cast< long >(val2
);
6047 wxBitmap_SetHandle(arg1
,arg2
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6050 resultobj
= SWIG_Py_Void();
6057 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6058 PyObject
*resultobj
= 0;
6059 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6063 PyObject
*swig_obj
[1] ;
6065 if (!args
) SWIG_fail
;
6067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6068 if (!SWIG_IsOK(res1
)) {
6069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
6071 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6073 result
= (bool)(arg1
)->Ok();
6074 if (PyErr_Occurred()) SWIG_fail
;
6077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6085 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6086 PyObject
*resultobj
= 0;
6087 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6091 PyObject
*swig_obj
[1] ;
6093 if (!args
) SWIG_fail
;
6095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6096 if (!SWIG_IsOK(res1
)) {
6097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6099 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6101 result
= (int)(arg1
)->GetWidth();
6102 if (PyErr_Occurred()) SWIG_fail
;
6104 resultobj
= SWIG_From_int(static_cast< int >(result
));
6111 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6112 PyObject
*resultobj
= 0;
6113 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6117 PyObject
*swig_obj
[1] ;
6119 if (!args
) SWIG_fail
;
6121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6122 if (!SWIG_IsOK(res1
)) {
6123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6125 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6127 result
= (int)(arg1
)->GetHeight();
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= SWIG_From_int(static_cast< int >(result
));
6137 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6138 PyObject
*resultobj
= 0;
6139 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6143 PyObject
*swig_obj
[1] ;
6145 if (!args
) SWIG_fail
;
6147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6148 if (!SWIG_IsOK(res1
)) {
6149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6151 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6153 result
= (int)(arg1
)->GetDepth();
6154 if (PyErr_Occurred()) SWIG_fail
;
6156 resultobj
= SWIG_From_int(static_cast< int >(result
));
6163 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6164 PyObject
*resultobj
= 0;
6165 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6169 PyObject
*swig_obj
[1] ;
6171 if (!args
) SWIG_fail
;
6173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6174 if (!SWIG_IsOK(res1
)) {
6175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6177 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6179 result
= wxBitmap_GetSize(arg1
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6182 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6189 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6190 PyObject
*resultobj
= 0;
6191 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6192 SwigValueWrapper
<wxImage
> result
;
6195 PyObject
*swig_obj
[1] ;
6197 if (!args
) SWIG_fail
;
6199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6200 if (!SWIG_IsOK(res1
)) {
6201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6203 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6205 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6206 if (PyErr_Occurred()) SWIG_fail
;
6208 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6215 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6216 PyObject
*resultobj
= 0;
6217 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6218 wxMask
*result
= 0 ;
6221 PyObject
*swig_obj
[1] ;
6223 if (!args
) SWIG_fail
;
6225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6226 if (!SWIG_IsOK(res1
)) {
6227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6229 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6231 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6232 if (PyErr_Occurred()) SWIG_fail
;
6234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6241 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
*resultobj
= 0;
6243 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6244 wxMask
*arg2
= (wxMask
*) 0 ;
6248 PyObject
* obj0
= 0 ;
6249 PyObject
* obj1
= 0 ;
6250 char * kwnames
[] = {
6251 (char *) "self",(char *) "mask", NULL
6254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6256 if (!SWIG_IsOK(res1
)) {
6257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6259 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6260 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6261 if (!SWIG_IsOK(res2
)) {
6262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6265 (arg1
)->SetMask(arg2
);
6266 if (PyErr_Occurred()) SWIG_fail
;
6268 resultobj
= SWIG_Py_Void();
6275 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6276 PyObject
*resultobj
= 0;
6277 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6278 wxColour
*arg2
= 0 ;
6282 PyObject
* obj0
= 0 ;
6283 PyObject
* obj1
= 0 ;
6284 char * kwnames
[] = {
6285 (char *) "self",(char *) "colour", NULL
6288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6290 if (!SWIG_IsOK(res1
)) {
6291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6293 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6296 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6299 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 resultobj
= SWIG_Py_Void();
6309 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
= 0;
6311 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6313 SwigValueWrapper
<wxBitmap
> result
;
6317 PyObject
* obj0
= 0 ;
6318 PyObject
* obj1
= 0 ;
6319 char * kwnames
[] = {
6320 (char *) "self",(char *) "rect", NULL
6323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6325 if (!SWIG_IsOK(res1
)) {
6326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6328 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6331 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6334 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6337 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6344 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
*resultobj
= 0;
6346 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6347 wxString
*arg2
= 0 ;
6349 wxPalette
*arg4
= (wxPalette
*) NULL
;
6353 bool temp2
= false ;
6358 PyObject
* obj0
= 0 ;
6359 PyObject
* obj1
= 0 ;
6360 PyObject
* obj2
= 0 ;
6361 PyObject
* obj3
= 0 ;
6362 char * kwnames
[] = {
6363 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6368 if (!SWIG_IsOK(res1
)) {
6369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6371 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6373 arg2
= wxString_in_helper(obj1
);
6374 if (arg2
== NULL
) SWIG_fail
;
6377 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6378 if (!SWIG_IsOK(ecode3
)) {
6379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6381 arg3
= static_cast< wxBitmapType
>(val3
);
6383 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6384 if (!SWIG_IsOK(res4
)) {
6385 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6387 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6390 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6410 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
*resultobj
= 0;
6412 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6413 wxString
*arg2
= 0 ;
6418 bool temp2
= false ;
6421 PyObject
* obj0
= 0 ;
6422 PyObject
* obj1
= 0 ;
6423 PyObject
* obj2
= 0 ;
6424 char * kwnames
[] = {
6425 (char *) "self",(char *) "name",(char *) "type", NULL
6428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6430 if (!SWIG_IsOK(res1
)) {
6431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6433 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6435 arg2
= wxString_in_helper(obj1
);
6436 if (arg2
== NULL
) SWIG_fail
;
6439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6440 if (!SWIG_IsOK(ecode3
)) {
6441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6443 arg3
= static_cast< wxBitmapType
>(val3
);
6445 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6465 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6466 PyObject
*resultobj
= 0;
6467 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6468 wxPalette
*result
= 0 ;
6471 PyObject
*swig_obj
[1] ;
6473 if (!args
) SWIG_fail
;
6475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6476 if (!SWIG_IsOK(res1
)) {
6477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6479 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6481 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6482 if (PyErr_Occurred()) SWIG_fail
;
6484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6491 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
*resultobj
= 0;
6493 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6494 wxPalette
*arg2
= 0 ;
6499 PyObject
* obj0
= 0 ;
6500 PyObject
* obj1
= 0 ;
6501 char * kwnames
[] = {
6502 (char *) "self",(char *) "palette", NULL
6505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6507 if (!SWIG_IsOK(res1
)) {
6508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6510 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6511 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6512 if (!SWIG_IsOK(res2
)) {
6513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6518 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6520 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6523 resultobj
= SWIG_Py_Void();
6530 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
*resultobj
= 0;
6532 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6539 PyObject
* obj0
= 0 ;
6540 PyObject
* obj1
= 0 ;
6541 char * kwnames
[] = {
6542 (char *) "self",(char *) "icon", NULL
6545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6547 if (!SWIG_IsOK(res1
)) {
6548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6550 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6551 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6552 if (!SWIG_IsOK(res2
)) {
6553 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6558 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6560 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6572 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
*resultobj
= 0;
6574 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6580 PyObject
* obj0
= 0 ;
6581 PyObject
* obj1
= 0 ;
6582 char * kwnames
[] = {
6583 (char *) "self",(char *) "height", NULL
6586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6588 if (!SWIG_IsOK(res1
)) {
6589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6591 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6593 if (!SWIG_IsOK(ecode2
)) {
6594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6596 arg2
= static_cast< int >(val2
);
6598 (arg1
)->SetHeight(arg2
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= SWIG_Py_Void();
6608 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
= 0;
6610 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6616 PyObject
* obj0
= 0 ;
6617 PyObject
* obj1
= 0 ;
6618 char * kwnames
[] = {
6619 (char *) "self",(char *) "width", NULL
6622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6624 if (!SWIG_IsOK(res1
)) {
6625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6627 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6629 if (!SWIG_IsOK(ecode2
)) {
6630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6632 arg2
= static_cast< int >(val2
);
6634 (arg1
)->SetWidth(arg2
);
6635 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= SWIG_Py_Void();
6644 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
*resultobj
= 0;
6646 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6652 PyObject
* obj0
= 0 ;
6653 PyObject
* obj1
= 0 ;
6654 char * kwnames
[] = {
6655 (char *) "self",(char *) "depth", NULL
6658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6660 if (!SWIG_IsOK(res1
)) {
6661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6663 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6665 if (!SWIG_IsOK(ecode2
)) {
6666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6668 arg2
= static_cast< int >(val2
);
6670 (arg1
)->SetDepth(arg2
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6673 resultobj
= SWIG_Py_Void();
6680 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
*resultobj
= 0;
6682 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6687 PyObject
* obj0
= 0 ;
6688 PyObject
* obj1
= 0 ;
6689 char * kwnames
[] = {
6690 (char *) "self",(char *) "size", NULL
6693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6695 if (!SWIG_IsOK(res1
)) {
6696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6698 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6701 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6704 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6707 resultobj
= SWIG_Py_Void();
6714 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
= 0;
6716 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6717 wxCursor
*arg2
= 0 ;
6723 PyObject
* obj0
= 0 ;
6724 PyObject
* obj1
= 0 ;
6725 char * kwnames
[] = {
6726 (char *) "self",(char *) "cursor", NULL
6729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6731 if (!SWIG_IsOK(res1
)) {
6732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
6734 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
6736 if (!SWIG_IsOK(res2
)) {
6737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6742 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
6744 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
6745 if (PyErr_Occurred()) SWIG_fail
;
6748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6756 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
*resultobj
= 0;
6758 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6759 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6765 PyObject
* obj0
= 0 ;
6766 PyObject
* obj1
= 0 ;
6767 char * kwnames
[] = {
6768 (char *) "self",(char *) "other", NULL
6771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6773 if (!SWIG_IsOK(res1
)) {
6774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6776 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6777 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6778 if (!SWIG_IsOK(res2
)) {
6779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6781 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6783 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6795 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
= 0;
6797 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6798 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6804 PyObject
* obj0
= 0 ;
6805 PyObject
* obj1
= 0 ;
6806 char * kwnames
[] = {
6807 (char *) "self",(char *) "other", NULL
6810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6812 if (!SWIG_IsOK(res1
)) {
6813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6815 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6816 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6817 if (!SWIG_IsOK(res2
)) {
6818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6820 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6822 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6834 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6836 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6837 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6838 return SWIG_Py_Void();
6841 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6842 return SWIG_Python_InitShadowInstance(args
);
6845 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
= 0;
6853 wxBitmap
*result
= 0 ;
6860 PyObject
* obj0
= 0 ;
6861 PyObject
* obj1
= 0 ;
6862 PyObject
* obj2
= 0 ;
6863 PyObject
* obj3
= 0 ;
6864 char * kwnames
[] = {
6865 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6869 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6870 if (!SWIG_IsOK(ecode1
)) {
6871 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6873 arg1
= static_cast< int >(val1
);
6874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6875 if (!SWIG_IsOK(ecode2
)) {
6876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6878 arg2
= static_cast< int >(val2
);
6880 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6884 if (obj3
!= Py_None
) {
6885 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
6890 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6900 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
*resultobj
= 0;
6906 wxBitmap
*result
= 0 ;
6912 PyObject
* obj0
= 0 ;
6913 PyObject
* obj1
= 0 ;
6914 PyObject
* obj2
= 0 ;
6915 char * kwnames
[] = {
6916 (char *) "width",(char *) "height",(char *) "data", NULL
6919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6920 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6921 if (!SWIG_IsOK(ecode1
)) {
6922 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6924 arg1
= static_cast< int >(val1
);
6925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6926 if (!SWIG_IsOK(ecode2
)) {
6927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6929 arg2
= static_cast< int >(val2
);
6931 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6935 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6945 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6946 PyObject
*resultobj
= 0;
6951 wxBitmap
*result
= 0 ;
6957 PyObject
* obj0
= 0 ;
6958 PyObject
* obj1
= 0 ;
6959 PyObject
* obj2
= 0 ;
6960 char * kwnames
[] = {
6961 (char *) "width",(char *) "height",(char *) "data", NULL
6964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6965 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6966 if (!SWIG_IsOK(ecode1
)) {
6967 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6969 arg1
= static_cast< int >(val1
);
6970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6971 if (!SWIG_IsOK(ecode2
)) {
6972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6974 arg2
= static_cast< int >(val2
);
6976 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6980 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6990 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6991 PyObject
*resultobj
= 0;
6992 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6996 PyObject
*swig_obj
[1] ;
6998 if (!args
) SWIG_fail
;
7000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7001 if (!SWIG_IsOK(res1
)) {
7002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7004 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7006 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7016 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7017 PyObject
*resultobj
= 0;
7018 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7022 PyObject
*swig_obj
[1] ;
7024 if (!args
) SWIG_fail
;
7026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7027 if (!SWIG_IsOK(res1
)) {
7028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7030 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7032 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= SWIG_From_int(static_cast< int >(result
));
7042 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7043 PyObject
*resultobj
= 0;
7044 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7048 PyObject
*swig_obj
[1] ;
7050 if (!args
) SWIG_fail
;
7052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7053 if (!SWIG_IsOK(res1
)) {
7054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7056 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7058 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7059 if (PyErr_Occurred()) SWIG_fail
;
7061 resultobj
= SWIG_From_int(static_cast< int >(result
));
7068 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7069 PyObject
*resultobj
= 0;
7070 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7074 PyObject
*swig_obj
[1] ;
7076 if (!args
) SWIG_fail
;
7078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7079 if (!SWIG_IsOK(res1
)) {
7080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7082 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7084 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7085 if (PyErr_Occurred()) SWIG_fail
;
7087 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7094 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7095 PyObject
*resultobj
= 0;
7096 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7100 PyObject
*swig_obj
[1] ;
7102 if (!args
) SWIG_fail
;
7104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7105 if (!SWIG_IsOK(res1
)) {
7106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7108 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7110 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7111 if (PyErr_Occurred()) SWIG_fail
;
7113 resultobj
= SWIG_From_int(static_cast< int >(result
));
7120 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7122 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7123 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7124 return SWIG_Py_Void();
7127 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7128 PyObject
*resultobj
= 0;
7129 wxBitmap
*arg1
= 0 ;
7130 wxNativePixelData
*result
= 0 ;
7134 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7136 if (!SWIG_IsOK(res1
)) {
7137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7142 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7144 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7154 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7155 PyObject
*resultobj
= 0;
7156 wxBitmap
*arg1
= 0 ;
7158 wxNativePixelData
*result
= 0 ;
7163 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7165 if (!SWIG_IsOK(res1
)) {
7166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7169 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7171 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7174 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7177 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7178 if (PyErr_Occurred()) SWIG_fail
;
7180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7187 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7188 PyObject
*resultobj
= 0;
7189 wxBitmap
*arg1
= 0 ;
7192 wxNativePixelData
*result
= 0 ;
7198 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7200 if (!SWIG_IsOK(res1
)) {
7201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7206 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7209 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7213 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7216 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7226 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7230 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7233 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7236 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7239 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7243 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7248 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7249 PyObject
*resultobj
= 0;
7250 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7253 PyObject
*swig_obj
[1] ;
7255 if (!args
) SWIG_fail
;
7257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7258 if (!SWIG_IsOK(res1
)) {
7259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7261 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7267 resultobj
= SWIG_Py_Void();
7274 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7275 PyObject
*resultobj
= 0;
7276 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7277 wxNativePixelData_Accessor result
;
7280 PyObject
*swig_obj
[1] ;
7282 if (!args
) SWIG_fail
;
7284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7285 if (!SWIG_IsOK(res1
)) {
7286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7288 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7290 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7291 if (PyErr_Occurred()) SWIG_fail
;
7293 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7300 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7301 PyObject
*resultobj
= 0;
7302 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7305 PyObject
*swig_obj
[1] ;
7307 if (!args
) SWIG_fail
;
7309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7310 if (!SWIG_IsOK(res1
)) {
7311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7313 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7318 resultobj
= SWIG_Py_Void();
7325 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7326 PyObject
*resultobj
= 0;
7327 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7331 PyObject
*swig_obj
[1] ;
7333 if (!args
) SWIG_fail
;
7335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7336 if (!SWIG_IsOK(res1
)) {
7337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7339 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7341 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7353 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7356 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7357 return SWIG_Py_Void();
7360 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7361 return SWIG_Python_InitShadowInstance(args
);
7364 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7365 PyObject
*resultobj
= 0;
7366 wxNativePixelData
*arg1
= 0 ;
7367 wxNativePixelData_Accessor
*result
= 0 ;
7371 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7373 if (!SWIG_IsOK(res1
)) {
7374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7379 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7381 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7391 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7392 PyObject
*resultobj
= 0;
7393 wxBitmap
*arg1
= 0 ;
7394 wxNativePixelData
*arg2
= 0 ;
7395 wxNativePixelData_Accessor
*result
= 0 ;
7401 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7403 if (!SWIG_IsOK(res1
)) {
7404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7409 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7410 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7411 if (!SWIG_IsOK(res2
)) {
7412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7417 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7419 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7429 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7430 PyObject
*resultobj
= 0;
7431 wxNativePixelData_Accessor
*result
= 0 ;
7433 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7435 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7445 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7449 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7452 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7455 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7458 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7462 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7467 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7468 PyObject
*resultobj
= 0;
7469 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7472 PyObject
*swig_obj
[1] ;
7474 if (!args
) SWIG_fail
;
7476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7477 if (!SWIG_IsOK(res1
)) {
7478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7480 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7486 resultobj
= SWIG_Py_Void();
7493 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
*resultobj
= 0;
7495 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7496 wxNativePixelData
*arg2
= 0 ;
7501 PyObject
* obj0
= 0 ;
7502 PyObject
* obj1
= 0 ;
7503 char * kwnames
[] = {
7504 (char *) "self",(char *) "data", NULL
7507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7509 if (!SWIG_IsOK(res1
)) {
7510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7512 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7513 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7514 if (!SWIG_IsOK(res2
)) {
7515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7520 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7522 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7525 resultobj
= SWIG_Py_Void();
7532 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7533 PyObject
*resultobj
= 0;
7534 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7538 PyObject
*swig_obj
[1] ;
7540 if (!args
) SWIG_fail
;
7542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7543 if (!SWIG_IsOK(res1
)) {
7544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7546 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7548 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7549 if (PyErr_Occurred()) SWIG_fail
;
7552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7560 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7561 PyObject
*resultobj
= 0;
7562 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7565 PyObject
*swig_obj
[1] ;
7567 if (!args
) SWIG_fail
;
7569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7570 if (!SWIG_IsOK(res1
)) {
7571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7573 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7575 wxNativePixelData_Accessor_nextPixel(arg1
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7578 resultobj
= SWIG_Py_Void();
7585 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
= 0;
7587 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7588 wxNativePixelData
*arg2
= 0 ;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7601 PyObject
* obj2
= 0 ;
7602 PyObject
* obj3
= 0 ;
7603 char * kwnames
[] = {
7604 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7609 if (!SWIG_IsOK(res1
)) {
7610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7612 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7613 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7614 if (!SWIG_IsOK(res2
)) {
7615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7620 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7621 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7622 if (!SWIG_IsOK(ecode3
)) {
7623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7625 arg3
= static_cast< int >(val3
);
7626 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7627 if (!SWIG_IsOK(ecode4
)) {
7628 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7630 arg4
= static_cast< int >(val4
);
7632 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= SWIG_Py_Void();
7642 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
= 0;
7644 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7645 wxNativePixelData
*arg2
= 0 ;
7653 PyObject
* obj0
= 0 ;
7654 PyObject
* obj1
= 0 ;
7655 PyObject
* obj2
= 0 ;
7656 char * kwnames
[] = {
7657 (char *) "self",(char *) "data",(char *) "x", NULL
7660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7662 if (!SWIG_IsOK(res1
)) {
7663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7665 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7666 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7667 if (!SWIG_IsOK(res2
)) {
7668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7673 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7675 if (!SWIG_IsOK(ecode3
)) {
7676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7678 arg3
= static_cast< int >(val3
);
7680 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 resultobj
= SWIG_Py_Void();
7690 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
= 0;
7692 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7693 wxNativePixelData
*arg2
= 0 ;
7701 PyObject
* obj0
= 0 ;
7702 PyObject
* obj1
= 0 ;
7703 PyObject
* obj2
= 0 ;
7704 char * kwnames
[] = {
7705 (char *) "self",(char *) "data",(char *) "y", NULL
7708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7710 if (!SWIG_IsOK(res1
)) {
7711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7713 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7715 if (!SWIG_IsOK(res2
)) {
7716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7721 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7722 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7723 if (!SWIG_IsOK(ecode3
)) {
7724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7726 arg3
= static_cast< int >(val3
);
7728 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7731 resultobj
= SWIG_Py_Void();
7738 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7739 PyObject
*resultobj
= 0;
7740 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7741 wxNativePixelData
*arg2
= 0 ;
7752 PyObject
* obj0
= 0 ;
7753 PyObject
* obj1
= 0 ;
7754 PyObject
* obj2
= 0 ;
7755 PyObject
* obj3
= 0 ;
7756 char * kwnames
[] = {
7757 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7762 if (!SWIG_IsOK(res1
)) {
7763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7765 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7766 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7767 if (!SWIG_IsOK(res2
)) {
7768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7773 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7774 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7775 if (!SWIG_IsOK(ecode3
)) {
7776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7778 arg3
= static_cast< int >(val3
);
7779 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7780 if (!SWIG_IsOK(ecode4
)) {
7781 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7783 arg4
= static_cast< int >(val4
);
7785 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7788 resultobj
= SWIG_Py_Void();
7795 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
*resultobj
= 0;
7797 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7803 unsigned char val2
;
7805 unsigned char val3
;
7807 unsigned char val4
;
7809 PyObject
* obj0
= 0 ;
7810 PyObject
* obj1
= 0 ;
7811 PyObject
* obj2
= 0 ;
7812 PyObject
* obj3
= 0 ;
7813 char * kwnames
[] = {
7814 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7819 if (!SWIG_IsOK(res1
)) {
7820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7822 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7823 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7824 if (!SWIG_IsOK(ecode2
)) {
7825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7827 arg2
= static_cast< byte
>(val2
);
7828 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7829 if (!SWIG_IsOK(ecode3
)) {
7830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7832 arg3
= static_cast< byte
>(val3
);
7833 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7834 if (!SWIG_IsOK(ecode4
)) {
7835 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7837 arg4
= static_cast< byte
>(val4
);
7839 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7842 resultobj
= SWIG_Py_Void();
7849 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7850 PyObject
*resultobj
= 0;
7851 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7852 PyObject
*result
= 0 ;
7855 PyObject
*swig_obj
[1] ;
7857 if (!args
) SWIG_fail
;
7859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7860 if (!SWIG_IsOK(res1
)) {
7861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7863 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7865 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7875 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7878 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7879 return SWIG_Py_Void();
7882 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7883 return SWIG_Python_InitShadowInstance(args
);
7886 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7887 PyObject
*resultobj
= 0;
7888 wxBitmap
*arg1
= 0 ;
7889 wxAlphaPixelData
*result
= 0 ;
7893 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7895 if (!SWIG_IsOK(res1
)) {
7896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7901 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7903 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7913 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7914 PyObject
*resultobj
= 0;
7915 wxBitmap
*arg1
= 0 ;
7917 wxAlphaPixelData
*result
= 0 ;
7922 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7924 if (!SWIG_IsOK(res1
)) {
7925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7930 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7933 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7936 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7946 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7947 PyObject
*resultobj
= 0;
7948 wxBitmap
*arg1
= 0 ;
7951 wxAlphaPixelData
*result
= 0 ;
7957 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7959 if (!SWIG_IsOK(res1
)) {
7960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7963 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7965 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7968 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7972 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7975 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7985 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7989 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7992 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7995 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7998 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8002 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8007 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8008 PyObject
*resultobj
= 0;
8009 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8012 PyObject
*swig_obj
[1] ;
8014 if (!args
) SWIG_fail
;
8016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8017 if (!SWIG_IsOK(res1
)) {
8018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8020 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 resultobj
= SWIG_Py_Void();
8033 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8034 PyObject
*resultobj
= 0;
8035 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8036 wxAlphaPixelData_Accessor result
;
8039 PyObject
*swig_obj
[1] ;
8041 if (!args
) SWIG_fail
;
8043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8044 if (!SWIG_IsOK(res1
)) {
8045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8047 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8049 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8059 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8060 PyObject
*resultobj
= 0;
8061 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8064 PyObject
*swig_obj
[1] ;
8066 if (!args
) SWIG_fail
;
8068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8069 if (!SWIG_IsOK(res1
)) {
8070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8072 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8077 resultobj
= SWIG_Py_Void();
8084 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8085 PyObject
*resultobj
= 0;
8086 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8090 PyObject
*swig_obj
[1] ;
8092 if (!args
) SWIG_fail
;
8094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8095 if (!SWIG_IsOK(res1
)) {
8096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8098 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8100 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8112 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8114 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8115 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8116 return SWIG_Py_Void();
8119 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8120 return SWIG_Python_InitShadowInstance(args
);
8123 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8124 PyObject
*resultobj
= 0;
8125 wxAlphaPixelData
*arg1
= 0 ;
8126 wxAlphaPixelData_Accessor
*result
= 0 ;
8130 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8132 if (!SWIG_IsOK(res1
)) {
8133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8138 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8140 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8150 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8151 PyObject
*resultobj
= 0;
8152 wxBitmap
*arg1
= 0 ;
8153 wxAlphaPixelData
*arg2
= 0 ;
8154 wxAlphaPixelData_Accessor
*result
= 0 ;
8160 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8162 if (!SWIG_IsOK(res1
)) {
8163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8166 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8168 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8169 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8170 if (!SWIG_IsOK(res2
)) {
8171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8176 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8178 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8188 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8189 PyObject
*resultobj
= 0;
8190 wxAlphaPixelData_Accessor
*result
= 0 ;
8192 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8194 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8204 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8208 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8211 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8214 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8217 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8221 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8226 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8227 PyObject
*resultobj
= 0;
8228 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8231 PyObject
*swig_obj
[1] ;
8233 if (!args
) SWIG_fail
;
8235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8236 if (!SWIG_IsOK(res1
)) {
8237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8239 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 resultobj
= SWIG_Py_Void();
8252 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8253 PyObject
*resultobj
= 0;
8254 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8255 wxAlphaPixelData
*arg2
= 0 ;
8260 PyObject
* obj0
= 0 ;
8261 PyObject
* obj1
= 0 ;
8262 char * kwnames
[] = {
8263 (char *) "self",(char *) "data", NULL
8266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8268 if (!SWIG_IsOK(res1
)) {
8269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8271 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8272 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8273 if (!SWIG_IsOK(res2
)) {
8274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8279 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8281 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8284 resultobj
= SWIG_Py_Void();
8291 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8292 PyObject
*resultobj
= 0;
8293 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8297 PyObject
*swig_obj
[1] ;
8299 if (!args
) SWIG_fail
;
8301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8302 if (!SWIG_IsOK(res1
)) {
8303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8305 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8307 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8308 if (PyErr_Occurred()) SWIG_fail
;
8311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8319 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8320 PyObject
*resultobj
= 0;
8321 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8324 PyObject
*swig_obj
[1] ;
8326 if (!args
) SWIG_fail
;
8328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8329 if (!SWIG_IsOK(res1
)) {
8330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8332 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8334 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8337 resultobj
= SWIG_Py_Void();
8344 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
= 0;
8346 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8347 wxAlphaPixelData
*arg2
= 0 ;
8358 PyObject
* obj0
= 0 ;
8359 PyObject
* obj1
= 0 ;
8360 PyObject
* obj2
= 0 ;
8361 PyObject
* obj3
= 0 ;
8362 char * kwnames
[] = {
8363 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8368 if (!SWIG_IsOK(res1
)) {
8369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8371 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8373 if (!SWIG_IsOK(res2
)) {
8374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8379 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8380 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8381 if (!SWIG_IsOK(ecode3
)) {
8382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8384 arg3
= static_cast< int >(val3
);
8385 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8386 if (!SWIG_IsOK(ecode4
)) {
8387 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8389 arg4
= static_cast< int >(val4
);
8391 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 resultobj
= SWIG_Py_Void();
8401 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
= 0;
8403 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8404 wxAlphaPixelData
*arg2
= 0 ;
8412 PyObject
* obj0
= 0 ;
8413 PyObject
* obj1
= 0 ;
8414 PyObject
* obj2
= 0 ;
8415 char * kwnames
[] = {
8416 (char *) "self",(char *) "data",(char *) "x", NULL
8419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8421 if (!SWIG_IsOK(res1
)) {
8422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8424 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8425 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8426 if (!SWIG_IsOK(res2
)) {
8427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8432 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8433 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8434 if (!SWIG_IsOK(ecode3
)) {
8435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8437 arg3
= static_cast< int >(val3
);
8439 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8442 resultobj
= SWIG_Py_Void();
8449 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
= 0;
8451 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8452 wxAlphaPixelData
*arg2
= 0 ;
8460 PyObject
* obj0
= 0 ;
8461 PyObject
* obj1
= 0 ;
8462 PyObject
* obj2
= 0 ;
8463 char * kwnames
[] = {
8464 (char *) "self",(char *) "data",(char *) "y", NULL
8467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8469 if (!SWIG_IsOK(res1
)) {
8470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8472 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8473 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8474 if (!SWIG_IsOK(res2
)) {
8475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8480 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8481 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8482 if (!SWIG_IsOK(ecode3
)) {
8483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8485 arg3
= static_cast< int >(val3
);
8487 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8490 resultobj
= SWIG_Py_Void();
8497 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8498 PyObject
*resultobj
= 0;
8499 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8500 wxAlphaPixelData
*arg2
= 0 ;
8511 PyObject
* obj0
= 0 ;
8512 PyObject
* obj1
= 0 ;
8513 PyObject
* obj2
= 0 ;
8514 PyObject
* obj3
= 0 ;
8515 char * kwnames
[] = {
8516 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8521 if (!SWIG_IsOK(res1
)) {
8522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8524 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8525 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8526 if (!SWIG_IsOK(res2
)) {
8527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8532 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8533 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8534 if (!SWIG_IsOK(ecode3
)) {
8535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8537 arg3
= static_cast< int >(val3
);
8538 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8539 if (!SWIG_IsOK(ecode4
)) {
8540 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8542 arg4
= static_cast< int >(val4
);
8544 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8547 resultobj
= SWIG_Py_Void();
8554 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8555 PyObject
*resultobj
= 0;
8556 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8563 unsigned char val2
;
8565 unsigned char val3
;
8567 unsigned char val4
;
8569 unsigned char val5
;
8571 PyObject
* obj0
= 0 ;
8572 PyObject
* obj1
= 0 ;
8573 PyObject
* obj2
= 0 ;
8574 PyObject
* obj3
= 0 ;
8575 PyObject
* obj4
= 0 ;
8576 char * kwnames
[] = {
8577 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8582 if (!SWIG_IsOK(res1
)) {
8583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8585 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8586 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8587 if (!SWIG_IsOK(ecode2
)) {
8588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8590 arg2
= static_cast< byte
>(val2
);
8591 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8592 if (!SWIG_IsOK(ecode3
)) {
8593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8595 arg3
= static_cast< byte
>(val3
);
8596 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8597 if (!SWIG_IsOK(ecode4
)) {
8598 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8600 arg4
= static_cast< byte
>(val4
);
8601 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8602 if (!SWIG_IsOK(ecode5
)) {
8603 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8605 arg5
= static_cast< byte
>(val5
);
8607 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8610 resultobj
= SWIG_Py_Void();
8617 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8618 PyObject
*resultobj
= 0;
8619 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8620 PyObject
*result
= 0 ;
8623 PyObject
*swig_obj
[1] ;
8625 if (!args
) SWIG_fail
;
8627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8628 if (!SWIG_IsOK(res1
)) {
8629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8631 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8633 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8643 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8645 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8646 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8647 return SWIG_Py_Void();
8650 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8651 return SWIG_Python_InitShadowInstance(args
);
8654 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
= 0;
8656 wxBitmap
*arg1
= 0 ;
8657 wxColour
const &arg2_defvalue
= wxNullColour
;
8658 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8659 wxMask
*result
= 0 ;
8663 PyObject
* obj0
= 0 ;
8664 PyObject
* obj1
= 0 ;
8665 char * kwnames
[] = {
8666 (char *) "bitmap",(char *) "colour", NULL
8669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8670 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8671 if (!SWIG_IsOK(res1
)) {
8672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8677 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8681 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8685 if (!wxPyCheckForApp()) SWIG_fail
;
8686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8687 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8698 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8699 PyObject
*resultobj
= 0;
8700 wxMask
*arg1
= (wxMask
*) 0 ;
8703 PyObject
*swig_obj
[1] ;
8705 if (!args
) SWIG_fail
;
8707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8708 if (!SWIG_IsOK(res1
)) {
8709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8711 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 resultobj
= SWIG_Py_Void();
8724 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8727 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8728 return SWIG_Py_Void();
8731 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8732 return SWIG_Python_InitShadowInstance(args
);
8735 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8736 PyObject
*resultobj
= 0;
8737 wxString
*arg1
= 0 ;
8739 int arg3
= (int) -1 ;
8740 int arg4
= (int) -1 ;
8741 wxIcon
*result
= 0 ;
8742 bool temp1
= false ;
8749 PyObject
* obj0
= 0 ;
8750 PyObject
* obj1
= 0 ;
8751 PyObject
* obj2
= 0 ;
8752 PyObject
* obj3
= 0 ;
8753 char * kwnames
[] = {
8754 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8759 arg1
= wxString_in_helper(obj0
);
8760 if (arg1
== NULL
) SWIG_fail
;
8763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8764 if (!SWIG_IsOK(ecode2
)) {
8765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8767 arg2
= static_cast< wxBitmapType
>(val2
);
8769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8770 if (!SWIG_IsOK(ecode3
)) {
8771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8773 arg3
= static_cast< int >(val3
);
8776 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8777 if (!SWIG_IsOK(ecode4
)) {
8778 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8780 arg4
= static_cast< int >(val4
);
8783 if (!wxPyCheckForApp()) SWIG_fail
;
8784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8804 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8805 PyObject
*resultobj
= 0;
8806 wxIcon
*arg1
= (wxIcon
*) 0 ;
8809 PyObject
*swig_obj
[1] ;
8811 if (!args
) SWIG_fail
;
8813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8814 if (!SWIG_IsOK(res1
)) {
8815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8817 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 resultobj
= SWIG_Py_Void();
8832 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8833 PyObject
*resultobj
= 0;
8834 wxIcon
*result
= 0 ;
8836 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8838 if (!wxPyCheckForApp()) SWIG_fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 result
= (wxIcon
*)new wxIcon();
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8851 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
*resultobj
= 0;
8853 wxIconLocation
*arg1
= 0 ;
8854 wxIcon
*result
= 0 ;
8857 PyObject
* obj0
= 0 ;
8858 char * kwnames
[] = {
8859 (char *) "loc", NULL
8862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8863 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8864 if (!SWIG_IsOK(res1
)) {
8865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8870 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8872 if (!wxPyCheckForApp()) SWIG_fail
;
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8885 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
*resultobj
= 0;
8887 wxBitmap
*arg1
= 0 ;
8888 wxIcon
*result
= 0 ;
8891 PyObject
* obj0
= 0 ;
8892 char * kwnames
[] = {
8893 (char *) "bmp", NULL
8896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8897 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8898 if (!SWIG_IsOK(res1
)) {
8899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8904 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8906 if (!wxPyCheckForApp()) SWIG_fail
;
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8919 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
*resultobj
= 0;
8921 PyObject
*arg1
= (PyObject
*) 0 ;
8922 wxIcon
*result
= 0 ;
8923 PyObject
* obj0
= 0 ;
8924 char * kwnames
[] = {
8925 (char *) "listOfStrings", NULL
8928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8931 if (!wxPyCheckForApp()) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 result
= (wxIcon
*)new_wxIcon(arg1
);
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8944 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
= 0;
8946 wxIcon
*arg1
= (wxIcon
*) 0 ;
8947 wxString
*arg2
= 0 ;
8952 bool temp2
= false ;
8955 PyObject
* obj0
= 0 ;
8956 PyObject
* obj1
= 0 ;
8957 PyObject
* obj2
= 0 ;
8958 char * kwnames
[] = {
8959 (char *) "self",(char *) "name",(char *) "type", NULL
8962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8964 if (!SWIG_IsOK(res1
)) {
8965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
8967 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8969 arg2
= wxString_in_helper(obj1
);
8970 if (arg2
== NULL
) SWIG_fail
;
8973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8974 if (!SWIG_IsOK(ecode3
)) {
8975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
8977 arg3
= static_cast< wxBitmapType
>(val3
);
8979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8980 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9001 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9002 PyObject
*resultobj
= 0;
9003 wxIcon
*arg1
= (wxIcon
*) 0 ;
9007 PyObject
*swig_obj
[1] ;
9009 if (!args
) SWIG_fail
;
9011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9012 if (!SWIG_IsOK(res1
)) {
9013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9015 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 result
= (long)(arg1
)->GetHandle();
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9022 resultobj
= SWIG_From_long(static_cast< long >(result
));
9029 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
= 0;
9031 wxIcon
*arg1
= (wxIcon
*) 0 ;
9037 PyObject
* obj0
= 0 ;
9038 PyObject
* obj1
= 0 ;
9039 char * kwnames
[] = {
9040 (char *) "self",(char *) "handle", NULL
9043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9045 if (!SWIG_IsOK(res1
)) {
9046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9048 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9049 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9050 if (!SWIG_IsOK(ecode2
)) {
9051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9053 arg2
= static_cast< long >(val2
);
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 wxIcon_SetHandle(arg1
,arg2
);
9057 wxPyEndAllowThreads(__tstate
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9060 resultobj
= SWIG_Py_Void();
9067 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9068 PyObject
*resultobj
= 0;
9069 wxIcon
*arg1
= (wxIcon
*) 0 ;
9073 PyObject
*swig_obj
[1] ;
9075 if (!args
) SWIG_fail
;
9077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9078 if (!SWIG_IsOK(res1
)) {
9079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
9081 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 result
= (bool)(arg1
)->Ok();
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9097 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9098 PyObject
*resultobj
= 0;
9099 wxIcon
*arg1
= (wxIcon
*) 0 ;
9103 PyObject
*swig_obj
[1] ;
9105 if (!args
) SWIG_fail
;
9107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9108 if (!SWIG_IsOK(res1
)) {
9109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9111 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 result
= (int)(arg1
)->GetWidth();
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= SWIG_From_int(static_cast< int >(result
));
9125 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9126 PyObject
*resultobj
= 0;
9127 wxIcon
*arg1
= (wxIcon
*) 0 ;
9131 PyObject
*swig_obj
[1] ;
9133 if (!args
) SWIG_fail
;
9135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9136 if (!SWIG_IsOK(res1
)) {
9137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9139 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9142 result
= (int)(arg1
)->GetHeight();
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9146 resultobj
= SWIG_From_int(static_cast< int >(result
));
9153 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9154 PyObject
*resultobj
= 0;
9155 wxIcon
*arg1
= (wxIcon
*) 0 ;
9159 PyObject
*swig_obj
[1] ;
9161 if (!args
) SWIG_fail
;
9163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9164 if (!SWIG_IsOK(res1
)) {
9165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9167 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 result
= (int)(arg1
)->GetDepth();
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 resultobj
= SWIG_From_int(static_cast< int >(result
));
9181 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
= 0;
9183 wxIcon
*arg1
= (wxIcon
*) 0 ;
9189 PyObject
* obj0
= 0 ;
9190 PyObject
* obj1
= 0 ;
9191 char * kwnames
[] = {
9192 (char *) "self",(char *) "w", NULL
9195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9197 if (!SWIG_IsOK(res1
)) {
9198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9200 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9202 if (!SWIG_IsOK(ecode2
)) {
9203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9205 arg2
= static_cast< int >(val2
);
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 (arg1
)->SetWidth(arg2
);
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9212 resultobj
= SWIG_Py_Void();
9219 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
= 0;
9221 wxIcon
*arg1
= (wxIcon
*) 0 ;
9227 PyObject
* obj0
= 0 ;
9228 PyObject
* obj1
= 0 ;
9229 char * kwnames
[] = {
9230 (char *) "self",(char *) "h", NULL
9233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9235 if (!SWIG_IsOK(res1
)) {
9236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9238 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9240 if (!SWIG_IsOK(ecode2
)) {
9241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9243 arg2
= static_cast< int >(val2
);
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 (arg1
)->SetHeight(arg2
);
9247 wxPyEndAllowThreads(__tstate
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9250 resultobj
= SWIG_Py_Void();
9257 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9258 PyObject
*resultobj
= 0;
9259 wxIcon
*arg1
= (wxIcon
*) 0 ;
9265 PyObject
* obj0
= 0 ;
9266 PyObject
* obj1
= 0 ;
9267 char * kwnames
[] = {
9268 (char *) "self",(char *) "d", NULL
9271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9273 if (!SWIG_IsOK(res1
)) {
9274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9276 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9278 if (!SWIG_IsOK(ecode2
)) {
9279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9281 arg2
= static_cast< int >(val2
);
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 (arg1
)->SetDepth(arg2
);
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 resultobj
= SWIG_Py_Void();
9295 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
= 0;
9297 wxIcon
*arg1
= (wxIcon
*) 0 ;
9302 PyObject
* obj0
= 0 ;
9303 PyObject
* obj1
= 0 ;
9304 char * kwnames
[] = {
9305 (char *) "self",(char *) "size", NULL
9308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9310 if (!SWIG_IsOK(res1
)) {
9311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9313 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9316 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 (arg1
)->SetSize((wxSize
const &)*arg2
);
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 resultobj
= SWIG_Py_Void();
9331 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
= 0;
9333 wxIcon
*arg1
= (wxIcon
*) 0 ;
9334 wxBitmap
*arg2
= 0 ;
9339 PyObject
* obj0
= 0 ;
9340 PyObject
* obj1
= 0 ;
9341 char * kwnames
[] = {
9342 (char *) "self",(char *) "bmp", NULL
9345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9347 if (!SWIG_IsOK(res1
)) {
9348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9350 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9351 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9352 if (!SWIG_IsOK(res2
)) {
9353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9358 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_Py_Void();
9372 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9374 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9375 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9376 return SWIG_Py_Void();
9379 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9380 return SWIG_Python_InitShadowInstance(args
);
9383 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
*resultobj
= 0;
9385 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9386 int arg2
= (int) 0 ;
9387 wxIconLocation
*result
= 0 ;
9388 bool temp1
= false ;
9391 PyObject
* obj0
= 0 ;
9392 PyObject
* obj1
= 0 ;
9393 char * kwnames
[] = {
9394 (char *) "filename",(char *) "num", NULL
9397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9400 arg1
= wxString_in_helper(obj0
);
9401 if (arg1
== NULL
) SWIG_fail
;
9406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9407 if (!SWIG_IsOK(ecode2
)) {
9408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9410 arg2
= static_cast< int >(val2
);
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9433 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9434 PyObject
*resultobj
= 0;
9435 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9438 PyObject
*swig_obj
[1] ;
9440 if (!args
) SWIG_fail
;
9442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9443 if (!SWIG_IsOK(res1
)) {
9444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9446 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= SWIG_Py_Void();
9461 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9462 PyObject
*resultobj
= 0;
9463 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9467 PyObject
*swig_obj
[1] ;
9469 if (!args
) SWIG_fail
;
9471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9472 if (!SWIG_IsOK(res1
)) {
9473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9475 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9491 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
= 0;
9493 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9494 wxString
*arg2
= 0 ;
9497 bool temp2
= false ;
9498 PyObject
* obj0
= 0 ;
9499 PyObject
* obj1
= 0 ;
9500 char * kwnames
[] = {
9501 (char *) "self",(char *) "filename", NULL
9504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9506 if (!SWIG_IsOK(res1
)) {
9507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9509 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9511 arg2
= wxString_in_helper(obj1
);
9512 if (arg2
== NULL
) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 (arg1
)->SetFileName((wxString
const &)*arg2
);
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) SWIG_fail
;
9521 resultobj
= SWIG_Py_Void();
9536 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9537 PyObject
*resultobj
= 0;
9538 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9539 wxString
*result
= 0 ;
9542 PyObject
*swig_obj
[1] ;
9544 if (!args
) SWIG_fail
;
9546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9547 if (!SWIG_IsOK(res1
)) {
9548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9550 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9555 result
= (wxString
*) &_result_ref
;
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9562 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9564 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9573 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
*resultobj
= 0;
9575 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9581 PyObject
* obj0
= 0 ;
9582 PyObject
* obj1
= 0 ;
9583 char * kwnames
[] = {
9584 (char *) "self",(char *) "num", NULL
9587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9589 if (!SWIG_IsOK(res1
)) {
9590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9592 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9594 if (!SWIG_IsOK(ecode2
)) {
9595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9597 arg2
= static_cast< int >(val2
);
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 wxIconLocation_SetIndex(arg1
,arg2
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= SWIG_Py_Void();
9611 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9612 PyObject
*resultobj
= 0;
9613 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9617 PyObject
*swig_obj
[1] ;
9619 if (!args
) SWIG_fail
;
9621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9622 if (!SWIG_IsOK(res1
)) {
9623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9625 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 result
= (int)wxIconLocation_GetIndex(arg1
);
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= SWIG_From_int(static_cast< int >(result
));
9639 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9641 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9642 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9643 return SWIG_Py_Void();
9646 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9647 return SWIG_Python_InitShadowInstance(args
);
9650 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9651 PyObject
*resultobj
= 0;
9652 wxIconBundle
*result
= 0 ;
9654 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (wxIconBundle
*)new wxIconBundle();
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9668 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
= 0;
9670 wxString
*arg1
= 0 ;
9672 wxIconBundle
*result
= 0 ;
9673 bool temp1
= false ;
9676 PyObject
* obj0
= 0 ;
9677 PyObject
* obj1
= 0 ;
9678 char * kwnames
[] = {
9679 (char *) "file",(char *) "type", NULL
9682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9684 arg1
= wxString_in_helper(obj0
);
9685 if (arg1
== NULL
) SWIG_fail
;
9688 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9689 if (!SWIG_IsOK(ecode2
)) {
9690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9692 arg2
= static_cast< long >(val2
);
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9696 wxPyEndAllowThreads(__tstate
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9714 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9715 PyObject
*resultobj
= 0;
9717 wxIconBundle
*result
= 0 ;
9720 PyObject
* obj0
= 0 ;
9721 char * kwnames
[] = {
9722 (char *) "icon", NULL
9725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9726 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9727 if (!SWIG_IsOK(res1
)) {
9728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9733 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9747 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9748 PyObject
*resultobj
= 0;
9749 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9752 PyObject
*swig_obj
[1] ;
9754 if (!args
) SWIG_fail
;
9756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9757 if (!SWIG_IsOK(res1
)) {
9758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9760 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= SWIG_Py_Void();
9775 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
*resultobj
= 0;
9777 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9783 PyObject
* obj0
= 0 ;
9784 PyObject
* obj1
= 0 ;
9785 char * kwnames
[] = {
9786 (char *) "self",(char *) "icon", NULL
9789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9791 if (!SWIG_IsOK(res1
)) {
9792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9794 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9795 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9796 if (!SWIG_IsOK(res2
)) {
9797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9802 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= SWIG_Py_Void();
9816 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
*resultobj
= 0;
9818 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9819 wxString
*arg2
= 0 ;
9823 bool temp2
= false ;
9826 PyObject
* obj0
= 0 ;
9827 PyObject
* obj1
= 0 ;
9828 PyObject
* obj2
= 0 ;
9829 char * kwnames
[] = {
9830 (char *) "self",(char *) "file",(char *) "type", NULL
9833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9835 if (!SWIG_IsOK(res1
)) {
9836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9838 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9840 arg2
= wxString_in_helper(obj1
);
9841 if (arg2
== NULL
) SWIG_fail
;
9844 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9845 if (!SWIG_IsOK(ecode3
)) {
9846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9848 arg3
= static_cast< long >(val3
);
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= SWIG_Py_Void();
9870 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9871 PyObject
*resultobj
= 0;
9872 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9874 wxIcon
*result
= 0 ;
9878 PyObject
* obj0
= 0 ;
9879 PyObject
* obj1
= 0 ;
9880 char * kwnames
[] = {
9881 (char *) "self",(char *) "size", NULL
9884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9886 if (!SWIG_IsOK(res1
)) {
9887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9889 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9892 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9898 result
= (wxIcon
*) &_result_ref
;
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9904 wxIcon
* resultptr
= new wxIcon(*result
);
9905 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9913 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9915 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9916 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9917 return SWIG_Py_Void();
9920 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9921 return SWIG_Python_InitShadowInstance(args
);
9924 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9925 PyObject
*resultobj
= 0;
9926 wxString
*arg1
= 0 ;
9928 int arg3
= (int) 0 ;
9929 int arg4
= (int) 0 ;
9930 wxCursor
*result
= 0 ;
9931 bool temp1
= false ;
9938 PyObject
* obj0
= 0 ;
9939 PyObject
* obj1
= 0 ;
9940 PyObject
* obj2
= 0 ;
9941 PyObject
* obj3
= 0 ;
9942 char * kwnames
[] = {
9943 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9948 arg1
= wxString_in_helper(obj0
);
9949 if (arg1
== NULL
) SWIG_fail
;
9952 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9953 if (!SWIG_IsOK(ecode2
)) {
9954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9956 arg2
= static_cast< long >(val2
);
9958 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9959 if (!SWIG_IsOK(ecode3
)) {
9960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9962 arg3
= static_cast< int >(val3
);
9965 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9966 if (!SWIG_IsOK(ecode4
)) {
9967 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9969 arg4
= static_cast< int >(val4
);
9972 if (!wxPyCheckForApp()) SWIG_fail
;
9973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9974 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9975 wxPyEndAllowThreads(__tstate
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9993 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9994 PyObject
*resultobj
= 0;
9995 wxCursor
*arg1
= (wxCursor
*) 0 ;
9998 PyObject
*swig_obj
[1] ;
10000 if (!args
) SWIG_fail
;
10001 swig_obj
[0] = args
;
10002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10003 if (!SWIG_IsOK(res1
)) {
10004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10006 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 wxPyEndAllowThreads(__tstate
);
10012 if (PyErr_Occurred()) SWIG_fail
;
10014 resultobj
= SWIG_Py_Void();
10021 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10022 PyObject
*resultobj
= 0;
10024 wxCursor
*result
= 0 ;
10027 PyObject
* obj0
= 0 ;
10028 char * kwnames
[] = {
10029 (char *) "id", NULL
10032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10033 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10034 if (!SWIG_IsOK(ecode1
)) {
10035 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10037 arg1
= static_cast< int >(val1
);
10039 if (!wxPyCheckForApp()) SWIG_fail
;
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 result
= (wxCursor
*)new wxCursor(arg1
);
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10052 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
*resultobj
= 0;
10054 wxImage
*arg1
= 0 ;
10055 wxCursor
*result
= 0 ;
10058 PyObject
* obj0
= 0 ;
10059 char * kwnames
[] = {
10060 (char *) "image", NULL
10063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10064 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10065 if (!SWIG_IsOK(res1
)) {
10066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10071 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10073 if (!wxPyCheckForApp()) SWIG_fail
;
10074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10075 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10086 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10087 PyObject
*resultobj
= 0;
10088 wxCursor
*arg1
= (wxCursor
*) 0 ;
10092 PyObject
*swig_obj
[1] ;
10094 if (!args
) SWIG_fail
;
10095 swig_obj
[0] = args
;
10096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10097 if (!SWIG_IsOK(res1
)) {
10098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10100 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 result
= (long)(arg1
)->GetHandle();
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_From_long(static_cast< long >(result
));
10114 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
= 0;
10116 wxCursor
*arg1
= (wxCursor
*) 0 ;
10122 PyObject
* obj0
= 0 ;
10123 PyObject
* obj1
= 0 ;
10124 char * kwnames
[] = {
10125 (char *) "self",(char *) "handle", NULL
10128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10130 if (!SWIG_IsOK(res1
)) {
10131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10133 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10134 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10135 if (!SWIG_IsOK(ecode2
)) {
10136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10138 arg2
= static_cast< long >(val2
);
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 wxCursor_SetHandle(arg1
,arg2
);
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= SWIG_Py_Void();
10152 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10153 PyObject
*resultobj
= 0;
10154 wxCursor
*arg1
= (wxCursor
*) 0 ;
10158 PyObject
*swig_obj
[1] ;
10160 if (!args
) SWIG_fail
;
10161 swig_obj
[0] = args
;
10162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10163 if (!SWIG_IsOK(res1
)) {
10164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
10166 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 result
= (bool)(arg1
)->Ok();
10170 wxPyEndAllowThreads(__tstate
);
10171 if (PyErr_Occurred()) SWIG_fail
;
10174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10182 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10183 PyObject
*resultobj
= 0;
10184 wxCursor
*arg1
= (wxCursor
*) 0 ;
10188 PyObject
*swig_obj
[1] ;
10190 if (!args
) SWIG_fail
;
10191 swig_obj
[0] = args
;
10192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10193 if (!SWIG_IsOK(res1
)) {
10194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10196 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (int)(arg1
)->GetWidth();
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= SWIG_From_int(static_cast< int >(result
));
10210 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10211 PyObject
*resultobj
= 0;
10212 wxCursor
*arg1
= (wxCursor
*) 0 ;
10216 PyObject
*swig_obj
[1] ;
10218 if (!args
) SWIG_fail
;
10219 swig_obj
[0] = args
;
10220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10221 if (!SWIG_IsOK(res1
)) {
10222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10224 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 result
= (int)(arg1
)->GetHeight();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_From_int(static_cast< int >(result
));
10238 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10239 PyObject
*resultobj
= 0;
10240 wxCursor
*arg1
= (wxCursor
*) 0 ;
10244 PyObject
*swig_obj
[1] ;
10246 if (!args
) SWIG_fail
;
10247 swig_obj
[0] = args
;
10248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10249 if (!SWIG_IsOK(res1
)) {
10250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10252 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (int)(arg1
)->GetDepth();
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10259 resultobj
= SWIG_From_int(static_cast< int >(result
));
10266 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
*resultobj
= 0;
10268 wxCursor
*arg1
= (wxCursor
*) 0 ;
10274 PyObject
* obj0
= 0 ;
10275 PyObject
* obj1
= 0 ;
10276 char * kwnames
[] = {
10277 (char *) "self",(char *) "w", NULL
10280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10282 if (!SWIG_IsOK(res1
)) {
10283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10285 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10287 if (!SWIG_IsOK(ecode2
)) {
10288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10290 arg2
= static_cast< int >(val2
);
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 (arg1
)->SetWidth(arg2
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10297 resultobj
= SWIG_Py_Void();
10304 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
= 0;
10306 wxCursor
*arg1
= (wxCursor
*) 0 ;
10312 PyObject
* obj0
= 0 ;
10313 PyObject
* obj1
= 0 ;
10314 char * kwnames
[] = {
10315 (char *) "self",(char *) "h", NULL
10318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10320 if (!SWIG_IsOK(res1
)) {
10321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10323 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10325 if (!SWIG_IsOK(ecode2
)) {
10326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10328 arg2
= static_cast< int >(val2
);
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 (arg1
)->SetHeight(arg2
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= SWIG_Py_Void();
10342 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
= 0;
10344 wxCursor
*arg1
= (wxCursor
*) 0 ;
10350 PyObject
* obj0
= 0 ;
10351 PyObject
* obj1
= 0 ;
10352 char * kwnames
[] = {
10353 (char *) "self",(char *) "d", NULL
10356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10358 if (!SWIG_IsOK(res1
)) {
10359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10361 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10363 if (!SWIG_IsOK(ecode2
)) {
10364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10366 arg2
= static_cast< int >(val2
);
10368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10369 (arg1
)->SetDepth(arg2
);
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10373 resultobj
= SWIG_Py_Void();
10380 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
*resultobj
= 0;
10382 wxCursor
*arg1
= (wxCursor
*) 0 ;
10387 PyObject
* obj0
= 0 ;
10388 PyObject
* obj1
= 0 ;
10389 char * kwnames
[] = {
10390 (char *) "self",(char *) "size", NULL
10393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10395 if (!SWIG_IsOK(res1
)) {
10396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10398 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10401 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 (arg1
)->SetSize((wxSize
const &)*arg2
);
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= SWIG_Py_Void();
10416 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10419 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10420 return SWIG_Py_Void();
10423 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10424 return SWIG_Python_InitShadowInstance(args
);
10427 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
*resultobj
= 0;
10429 int arg1
= (int) 0 ;
10430 int arg2
= (int) 0 ;
10431 int arg3
= (int) 0 ;
10432 int arg4
= (int) 0 ;
10433 wxRegion
*result
= 0 ;
10442 PyObject
* obj0
= 0 ;
10443 PyObject
* obj1
= 0 ;
10444 PyObject
* obj2
= 0 ;
10445 PyObject
* obj3
= 0 ;
10446 char * kwnames
[] = {
10447 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10452 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10453 if (!SWIG_IsOK(ecode1
)) {
10454 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10456 arg1
= static_cast< int >(val1
);
10459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10460 if (!SWIG_IsOK(ecode2
)) {
10461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10463 arg2
= static_cast< int >(val2
);
10466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10467 if (!SWIG_IsOK(ecode3
)) {
10468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10470 arg3
= static_cast< int >(val3
);
10473 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10474 if (!SWIG_IsOK(ecode4
)) {
10475 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10477 arg4
= static_cast< int >(val4
);
10480 if (!wxPyCheckForApp()) SWIG_fail
;
10481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10482 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10483 wxPyEndAllowThreads(__tstate
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10493 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
*resultobj
= 0;
10495 wxBitmap
*arg1
= 0 ;
10496 wxRegion
*result
= 0 ;
10499 PyObject
* obj0
= 0 ;
10500 char * kwnames
[] = {
10501 (char *) "bmp", NULL
10504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10505 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10506 if (!SWIG_IsOK(res1
)) {
10507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10512 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10514 if (!wxPyCheckForApp()) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10517 wxPyEndAllowThreads(__tstate
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10527 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10528 PyObject
*resultobj
= 0;
10529 wxBitmap
*arg1
= 0 ;
10530 wxColour
*arg2
= 0 ;
10531 int arg3
= (int) 0 ;
10532 wxRegion
*result
= 0 ;
10538 PyObject
* obj0
= 0 ;
10539 PyObject
* obj1
= 0 ;
10540 PyObject
* obj2
= 0 ;
10541 char * kwnames
[] = {
10542 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10546 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10547 if (!SWIG_IsOK(res1
)) {
10548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10553 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10556 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10559 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10560 if (!SWIG_IsOK(ecode3
)) {
10561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10563 arg3
= static_cast< int >(val3
);
10566 if (!wxPyCheckForApp()) SWIG_fail
;
10567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10568 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10579 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
= 0;
10582 wxPoint
*arg2
= (wxPoint
*) 0 ;
10583 int arg3
= (int) wxWINDING_RULE
;
10584 wxRegion
*result
= 0 ;
10587 PyObject
* obj0
= 0 ;
10588 PyObject
* obj1
= 0 ;
10589 char * kwnames
[] = {
10590 (char *) "points",(char *) "fillStyle", NULL
10593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10595 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10596 if (arg2
== NULL
) SWIG_fail
;
10599 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10600 if (!SWIG_IsOK(ecode3
)) {
10601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10603 arg3
= static_cast< int >(val3
);
10606 if (!wxPyCheckForApp()) SWIG_fail
;
10607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10608 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10614 if (arg2
) delete [] arg2
;
10619 if (arg2
) delete [] arg2
;
10625 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10626 PyObject
*resultobj
= 0;
10627 wxRegion
*arg1
= (wxRegion
*) 0 ;
10630 PyObject
*swig_obj
[1] ;
10632 if (!args
) SWIG_fail
;
10633 swig_obj
[0] = args
;
10634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10635 if (!SWIG_IsOK(res1
)) {
10636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10638 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10646 resultobj
= SWIG_Py_Void();
10653 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10654 PyObject
*resultobj
= 0;
10655 wxRegion
*arg1
= (wxRegion
*) 0 ;
10658 PyObject
*swig_obj
[1] ;
10660 if (!args
) SWIG_fail
;
10661 swig_obj
[0] = args
;
10662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10663 if (!SWIG_IsOK(res1
)) {
10664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10666 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= SWIG_Py_Void();
10680 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
= 0;
10682 wxRegion
*arg1
= (wxRegion
*) 0 ;
10692 PyObject
* obj0
= 0 ;
10693 PyObject
* obj1
= 0 ;
10694 PyObject
* obj2
= 0 ;
10695 char * kwnames
[] = {
10696 (char *) "self",(char *) "x",(char *) "y", NULL
10699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10701 if (!SWIG_IsOK(res1
)) {
10702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10704 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10706 if (!SWIG_IsOK(ecode2
)) {
10707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10709 arg2
= static_cast< int >(val2
);
10710 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10711 if (!SWIG_IsOK(ecode3
)) {
10712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10714 arg3
= static_cast< int >(val3
);
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10730 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10731 PyObject
*resultobj
= 0;
10732 wxRegion
*arg1
= (wxRegion
*) 0 ;
10735 wxRegionContain result
;
10742 PyObject
* obj0
= 0 ;
10743 PyObject
* obj1
= 0 ;
10744 PyObject
* obj2
= 0 ;
10745 char * kwnames
[] = {
10746 (char *) "self",(char *) "x",(char *) "y", NULL
10749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10751 if (!SWIG_IsOK(res1
)) {
10752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10754 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10756 if (!SWIG_IsOK(ecode2
)) {
10757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10759 arg2
= static_cast< int >(val2
);
10760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10761 if (!SWIG_IsOK(ecode3
)) {
10762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10764 arg3
= static_cast< int >(val3
);
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10771 resultobj
= SWIG_From_int(static_cast< int >(result
));
10778 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
= 0;
10780 wxRegion
*arg1
= (wxRegion
*) 0 ;
10781 wxPoint
*arg2
= 0 ;
10782 wxRegionContain result
;
10786 PyObject
* obj0
= 0 ;
10787 PyObject
* obj1
= 0 ;
10788 char * kwnames
[] = {
10789 (char *) "self",(char *) "pt", NULL
10792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10794 if (!SWIG_IsOK(res1
)) {
10795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10797 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10800 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10804 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10808 resultobj
= SWIG_From_int(static_cast< int >(result
));
10815 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10816 PyObject
*resultobj
= 0;
10817 wxRegion
*arg1
= (wxRegion
*) 0 ;
10819 wxRegionContain result
;
10823 PyObject
* obj0
= 0 ;
10824 PyObject
* obj1
= 0 ;
10825 char * kwnames
[] = {
10826 (char *) "self",(char *) "rect", NULL
10829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10831 if (!SWIG_IsOK(res1
)) {
10832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10834 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10837 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 resultobj
= SWIG_From_int(static_cast< int >(result
));
10852 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
= 0;
10854 wxRegion
*arg1
= (wxRegion
*) 0 ;
10859 wxRegionContain result
;
10870 PyObject
* obj0
= 0 ;
10871 PyObject
* obj1
= 0 ;
10872 PyObject
* obj2
= 0 ;
10873 PyObject
* obj3
= 0 ;
10874 PyObject
* obj4
= 0 ;
10875 char * kwnames
[] = {
10876 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10881 if (!SWIG_IsOK(res1
)) {
10882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10884 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10886 if (!SWIG_IsOK(ecode2
)) {
10887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10889 arg2
= static_cast< int >(val2
);
10890 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10891 if (!SWIG_IsOK(ecode3
)) {
10892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10894 arg3
= static_cast< int >(val3
);
10895 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10896 if (!SWIG_IsOK(ecode4
)) {
10897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10899 arg4
= static_cast< int >(val4
);
10900 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10901 if (!SWIG_IsOK(ecode5
)) {
10902 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10904 arg5
= static_cast< int >(val5
);
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10911 resultobj
= SWIG_From_int(static_cast< int >(result
));
10918 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10919 PyObject
*resultobj
= 0;
10920 wxRegion
*arg1
= (wxRegion
*) 0 ;
10924 PyObject
*swig_obj
[1] ;
10926 if (!args
) SWIG_fail
;
10927 swig_obj
[0] = args
;
10928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10929 if (!SWIG_IsOK(res1
)) {
10930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10932 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 result
= (arg1
)->GetBox();
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10946 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
= 0;
10948 wxRegion
*arg1
= (wxRegion
*) 0 ;
10964 PyObject
* obj0
= 0 ;
10965 PyObject
* obj1
= 0 ;
10966 PyObject
* obj2
= 0 ;
10967 PyObject
* obj3
= 0 ;
10968 PyObject
* obj4
= 0 ;
10969 char * kwnames
[] = {
10970 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10975 if (!SWIG_IsOK(res1
)) {
10976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10978 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10980 if (!SWIG_IsOK(ecode2
)) {
10981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10983 arg2
= static_cast< int >(val2
);
10984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10985 if (!SWIG_IsOK(ecode3
)) {
10986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10988 arg3
= static_cast< int >(val3
);
10989 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10990 if (!SWIG_IsOK(ecode4
)) {
10991 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10993 arg4
= static_cast< int >(val4
);
10994 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10995 if (!SWIG_IsOK(ecode5
)) {
10996 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10998 arg5
= static_cast< int >(val5
);
11000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11001 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11014 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
= 0;
11016 wxRegion
*arg1
= (wxRegion
*) 0 ;
11022 PyObject
* obj0
= 0 ;
11023 PyObject
* obj1
= 0 ;
11024 char * kwnames
[] = {
11025 (char *) "self",(char *) "rect", NULL
11028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11030 if (!SWIG_IsOK(res1
)) {
11031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11033 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11036 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11041 wxPyEndAllowThreads(__tstate
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11053 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11054 PyObject
*resultobj
= 0;
11055 wxRegion
*arg1
= (wxRegion
*) 0 ;
11056 wxRegion
*arg2
= 0 ;
11062 PyObject
* obj0
= 0 ;
11063 PyObject
* obj1
= 0 ;
11064 char * kwnames
[] = {
11065 (char *) "self",(char *) "region", NULL
11068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11070 if (!SWIG_IsOK(res1
)) {
11071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11073 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11074 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11075 if (!SWIG_IsOK(res2
)) {
11076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11081 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11097 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11098 PyObject
*resultobj
= 0;
11099 wxRegion
*arg1
= (wxRegion
*) 0 ;
11103 PyObject
*swig_obj
[1] ;
11105 if (!args
) SWIG_fail
;
11106 swig_obj
[0] = args
;
11107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11108 if (!SWIG_IsOK(res1
)) {
11109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11111 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11114 result
= (bool)(arg1
)->IsEmpty();
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11127 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
*resultobj
= 0;
11129 wxRegion
*arg1
= (wxRegion
*) 0 ;
11130 wxRegion
*arg2
= 0 ;
11136 PyObject
* obj0
= 0 ;
11137 PyObject
* obj1
= 0 ;
11138 char * kwnames
[] = {
11139 (char *) "self",(char *) "region", NULL
11142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11144 if (!SWIG_IsOK(res1
)) {
11145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11147 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11148 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11149 if (!SWIG_IsOK(res2
)) {
11150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11155 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11159 wxPyEndAllowThreads(__tstate
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11171 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
*resultobj
= 0;
11173 wxRegion
*arg1
= (wxRegion
*) 0 ;
11189 PyObject
* obj0
= 0 ;
11190 PyObject
* obj1
= 0 ;
11191 PyObject
* obj2
= 0 ;
11192 PyObject
* obj3
= 0 ;
11193 PyObject
* obj4
= 0 ;
11194 char * kwnames
[] = {
11195 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11200 if (!SWIG_IsOK(res1
)) {
11201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11203 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11205 if (!SWIG_IsOK(ecode2
)) {
11206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11208 arg2
= static_cast< int >(val2
);
11209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11210 if (!SWIG_IsOK(ecode3
)) {
11211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11213 arg3
= static_cast< int >(val3
);
11214 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11215 if (!SWIG_IsOK(ecode4
)) {
11216 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11218 arg4
= static_cast< int >(val4
);
11219 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11220 if (!SWIG_IsOK(ecode5
)) {
11221 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11223 arg5
= static_cast< int >(val5
);
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11226 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11239 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
*resultobj
= 0;
11241 wxRegion
*arg1
= (wxRegion
*) 0 ;
11247 PyObject
* obj0
= 0 ;
11248 PyObject
* obj1
= 0 ;
11249 char * kwnames
[] = {
11250 (char *) "self",(char *) "rect", NULL
11253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11255 if (!SWIG_IsOK(res1
)) {
11256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11258 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11261 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11265 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11278 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
= 0;
11280 wxRegion
*arg1
= (wxRegion
*) 0 ;
11281 wxRegion
*arg2
= 0 ;
11287 PyObject
* obj0
= 0 ;
11288 PyObject
* obj1
= 0 ;
11289 char * kwnames
[] = {
11290 (char *) "self",(char *) "region", NULL
11293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11295 if (!SWIG_IsOK(res1
)) {
11296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11298 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11300 if (!SWIG_IsOK(res2
)) {
11301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11306 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11310 wxPyEndAllowThreads(__tstate
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11322 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11323 PyObject
*resultobj
= 0;
11324 wxRegion
*arg1
= (wxRegion
*) 0 ;
11340 PyObject
* obj0
= 0 ;
11341 PyObject
* obj1
= 0 ;
11342 PyObject
* obj2
= 0 ;
11343 PyObject
* obj3
= 0 ;
11344 PyObject
* obj4
= 0 ;
11345 char * kwnames
[] = {
11346 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11351 if (!SWIG_IsOK(res1
)) {
11352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11354 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11356 if (!SWIG_IsOK(ecode2
)) {
11357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11359 arg2
= static_cast< int >(val2
);
11360 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11361 if (!SWIG_IsOK(ecode3
)) {
11362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11364 arg3
= static_cast< int >(val3
);
11365 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11366 if (!SWIG_IsOK(ecode4
)) {
11367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11369 arg4
= static_cast< int >(val4
);
11370 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11371 if (!SWIG_IsOK(ecode5
)) {
11372 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11374 arg5
= static_cast< int >(val5
);
11376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11377 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11390 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
= 0;
11392 wxRegion
*arg1
= (wxRegion
*) 0 ;
11398 PyObject
* obj0
= 0 ;
11399 PyObject
* obj1
= 0 ;
11400 char * kwnames
[] = {
11401 (char *) "self",(char *) "rect", NULL
11404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11406 if (!SWIG_IsOK(res1
)) {
11407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11409 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11412 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11429 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
*resultobj
= 0;
11431 wxRegion
*arg1
= (wxRegion
*) 0 ;
11432 wxRegion
*arg2
= 0 ;
11438 PyObject
* obj0
= 0 ;
11439 PyObject
* obj1
= 0 ;
11440 char * kwnames
[] = {
11441 (char *) "self",(char *) "region", NULL
11444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11446 if (!SWIG_IsOK(res1
)) {
11447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11449 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11450 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11451 if (!SWIG_IsOK(res2
)) {
11452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11457 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11473 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
= 0;
11475 wxRegion
*arg1
= (wxRegion
*) 0 ;
11491 PyObject
* obj0
= 0 ;
11492 PyObject
* obj1
= 0 ;
11493 PyObject
* obj2
= 0 ;
11494 PyObject
* obj3
= 0 ;
11495 PyObject
* obj4
= 0 ;
11496 char * kwnames
[] = {
11497 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11502 if (!SWIG_IsOK(res1
)) {
11503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11505 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11507 if (!SWIG_IsOK(ecode2
)) {
11508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11510 arg2
= static_cast< int >(val2
);
11511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11512 if (!SWIG_IsOK(ecode3
)) {
11513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11515 arg3
= static_cast< int >(val3
);
11516 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11517 if (!SWIG_IsOK(ecode4
)) {
11518 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11520 arg4
= static_cast< int >(val4
);
11521 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11522 if (!SWIG_IsOK(ecode5
)) {
11523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11525 arg5
= static_cast< int >(val5
);
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11541 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
= 0;
11543 wxRegion
*arg1
= (wxRegion
*) 0 ;
11549 PyObject
* obj0
= 0 ;
11550 PyObject
* obj1
= 0 ;
11551 char * kwnames
[] = {
11552 (char *) "self",(char *) "rect", NULL
11555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11557 if (!SWIG_IsOK(res1
)) {
11558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11560 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11563 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11567 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11580 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
= 0;
11582 wxRegion
*arg1
= (wxRegion
*) 0 ;
11583 wxRegion
*arg2
= 0 ;
11589 PyObject
* obj0
= 0 ;
11590 PyObject
* obj1
= 0 ;
11591 char * kwnames
[] = {
11592 (char *) "self",(char *) "region", NULL
11595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11597 if (!SWIG_IsOK(res1
)) {
11598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11600 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11601 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11602 if (!SWIG_IsOK(res2
)) {
11603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11608 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11612 wxPyEndAllowThreads(__tstate
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11624 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11625 PyObject
*resultobj
= 0;
11626 wxRegion
*arg1
= (wxRegion
*) 0 ;
11627 SwigValueWrapper
<wxBitmap
> result
;
11630 PyObject
*swig_obj
[1] ;
11632 if (!args
) SWIG_fail
;
11633 swig_obj
[0] = args
;
11634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11635 if (!SWIG_IsOK(res1
)) {
11636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11638 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 result
= (arg1
)->ConvertToBitmap();
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11645 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11652 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
= 0;
11654 wxRegion
*arg1
= (wxRegion
*) 0 ;
11655 wxBitmap
*arg2
= 0 ;
11661 PyObject
* obj0
= 0 ;
11662 PyObject
* obj1
= 0 ;
11663 char * kwnames
[] = {
11664 (char *) "self",(char *) "bmp", NULL
11667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11669 if (!SWIG_IsOK(res1
)) {
11670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11672 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11673 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11674 if (!SWIG_IsOK(res2
)) {
11675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11680 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11684 wxPyEndAllowThreads(__tstate
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11696 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11697 PyObject
*resultobj
= 0;
11698 wxRegion
*arg1
= (wxRegion
*) 0 ;
11699 wxBitmap
*arg2
= 0 ;
11700 wxColour
*arg3
= 0 ;
11701 int arg4
= (int) 0 ;
11710 PyObject
* obj0
= 0 ;
11711 PyObject
* obj1
= 0 ;
11712 PyObject
* obj2
= 0 ;
11713 PyObject
* obj3
= 0 ;
11714 char * kwnames
[] = {
11715 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11720 if (!SWIG_IsOK(res1
)) {
11721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11723 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11724 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11725 if (!SWIG_IsOK(res2
)) {
11726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11731 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11734 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11737 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11738 if (!SWIG_IsOK(ecode4
)) {
11739 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11741 arg4
= static_cast< int >(val4
);
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11758 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11761 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11762 return SWIG_Py_Void();
11765 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11766 return SWIG_Python_InitShadowInstance(args
);
11769 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
*resultobj
= 0;
11771 wxRegion
*arg1
= 0 ;
11772 wxRegionIterator
*result
= 0 ;
11775 PyObject
* obj0
= 0 ;
11776 char * kwnames
[] = {
11777 (char *) "region", NULL
11780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11781 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11782 if (!SWIG_IsOK(res1
)) {
11783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11788 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11790 if (!wxPyCheckForApp()) SWIG_fail
;
11791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11792 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11793 wxPyEndAllowThreads(__tstate
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11803 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11804 PyObject
*resultobj
= 0;
11805 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11808 PyObject
*swig_obj
[1] ;
11810 if (!args
) SWIG_fail
;
11811 swig_obj
[0] = args
;
11812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11813 if (!SWIG_IsOK(res1
)) {
11814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11816 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11821 wxPyEndAllowThreads(__tstate
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11824 resultobj
= SWIG_Py_Void();
11831 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11832 PyObject
*resultobj
= 0;
11833 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11837 PyObject
*swig_obj
[1] ;
11839 if (!args
) SWIG_fail
;
11840 swig_obj
[0] = args
;
11841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11842 if (!SWIG_IsOK(res1
)) {
11843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11845 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11848 result
= (int)(arg1
)->GetX();
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11852 resultobj
= SWIG_From_int(static_cast< int >(result
));
11859 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11860 PyObject
*resultobj
= 0;
11861 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11865 PyObject
*swig_obj
[1] ;
11867 if (!args
) SWIG_fail
;
11868 swig_obj
[0] = args
;
11869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11870 if (!SWIG_IsOK(res1
)) {
11871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11873 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= (int)(arg1
)->GetY();
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11880 resultobj
= SWIG_From_int(static_cast< int >(result
));
11887 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11888 PyObject
*resultobj
= 0;
11889 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11893 PyObject
*swig_obj
[1] ;
11895 if (!args
) SWIG_fail
;
11896 swig_obj
[0] = args
;
11897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11898 if (!SWIG_IsOK(res1
)) {
11899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11901 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 result
= (int)(arg1
)->GetW();
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11908 resultobj
= SWIG_From_int(static_cast< int >(result
));
11915 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11916 PyObject
*resultobj
= 0;
11917 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11921 PyObject
*swig_obj
[1] ;
11923 if (!args
) SWIG_fail
;
11924 swig_obj
[0] = args
;
11925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11926 if (!SWIG_IsOK(res1
)) {
11927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11929 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 result
= (int)(arg1
)->GetWidth();
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11936 resultobj
= SWIG_From_int(static_cast< int >(result
));
11943 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11944 PyObject
*resultobj
= 0;
11945 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
, 0 | 0 );
11954 if (!SWIG_IsOK(res1
)) {
11955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11957 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11960 result
= (int)(arg1
)->GetH();
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11964 resultobj
= SWIG_From_int(static_cast< int >(result
));
11971 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11972 PyObject
*resultobj
= 0;
11973 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11977 PyObject
*swig_obj
[1] ;
11979 if (!args
) SWIG_fail
;
11980 swig_obj
[0] = args
;
11981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11982 if (!SWIG_IsOK(res1
)) {
11983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11985 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11988 result
= (int)(arg1
)->GetHeight();
11989 wxPyEndAllowThreads(__tstate
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11992 resultobj
= SWIG_From_int(static_cast< int >(result
));
11999 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12000 PyObject
*resultobj
= 0;
12001 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12005 PyObject
*swig_obj
[1] ;
12007 if (!args
) SWIG_fail
;
12008 swig_obj
[0] = args
;
12009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12010 if (!SWIG_IsOK(res1
)) {
12011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12013 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 result
= (arg1
)->GetRect();
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12020 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12027 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12028 PyObject
*resultobj
= 0;
12029 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12033 PyObject
*swig_obj
[1] ;
12035 if (!args
) SWIG_fail
;
12036 swig_obj
[0] = args
;
12037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12038 if (!SWIG_IsOK(res1
)) {
12039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12041 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 result
= (bool)(arg1
)->HaveRects();
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12057 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12058 PyObject
*resultobj
= 0;
12059 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_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12070 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12077 resultobj
= SWIG_Py_Void();
12084 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12085 PyObject
*resultobj
= 0;
12086 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12089 PyObject
*swig_obj
[1] ;
12091 if (!args
) SWIG_fail
;
12092 swig_obj
[0] = args
;
12093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12094 if (!SWIG_IsOK(res1
)) {
12095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12097 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12100 wxRegionIterator_Next(arg1
);
12101 wxPyEndAllowThreads(__tstate
);
12102 if (PyErr_Occurred()) SWIG_fail
;
12104 resultobj
= SWIG_Py_Void();
12111 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12112 PyObject
*resultobj
= 0;
12113 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12117 PyObject
*swig_obj
[1] ;
12119 if (!args
) SWIG_fail
;
12120 swig_obj
[0] = args
;
12121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12122 if (!SWIG_IsOK(res1
)) {
12123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12125 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12129 wxPyEndAllowThreads(__tstate
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12141 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12143 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12144 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12145 return SWIG_Py_Void();
12148 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12149 return SWIG_Python_InitShadowInstance(args
);
12152 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12153 PyObject
*resultobj
= 0;
12154 wxNativeFontInfo
*result
= 0 ;
12156 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12160 wxPyEndAllowThreads(__tstate
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12170 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12171 PyObject
*resultobj
= 0;
12172 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12175 PyObject
*swig_obj
[1] ;
12177 if (!args
) SWIG_fail
;
12178 swig_obj
[0] = args
;
12179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12180 if (!SWIG_IsOK(res1
)) {
12181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12183 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12191 resultobj
= SWIG_Py_Void();
12198 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12199 PyObject
*resultobj
= 0;
12200 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 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_wxNativeFontInfo
, 0 | 0 );
12208 if (!SWIG_IsOK(res1
)) {
12209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12211 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12218 resultobj
= SWIG_Py_Void();
12225 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12226 PyObject
*resultobj
= 0;
12227 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12233 PyObject
* obj0
= 0 ;
12234 PyObject
* obj1
= 0 ;
12235 char * kwnames
[] = {
12236 (char *) "self",(char *) "font", NULL
12239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12241 if (!SWIG_IsOK(res1
)) {
12242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12244 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12246 if (!SWIG_IsOK(res2
)) {
12247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12252 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12259 resultobj
= SWIG_Py_Void();
12266 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12267 PyObject
*resultobj
= 0;
12268 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12272 PyObject
*swig_obj
[1] ;
12274 if (!args
) SWIG_fail
;
12275 swig_obj
[0] = args
;
12276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12277 if (!SWIG_IsOK(res1
)) {
12278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12280 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12283 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12287 resultobj
= SWIG_From_int(static_cast< int >(result
));
12294 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12295 PyObject
*resultobj
= 0;
12296 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12300 PyObject
*swig_obj
[1] ;
12302 if (!args
) SWIG_fail
;
12303 swig_obj
[0] = args
;
12304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12305 if (!SWIG_IsOK(res1
)) {
12306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12308 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12322 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12323 PyObject
*resultobj
= 0;
12324 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12325 wxFontStyle result
;
12328 PyObject
*swig_obj
[1] ;
12330 if (!args
) SWIG_fail
;
12331 swig_obj
[0] = args
;
12332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12333 if (!SWIG_IsOK(res1
)) {
12334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12336 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12343 resultobj
= SWIG_From_int(static_cast< int >(result
));
12350 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12351 PyObject
*resultobj
= 0;
12352 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12353 wxFontWeight result
;
12356 PyObject
*swig_obj
[1] ;
12358 if (!args
) SWIG_fail
;
12359 swig_obj
[0] = args
;
12360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12361 if (!SWIG_IsOK(res1
)) {
12362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12364 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= SWIG_From_int(static_cast< int >(result
));
12378 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12379 PyObject
*resultobj
= 0;
12380 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12384 PyObject
*swig_obj
[1] ;
12386 if (!args
) SWIG_fail
;
12387 swig_obj
[0] = args
;
12388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12389 if (!SWIG_IsOK(res1
)) {
12390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12392 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12408 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12409 PyObject
*resultobj
= 0;
12410 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12414 PyObject
*swig_obj
[1] ;
12416 if (!args
) SWIG_fail
;
12417 swig_obj
[0] = args
;
12418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12419 if (!SWIG_IsOK(res1
)) {
12420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12422 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12442 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12443 PyObject
*resultobj
= 0;
12444 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12445 wxFontFamily result
;
12448 PyObject
*swig_obj
[1] ;
12450 if (!args
) SWIG_fail
;
12451 swig_obj
[0] = args
;
12452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12453 if (!SWIG_IsOK(res1
)) {
12454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12456 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12459 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12460 wxPyEndAllowThreads(__tstate
);
12461 if (PyErr_Occurred()) SWIG_fail
;
12463 resultobj
= SWIG_From_int(static_cast< int >(result
));
12470 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12471 PyObject
*resultobj
= 0;
12472 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12473 wxFontEncoding result
;
12476 PyObject
*swig_obj
[1] ;
12478 if (!args
) SWIG_fail
;
12479 swig_obj
[0] = args
;
12480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12481 if (!SWIG_IsOK(res1
)) {
12482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12484 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12488 wxPyEndAllowThreads(__tstate
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12491 resultobj
= SWIG_From_int(static_cast< int >(result
));
12498 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12499 PyObject
*resultobj
= 0;
12500 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12506 PyObject
* obj0
= 0 ;
12507 PyObject
* obj1
= 0 ;
12508 char * kwnames
[] = {
12509 (char *) "self",(char *) "pointsize", NULL
12512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12514 if (!SWIG_IsOK(res1
)) {
12515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12517 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12519 if (!SWIG_IsOK(ecode2
)) {
12520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12522 arg2
= static_cast< int >(val2
);
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 (arg1
)->SetPointSize(arg2
);
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 resultobj
= SWIG_Py_Void();
12536 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
= 0;
12538 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12543 PyObject
* obj0
= 0 ;
12544 PyObject
* obj1
= 0 ;
12545 char * kwnames
[] = {
12546 (char *) "self",(char *) "pixelSize", NULL
12549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12551 if (!SWIG_IsOK(res1
)) {
12552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12554 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12557 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= SWIG_Py_Void();
12572 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
*resultobj
= 0;
12574 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12580 PyObject
* obj0
= 0 ;
12581 PyObject
* obj1
= 0 ;
12582 char * kwnames
[] = {
12583 (char *) "self",(char *) "style", NULL
12586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12588 if (!SWIG_IsOK(res1
)) {
12589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12591 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12593 if (!SWIG_IsOK(ecode2
)) {
12594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12596 arg2
= static_cast< wxFontStyle
>(val2
);
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 (arg1
)->SetStyle(arg2
);
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= SWIG_Py_Void();
12610 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
= 0;
12612 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12613 wxFontWeight arg2
;
12618 PyObject
* obj0
= 0 ;
12619 PyObject
* obj1
= 0 ;
12620 char * kwnames
[] = {
12621 (char *) "self",(char *) "weight", NULL
12624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12626 if (!SWIG_IsOK(res1
)) {
12627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12629 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12631 if (!SWIG_IsOK(ecode2
)) {
12632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12634 arg2
= static_cast< wxFontWeight
>(val2
);
12636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12637 (arg1
)->SetWeight(arg2
);
12638 wxPyEndAllowThreads(__tstate
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12641 resultobj
= SWIG_Py_Void();
12648 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12649 PyObject
*resultobj
= 0;
12650 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12656 PyObject
* obj0
= 0 ;
12657 PyObject
* obj1
= 0 ;
12658 char * kwnames
[] = {
12659 (char *) "self",(char *) "underlined", NULL
12662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12664 if (!SWIG_IsOK(res1
)) {
12665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12667 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12668 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12669 if (!SWIG_IsOK(ecode2
)) {
12670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12672 arg2
= static_cast< bool >(val2
);
12674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 (arg1
)->SetUnderlined(arg2
);
12676 wxPyEndAllowThreads(__tstate
);
12677 if (PyErr_Occurred()) SWIG_fail
;
12679 resultobj
= SWIG_Py_Void();
12686 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12687 PyObject
*resultobj
= 0;
12688 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12693 PyObject
* obj0
= 0 ;
12694 PyObject
* obj1
= 0 ;
12695 char * kwnames
[] = {
12696 (char *) "self",(char *) "facename", NULL
12699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12701 if (!SWIG_IsOK(res1
)) {
12702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12704 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12706 wxString
* sptr
= wxString_in_helper(obj1
);
12707 if (sptr
== NULL
) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 result
= (bool)(arg1
)->SetFaceName(arg2
);
12714 wxPyEndAllowThreads(__tstate
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12726 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
= 0;
12728 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12729 wxFontFamily arg2
;
12734 PyObject
* obj0
= 0 ;
12735 PyObject
* obj1
= 0 ;
12736 char * kwnames
[] = {
12737 (char *) "self",(char *) "family", NULL
12740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12742 if (!SWIG_IsOK(res1
)) {
12743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12745 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12747 if (!SWIG_IsOK(ecode2
)) {
12748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12750 arg2
= static_cast< wxFontFamily
>(val2
);
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 (arg1
)->SetFamily(arg2
);
12754 wxPyEndAllowThreads(__tstate
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12757 resultobj
= SWIG_Py_Void();
12764 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12765 PyObject
*resultobj
= 0;
12766 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12767 wxFontEncoding arg2
;
12772 PyObject
* obj0
= 0 ;
12773 PyObject
* obj1
= 0 ;
12774 char * kwnames
[] = {
12775 (char *) "self",(char *) "encoding", NULL
12778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12780 if (!SWIG_IsOK(res1
)) {
12781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12783 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12785 if (!SWIG_IsOK(ecode2
)) {
12786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12788 arg2
= static_cast< wxFontEncoding
>(val2
);
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 (arg1
)->SetEncoding(arg2
);
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= SWIG_Py_Void();
12802 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12803 PyObject
*resultobj
= 0;
12804 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12805 wxString
*arg2
= 0 ;
12809 bool temp2
= false ;
12810 PyObject
* obj0
= 0 ;
12811 PyObject
* obj1
= 0 ;
12812 char * kwnames
[] = {
12813 (char *) "self",(char *) "s", NULL
12816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12818 if (!SWIG_IsOK(res1
)) {
12819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12821 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12823 arg2
= wxString_in_helper(obj1
);
12824 if (arg2
== NULL
) SWIG_fail
;
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12850 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12851 PyObject
*resultobj
= 0;
12852 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12856 PyObject
*swig_obj
[1] ;
12858 if (!args
) SWIG_fail
;
12859 swig_obj
[0] = args
;
12860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12861 if (!SWIG_IsOK(res1
)) {
12862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12864 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12868 wxPyEndAllowThreads(__tstate
);
12869 if (PyErr_Occurred()) SWIG_fail
;
12873 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12875 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12884 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12885 PyObject
*resultobj
= 0;
12886 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12890 PyObject
*swig_obj
[1] ;
12892 if (!args
) SWIG_fail
;
12893 swig_obj
[0] = args
;
12894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12895 if (!SWIG_IsOK(res1
)) {
12896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12898 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 result
= wxNativeFontInfo___str__(arg1
);
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12918 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
= 0;
12920 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12921 wxString
*arg2
= 0 ;
12925 bool temp2
= false ;
12926 PyObject
* obj0
= 0 ;
12927 PyObject
* obj1
= 0 ;
12928 char * kwnames
[] = {
12929 (char *) "self",(char *) "s", NULL
12932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12934 if (!SWIG_IsOK(res1
)) {
12935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12937 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12939 arg2
= wxString_in_helper(obj1
);
12940 if (arg2
== NULL
) SWIG_fail
;
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12946 wxPyEndAllowThreads(__tstate
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12966 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12967 PyObject
*resultobj
= 0;
12968 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12972 PyObject
*swig_obj
[1] ;
12974 if (!args
) SWIG_fail
;
12975 swig_obj
[0] = args
;
12976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12977 if (!SWIG_IsOK(res1
)) {
12978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12980 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13000 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13002 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13003 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13004 return SWIG_Py_Void();
13007 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13008 return SWIG_Python_InitShadowInstance(args
);
13011 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13012 PyObject
*resultobj
= 0;
13013 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13014 wxString
*arg2
= (wxString
*) 0 ;
13017 bool temp2
= false ;
13018 PyObject
*swig_obj
[2] ;
13020 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13022 if (!SWIG_IsOK(res1
)) {
13023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13025 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13027 arg2
= wxString_in_helper(swig_obj
[1]);
13028 if (arg2
== NULL
) SWIG_fail
;
13031 if (arg1
) (arg1
)->facename
= *arg2
;
13033 resultobj
= SWIG_Py_Void();
13048 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13049 PyObject
*resultobj
= 0;
13050 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13051 wxString
*result
= 0 ;
13054 PyObject
*swig_obj
[1] ;
13056 if (!args
) SWIG_fail
;
13057 swig_obj
[0] = args
;
13058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13059 if (!SWIG_IsOK(res1
)) {
13060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13062 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13063 result
= (wxString
*)& ((arg1
)->facename
);
13066 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13068 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13077 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13078 PyObject
*resultobj
= 0;
13079 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13080 wxFontEncoding arg2
;
13085 PyObject
*swig_obj
[2] ;
13087 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13089 if (!SWIG_IsOK(res1
)) {
13090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13092 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13093 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13094 if (!SWIG_IsOK(ecode2
)) {
13095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13097 arg2
= static_cast< wxFontEncoding
>(val2
);
13098 if (arg1
) (arg1
)->encoding
= arg2
;
13100 resultobj
= SWIG_Py_Void();
13107 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13108 PyObject
*resultobj
= 0;
13109 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13110 wxFontEncoding result
;
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_wxNativeEncodingInfo
, 0 | 0 );
13118 if (!SWIG_IsOK(res1
)) {
13119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13121 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13122 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13123 resultobj
= SWIG_From_int(static_cast< int >(result
));
13130 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13131 PyObject
*resultobj
= 0;
13132 wxNativeEncodingInfo
*result
= 0 ;
13134 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13137 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13148 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13149 PyObject
*resultobj
= 0;
13150 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13153 PyObject
*swig_obj
[1] ;
13155 if (!args
) SWIG_fail
;
13156 swig_obj
[0] = args
;
13157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13158 if (!SWIG_IsOK(res1
)) {
13159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13161 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13169 resultobj
= SWIG_Py_Void();
13176 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13177 PyObject
*resultobj
= 0;
13178 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13179 wxString
*arg2
= 0 ;
13183 bool temp2
= false ;
13184 PyObject
* obj0
= 0 ;
13185 PyObject
* obj1
= 0 ;
13186 char * kwnames
[] = {
13187 (char *) "self",(char *) "s", NULL
13190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13192 if (!SWIG_IsOK(res1
)) {
13193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13195 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13197 arg2
= wxString_in_helper(obj1
);
13198 if (arg2
== NULL
) SWIG_fail
;
13202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13203 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13224 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13225 PyObject
*resultobj
= 0;
13226 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13230 PyObject
*swig_obj
[1] ;
13232 if (!args
) SWIG_fail
;
13233 swig_obj
[0] = args
;
13234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13235 if (!SWIG_IsOK(res1
)) {
13236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13238 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13242 wxPyEndAllowThreads(__tstate
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13258 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13260 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13261 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13262 return SWIG_Py_Void();
13265 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13266 return SWIG_Python_InitShadowInstance(args
);
13269 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
= 0;
13271 wxFontEncoding arg1
;
13272 wxNativeEncodingInfo
*result
= 0 ;
13275 PyObject
* obj0
= 0 ;
13276 char * kwnames
[] = {
13277 (char *) "encoding", NULL
13280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13281 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13282 if (!SWIG_IsOK(ecode1
)) {
13283 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13285 arg1
= static_cast< wxFontEncoding
>(val1
);
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13289 wxPyEndAllowThreads(__tstate
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13299 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13300 PyObject
*resultobj
= 0;
13301 wxNativeEncodingInfo
*arg1
= 0 ;
13305 PyObject
* obj0
= 0 ;
13306 char * kwnames
[] = {
13307 (char *) "info", NULL
13310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13311 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13312 if (!SWIG_IsOK(res1
)) {
13313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13318 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13321 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13322 wxPyEndAllowThreads(__tstate
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13334 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13335 PyObject
*resultobj
= 0;
13336 wxFontMapper
*result
= 0 ;
13338 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 result
= (wxFontMapper
*)new wxFontMapper();
13342 wxPyEndAllowThreads(__tstate
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13352 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13353 PyObject
*resultobj
= 0;
13354 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13357 PyObject
*swig_obj
[1] ;
13359 if (!args
) SWIG_fail
;
13360 swig_obj
[0] = args
;
13361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13362 if (!SWIG_IsOK(res1
)) {
13363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13365 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 resultobj
= SWIG_Py_Void();
13380 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13381 PyObject
*resultobj
= 0;
13382 wxFontMapper
*result
= 0 ;
13384 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 result
= (wxFontMapper
*)wxFontMapper::Get();
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13398 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13399 PyObject
*resultobj
= 0;
13400 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13401 wxFontMapper
*result
= 0 ;
13404 PyObject
* obj0
= 0 ;
13405 char * kwnames
[] = {
13406 (char *) "mapper", NULL
13409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13411 if (!SWIG_IsOK(res1
)) {
13412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13414 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13417 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13428 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13429 PyObject
*resultobj
= 0;
13430 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13431 wxString
*arg2
= 0 ;
13432 bool arg3
= (bool) true ;
13433 wxFontEncoding result
;
13436 bool temp2
= false ;
13439 PyObject
* obj0
= 0 ;
13440 PyObject
* obj1
= 0 ;
13441 PyObject
* obj2
= 0 ;
13442 char * kwnames
[] = {
13443 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13448 if (!SWIG_IsOK(res1
)) {
13449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13451 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13453 arg2
= wxString_in_helper(obj1
);
13454 if (arg2
== NULL
) SWIG_fail
;
13458 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13459 if (!SWIG_IsOK(ecode3
)) {
13460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13462 arg3
= static_cast< bool >(val3
);
13465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13466 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 resultobj
= SWIG_From_int(static_cast< int >(result
));
13485 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13486 PyObject
*resultobj
= 0;
13489 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13503 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13504 PyObject
*resultobj
= 0;
13506 wxFontEncoding result
;
13509 PyObject
* obj0
= 0 ;
13510 char * kwnames
[] = {
13514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13515 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13516 if (!SWIG_IsOK(ecode1
)) {
13517 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13519 arg1
= static_cast< size_t >(val1
);
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13522 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= SWIG_From_int(static_cast< int >(result
));
13533 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13534 PyObject
*resultobj
= 0;
13535 wxFontEncoding arg1
;
13539 PyObject
* obj0
= 0 ;
13540 char * kwnames
[] = {
13541 (char *) "encoding", NULL
13544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13545 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13546 if (!SWIG_IsOK(ecode1
)) {
13547 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13549 arg1
= static_cast< wxFontEncoding
>(val1
);
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 result
= wxFontMapper::GetEncodingName(arg1
);
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13558 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13560 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13569 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13570 PyObject
*resultobj
= 0;
13571 wxFontEncoding arg1
;
13575 PyObject
* obj0
= 0 ;
13576 char * kwnames
[] = {
13577 (char *) "encoding", NULL
13580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13581 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13582 if (!SWIG_IsOK(ecode1
)) {
13583 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13585 arg1
= static_cast< wxFontEncoding
>(val1
);
13587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 result
= wxFontMapper::GetEncodingDescription(arg1
);
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13605 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
= 0;
13607 wxString
*arg1
= 0 ;
13608 wxFontEncoding result
;
13609 bool temp1
= false ;
13610 PyObject
* obj0
= 0 ;
13611 char * kwnames
[] = {
13612 (char *) "name", NULL
13615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13617 arg1
= wxString_in_helper(obj0
);
13618 if (arg1
== NULL
) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= SWIG_From_int(static_cast< int >(result
));
13642 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
= 0;
13644 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13645 wxString
*arg2
= 0 ;
13648 bool temp2
= false ;
13649 PyObject
* obj0
= 0 ;
13650 PyObject
* obj1
= 0 ;
13651 char * kwnames
[] = {
13652 (char *) "self",(char *) "prefix", NULL
13655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13657 if (!SWIG_IsOK(res1
)) {
13658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13660 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13662 arg2
= wxString_in_helper(obj1
);
13663 if (arg2
== NULL
) SWIG_fail
;
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13672 resultobj
= SWIG_Py_Void();
13687 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13688 PyObject
*resultobj
= 0;
13691 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 result
= wxFontMapper::GetDefaultConfigPath();
13695 wxPyEndAllowThreads(__tstate
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13711 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13712 PyObject
*resultobj
= 0;
13713 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13714 wxFontEncoding arg2
;
13715 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13716 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13717 bool arg4
= (bool) true ;
13718 PyObject
*result
= 0 ;
13723 bool temp3
= false ;
13726 PyObject
* obj0
= 0 ;
13727 PyObject
* obj1
= 0 ;
13728 PyObject
* obj2
= 0 ;
13729 PyObject
* obj3
= 0 ;
13730 char * kwnames
[] = {
13731 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13736 if (!SWIG_IsOK(res1
)) {
13737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13739 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13741 if (!SWIG_IsOK(ecode2
)) {
13742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13744 arg2
= static_cast< wxFontEncoding
>(val2
);
13747 arg3
= wxString_in_helper(obj2
);
13748 if (arg3
== NULL
) SWIG_fail
;
13753 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13754 if (!SWIG_IsOK(ecode4
)) {
13755 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13757 arg4
= static_cast< bool >(val4
);
13760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13761 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13762 wxPyEndAllowThreads(__tstate
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13765 resultobj
= result
;
13780 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13781 PyObject
*resultobj
= 0;
13782 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13783 wxFontEncoding arg2
;
13784 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13785 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13791 bool temp3
= false ;
13792 PyObject
* obj0
= 0 ;
13793 PyObject
* obj1
= 0 ;
13794 PyObject
* obj2
= 0 ;
13795 char * kwnames
[] = {
13796 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13801 if (!SWIG_IsOK(res1
)) {
13802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13804 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13806 if (!SWIG_IsOK(ecode2
)) {
13807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13809 arg2
= static_cast< wxFontEncoding
>(val2
);
13812 arg3
= wxString_in_helper(obj2
);
13813 if (arg3
== NULL
) SWIG_fail
;
13818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13819 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13840 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13841 PyObject
*resultobj
= 0;
13842 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13843 wxWindow
*arg2
= (wxWindow
*) 0 ;
13848 PyObject
* obj0
= 0 ;
13849 PyObject
* obj1
= 0 ;
13850 char * kwnames
[] = {
13851 (char *) "self",(char *) "parent", NULL
13854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13856 if (!SWIG_IsOK(res1
)) {
13857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13859 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13860 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13861 if (!SWIG_IsOK(res2
)) {
13862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13864 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13867 (arg1
)->SetDialogParent(arg2
);
13868 wxPyEndAllowThreads(__tstate
);
13869 if (PyErr_Occurred()) SWIG_fail
;
13871 resultobj
= SWIG_Py_Void();
13878 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13879 PyObject
*resultobj
= 0;
13880 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13881 wxString
*arg2
= 0 ;
13884 bool temp2
= false ;
13885 PyObject
* obj0
= 0 ;
13886 PyObject
* obj1
= 0 ;
13887 char * kwnames
[] = {
13888 (char *) "self",(char *) "title", NULL
13891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13893 if (!SWIG_IsOK(res1
)) {
13894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13896 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13898 arg2
= wxString_in_helper(obj1
);
13899 if (arg2
== NULL
) SWIG_fail
;
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13905 wxPyEndAllowThreads(__tstate
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13908 resultobj
= SWIG_Py_Void();
13923 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13925 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13926 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13927 return SWIG_Py_Void();
13930 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13931 return SWIG_Python_InitShadowInstance(args
);
13934 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
= 0;
13940 bool arg5
= (bool) false ;
13941 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13942 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13943 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13944 wxFont
*result
= 0 ;
13955 bool temp6
= false ;
13958 PyObject
* obj0
= 0 ;
13959 PyObject
* obj1
= 0 ;
13960 PyObject
* obj2
= 0 ;
13961 PyObject
* obj3
= 0 ;
13962 PyObject
* obj4
= 0 ;
13963 PyObject
* obj5
= 0 ;
13964 PyObject
* obj6
= 0 ;
13965 char * kwnames
[] = {
13966 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13970 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13971 if (!SWIG_IsOK(ecode1
)) {
13972 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13974 arg1
= static_cast< int >(val1
);
13975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13976 if (!SWIG_IsOK(ecode2
)) {
13977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13979 arg2
= static_cast< int >(val2
);
13980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13981 if (!SWIG_IsOK(ecode3
)) {
13982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13984 arg3
= static_cast< int >(val3
);
13985 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13986 if (!SWIG_IsOK(ecode4
)) {
13987 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13989 arg4
= static_cast< int >(val4
);
13991 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13992 if (!SWIG_IsOK(ecode5
)) {
13993 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13995 arg5
= static_cast< bool >(val5
);
13999 arg6
= wxString_in_helper(obj5
);
14000 if (arg6
== NULL
) SWIG_fail
;
14005 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14006 if (!SWIG_IsOK(ecode7
)) {
14007 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14009 arg7
= static_cast< wxFontEncoding
>(val7
);
14012 if (!wxPyCheckForApp()) SWIG_fail
;
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14033 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14034 PyObject
*resultobj
= 0;
14035 wxFont
*arg1
= (wxFont
*) 0 ;
14038 PyObject
*swig_obj
[1] ;
14040 if (!args
) SWIG_fail
;
14041 swig_obj
[0] = args
;
14042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14043 if (!SWIG_IsOK(res1
)) {
14044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14046 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14054 resultobj
= SWIG_Py_Void();
14061 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14062 PyObject
*resultobj
= 0;
14063 wxNativeFontInfo
*arg1
= 0 ;
14064 wxFont
*result
= 0 ;
14067 PyObject
* obj0
= 0 ;
14068 char * kwnames
[] = {
14069 (char *) "info", NULL
14072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14073 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14074 if (!SWIG_IsOK(res1
)) {
14075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14080 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14082 if (!wxPyCheckForApp()) SWIG_fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14095 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
= 0;
14097 wxString
*arg1
= 0 ;
14098 wxFont
*result
= 0 ;
14099 bool temp1
= false ;
14100 PyObject
* obj0
= 0 ;
14101 char * kwnames
[] = {
14102 (char *) "info", NULL
14105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14107 arg1
= wxString_in_helper(obj0
);
14108 if (arg1
== NULL
) SWIG_fail
;
14112 if (!wxPyCheckForApp()) SWIG_fail
;
14113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14114 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14133 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14134 PyObject
*resultobj
= 0;
14136 wxFontFamily arg2
;
14137 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14138 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14139 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14140 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14141 wxFont
*result
= 0 ;
14148 bool temp4
= false ;
14151 PyObject
* obj0
= 0 ;
14152 PyObject
* obj1
= 0 ;
14153 PyObject
* obj2
= 0 ;
14154 PyObject
* obj3
= 0 ;
14155 PyObject
* obj4
= 0 ;
14156 char * kwnames
[] = {
14157 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14161 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14162 if (!SWIG_IsOK(ecode1
)) {
14163 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14165 arg1
= static_cast< int >(val1
);
14166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14167 if (!SWIG_IsOK(ecode2
)) {
14168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14170 arg2
= static_cast< wxFontFamily
>(val2
);
14172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14173 if (!SWIG_IsOK(ecode3
)) {
14174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14176 arg3
= static_cast< int >(val3
);
14180 arg4
= wxString_in_helper(obj3
);
14181 if (arg4
== NULL
) SWIG_fail
;
14186 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14187 if (!SWIG_IsOK(ecode5
)) {
14188 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14190 arg5
= static_cast< wxFontEncoding
>(val5
);
14193 if (!wxPyCheckForApp()) SWIG_fail
;
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14195 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14214 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14215 PyObject
*resultobj
= 0;
14220 bool arg5
= (bool) false ;
14221 wxString
const &arg6_defvalue
= wxEmptyString
;
14222 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14223 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14224 wxFont
*result
= 0 ;
14234 bool temp6
= false ;
14237 PyObject
* obj0
= 0 ;
14238 PyObject
* obj1
= 0 ;
14239 PyObject
* obj2
= 0 ;
14240 PyObject
* obj3
= 0 ;
14241 PyObject
* obj4
= 0 ;
14242 PyObject
* obj5
= 0 ;
14243 PyObject
* obj6
= 0 ;
14244 char * kwnames
[] = {
14245 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14251 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14254 if (!SWIG_IsOK(ecode2
)) {
14255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14257 arg2
= static_cast< int >(val2
);
14258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14259 if (!SWIG_IsOK(ecode3
)) {
14260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14262 arg3
= static_cast< int >(val3
);
14263 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14264 if (!SWIG_IsOK(ecode4
)) {
14265 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14267 arg4
= static_cast< int >(val4
);
14269 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14270 if (!SWIG_IsOK(ecode5
)) {
14271 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14273 arg5
= static_cast< bool >(val5
);
14277 arg6
= wxString_in_helper(obj5
);
14278 if (arg6
== NULL
) SWIG_fail
;
14283 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14284 if (!SWIG_IsOK(ecode7
)) {
14285 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14287 arg7
= static_cast< wxFontEncoding
>(val7
);
14290 if (!wxPyCheckForApp()) SWIG_fail
;
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14311 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14312 PyObject
*resultobj
= 0;
14314 wxFontFamily arg2
;
14315 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14316 wxString
const &arg4_defvalue
= wxEmptyString
;
14317 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14318 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14319 wxFont
*result
= 0 ;
14325 bool temp4
= false ;
14328 PyObject
* obj0
= 0 ;
14329 PyObject
* obj1
= 0 ;
14330 PyObject
* obj2
= 0 ;
14331 PyObject
* obj3
= 0 ;
14332 PyObject
* obj4
= 0 ;
14333 char * kwnames
[] = {
14334 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14340 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14343 if (!SWIG_IsOK(ecode2
)) {
14344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14346 arg2
= static_cast< wxFontFamily
>(val2
);
14348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14349 if (!SWIG_IsOK(ecode3
)) {
14350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14352 arg3
= static_cast< int >(val3
);
14356 arg4
= wxString_in_helper(obj3
);
14357 if (arg4
== NULL
) SWIG_fail
;
14362 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14363 if (!SWIG_IsOK(ecode5
)) {
14364 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14366 arg5
= static_cast< wxFontEncoding
>(val5
);
14369 if (!wxPyCheckForApp()) SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14390 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14391 PyObject
*resultobj
= 0;
14392 wxFont
*arg1
= (wxFont
*) 0 ;
14396 PyObject
*swig_obj
[1] ;
14398 if (!args
) SWIG_fail
;
14399 swig_obj
[0] = args
;
14400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14401 if (!SWIG_IsOK(res1
)) {
14402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
14404 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 result
= (bool)((wxFont
const *)arg1
)->Ok();
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14420 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
= 0;
14422 wxFont
*arg1
= (wxFont
*) 0 ;
14423 wxFont
*arg2
= (wxFont
*) 0 ;
14429 PyObject
* obj0
= 0 ;
14430 PyObject
* obj1
= 0 ;
14431 char * kwnames
[] = {
14432 (char *) "self",(char *) "other", NULL
14435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14437 if (!SWIG_IsOK(res1
)) {
14438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14440 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14441 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14442 if (!SWIG_IsOK(res2
)) {
14443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14445 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14461 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14462 PyObject
*resultobj
= 0;
14463 wxFont
*arg1
= (wxFont
*) 0 ;
14464 wxFont
*arg2
= (wxFont
*) 0 ;
14470 PyObject
* obj0
= 0 ;
14471 PyObject
* obj1
= 0 ;
14472 char * kwnames
[] = {
14473 (char *) "self",(char *) "other", NULL
14476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14478 if (!SWIG_IsOK(res1
)) {
14479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14481 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14482 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14483 if (!SWIG_IsOK(res2
)) {
14484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14486 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14490 wxPyEndAllowThreads(__tstate
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14502 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14503 PyObject
*resultobj
= 0;
14504 wxFont
*arg1
= (wxFont
*) 0 ;
14508 PyObject
*swig_obj
[1] ;
14510 if (!args
) SWIG_fail
;
14511 swig_obj
[0] = args
;
14512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14513 if (!SWIG_IsOK(res1
)) {
14514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14516 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14523 resultobj
= SWIG_From_int(static_cast< int >(result
));
14530 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14531 PyObject
*resultobj
= 0;
14532 wxFont
*arg1
= (wxFont
*) 0 ;
14536 PyObject
*swig_obj
[1] ;
14538 if (!args
) SWIG_fail
;
14539 swig_obj
[0] = args
;
14540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14541 if (!SWIG_IsOK(res1
)) {
14542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14544 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14547 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14551 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14558 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14559 PyObject
*resultobj
= 0;
14560 wxFont
*arg1
= (wxFont
*) 0 ;
14564 PyObject
*swig_obj
[1] ;
14566 if (!args
) SWIG_fail
;
14567 swig_obj
[0] = args
;
14568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14569 if (!SWIG_IsOK(res1
)) {
14570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14572 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14575 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14588 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14589 PyObject
*resultobj
= 0;
14590 wxFont
*arg1
= (wxFont
*) 0 ;
14594 PyObject
*swig_obj
[1] ;
14596 if (!args
) SWIG_fail
;
14597 swig_obj
[0] = args
;
14598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14599 if (!SWIG_IsOK(res1
)) {
14600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14602 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14609 resultobj
= SWIG_From_int(static_cast< int >(result
));
14616 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14617 PyObject
*resultobj
= 0;
14618 wxFont
*arg1
= (wxFont
*) 0 ;
14622 PyObject
*swig_obj
[1] ;
14624 if (!args
) SWIG_fail
;
14625 swig_obj
[0] = args
;
14626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14627 if (!SWIG_IsOK(res1
)) {
14628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14630 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14634 wxPyEndAllowThreads(__tstate
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14637 resultobj
= SWIG_From_int(static_cast< int >(result
));
14644 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14645 PyObject
*resultobj
= 0;
14646 wxFont
*arg1
= (wxFont
*) 0 ;
14650 PyObject
*swig_obj
[1] ;
14652 if (!args
) SWIG_fail
;
14653 swig_obj
[0] = args
;
14654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14655 if (!SWIG_IsOK(res1
)) {
14656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14658 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14661 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14665 resultobj
= SWIG_From_int(static_cast< int >(result
));
14672 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14673 PyObject
*resultobj
= 0;
14674 wxFont
*arg1
= (wxFont
*) 0 ;
14678 PyObject
*swig_obj
[1] ;
14680 if (!args
) SWIG_fail
;
14681 swig_obj
[0] = args
;
14682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14683 if (!SWIG_IsOK(res1
)) {
14684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14686 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14690 wxPyEndAllowThreads(__tstate
);
14691 if (PyErr_Occurred()) SWIG_fail
;
14694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14702 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14703 PyObject
*resultobj
= 0;
14704 wxFont
*arg1
= (wxFont
*) 0 ;
14708 PyObject
*swig_obj
[1] ;
14710 if (!args
) SWIG_fail
;
14711 swig_obj
[0] = args
;
14712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14713 if (!SWIG_IsOK(res1
)) {
14714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14716 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 result
= ((wxFont
const *)arg1
)->GetFaceName();
14720 wxPyEndAllowThreads(__tstate
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14736 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14737 PyObject
*resultobj
= 0;
14738 wxFont
*arg1
= (wxFont
*) 0 ;
14739 wxFontEncoding result
;
14742 PyObject
*swig_obj
[1] ;
14744 if (!args
) SWIG_fail
;
14745 swig_obj
[0] = args
;
14746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14747 if (!SWIG_IsOK(res1
)) {
14748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14750 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14754 wxPyEndAllowThreads(__tstate
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14757 resultobj
= SWIG_From_int(static_cast< int >(result
));
14764 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14765 PyObject
*resultobj
= 0;
14766 wxFont
*arg1
= (wxFont
*) 0 ;
14767 wxNativeFontInfo
*result
= 0 ;
14770 PyObject
*swig_obj
[1] ;
14772 if (!args
) SWIG_fail
;
14773 swig_obj
[0] = args
;
14774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14775 if (!SWIG_IsOK(res1
)) {
14776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14778 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14781 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14792 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14793 PyObject
*resultobj
= 0;
14794 wxFont
*arg1
= (wxFont
*) 0 ;
14798 PyObject
*swig_obj
[1] ;
14800 if (!args
) SWIG_fail
;
14801 swig_obj
[0] = args
;
14802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14803 if (!SWIG_IsOK(res1
)) {
14804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14806 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14809 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14810 wxPyEndAllowThreads(__tstate
);
14811 if (PyErr_Occurred()) SWIG_fail
;
14814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14822 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14823 PyObject
*resultobj
= 0;
14824 wxFont
*arg1
= (wxFont
*) 0 ;
14828 PyObject
*swig_obj
[1] ;
14830 if (!args
) SWIG_fail
;
14831 swig_obj
[0] = args
;
14832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14833 if (!SWIG_IsOK(res1
)) {
14834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14836 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14839 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14840 wxPyEndAllowThreads(__tstate
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14856 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14857 PyObject
*resultobj
= 0;
14858 wxFont
*arg1
= (wxFont
*) 0 ;
14862 PyObject
*swig_obj
[1] ;
14864 if (!args
) SWIG_fail
;
14865 swig_obj
[0] = args
;
14866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14867 if (!SWIG_IsOK(res1
)) {
14868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14870 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14890 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
= 0;
14892 wxFont
*arg1
= (wxFont
*) 0 ;
14898 PyObject
* obj0
= 0 ;
14899 PyObject
* obj1
= 0 ;
14900 char * kwnames
[] = {
14901 (char *) "self",(char *) "pointSize", NULL
14904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14906 if (!SWIG_IsOK(res1
)) {
14907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14909 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14911 if (!SWIG_IsOK(ecode2
)) {
14912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14914 arg2
= static_cast< int >(val2
);
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14917 (arg1
)->SetPointSize(arg2
);
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14921 resultobj
= SWIG_Py_Void();
14928 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
= 0;
14930 wxFont
*arg1
= (wxFont
*) 0 ;
14935 PyObject
* obj0
= 0 ;
14936 PyObject
* obj1
= 0 ;
14937 char * kwnames
[] = {
14938 (char *) "self",(char *) "pixelSize", NULL
14941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14943 if (!SWIG_IsOK(res1
)) {
14944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14946 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14949 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14953 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14954 wxPyEndAllowThreads(__tstate
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= SWIG_Py_Void();
14964 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14965 PyObject
*resultobj
= 0;
14966 wxFont
*arg1
= (wxFont
*) 0 ;
14972 PyObject
* obj0
= 0 ;
14973 PyObject
* obj1
= 0 ;
14974 char * kwnames
[] = {
14975 (char *) "self",(char *) "family", NULL
14978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14980 if (!SWIG_IsOK(res1
)) {
14981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14983 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14985 if (!SWIG_IsOK(ecode2
)) {
14986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14988 arg2
= static_cast< int >(val2
);
14990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14991 (arg1
)->SetFamily(arg2
);
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= SWIG_Py_Void();
15002 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15003 PyObject
*resultobj
= 0;
15004 wxFont
*arg1
= (wxFont
*) 0 ;
15010 PyObject
* obj0
= 0 ;
15011 PyObject
* obj1
= 0 ;
15012 char * kwnames
[] = {
15013 (char *) "self",(char *) "style", NULL
15016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15018 if (!SWIG_IsOK(res1
)) {
15019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15021 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15023 if (!SWIG_IsOK(ecode2
)) {
15024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15026 arg2
= static_cast< int >(val2
);
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 (arg1
)->SetStyle(arg2
);
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 resultobj
= SWIG_Py_Void();
15040 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
= 0;
15042 wxFont
*arg1
= (wxFont
*) 0 ;
15048 PyObject
* obj0
= 0 ;
15049 PyObject
* obj1
= 0 ;
15050 char * kwnames
[] = {
15051 (char *) "self",(char *) "weight", NULL
15054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15056 if (!SWIG_IsOK(res1
)) {
15057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15059 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15061 if (!SWIG_IsOK(ecode2
)) {
15062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15064 arg2
= static_cast< int >(val2
);
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 (arg1
)->SetWeight(arg2
);
15068 wxPyEndAllowThreads(__tstate
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15071 resultobj
= SWIG_Py_Void();
15078 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15079 PyObject
*resultobj
= 0;
15080 wxFont
*arg1
= (wxFont
*) 0 ;
15081 wxString
*arg2
= 0 ;
15085 bool temp2
= false ;
15086 PyObject
* obj0
= 0 ;
15087 PyObject
* obj1
= 0 ;
15088 char * kwnames
[] = {
15089 (char *) "self",(char *) "faceName", NULL
15092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15094 if (!SWIG_IsOK(res1
)) {
15095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15097 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15099 arg2
= wxString_in_helper(obj1
);
15100 if (arg2
== NULL
) SWIG_fail
;
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15126 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15127 PyObject
*resultobj
= 0;
15128 wxFont
*arg1
= (wxFont
*) 0 ;
15134 PyObject
* obj0
= 0 ;
15135 PyObject
* obj1
= 0 ;
15136 char * kwnames
[] = {
15137 (char *) "self",(char *) "underlined", NULL
15140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15142 if (!SWIG_IsOK(res1
)) {
15143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15145 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15146 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15147 if (!SWIG_IsOK(ecode2
)) {
15148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15150 arg2
= static_cast< bool >(val2
);
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 (arg1
)->SetUnderlined(arg2
);
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15157 resultobj
= SWIG_Py_Void();
15164 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15165 PyObject
*resultobj
= 0;
15166 wxFont
*arg1
= (wxFont
*) 0 ;
15167 wxFontEncoding arg2
;
15172 PyObject
* obj0
= 0 ;
15173 PyObject
* obj1
= 0 ;
15174 char * kwnames
[] = {
15175 (char *) "self",(char *) "encoding", NULL
15178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15180 if (!SWIG_IsOK(res1
)) {
15181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15183 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15185 if (!SWIG_IsOK(ecode2
)) {
15186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15188 arg2
= static_cast< wxFontEncoding
>(val2
);
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15191 (arg1
)->SetEncoding(arg2
);
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15195 resultobj
= SWIG_Py_Void();
15202 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15203 PyObject
*resultobj
= 0;
15204 wxFont
*arg1
= (wxFont
*) 0 ;
15205 wxNativeFontInfo
*arg2
= 0 ;
15210 PyObject
* obj0
= 0 ;
15211 PyObject
* obj1
= 0 ;
15212 char * kwnames
[] = {
15213 (char *) "self",(char *) "info", NULL
15216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15218 if (!SWIG_IsOK(res1
)) {
15219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15221 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15223 if (!SWIG_IsOK(res2
)) {
15224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15229 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15236 resultobj
= SWIG_Py_Void();
15243 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15244 PyObject
*resultobj
= 0;
15245 wxFont
*arg1
= (wxFont
*) 0 ;
15246 wxString
*arg2
= 0 ;
15250 bool temp2
= false ;
15251 PyObject
* obj0
= 0 ;
15252 PyObject
* obj1
= 0 ;
15253 char * kwnames
[] = {
15254 (char *) "self",(char *) "info", NULL
15257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15259 if (!SWIG_IsOK(res1
)) {
15260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15262 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15264 arg2
= wxString_in_helper(obj1
);
15265 if (arg2
== NULL
) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15291 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15292 PyObject
*resultobj
= 0;
15293 wxFont
*arg1
= (wxFont
*) 0 ;
15294 wxString
*arg2
= 0 ;
15298 bool temp2
= false ;
15299 PyObject
* obj0
= 0 ;
15300 PyObject
* obj1
= 0 ;
15301 char * kwnames
[] = {
15302 (char *) "self",(char *) "info", NULL
15305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15307 if (!SWIG_IsOK(res1
)) {
15308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15310 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15312 arg2
= wxString_in_helper(obj1
);
15313 if (arg2
== NULL
) SWIG_fail
;
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15339 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15340 PyObject
*resultobj
= 0;
15341 wxFont
*arg1
= (wxFont
*) 0 ;
15345 PyObject
*swig_obj
[1] ;
15347 if (!args
) SWIG_fail
;
15348 swig_obj
[0] = args
;
15349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15350 if (!SWIG_IsOK(res1
)) {
15351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15353 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15356 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15357 wxPyEndAllowThreads(__tstate
);
15358 if (PyErr_Occurred()) SWIG_fail
;
15362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15373 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15374 PyObject
*resultobj
= 0;
15375 wxFont
*arg1
= (wxFont
*) 0 ;
15379 PyObject
*swig_obj
[1] ;
15381 if (!args
) SWIG_fail
;
15382 swig_obj
[0] = args
;
15383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15384 if (!SWIG_IsOK(res1
)) {
15385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15387 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15390 result
= ((wxFont
const *)arg1
)->GetStyleString();
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15407 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15408 PyObject
*resultobj
= 0;
15409 wxFont
*arg1
= (wxFont
*) 0 ;
15413 PyObject
*swig_obj
[1] ;
15415 if (!args
) SWIG_fail
;
15416 swig_obj
[0] = args
;
15417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15418 if (!SWIG_IsOK(res1
)) {
15419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15421 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 result
= ((wxFont
const *)arg1
)->GetWeightString();
15425 wxPyEndAllowThreads(__tstate
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15441 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
= 0;
15443 wxFont
*arg1
= (wxFont
*) 0 ;
15444 bool arg2
= (bool) true ;
15449 PyObject
* obj0
= 0 ;
15450 PyObject
* obj1
= 0 ;
15451 char * kwnames
[] = {
15452 (char *) "self",(char *) "no", NULL
15455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15457 if (!SWIG_IsOK(res1
)) {
15458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15460 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15462 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15463 if (!SWIG_IsOK(ecode2
)) {
15464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15466 arg2
= static_cast< bool >(val2
);
15469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15470 (arg1
)->SetNoAntiAliasing(arg2
);
15471 wxPyEndAllowThreads(__tstate
);
15472 if (PyErr_Occurred()) SWIG_fail
;
15474 resultobj
= SWIG_Py_Void();
15481 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15482 PyObject
*resultobj
= 0;
15483 wxFont
*arg1
= (wxFont
*) 0 ;
15487 PyObject
*swig_obj
[1] ;
15489 if (!args
) SWIG_fail
;
15490 swig_obj
[0] = args
;
15491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15492 if (!SWIG_IsOK(res1
)) {
15493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15495 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15498 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15499 wxPyEndAllowThreads(__tstate
);
15500 if (PyErr_Occurred()) SWIG_fail
;
15503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15511 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15512 PyObject
*resultobj
= 0;
15513 wxFontEncoding result
;
15515 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15517 if (!wxPyCheckForApp()) SWIG_fail
;
15518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15519 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15520 wxPyEndAllowThreads(__tstate
);
15521 if (PyErr_Occurred()) SWIG_fail
;
15523 resultobj
= SWIG_From_int(static_cast< int >(result
));
15530 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15531 PyObject
*resultobj
= 0;
15532 wxFontEncoding arg1
;
15535 PyObject
* obj0
= 0 ;
15536 char * kwnames
[] = {
15537 (char *) "encoding", NULL
15540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15541 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15542 if (!SWIG_IsOK(ecode1
)) {
15543 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15545 arg1
= static_cast< wxFontEncoding
>(val1
);
15547 if (!wxPyCheckForApp()) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 wxFont::SetDefaultEncoding(arg1
);
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15553 resultobj
= SWIG_Py_Void();
15560 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15562 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15563 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15564 return SWIG_Py_Void();
15567 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15568 return SWIG_Python_InitShadowInstance(args
);
15571 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15572 PyObject
*resultobj
= 0;
15573 wxPyFontEnumerator
*result
= 0 ;
15575 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15577 if (!wxPyCheckForApp()) SWIG_fail
;
15578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15579 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15580 wxPyEndAllowThreads(__tstate
);
15581 if (PyErr_Occurred()) SWIG_fail
;
15583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15590 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15591 PyObject
*resultobj
= 0;
15592 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15595 PyObject
*swig_obj
[1] ;
15597 if (!args
) SWIG_fail
;
15598 swig_obj
[0] = args
;
15599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15600 if (!SWIG_IsOK(res1
)) {
15601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15603 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15611 resultobj
= SWIG_Py_Void();
15618 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15619 PyObject
*resultobj
= 0;
15620 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15621 PyObject
*arg2
= (PyObject
*) 0 ;
15622 PyObject
*arg3
= (PyObject
*) 0 ;
15628 PyObject
* obj0
= 0 ;
15629 PyObject
* obj1
= 0 ;
15630 PyObject
* obj2
= 0 ;
15631 PyObject
* obj3
= 0 ;
15632 char * kwnames
[] = {
15633 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15638 if (!SWIG_IsOK(res1
)) {
15639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15641 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15644 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15645 if (!SWIG_IsOK(ecode4
)) {
15646 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15648 arg4
= static_cast< bool >(val4
);
15650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= SWIG_Py_Void();
15662 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15663 PyObject
*resultobj
= 0;
15664 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15665 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15666 bool arg3
= (bool) false ;
15674 PyObject
* obj0
= 0 ;
15675 PyObject
* obj1
= 0 ;
15676 PyObject
* obj2
= 0 ;
15677 char * kwnames
[] = {
15678 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15683 if (!SWIG_IsOK(res1
)) {
15684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15686 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15689 if (!SWIG_IsOK(ecode2
)) {
15690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15692 arg2
= static_cast< wxFontEncoding
>(val2
);
15695 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15696 if (!SWIG_IsOK(ecode3
)) {
15697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15699 arg3
= static_cast< bool >(val3
);
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15704 wxPyEndAllowThreads(__tstate
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15716 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15717 PyObject
*resultobj
= 0;
15718 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15719 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15720 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15724 bool temp2
= false ;
15725 PyObject
* obj0
= 0 ;
15726 PyObject
* obj1
= 0 ;
15727 char * kwnames
[] = {
15728 (char *) "self",(char *) "facename", NULL
15731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15733 if (!SWIG_IsOK(res1
)) {
15734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15736 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15739 arg2
= wxString_in_helper(obj1
);
15740 if (arg2
== NULL
) SWIG_fail
;
15745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15746 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15747 wxPyEndAllowThreads(__tstate
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15767 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15768 PyObject
*resultobj
= 0;
15769 PyObject
*result
= 0 ;
15771 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15774 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15775 wxPyEndAllowThreads(__tstate
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15778 resultobj
= result
;
15785 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15786 PyObject
*resultobj
= 0;
15787 PyObject
*result
= 0 ;
15789 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15792 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15796 resultobj
= result
;
15803 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
= 0;
15805 wxString
*arg1
= 0 ;
15807 bool temp1
= false ;
15808 PyObject
* obj0
= 0 ;
15809 char * kwnames
[] = {
15810 (char *) "str", NULL
15813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15815 arg1
= wxString_in_helper(obj0
);
15816 if (arg1
== NULL
) SWIG_fail
;
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15842 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15844 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15845 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15846 return SWIG_Py_Void();
15849 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15850 return SWIG_Python_InitShadowInstance(args
);
15853 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15854 PyObject
*resultobj
= 0;
15855 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15861 PyObject
*swig_obj
[2] ;
15863 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15865 if (!SWIG_IsOK(res1
)) {
15866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15868 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15869 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15870 if (!SWIG_IsOK(ecode2
)) {
15871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15873 arg2
= static_cast< int >(val2
);
15874 if (arg1
) (arg1
)->Language
= arg2
;
15876 resultobj
= SWIG_Py_Void();
15883 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15884 PyObject
*resultobj
= 0;
15885 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15889 PyObject
*swig_obj
[1] ;
15891 if (!args
) SWIG_fail
;
15892 swig_obj
[0] = args
;
15893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15894 if (!SWIG_IsOK(res1
)) {
15895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15897 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15898 result
= (int) ((arg1
)->Language
);
15899 resultobj
= SWIG_From_int(static_cast< int >(result
));
15906 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15907 PyObject
*resultobj
= 0;
15908 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15909 wxString
*arg2
= (wxString
*) 0 ;
15912 bool temp2
= false ;
15913 PyObject
*swig_obj
[2] ;
15915 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15917 if (!SWIG_IsOK(res1
)) {
15918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15920 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15922 arg2
= wxString_in_helper(swig_obj
[1]);
15923 if (arg2
== NULL
) SWIG_fail
;
15926 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15928 resultobj
= SWIG_Py_Void();
15943 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15944 PyObject
*resultobj
= 0;
15945 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15946 wxString
*result
= 0 ;
15949 PyObject
*swig_obj
[1] ;
15951 if (!args
) SWIG_fail
;
15952 swig_obj
[0] = args
;
15953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15954 if (!SWIG_IsOK(res1
)) {
15955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15957 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15958 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15961 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15963 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15972 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15973 PyObject
*resultobj
= 0;
15974 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15975 wxString
*arg2
= (wxString
*) 0 ;
15978 bool temp2
= false ;
15979 PyObject
*swig_obj
[2] ;
15981 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15983 if (!SWIG_IsOK(res1
)) {
15984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15986 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15988 arg2
= wxString_in_helper(swig_obj
[1]);
15989 if (arg2
== NULL
) SWIG_fail
;
15992 if (arg1
) (arg1
)->Description
= *arg2
;
15994 resultobj
= SWIG_Py_Void();
16009 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16010 PyObject
*resultobj
= 0;
16011 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16012 wxString
*result
= 0 ;
16015 PyObject
*swig_obj
[1] ;
16017 if (!args
) SWIG_fail
;
16018 swig_obj
[0] = args
;
16019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16020 if (!SWIG_IsOK(res1
)) {
16021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16023 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16024 result
= (wxString
*)& ((arg1
)->Description
);
16027 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16029 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16038 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16040 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16041 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16042 return SWIG_Py_Void();
16045 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16046 PyObject
*resultobj
= 0;
16047 int arg1
= (int) -1 ;
16048 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16049 wxLocale
*result
= 0 ;
16054 PyObject
* obj0
= 0 ;
16055 PyObject
* obj1
= 0 ;
16056 char * kwnames
[] = {
16057 (char *) "language",(char *) "flags", NULL
16060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16062 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16063 if (!SWIG_IsOK(ecode1
)) {
16064 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16066 arg1
= static_cast< int >(val1
);
16069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16070 if (!SWIG_IsOK(ecode2
)) {
16071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16073 arg2
= static_cast< int >(val2
);
16076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16077 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16078 wxPyEndAllowThreads(__tstate
);
16079 if (PyErr_Occurred()) SWIG_fail
;
16081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16088 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16089 PyObject
*resultobj
= 0;
16090 wxLocale
*arg1
= (wxLocale
*) 0 ;
16093 PyObject
*swig_obj
[1] ;
16095 if (!args
) SWIG_fail
;
16096 swig_obj
[0] = args
;
16097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16098 if (!SWIG_IsOK(res1
)) {
16099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16101 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 wxPyEndAllowThreads(__tstate
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16109 resultobj
= SWIG_Py_Void();
16116 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
= 0;
16118 wxLocale
*arg1
= (wxLocale
*) 0 ;
16119 wxString
*arg2
= 0 ;
16120 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16121 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16122 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16123 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16124 bool arg5
= (bool) true ;
16125 bool arg6
= (bool) false ;
16129 bool temp2
= false ;
16130 bool temp3
= false ;
16131 bool temp4
= false ;
16136 PyObject
* obj0
= 0 ;
16137 PyObject
* obj1
= 0 ;
16138 PyObject
* obj2
= 0 ;
16139 PyObject
* obj3
= 0 ;
16140 PyObject
* obj4
= 0 ;
16141 PyObject
* obj5
= 0 ;
16142 char * kwnames
[] = {
16143 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16148 if (!SWIG_IsOK(res1
)) {
16149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16151 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16153 arg2
= wxString_in_helper(obj1
);
16154 if (arg2
== NULL
) SWIG_fail
;
16159 arg3
= wxString_in_helper(obj2
);
16160 if (arg3
== NULL
) SWIG_fail
;
16166 arg4
= wxString_in_helper(obj3
);
16167 if (arg4
== NULL
) SWIG_fail
;
16172 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16173 if (!SWIG_IsOK(ecode5
)) {
16174 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16176 arg5
= static_cast< bool >(val5
);
16179 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16180 if (!SWIG_IsOK(ecode6
)) {
16181 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16183 arg6
= static_cast< bool >(val6
);
16186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16188 wxPyEndAllowThreads(__tstate
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16224 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
= 0;
16226 wxLocale
*arg1
= (wxLocale
*) 0 ;
16227 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16228 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16236 PyObject
* obj0
= 0 ;
16237 PyObject
* obj1
= 0 ;
16238 PyObject
* obj2
= 0 ;
16239 char * kwnames
[] = {
16240 (char *) "self",(char *) "language",(char *) "flags", NULL
16243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16245 if (!SWIG_IsOK(res1
)) {
16246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16248 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16251 if (!SWIG_IsOK(ecode2
)) {
16252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16254 arg2
= static_cast< int >(val2
);
16257 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16258 if (!SWIG_IsOK(ecode3
)) {
16259 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16261 arg3
= static_cast< int >(val3
);
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16265 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16278 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16279 PyObject
*resultobj
= 0;
16282 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 result
= (int)wxLocale::GetSystemLanguage();
16286 wxPyEndAllowThreads(__tstate
);
16287 if (PyErr_Occurred()) SWIG_fail
;
16289 resultobj
= SWIG_From_int(static_cast< int >(result
));
16296 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16297 PyObject
*resultobj
= 0;
16298 wxFontEncoding result
;
16300 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16304 wxPyEndAllowThreads(__tstate
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= SWIG_From_int(static_cast< int >(result
));
16314 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16315 PyObject
*resultobj
= 0;
16318 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 result
= wxLocale::GetSystemEncodingName();
16322 wxPyEndAllowThreads(__tstate
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16338 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16339 PyObject
*resultobj
= 0;
16340 wxLocale
*arg1
= (wxLocale
*) 0 ;
16344 PyObject
*swig_obj
[1] ;
16346 if (!args
) SWIG_fail
;
16347 swig_obj
[0] = args
;
16348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16349 if (!SWIG_IsOK(res1
)) {
16350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16352 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16355 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16368 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16369 PyObject
*resultobj
= 0;
16370 wxLocale
*arg1
= (wxLocale
*) 0 ;
16374 PyObject
*swig_obj
[1] ;
16376 if (!args
) SWIG_fail
;
16377 swig_obj
[0] = args
;
16378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16379 if (!SWIG_IsOK(res1
)) {
16380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16382 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16385 result
= ((wxLocale
const *)arg1
)->GetLocale();
16386 wxPyEndAllowThreads(__tstate
);
16387 if (PyErr_Occurred()) SWIG_fail
;
16391 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16393 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16402 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16403 PyObject
*resultobj
= 0;
16404 wxLocale
*arg1
= (wxLocale
*) 0 ;
16408 PyObject
*swig_obj
[1] ;
16410 if (!args
) SWIG_fail
;
16411 swig_obj
[0] = args
;
16412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16413 if (!SWIG_IsOK(res1
)) {
16414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16416 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16420 wxPyEndAllowThreads(__tstate
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16423 resultobj
= SWIG_From_int(static_cast< int >(result
));
16430 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16431 PyObject
*resultobj
= 0;
16432 wxLocale
*arg1
= (wxLocale
*) 0 ;
16436 PyObject
*swig_obj
[1] ;
16438 if (!args
) SWIG_fail
;
16439 swig_obj
[0] = args
;
16440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16441 if (!SWIG_IsOK(res1
)) {
16442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16444 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16447 result
= ((wxLocale
const *)arg1
)->GetSysName();
16448 wxPyEndAllowThreads(__tstate
);
16449 if (PyErr_Occurred()) SWIG_fail
;
16453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16464 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16465 PyObject
*resultobj
= 0;
16466 wxLocale
*arg1
= (wxLocale
*) 0 ;
16470 PyObject
*swig_obj
[1] ;
16472 if (!args
) SWIG_fail
;
16473 swig_obj
[0] = args
;
16474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16475 if (!SWIG_IsOK(res1
)) {
16476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16478 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16498 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16499 PyObject
*resultobj
= 0;
16500 wxString
*arg1
= 0 ;
16501 bool temp1
= false ;
16502 PyObject
* obj0
= 0 ;
16503 char * kwnames
[] = {
16504 (char *) "prefix", NULL
16507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16509 arg1
= wxString_in_helper(obj0
);
16510 if (arg1
== NULL
) SWIG_fail
;
16514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16515 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16519 resultobj
= SWIG_Py_Void();
16534 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16535 PyObject
*resultobj
= 0;
16536 wxLocale
*arg1
= (wxLocale
*) 0 ;
16537 wxString
*arg2
= 0 ;
16541 bool temp2
= false ;
16542 PyObject
* obj0
= 0 ;
16543 PyObject
* obj1
= 0 ;
16544 char * kwnames
[] = {
16545 (char *) "self",(char *) "szDomain", NULL
16548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16550 if (!SWIG_IsOK(res1
)) {
16551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16553 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16555 arg2
= wxString_in_helper(obj1
);
16556 if (arg2
== NULL
) SWIG_fail
;
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16582 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16583 PyObject
*resultobj
= 0;
16588 PyObject
* obj0
= 0 ;
16589 char * kwnames
[] = {
16590 (char *) "lang", NULL
16593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16594 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16595 if (!SWIG_IsOK(ecode1
)) {
16596 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16598 arg1
= static_cast< int >(val1
);
16600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16601 result
= (bool)wxLocale::IsAvailable(arg1
);
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16614 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16615 PyObject
*resultobj
= 0;
16616 wxLocale
*arg1
= (wxLocale
*) 0 ;
16617 wxString
*arg2
= 0 ;
16621 bool temp2
= false ;
16622 PyObject
* obj0
= 0 ;
16623 PyObject
* obj1
= 0 ;
16624 char * kwnames
[] = {
16625 (char *) "self",(char *) "szDomain", NULL
16628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16630 if (!SWIG_IsOK(res1
)) {
16631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16633 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16635 arg2
= wxString_in_helper(obj1
);
16636 if (arg2
== NULL
) SWIG_fail
;
16640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16641 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16642 wxPyEndAllowThreads(__tstate
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16662 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16663 PyObject
*resultobj
= 0;
16665 wxLanguageInfo
*result
= 0 ;
16668 PyObject
* obj0
= 0 ;
16669 char * kwnames
[] = {
16670 (char *) "lang", NULL
16673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16674 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16675 if (!SWIG_IsOK(ecode1
)) {
16676 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16678 arg1
= static_cast< int >(val1
);
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16692 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16693 PyObject
*resultobj
= 0;
16698 PyObject
* obj0
= 0 ;
16699 char * kwnames
[] = {
16700 (char *) "lang", NULL
16703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16704 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16705 if (!SWIG_IsOK(ecode1
)) {
16706 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16708 arg1
= static_cast< int >(val1
);
16710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16711 result
= wxLocale::GetLanguageName(arg1
);
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16728 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16729 PyObject
*resultobj
= 0;
16730 wxString
*arg1
= 0 ;
16731 wxLanguageInfo
*result
= 0 ;
16732 bool temp1
= false ;
16733 PyObject
* obj0
= 0 ;
16734 char * kwnames
[] = {
16735 (char *) "locale", NULL
16738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16740 arg1
= wxString_in_helper(obj0
);
16741 if (arg1
== NULL
) SWIG_fail
;
16745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16746 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16747 wxPyEndAllowThreads(__tstate
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16765 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16766 PyObject
*resultobj
= 0;
16767 wxLanguageInfo
*arg1
= 0 ;
16770 PyObject
* obj0
= 0 ;
16771 char * kwnames
[] = {
16772 (char *) "info", NULL
16775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16776 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16777 if (!SWIG_IsOK(res1
)) {
16778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16783 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16786 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16787 wxPyEndAllowThreads(__tstate
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16790 resultobj
= SWIG_Py_Void();
16797 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16798 PyObject
*resultobj
= 0;
16799 wxLocale
*arg1
= (wxLocale
*) 0 ;
16800 wxString
*arg2
= 0 ;
16801 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16802 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16806 bool temp2
= false ;
16807 bool temp3
= false ;
16808 PyObject
* obj0
= 0 ;
16809 PyObject
* obj1
= 0 ;
16810 PyObject
* obj2
= 0 ;
16811 char * kwnames
[] = {
16812 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16817 if (!SWIG_IsOK(res1
)) {
16818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16820 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16822 arg2
= wxString_in_helper(obj1
);
16823 if (arg2
== NULL
) SWIG_fail
;
16828 arg3
= wxString_in_helper(obj2
);
16829 if (arg3
== NULL
) SWIG_fail
;
16834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16835 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16836 wxPyEndAllowThreads(__tstate
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16868 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16869 PyObject
*resultobj
= 0;
16870 wxLocale
*arg1
= (wxLocale
*) 0 ;
16871 wxString
*result
= 0 ;
16874 PyObject
*swig_obj
[1] ;
16876 if (!args
) SWIG_fail
;
16877 swig_obj
[0] = args
;
16878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16879 if (!SWIG_IsOK(res1
)) {
16880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16882 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16887 result
= (wxString
*) &_result_ref
;
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16894 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16896 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16905 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16908 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16909 return SWIG_Py_Void();
16912 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16913 return SWIG_Python_InitShadowInstance(args
);
16916 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16917 PyObject
*resultobj
= 0;
16918 int arg1
= (int) -1 ;
16919 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16920 wxPyLocale
*result
= 0 ;
16925 PyObject
* obj0
= 0 ;
16926 PyObject
* obj1
= 0 ;
16927 char * kwnames
[] = {
16928 (char *) "language",(char *) "flags", NULL
16931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16933 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16934 if (!SWIG_IsOK(ecode1
)) {
16935 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16937 arg1
= static_cast< int >(val1
);
16940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16941 if (!SWIG_IsOK(ecode2
)) {
16942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16944 arg2
= static_cast< int >(val2
);
16947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16948 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16949 wxPyEndAllowThreads(__tstate
);
16950 if (PyErr_Occurred()) SWIG_fail
;
16952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16959 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16960 PyObject
*resultobj
= 0;
16961 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16964 PyObject
*swig_obj
[1] ;
16966 if (!args
) SWIG_fail
;
16967 swig_obj
[0] = args
;
16968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16969 if (!SWIG_IsOK(res1
)) {
16970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16972 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 wxPyEndAllowThreads(__tstate
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16980 resultobj
= SWIG_Py_Void();
16987 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16988 PyObject
*resultobj
= 0;
16989 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16990 PyObject
*arg2
= (PyObject
*) 0 ;
16991 PyObject
*arg3
= (PyObject
*) 0 ;
16994 PyObject
* obj0
= 0 ;
16995 PyObject
* obj1
= 0 ;
16996 PyObject
* obj2
= 0 ;
16997 char * kwnames
[] = {
16998 (char *) "self",(char *) "self",(char *) "_class", NULL
17001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17003 if (!SWIG_IsOK(res1
)) {
17004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17006 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17015 resultobj
= SWIG_Py_Void();
17022 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17023 PyObject
*resultobj
= 0;
17024 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17025 wxChar
*arg2
= (wxChar
*) 0 ;
17026 wxChar
*arg3
= (wxChar
*) NULL
;
17027 wxChar
*result
= 0 ;
17034 PyObject
* obj0
= 0 ;
17035 PyObject
* obj1
= 0 ;
17036 PyObject
* obj2
= 0 ;
17037 char * kwnames
[] = {
17038 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17043 if (!SWIG_IsOK(res1
)) {
17044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17046 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17047 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17048 if (!SWIG_IsOK(res2
)) {
17049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17051 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17053 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17054 if (!SWIG_IsOK(res3
)) {
17055 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17057 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17061 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17062 wxPyEndAllowThreads(__tstate
);
17063 if (PyErr_Occurred()) SWIG_fail
;
17065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17072 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17073 PyObject
*resultobj
= 0;
17074 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17075 wxChar
*arg2
= (wxChar
*) 0 ;
17076 wxChar
*arg3
= (wxChar
*) 0 ;
17078 wxChar
*arg5
= (wxChar
*) NULL
;
17079 wxChar
*result
= 0 ;
17090 PyObject
* obj0
= 0 ;
17091 PyObject
* obj1
= 0 ;
17092 PyObject
* obj2
= 0 ;
17093 PyObject
* obj3
= 0 ;
17094 PyObject
* obj4
= 0 ;
17095 char * kwnames
[] = {
17096 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17101 if (!SWIG_IsOK(res1
)) {
17102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17104 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17105 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17106 if (!SWIG_IsOK(res2
)) {
17107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17109 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17110 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17111 if (!SWIG_IsOK(res3
)) {
17112 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17114 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17115 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17116 if (!SWIG_IsOK(ecode4
)) {
17117 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17119 arg4
= static_cast< size_t >(val4
);
17121 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17122 if (!SWIG_IsOK(res5
)) {
17123 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17125 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17129 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17140 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17143 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17144 return SWIG_Py_Void();
17147 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17148 return SWIG_Python_InitShadowInstance(args
);
17151 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17152 PyObject
*resultobj
= 0;
17153 wxLocale
*result
= 0 ;
17155 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17158 result
= (wxLocale
*)wxGetLocale();
17159 wxPyEndAllowThreads(__tstate
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17169 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17170 PyObject
*resultobj
= 0;
17171 wxString
*arg1
= 0 ;
17173 bool temp1
= false ;
17175 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17177 arg1
= wxString_in_helper(swig_obj
[0]);
17178 if (arg1
== NULL
) SWIG_fail
;
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 result
= wxGetTranslation((wxString
const &)*arg1
);
17184 wxPyEndAllowThreads(__tstate
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17208 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17209 PyObject
*resultobj
= 0;
17210 wxString
*arg1
= 0 ;
17211 wxString
*arg2
= 0 ;
17213 bool temp1
= false ;
17214 bool temp2
= false ;
17216 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17218 arg1
= wxString_in_helper(swig_obj
[0]);
17219 if (arg1
== NULL
) SWIG_fail
;
17223 arg2
= wxString_in_helper(swig_obj
[1]);
17224 if (arg2
== NULL
) SWIG_fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17230 wxPyEndAllowThreads(__tstate
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17235 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17237 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17262 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17263 PyObject
*resultobj
= 0;
17264 wxString
*arg1
= 0 ;
17265 wxString
*arg2
= 0 ;
17268 bool temp1
= false ;
17269 bool temp2
= false ;
17273 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17275 arg1
= wxString_in_helper(swig_obj
[0]);
17276 if (arg1
== NULL
) SWIG_fail
;
17280 arg2
= wxString_in_helper(swig_obj
[1]);
17281 if (arg2
== NULL
) SWIG_fail
;
17284 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17285 if (!SWIG_IsOK(ecode3
)) {
17286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17288 arg3
= static_cast< size_t >(val3
);
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17324 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17325 PyObject
*resultobj
= 0;
17326 wxString
*arg1
= 0 ;
17327 wxString
*arg2
= 0 ;
17329 wxString
*arg4
= 0 ;
17331 bool temp1
= false ;
17332 bool temp2
= false ;
17335 bool temp4
= false ;
17337 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17339 arg1
= wxString_in_helper(swig_obj
[0]);
17340 if (arg1
== NULL
) SWIG_fail
;
17344 arg2
= wxString_in_helper(swig_obj
[1]);
17345 if (arg2
== NULL
) SWIG_fail
;
17348 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17349 if (!SWIG_IsOK(ecode3
)) {
17350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17352 arg3
= static_cast< size_t >(val3
);
17354 arg4
= wxString_in_helper(swig_obj
[3]);
17355 if (arg4
== NULL
) SWIG_fail
;
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17401 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17405 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17408 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17411 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17414 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17417 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17421 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17426 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17427 PyObject
*resultobj
= 0;
17428 wxEncodingConverter
*result
= 0 ;
17430 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17434 wxPyEndAllowThreads(__tstate
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17444 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17445 PyObject
*resultobj
= 0;
17446 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17449 PyObject
*swig_obj
[1] ;
17451 if (!args
) SWIG_fail
;
17452 swig_obj
[0] = args
;
17453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17454 if (!SWIG_IsOK(res1
)) {
17455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17457 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= SWIG_Py_Void();
17472 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
= 0;
17474 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17475 wxFontEncoding arg2
;
17476 wxFontEncoding arg3
;
17477 int arg4
= (int) wxCONVERT_STRICT
;
17487 PyObject
* obj0
= 0 ;
17488 PyObject
* obj1
= 0 ;
17489 PyObject
* obj2
= 0 ;
17490 PyObject
* obj3
= 0 ;
17491 char * kwnames
[] = {
17492 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17497 if (!SWIG_IsOK(res1
)) {
17498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17500 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17502 if (!SWIG_IsOK(ecode2
)) {
17503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17505 arg2
= static_cast< wxFontEncoding
>(val2
);
17506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17507 if (!SWIG_IsOK(ecode3
)) {
17508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17510 arg3
= static_cast< wxFontEncoding
>(val3
);
17512 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17513 if (!SWIG_IsOK(ecode4
)) {
17514 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17516 arg4
= static_cast< int >(val4
);
17519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17520 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17521 wxPyEndAllowThreads(__tstate
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17533 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
= 0;
17535 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17536 wxString
*arg2
= 0 ;
17540 bool temp2
= false ;
17541 PyObject
* obj0
= 0 ;
17542 PyObject
* obj1
= 0 ;
17543 char * kwnames
[] = {
17544 (char *) "self",(char *) "input", NULL
17547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17549 if (!SWIG_IsOK(res1
)) {
17550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17552 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17554 arg2
= wxString_in_helper(obj1
);
17555 if (arg2
== NULL
) SWIG_fail
;
17559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17560 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17561 wxPyEndAllowThreads(__tstate
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17585 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17586 PyObject
*resultobj
= 0;
17587 wxFontEncoding arg1
;
17588 int arg2
= (int) wxPLATFORM_CURRENT
;
17589 wxFontEncodingArray result
;
17594 PyObject
* obj0
= 0 ;
17595 PyObject
* obj1
= 0 ;
17596 char * kwnames
[] = {
17597 (char *) "enc",(char *) "platform", NULL
17600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17601 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17602 if (!SWIG_IsOK(ecode1
)) {
17603 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17605 arg1
= static_cast< wxFontEncoding
>(val1
);
17607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17608 if (!SWIG_IsOK(ecode2
)) {
17609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17611 arg2
= static_cast< int >(val2
);
17614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17615 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17616 wxPyEndAllowThreads(__tstate
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17620 resultobj
= PyList_New(0);
17621 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17622 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17623 PyList_Append(resultobj
, number
);
17633 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
= 0;
17635 wxFontEncoding arg1
;
17636 wxFontEncodingArray result
;
17639 PyObject
* obj0
= 0 ;
17640 char * kwnames
[] = {
17641 (char *) "enc", NULL
17644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17645 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17646 if (!SWIG_IsOK(ecode1
)) {
17647 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17649 arg1
= static_cast< wxFontEncoding
>(val1
);
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17653 wxPyEndAllowThreads(__tstate
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17657 resultobj
= PyList_New(0);
17658 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17659 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17660 PyList_Append(resultobj
, number
);
17670 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17671 PyObject
*resultobj
= 0;
17672 wxFontEncoding arg1
;
17673 wxFontEncoding arg2
;
17679 PyObject
* obj0
= 0 ;
17680 PyObject
* obj1
= 0 ;
17681 char * kwnames
[] = {
17682 (char *) "encIn",(char *) "encOut", NULL
17685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17686 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17687 if (!SWIG_IsOK(ecode1
)) {
17688 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17690 arg1
= static_cast< wxFontEncoding
>(val1
);
17691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17692 if (!SWIG_IsOK(ecode2
)) {
17693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17695 arg2
= static_cast< wxFontEncoding
>(val2
);
17697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17698 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17699 wxPyEndAllowThreads(__tstate
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17711 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17713 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17714 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17715 return SWIG_Py_Void();
17718 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17719 return SWIG_Python_InitShadowInstance(args
);
17722 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17723 PyObject
*resultobj
= 0;
17724 wxDC
*arg1
= (wxDC
*) 0 ;
17727 PyObject
*swig_obj
[1] ;
17729 if (!args
) SWIG_fail
;
17730 swig_obj
[0] = args
;
17731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17732 if (!SWIG_IsOK(res1
)) {
17733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 wxPyEndAllowThreads(__tstate
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= SWIG_Py_Void();
17750 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17751 PyObject
*resultobj
= 0;
17752 wxDC
*arg1
= (wxDC
*) 0 ;
17755 wxColour
*arg4
= 0 ;
17756 int arg5
= (int) wxFLOOD_SURFACE
;
17767 PyObject
* obj0
= 0 ;
17768 PyObject
* obj1
= 0 ;
17769 PyObject
* obj2
= 0 ;
17770 PyObject
* obj3
= 0 ;
17771 PyObject
* obj4
= 0 ;
17772 char * kwnames
[] = {
17773 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17778 if (!SWIG_IsOK(res1
)) {
17779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17781 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17783 if (!SWIG_IsOK(ecode2
)) {
17784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17786 arg2
= static_cast< int >(val2
);
17787 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17788 if (!SWIG_IsOK(ecode3
)) {
17789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17791 arg3
= static_cast< int >(val3
);
17794 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17797 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17798 if (!SWIG_IsOK(ecode5
)) {
17799 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17801 arg5
= static_cast< int >(val5
);
17804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17805 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17818 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
= 0;
17820 wxDC
*arg1
= (wxDC
*) 0 ;
17821 wxPoint
*arg2
= 0 ;
17822 wxColour
*arg3
= 0 ;
17823 int arg4
= (int) wxFLOOD_SURFACE
;
17831 PyObject
* obj0
= 0 ;
17832 PyObject
* obj1
= 0 ;
17833 PyObject
* obj2
= 0 ;
17834 PyObject
* obj3
= 0 ;
17835 char * kwnames
[] = {
17836 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17841 if (!SWIG_IsOK(res1
)) {
17842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17844 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17847 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17851 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17854 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17855 if (!SWIG_IsOK(ecode4
)) {
17856 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17858 arg4
= static_cast< int >(val4
);
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17875 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
= 0;
17877 wxDC
*arg1
= (wxDC
*) 0 ;
17879 wxColour
*arg3
= 0 ;
17880 wxColour
*arg4
= 0 ;
17881 wxPoint
*arg5
= 0 ;
17888 PyObject
* obj0
= 0 ;
17889 PyObject
* obj1
= 0 ;
17890 PyObject
* obj2
= 0 ;
17891 PyObject
* obj3
= 0 ;
17892 PyObject
* obj4
= 0 ;
17893 char * kwnames
[] = {
17894 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17899 if (!SWIG_IsOK(res1
)) {
17900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17905 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17909 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17913 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17917 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17925 resultobj
= SWIG_Py_Void();
17932 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
= 0;
17934 wxDC
*arg1
= (wxDC
*) 0 ;
17936 wxColour
*arg3
= 0 ;
17937 wxColour
*arg4
= 0 ;
17938 wxDirection arg5
= (wxDirection
) wxEAST
;
17946 PyObject
* obj0
= 0 ;
17947 PyObject
* obj1
= 0 ;
17948 PyObject
* obj2
= 0 ;
17949 PyObject
* obj3
= 0 ;
17950 PyObject
* obj4
= 0 ;
17951 char * kwnames
[] = {
17952 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17957 if (!SWIG_IsOK(res1
)) {
17958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17960 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17963 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17967 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17971 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17974 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17975 if (!SWIG_IsOK(ecode5
)) {
17976 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17978 arg5
= static_cast< wxDirection
>(val5
);
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17986 resultobj
= SWIG_Py_Void();
17993 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
= 0;
17995 wxDC
*arg1
= (wxDC
*) 0 ;
18005 PyObject
* obj0
= 0 ;
18006 PyObject
* obj1
= 0 ;
18007 PyObject
* obj2
= 0 ;
18008 char * kwnames
[] = {
18009 (char *) "self",(char *) "x",(char *) "y", NULL
18012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18014 if (!SWIG_IsOK(res1
)) {
18015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18017 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18019 if (!SWIG_IsOK(ecode2
)) {
18020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18022 arg2
= static_cast< int >(val2
);
18023 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18024 if (!SWIG_IsOK(ecode3
)) {
18025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18027 arg3
= static_cast< int >(val3
);
18029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18030 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18031 wxPyEndAllowThreads(__tstate
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18034 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18041 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18042 PyObject
*resultobj
= 0;
18043 wxDC
*arg1
= (wxDC
*) 0 ;
18044 wxPoint
*arg2
= 0 ;
18049 PyObject
* obj0
= 0 ;
18050 PyObject
* obj1
= 0 ;
18051 char * kwnames
[] = {
18052 (char *) "self",(char *) "pt", NULL
18055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18057 if (!SWIG_IsOK(res1
)) {
18058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18060 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18063 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18078 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
= 0;
18080 wxDC
*arg1
= (wxDC
*) 0 ;
18095 PyObject
* obj0
= 0 ;
18096 PyObject
* obj1
= 0 ;
18097 PyObject
* obj2
= 0 ;
18098 PyObject
* obj3
= 0 ;
18099 PyObject
* obj4
= 0 ;
18100 char * kwnames
[] = {
18101 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18106 if (!SWIG_IsOK(res1
)) {
18107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18109 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18111 if (!SWIG_IsOK(ecode2
)) {
18112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18114 arg2
= static_cast< int >(val2
);
18115 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18116 if (!SWIG_IsOK(ecode3
)) {
18117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18119 arg3
= static_cast< int >(val3
);
18120 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18121 if (!SWIG_IsOK(ecode4
)) {
18122 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18124 arg4
= static_cast< int >(val4
);
18125 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18126 if (!SWIG_IsOK(ecode5
)) {
18127 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18129 arg5
= static_cast< int >(val5
);
18131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= SWIG_Py_Void();
18143 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
= 0;
18145 wxDC
*arg1
= (wxDC
*) 0 ;
18146 wxPoint
*arg2
= 0 ;
18147 wxPoint
*arg3
= 0 ;
18152 PyObject
* obj0
= 0 ;
18153 PyObject
* obj1
= 0 ;
18154 PyObject
* obj2
= 0 ;
18155 char * kwnames
[] = {
18156 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18161 if (!SWIG_IsOK(res1
)) {
18162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18164 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18167 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18171 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18176 wxPyEndAllowThreads(__tstate
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18179 resultobj
= SWIG_Py_Void();
18186 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18187 PyObject
*resultobj
= 0;
18188 wxDC
*arg1
= (wxDC
*) 0 ;
18197 PyObject
* obj0
= 0 ;
18198 PyObject
* obj1
= 0 ;
18199 PyObject
* obj2
= 0 ;
18200 char * kwnames
[] = {
18201 (char *) "self",(char *) "x",(char *) "y", NULL
18204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18206 if (!SWIG_IsOK(res1
)) {
18207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18209 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18211 if (!SWIG_IsOK(ecode2
)) {
18212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18214 arg2
= static_cast< int >(val2
);
18215 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18216 if (!SWIG_IsOK(ecode3
)) {
18217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18219 arg3
= static_cast< int >(val3
);
18221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18222 (arg1
)->CrossHair(arg2
,arg3
);
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= SWIG_Py_Void();
18233 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
= 0;
18235 wxDC
*arg1
= (wxDC
*) 0 ;
18236 wxPoint
*arg2
= 0 ;
18240 PyObject
* obj0
= 0 ;
18241 PyObject
* obj1
= 0 ;
18242 char * kwnames
[] = {
18243 (char *) "self",(char *) "pt", NULL
18246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18248 if (!SWIG_IsOK(res1
)) {
18249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18251 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18254 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 resultobj
= SWIG_Py_Void();
18269 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
= 0;
18271 wxDC
*arg1
= (wxDC
*) 0 ;
18292 PyObject
* obj0
= 0 ;
18293 PyObject
* obj1
= 0 ;
18294 PyObject
* obj2
= 0 ;
18295 PyObject
* obj3
= 0 ;
18296 PyObject
* obj4
= 0 ;
18297 PyObject
* obj5
= 0 ;
18298 PyObject
* obj6
= 0 ;
18299 char * kwnames
[] = {
18300 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18305 if (!SWIG_IsOK(res1
)) {
18306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18308 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18310 if (!SWIG_IsOK(ecode2
)) {
18311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18313 arg2
= static_cast< int >(val2
);
18314 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18315 if (!SWIG_IsOK(ecode3
)) {
18316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18318 arg3
= static_cast< int >(val3
);
18319 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18320 if (!SWIG_IsOK(ecode4
)) {
18321 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18323 arg4
= static_cast< int >(val4
);
18324 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18325 if (!SWIG_IsOK(ecode5
)) {
18326 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18328 arg5
= static_cast< int >(val5
);
18329 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18330 if (!SWIG_IsOK(ecode6
)) {
18331 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18333 arg6
= static_cast< int >(val6
);
18334 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18335 if (!SWIG_IsOK(ecode7
)) {
18336 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18338 arg7
= static_cast< int >(val7
);
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 resultobj
= SWIG_Py_Void();
18352 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18353 PyObject
*resultobj
= 0;
18354 wxDC
*arg1
= (wxDC
*) 0 ;
18355 wxPoint
*arg2
= 0 ;
18356 wxPoint
*arg3
= 0 ;
18357 wxPoint
*arg4
= 0 ;
18363 PyObject
* obj0
= 0 ;
18364 PyObject
* obj1
= 0 ;
18365 PyObject
* obj2
= 0 ;
18366 PyObject
* obj3
= 0 ;
18367 char * kwnames
[] = {
18368 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18373 if (!SWIG_IsOK(res1
)) {
18374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18379 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18383 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18387 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18392 wxPyEndAllowThreads(__tstate
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18395 resultobj
= SWIG_Py_Void();
18402 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18403 PyObject
*resultobj
= 0;
18404 wxDC
*arg1
= (wxDC
*) 0 ;
18419 PyObject
* obj0
= 0 ;
18420 PyObject
* obj1
= 0 ;
18421 PyObject
* obj2
= 0 ;
18422 PyObject
* obj3
= 0 ;
18423 PyObject
* obj4
= 0 ;
18424 char * kwnames
[] = {
18425 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18430 if (!SWIG_IsOK(res1
)) {
18431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18433 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18435 if (!SWIG_IsOK(ecode2
)) {
18436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18438 arg2
= static_cast< int >(val2
);
18439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18440 if (!SWIG_IsOK(ecode3
)) {
18441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18443 arg3
= static_cast< int >(val3
);
18444 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18445 if (!SWIG_IsOK(ecode4
)) {
18446 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18448 arg4
= static_cast< int >(val4
);
18449 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18450 if (!SWIG_IsOK(ecode5
)) {
18451 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18453 arg5
= static_cast< int >(val5
);
18455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18456 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18457 wxPyEndAllowThreads(__tstate
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18460 resultobj
= SWIG_Py_Void();
18467 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18468 PyObject
*resultobj
= 0;
18469 wxDC
*arg1
= (wxDC
*) 0 ;
18474 PyObject
* obj0
= 0 ;
18475 PyObject
* obj1
= 0 ;
18476 char * kwnames
[] = {
18477 (char *) "self",(char *) "rect", NULL
18480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18482 if (!SWIG_IsOK(res1
)) {
18483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18485 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18488 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18492 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18493 wxPyEndAllowThreads(__tstate
);
18494 if (PyErr_Occurred()) SWIG_fail
;
18496 resultobj
= SWIG_Py_Void();
18503 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18504 PyObject
*resultobj
= 0;
18505 wxDC
*arg1
= (wxDC
*) 0 ;
18526 PyObject
* obj0
= 0 ;
18527 PyObject
* obj1
= 0 ;
18528 PyObject
* obj2
= 0 ;
18529 PyObject
* obj3
= 0 ;
18530 PyObject
* obj4
= 0 ;
18531 PyObject
* obj5
= 0 ;
18532 PyObject
* obj6
= 0 ;
18533 char * kwnames
[] = {
18534 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18539 if (!SWIG_IsOK(res1
)) {
18540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18544 if (!SWIG_IsOK(ecode2
)) {
18545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18547 arg2
= static_cast< int >(val2
);
18548 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18549 if (!SWIG_IsOK(ecode3
)) {
18550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18552 arg3
= static_cast< int >(val3
);
18553 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18554 if (!SWIG_IsOK(ecode4
)) {
18555 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18557 arg4
= static_cast< int >(val4
);
18558 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18559 if (!SWIG_IsOK(ecode5
)) {
18560 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18562 arg5
= static_cast< int >(val5
);
18563 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18564 if (!SWIG_IsOK(ecode6
)) {
18565 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18567 arg6
= static_cast< double >(val6
);
18568 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18569 if (!SWIG_IsOK(ecode7
)) {
18570 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18572 arg7
= static_cast< double >(val7
);
18574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18575 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18576 wxPyEndAllowThreads(__tstate
);
18577 if (PyErr_Occurred()) SWIG_fail
;
18579 resultobj
= SWIG_Py_Void();
18586 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18587 PyObject
*resultobj
= 0;
18588 wxDC
*arg1
= (wxDC
*) 0 ;
18589 wxPoint
*arg2
= 0 ;
18601 PyObject
* obj0
= 0 ;
18602 PyObject
* obj1
= 0 ;
18603 PyObject
* obj2
= 0 ;
18604 PyObject
* obj3
= 0 ;
18605 PyObject
* obj4
= 0 ;
18606 char * kwnames
[] = {
18607 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18612 if (!SWIG_IsOK(res1
)) {
18613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18615 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18618 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18622 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18624 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18625 if (!SWIG_IsOK(ecode4
)) {
18626 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18628 arg4
= static_cast< double >(val4
);
18629 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18630 if (!SWIG_IsOK(ecode5
)) {
18631 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18633 arg5
= static_cast< double >(val5
);
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 resultobj
= SWIG_Py_Void();
18647 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
= 0;
18649 wxDC
*arg1
= (wxDC
*) 0 ;
18658 PyObject
* obj0
= 0 ;
18659 PyObject
* obj1
= 0 ;
18660 PyObject
* obj2
= 0 ;
18661 char * kwnames
[] = {
18662 (char *) "self",(char *) "x",(char *) "y", NULL
18665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18667 if (!SWIG_IsOK(res1
)) {
18668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18670 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18672 if (!SWIG_IsOK(ecode2
)) {
18673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18675 arg2
= static_cast< int >(val2
);
18676 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18677 if (!SWIG_IsOK(ecode3
)) {
18678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18680 arg3
= static_cast< int >(val3
);
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 (arg1
)->DrawPoint(arg2
,arg3
);
18684 wxPyEndAllowThreads(__tstate
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18687 resultobj
= SWIG_Py_Void();
18694 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
= 0;
18696 wxDC
*arg1
= (wxDC
*) 0 ;
18697 wxPoint
*arg2
= 0 ;
18701 PyObject
* obj0
= 0 ;
18702 PyObject
* obj1
= 0 ;
18703 char * kwnames
[] = {
18704 (char *) "self",(char *) "pt", NULL
18707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18709 if (!SWIG_IsOK(res1
)) {
18710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18712 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18715 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18719 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 resultobj
= SWIG_Py_Void();
18730 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
= 0;
18732 wxDC
*arg1
= (wxDC
*) 0 ;
18747 PyObject
* obj0
= 0 ;
18748 PyObject
* obj1
= 0 ;
18749 PyObject
* obj2
= 0 ;
18750 PyObject
* obj3
= 0 ;
18751 PyObject
* obj4
= 0 ;
18752 char * kwnames
[] = {
18753 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18758 if (!SWIG_IsOK(res1
)) {
18759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18761 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18763 if (!SWIG_IsOK(ecode2
)) {
18764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18766 arg2
= static_cast< int >(val2
);
18767 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18768 if (!SWIG_IsOK(ecode3
)) {
18769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18771 arg3
= static_cast< int >(val3
);
18772 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18773 if (!SWIG_IsOK(ecode4
)) {
18774 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18776 arg4
= static_cast< int >(val4
);
18777 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18778 if (!SWIG_IsOK(ecode5
)) {
18779 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18781 arg5
= static_cast< int >(val5
);
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18784 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18788 resultobj
= SWIG_Py_Void();
18795 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18796 PyObject
*resultobj
= 0;
18797 wxDC
*arg1
= (wxDC
*) 0 ;
18802 PyObject
* obj0
= 0 ;
18803 PyObject
* obj1
= 0 ;
18804 char * kwnames
[] = {
18805 (char *) "self",(char *) "rect", NULL
18808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18810 if (!SWIG_IsOK(res1
)) {
18811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18813 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18816 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18820 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 resultobj
= SWIG_Py_Void();
18831 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
= 0;
18833 wxDC
*arg1
= (wxDC
*) 0 ;
18834 wxPoint
*arg2
= 0 ;
18840 PyObject
* obj0
= 0 ;
18841 PyObject
* obj1
= 0 ;
18842 PyObject
* obj2
= 0 ;
18843 char * kwnames
[] = {
18844 (char *) "self",(char *) "pt",(char *) "sz", NULL
18847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18849 if (!SWIG_IsOK(res1
)) {
18850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18852 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18855 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18859 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18863 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18864 wxPyEndAllowThreads(__tstate
);
18865 if (PyErr_Occurred()) SWIG_fail
;
18867 resultobj
= SWIG_Py_Void();
18874 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
= 0;
18876 wxDC
*arg1
= (wxDC
*) 0 ;
18894 PyObject
* obj0
= 0 ;
18895 PyObject
* obj1
= 0 ;
18896 PyObject
* obj2
= 0 ;
18897 PyObject
* obj3
= 0 ;
18898 PyObject
* obj4
= 0 ;
18899 PyObject
* obj5
= 0 ;
18900 char * kwnames
[] = {
18901 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18906 if (!SWIG_IsOK(res1
)) {
18907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18909 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18911 if (!SWIG_IsOK(ecode2
)) {
18912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18914 arg2
= static_cast< int >(val2
);
18915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18916 if (!SWIG_IsOK(ecode3
)) {
18917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18919 arg3
= static_cast< int >(val3
);
18920 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18921 if (!SWIG_IsOK(ecode4
)) {
18922 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18924 arg4
= static_cast< int >(val4
);
18925 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18926 if (!SWIG_IsOK(ecode5
)) {
18927 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18929 arg5
= static_cast< int >(val5
);
18930 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18931 if (!SWIG_IsOK(ecode6
)) {
18932 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18934 arg6
= static_cast< double >(val6
);
18936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18937 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 resultobj
= SWIG_Py_Void();
18948 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
= 0;
18950 wxDC
*arg1
= (wxDC
*) 0 ;
18958 PyObject
* obj0
= 0 ;
18959 PyObject
* obj1
= 0 ;
18960 PyObject
* obj2
= 0 ;
18961 char * kwnames
[] = {
18962 (char *) "self",(char *) "r",(char *) "radius", NULL
18965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18967 if (!SWIG_IsOK(res1
)) {
18968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18970 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18973 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18975 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18976 if (!SWIG_IsOK(ecode3
)) {
18977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18979 arg3
= static_cast< double >(val3
);
18981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18982 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18983 wxPyEndAllowThreads(__tstate
);
18984 if (PyErr_Occurred()) SWIG_fail
;
18986 resultobj
= SWIG_Py_Void();
18993 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
= 0;
18995 wxDC
*arg1
= (wxDC
*) 0 ;
18996 wxPoint
*arg2
= 0 ;
19005 PyObject
* obj0
= 0 ;
19006 PyObject
* obj1
= 0 ;
19007 PyObject
* obj2
= 0 ;
19008 PyObject
* obj3
= 0 ;
19009 char * kwnames
[] = {
19010 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19015 if (!SWIG_IsOK(res1
)) {
19016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19021 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19025 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19027 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19028 if (!SWIG_IsOK(ecode4
)) {
19029 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19031 arg4
= static_cast< double >(val4
);
19033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19035 wxPyEndAllowThreads(__tstate
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19038 resultobj
= SWIG_Py_Void();
19045 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
= 0;
19047 wxDC
*arg1
= (wxDC
*) 0 ;
19059 PyObject
* obj0
= 0 ;
19060 PyObject
* obj1
= 0 ;
19061 PyObject
* obj2
= 0 ;
19062 PyObject
* obj3
= 0 ;
19063 char * kwnames
[] = {
19064 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19069 if (!SWIG_IsOK(res1
)) {
19070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19072 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19074 if (!SWIG_IsOK(ecode2
)) {
19075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19077 arg2
= static_cast< int >(val2
);
19078 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19079 if (!SWIG_IsOK(ecode3
)) {
19080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19082 arg3
= static_cast< int >(val3
);
19083 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19084 if (!SWIG_IsOK(ecode4
)) {
19085 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19087 arg4
= static_cast< int >(val4
);
19089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19090 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19091 wxPyEndAllowThreads(__tstate
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19094 resultobj
= SWIG_Py_Void();
19101 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
= 0;
19103 wxDC
*arg1
= (wxDC
*) 0 ;
19104 wxPoint
*arg2
= 0 ;
19111 PyObject
* obj0
= 0 ;
19112 PyObject
* obj1
= 0 ;
19113 PyObject
* obj2
= 0 ;
19114 char * kwnames
[] = {
19115 (char *) "self",(char *) "pt",(char *) "radius", NULL
19118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19120 if (!SWIG_IsOK(res1
)) {
19121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19123 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19126 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19128 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19129 if (!SWIG_IsOK(ecode3
)) {
19130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19132 arg3
= static_cast< int >(val3
);
19134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19135 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19136 wxPyEndAllowThreads(__tstate
);
19137 if (PyErr_Occurred()) SWIG_fail
;
19139 resultobj
= SWIG_Py_Void();
19146 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19147 PyObject
*resultobj
= 0;
19148 wxDC
*arg1
= (wxDC
*) 0 ;
19163 PyObject
* obj0
= 0 ;
19164 PyObject
* obj1
= 0 ;
19165 PyObject
* obj2
= 0 ;
19166 PyObject
* obj3
= 0 ;
19167 PyObject
* obj4
= 0 ;
19168 char * kwnames
[] = {
19169 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19174 if (!SWIG_IsOK(res1
)) {
19175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19177 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19179 if (!SWIG_IsOK(ecode2
)) {
19180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19182 arg2
= static_cast< int >(val2
);
19183 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19184 if (!SWIG_IsOK(ecode3
)) {
19185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19187 arg3
= static_cast< int >(val3
);
19188 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19189 if (!SWIG_IsOK(ecode4
)) {
19190 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19192 arg4
= static_cast< int >(val4
);
19193 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19194 if (!SWIG_IsOK(ecode5
)) {
19195 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19197 arg5
= static_cast< int >(val5
);
19199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19200 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19201 wxPyEndAllowThreads(__tstate
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19204 resultobj
= SWIG_Py_Void();
19211 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
= 0;
19213 wxDC
*arg1
= (wxDC
*) 0 ;
19218 PyObject
* obj0
= 0 ;
19219 PyObject
* obj1
= 0 ;
19220 char * kwnames
[] = {
19221 (char *) "self",(char *) "rect", NULL
19224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19226 if (!SWIG_IsOK(res1
)) {
19227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19229 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19232 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19236 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19237 wxPyEndAllowThreads(__tstate
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19240 resultobj
= SWIG_Py_Void();
19247 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19248 PyObject
*resultobj
= 0;
19249 wxDC
*arg1
= (wxDC
*) 0 ;
19250 wxPoint
*arg2
= 0 ;
19256 PyObject
* obj0
= 0 ;
19257 PyObject
* obj1
= 0 ;
19258 PyObject
* obj2
= 0 ;
19259 char * kwnames
[] = {
19260 (char *) "self",(char *) "pt",(char *) "sz", NULL
19263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19265 if (!SWIG_IsOK(res1
)) {
19266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19268 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19271 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19275 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19279 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19280 wxPyEndAllowThreads(__tstate
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19283 resultobj
= SWIG_Py_Void();
19290 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19291 PyObject
*resultobj
= 0;
19292 wxDC
*arg1
= (wxDC
*) 0 ;
19304 PyObject
* obj0
= 0 ;
19305 PyObject
* obj1
= 0 ;
19306 PyObject
* obj2
= 0 ;
19307 PyObject
* obj3
= 0 ;
19308 char * kwnames
[] = {
19309 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19314 if (!SWIG_IsOK(res1
)) {
19315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19317 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19318 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19319 if (!SWIG_IsOK(res2
)) {
19320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19325 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19327 if (!SWIG_IsOK(ecode3
)) {
19328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19330 arg3
= static_cast< int >(val3
);
19331 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19332 if (!SWIG_IsOK(ecode4
)) {
19333 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19335 arg4
= static_cast< int >(val4
);
19337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19338 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19339 wxPyEndAllowThreads(__tstate
);
19340 if (PyErr_Occurred()) SWIG_fail
;
19342 resultobj
= SWIG_Py_Void();
19349 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19350 PyObject
*resultobj
= 0;
19351 wxDC
*arg1
= (wxDC
*) 0 ;
19353 wxPoint
*arg3
= 0 ;
19359 PyObject
* obj0
= 0 ;
19360 PyObject
* obj1
= 0 ;
19361 PyObject
* obj2
= 0 ;
19362 char * kwnames
[] = {
19363 (char *) "self",(char *) "icon",(char *) "pt", NULL
19366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19368 if (!SWIG_IsOK(res1
)) {
19369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19373 if (!SWIG_IsOK(res2
)) {
19374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19379 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19382 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19390 resultobj
= SWIG_Py_Void();
19397 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19398 PyObject
*resultobj
= 0;
19399 wxDC
*arg1
= (wxDC
*) 0 ;
19400 wxBitmap
*arg2
= 0 ;
19403 bool arg5
= (bool) false ;
19414 PyObject
* obj0
= 0 ;
19415 PyObject
* obj1
= 0 ;
19416 PyObject
* obj2
= 0 ;
19417 PyObject
* obj3
= 0 ;
19418 PyObject
* obj4
= 0 ;
19419 char * kwnames
[] = {
19420 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19425 if (!SWIG_IsOK(res1
)) {
19426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19428 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19429 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19430 if (!SWIG_IsOK(res2
)) {
19431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19434 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19436 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19437 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19438 if (!SWIG_IsOK(ecode3
)) {
19439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19441 arg3
= static_cast< int >(val3
);
19442 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19443 if (!SWIG_IsOK(ecode4
)) {
19444 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19446 arg4
= static_cast< int >(val4
);
19448 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19449 if (!SWIG_IsOK(ecode5
)) {
19450 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19452 arg5
= static_cast< bool >(val5
);
19455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19456 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19457 wxPyEndAllowThreads(__tstate
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19460 resultobj
= SWIG_Py_Void();
19467 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19468 PyObject
*resultobj
= 0;
19469 wxDC
*arg1
= (wxDC
*) 0 ;
19470 wxBitmap
*arg2
= 0 ;
19471 wxPoint
*arg3
= 0 ;
19472 bool arg4
= (bool) false ;
19480 PyObject
* obj0
= 0 ;
19481 PyObject
* obj1
= 0 ;
19482 PyObject
* obj2
= 0 ;
19483 PyObject
* obj3
= 0 ;
19484 char * kwnames
[] = {
19485 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19490 if (!SWIG_IsOK(res1
)) {
19491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19493 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19494 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19495 if (!SWIG_IsOK(res2
)) {
19496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19501 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19504 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19507 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19508 if (!SWIG_IsOK(ecode4
)) {
19509 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19511 arg4
= static_cast< bool >(val4
);
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19516 wxPyEndAllowThreads(__tstate
);
19517 if (PyErr_Occurred()) SWIG_fail
;
19519 resultobj
= SWIG_Py_Void();
19526 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19527 PyObject
*resultobj
= 0;
19528 wxDC
*arg1
= (wxDC
*) 0 ;
19529 wxString
*arg2
= 0 ;
19534 bool temp2
= false ;
19539 PyObject
* obj0
= 0 ;
19540 PyObject
* obj1
= 0 ;
19541 PyObject
* obj2
= 0 ;
19542 PyObject
* obj3
= 0 ;
19543 char * kwnames
[] = {
19544 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19549 if (!SWIG_IsOK(res1
)) {
19550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19552 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19554 arg2
= wxString_in_helper(obj1
);
19555 if (arg2
== NULL
) SWIG_fail
;
19558 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19559 if (!SWIG_IsOK(ecode3
)) {
19560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19562 arg3
= static_cast< int >(val3
);
19563 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19564 if (!SWIG_IsOK(ecode4
)) {
19565 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19567 arg4
= static_cast< int >(val4
);
19569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19570 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19571 wxPyEndAllowThreads(__tstate
);
19572 if (PyErr_Occurred()) SWIG_fail
;
19574 resultobj
= SWIG_Py_Void();
19589 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19590 PyObject
*resultobj
= 0;
19591 wxDC
*arg1
= (wxDC
*) 0 ;
19592 wxString
*arg2
= 0 ;
19593 wxPoint
*arg3
= 0 ;
19596 bool temp2
= false ;
19598 PyObject
* obj0
= 0 ;
19599 PyObject
* obj1
= 0 ;
19600 PyObject
* obj2
= 0 ;
19601 char * kwnames
[] = {
19602 (char *) "self",(char *) "text",(char *) "pt", NULL
19605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19607 if (!SWIG_IsOK(res1
)) {
19608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19610 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19612 arg2
= wxString_in_helper(obj1
);
19613 if (arg2
== NULL
) SWIG_fail
;
19618 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19622 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 resultobj
= SWIG_Py_Void();
19641 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
= 0;
19643 wxDC
*arg1
= (wxDC
*) 0 ;
19644 wxString
*arg2
= 0 ;
19650 bool temp2
= false ;
19657 PyObject
* obj0
= 0 ;
19658 PyObject
* obj1
= 0 ;
19659 PyObject
* obj2
= 0 ;
19660 PyObject
* obj3
= 0 ;
19661 PyObject
* obj4
= 0 ;
19662 char * kwnames
[] = {
19663 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19668 if (!SWIG_IsOK(res1
)) {
19669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19671 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19673 arg2
= wxString_in_helper(obj1
);
19674 if (arg2
== NULL
) SWIG_fail
;
19677 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19678 if (!SWIG_IsOK(ecode3
)) {
19679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19681 arg3
= static_cast< int >(val3
);
19682 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19683 if (!SWIG_IsOK(ecode4
)) {
19684 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19686 arg4
= static_cast< int >(val4
);
19687 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19688 if (!SWIG_IsOK(ecode5
)) {
19689 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19691 arg5
= static_cast< double >(val5
);
19693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19694 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19695 wxPyEndAllowThreads(__tstate
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19698 resultobj
= SWIG_Py_Void();
19713 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19714 PyObject
*resultobj
= 0;
19715 wxDC
*arg1
= (wxDC
*) 0 ;
19716 wxString
*arg2
= 0 ;
19717 wxPoint
*arg3
= 0 ;
19721 bool temp2
= false ;
19725 PyObject
* obj0
= 0 ;
19726 PyObject
* obj1
= 0 ;
19727 PyObject
* obj2
= 0 ;
19728 PyObject
* obj3
= 0 ;
19729 char * kwnames
[] = {
19730 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19735 if (!SWIG_IsOK(res1
)) {
19736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19738 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19740 arg2
= wxString_in_helper(obj1
);
19741 if (arg2
== NULL
) SWIG_fail
;
19746 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19748 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19749 if (!SWIG_IsOK(ecode4
)) {
19750 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19752 arg4
= static_cast< double >(val4
);
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19755 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19759 resultobj
= SWIG_Py_Void();
19774 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
= 0;
19776 wxDC
*arg1
= (wxDC
*) 0 ;
19781 wxDC
*arg6
= (wxDC
*) 0 ;
19784 int arg9
= (int) wxCOPY
;
19785 bool arg10
= (bool) false ;
19786 int arg11
= (int) -1 ;
19787 int arg12
= (int) -1 ;
19813 PyObject
* obj0
= 0 ;
19814 PyObject
* obj1
= 0 ;
19815 PyObject
* obj2
= 0 ;
19816 PyObject
* obj3
= 0 ;
19817 PyObject
* obj4
= 0 ;
19818 PyObject
* obj5
= 0 ;
19819 PyObject
* obj6
= 0 ;
19820 PyObject
* obj7
= 0 ;
19821 PyObject
* obj8
= 0 ;
19822 PyObject
* obj9
= 0 ;
19823 PyObject
* obj10
= 0 ;
19824 PyObject
* obj11
= 0 ;
19825 char * kwnames
[] = {
19826 (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
19829 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
;
19830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19831 if (!SWIG_IsOK(res1
)) {
19832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19834 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19836 if (!SWIG_IsOK(ecode2
)) {
19837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19839 arg2
= static_cast< int >(val2
);
19840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19841 if (!SWIG_IsOK(ecode3
)) {
19842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19844 arg3
= static_cast< int >(val3
);
19845 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19846 if (!SWIG_IsOK(ecode4
)) {
19847 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19849 arg4
= static_cast< int >(val4
);
19850 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19851 if (!SWIG_IsOK(ecode5
)) {
19852 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19854 arg5
= static_cast< int >(val5
);
19855 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19856 if (!SWIG_IsOK(res6
)) {
19857 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19859 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19860 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19861 if (!SWIG_IsOK(ecode7
)) {
19862 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19864 arg7
= static_cast< int >(val7
);
19865 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19866 if (!SWIG_IsOK(ecode8
)) {
19867 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19869 arg8
= static_cast< int >(val8
);
19871 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19872 if (!SWIG_IsOK(ecode9
)) {
19873 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19875 arg9
= static_cast< int >(val9
);
19878 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19879 if (!SWIG_IsOK(ecode10
)) {
19880 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19882 arg10
= static_cast< bool >(val10
);
19885 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19886 if (!SWIG_IsOK(ecode11
)) {
19887 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19889 arg11
= static_cast< int >(val11
);
19892 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19893 if (!SWIG_IsOK(ecode12
)) {
19894 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19896 arg12
= static_cast< int >(val12
);
19899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19900 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19913 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
= 0;
19915 wxDC
*arg1
= (wxDC
*) 0 ;
19916 wxPoint
*arg2
= 0 ;
19918 wxDC
*arg4
= (wxDC
*) 0 ;
19919 wxPoint
*arg5
= 0 ;
19920 int arg6
= (int) wxCOPY
;
19921 bool arg7
= (bool) false ;
19922 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19923 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19937 PyObject
* obj0
= 0 ;
19938 PyObject
* obj1
= 0 ;
19939 PyObject
* obj2
= 0 ;
19940 PyObject
* obj3
= 0 ;
19941 PyObject
* obj4
= 0 ;
19942 PyObject
* obj5
= 0 ;
19943 PyObject
* obj6
= 0 ;
19944 PyObject
* obj7
= 0 ;
19945 char * kwnames
[] = {
19946 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19951 if (!SWIG_IsOK(res1
)) {
19952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19954 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19957 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19961 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19963 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19964 if (!SWIG_IsOK(res4
)) {
19965 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19967 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19970 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19973 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19974 if (!SWIG_IsOK(ecode6
)) {
19975 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19977 arg6
= static_cast< int >(val6
);
19980 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19981 if (!SWIG_IsOK(ecode7
)) {
19982 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19984 arg7
= static_cast< bool >(val7
);
19989 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19994 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19995 wxPyEndAllowThreads(__tstate
);
19996 if (PyErr_Occurred()) SWIG_fail
;
19999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20007 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20008 PyObject
*resultobj
= 0;
20009 wxDC
*arg1
= (wxDC
*) 0 ;
20024 PyObject
* obj0
= 0 ;
20025 PyObject
* obj1
= 0 ;
20026 PyObject
* obj2
= 0 ;
20027 PyObject
* obj3
= 0 ;
20028 PyObject
* obj4
= 0 ;
20029 char * kwnames
[] = {
20030 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20035 if (!SWIG_IsOK(res1
)) {
20036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20038 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20040 if (!SWIG_IsOK(ecode2
)) {
20041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20043 arg2
= static_cast< int >(val2
);
20044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20045 if (!SWIG_IsOK(ecode3
)) {
20046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20048 arg3
= static_cast< int >(val3
);
20049 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20050 if (!SWIG_IsOK(ecode4
)) {
20051 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20053 arg4
= static_cast< int >(val4
);
20054 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20055 if (!SWIG_IsOK(ecode5
)) {
20056 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20058 arg5
= static_cast< int >(val5
);
20060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20061 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20065 resultobj
= SWIG_Py_Void();
20072 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20073 PyObject
*resultobj
= 0;
20074 wxDC
*arg1
= (wxDC
*) 0 ;
20075 wxPoint
*arg2
= 0 ;
20081 PyObject
* obj0
= 0 ;
20082 PyObject
* obj1
= 0 ;
20083 PyObject
* obj2
= 0 ;
20084 char * kwnames
[] = {
20085 (char *) "self",(char *) "pt",(char *) "sz", NULL
20088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20090 if (!SWIG_IsOK(res1
)) {
20091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20093 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20096 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20100 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20105 wxPyEndAllowThreads(__tstate
);
20106 if (PyErr_Occurred()) SWIG_fail
;
20108 resultobj
= SWIG_Py_Void();
20115 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
= 0;
20117 wxDC
*arg1
= (wxDC
*) 0 ;
20118 wxRegion
*arg2
= 0 ;
20123 PyObject
* obj0
= 0 ;
20124 PyObject
* obj1
= 0 ;
20125 char * kwnames
[] = {
20126 (char *) "self",(char *) "region", NULL
20129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20131 if (!SWIG_IsOK(res1
)) {
20132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20134 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20135 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20136 if (!SWIG_IsOK(res2
)) {
20137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20142 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20149 resultobj
= SWIG_Py_Void();
20156 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
= 0;
20158 wxDC
*arg1
= (wxDC
*) 0 ;
20163 PyObject
* obj0
= 0 ;
20164 PyObject
* obj1
= 0 ;
20165 char * kwnames
[] = {
20166 (char *) "self",(char *) "rect", NULL
20169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20171 if (!SWIG_IsOK(res1
)) {
20172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20177 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20181 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20185 resultobj
= SWIG_Py_Void();
20192 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20193 PyObject
*resultobj
= 0;
20194 wxDC
*arg1
= (wxDC
*) 0 ;
20196 wxPoint
*arg3
= (wxPoint
*) 0 ;
20197 int arg4
= (int) 0 ;
20198 int arg5
= (int) 0 ;
20205 PyObject
* obj0
= 0 ;
20206 PyObject
* obj1
= 0 ;
20207 PyObject
* obj2
= 0 ;
20208 PyObject
* obj3
= 0 ;
20209 char * kwnames
[] = {
20210 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20215 if (!SWIG_IsOK(res1
)) {
20216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20218 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20220 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20221 if (arg3
== NULL
) SWIG_fail
;
20224 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20225 if (!SWIG_IsOK(ecode4
)) {
20226 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20228 arg4
= static_cast< int >(val4
);
20231 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20232 if (!SWIG_IsOK(ecode5
)) {
20233 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20235 arg5
= static_cast< int >(val5
);
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20243 resultobj
= SWIG_Py_Void();
20245 if (arg3
) delete [] arg3
;
20250 if (arg3
) delete [] arg3
;
20256 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20257 PyObject
*resultobj
= 0;
20258 wxDC
*arg1
= (wxDC
*) 0 ;
20260 wxPoint
*arg3
= (wxPoint
*) 0 ;
20261 int arg4
= (int) 0 ;
20262 int arg5
= (int) 0 ;
20263 int arg6
= (int) wxODDEVEN_RULE
;
20272 PyObject
* obj0
= 0 ;
20273 PyObject
* obj1
= 0 ;
20274 PyObject
* obj2
= 0 ;
20275 PyObject
* obj3
= 0 ;
20276 PyObject
* obj4
= 0 ;
20277 char * kwnames
[] = {
20278 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20283 if (!SWIG_IsOK(res1
)) {
20284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20288 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20289 if (arg3
== NULL
) SWIG_fail
;
20292 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20293 if (!SWIG_IsOK(ecode4
)) {
20294 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20296 arg4
= static_cast< int >(val4
);
20299 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20300 if (!SWIG_IsOK(ecode5
)) {
20301 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20303 arg5
= static_cast< int >(val5
);
20306 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20307 if (!SWIG_IsOK(ecode6
)) {
20308 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20310 arg6
= static_cast< int >(val6
);
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20315 wxPyEndAllowThreads(__tstate
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20318 resultobj
= SWIG_Py_Void();
20320 if (arg3
) delete [] arg3
;
20325 if (arg3
) delete [] arg3
;
20331 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20332 PyObject
*resultobj
= 0;
20333 wxDC
*arg1
= (wxDC
*) 0 ;
20334 wxString
*arg2
= 0 ;
20336 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20337 int arg5
= (int) -1 ;
20340 bool temp2
= false ;
20346 PyObject
* obj0
= 0 ;
20347 PyObject
* obj1
= 0 ;
20348 PyObject
* obj2
= 0 ;
20349 PyObject
* obj3
= 0 ;
20350 PyObject
* obj4
= 0 ;
20351 char * kwnames
[] = {
20352 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20357 if (!SWIG_IsOK(res1
)) {
20358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20360 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20362 arg2
= wxString_in_helper(obj1
);
20363 if (arg2
== NULL
) SWIG_fail
;
20368 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20371 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20372 if (!SWIG_IsOK(ecode4
)) {
20373 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20375 arg4
= static_cast< int >(val4
);
20378 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20379 if (!SWIG_IsOK(ecode5
)) {
20380 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20382 arg5
= static_cast< int >(val5
);
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 resultobj
= SWIG_Py_Void();
20405 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20406 PyObject
*resultobj
= 0;
20407 wxDC
*arg1
= (wxDC
*) 0 ;
20408 wxString
*arg2
= 0 ;
20409 wxBitmap
*arg3
= 0 ;
20411 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20412 int arg6
= (int) -1 ;
20416 bool temp2
= false ;
20424 PyObject
* obj0
= 0 ;
20425 PyObject
* obj1
= 0 ;
20426 PyObject
* obj2
= 0 ;
20427 PyObject
* obj3
= 0 ;
20428 PyObject
* obj4
= 0 ;
20429 PyObject
* obj5
= 0 ;
20430 char * kwnames
[] = {
20431 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20436 if (!SWIG_IsOK(res1
)) {
20437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20439 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20441 arg2
= wxString_in_helper(obj1
);
20442 if (arg2
== NULL
) SWIG_fail
;
20445 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20446 if (!SWIG_IsOK(res3
)) {
20447 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20452 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20455 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20458 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20459 if (!SWIG_IsOK(ecode5
)) {
20460 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20462 arg5
= static_cast< int >(val5
);
20465 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20466 if (!SWIG_IsOK(ecode6
)) {
20467 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20469 arg6
= static_cast< int >(val6
);
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20473 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20474 wxPyEndAllowThreads(__tstate
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20477 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20492 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20493 PyObject
*resultobj
= 0;
20494 wxDC
*arg1
= (wxDC
*) 0 ;
20496 wxPoint
*arg3
= (wxPoint
*) 0 ;
20499 PyObject
* obj0
= 0 ;
20500 PyObject
* obj1
= 0 ;
20501 char * kwnames
[] = {
20502 (char *) "self",(char *) "points", NULL
20505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20507 if (!SWIG_IsOK(res1
)) {
20508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20510 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20512 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20513 if (arg3
== NULL
) SWIG_fail
;
20516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20517 (arg1
)->DrawSpline(arg2
,arg3
);
20518 wxPyEndAllowThreads(__tstate
);
20519 if (PyErr_Occurred()) SWIG_fail
;
20521 resultobj
= SWIG_Py_Void();
20523 if (arg3
) delete [] arg3
;
20528 if (arg3
) delete [] arg3
;
20534 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20535 PyObject
*resultobj
= 0;
20536 wxDC
*arg1
= (wxDC
*) 0 ;
20539 PyObject
*swig_obj
[1] ;
20541 if (!args
) SWIG_fail
;
20542 swig_obj
[0] = args
;
20543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20544 if (!SWIG_IsOK(res1
)) {
20545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20547 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20551 wxPyEndAllowThreads(__tstate
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20554 resultobj
= SWIG_Py_Void();
20561 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20562 PyObject
*resultobj
= 0;
20563 wxDC
*arg1
= (wxDC
*) 0 ;
20564 wxString
*arg2
= 0 ;
20568 bool temp2
= false ;
20569 PyObject
* obj0
= 0 ;
20570 PyObject
* obj1
= 0 ;
20571 char * kwnames
[] = {
20572 (char *) "self",(char *) "message", NULL
20575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) 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_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20580 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20582 arg2
= wxString_in_helper(obj1
);
20583 if (arg2
== NULL
) SWIG_fail
;
20587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20589 wxPyEndAllowThreads(__tstate
);
20590 if (PyErr_Occurred()) SWIG_fail
;
20593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20609 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20610 PyObject
*resultobj
= 0;
20611 wxDC
*arg1
= (wxDC
*) 0 ;
20614 PyObject
*swig_obj
[1] ;
20616 if (!args
) SWIG_fail
;
20617 swig_obj
[0] = args
;
20618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20619 if (!SWIG_IsOK(res1
)) {
20620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20622 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20629 resultobj
= SWIG_Py_Void();
20636 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20637 PyObject
*resultobj
= 0;
20638 wxDC
*arg1
= (wxDC
*) 0 ;
20641 PyObject
*swig_obj
[1] ;
20643 if (!args
) SWIG_fail
;
20644 swig_obj
[0] = args
;
20645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20646 if (!SWIG_IsOK(res1
)) {
20647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20649 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 (arg1
)->StartPage();
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 resultobj
= SWIG_Py_Void();
20663 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20664 PyObject
*resultobj
= 0;
20665 wxDC
*arg1
= (wxDC
*) 0 ;
20668 PyObject
*swig_obj
[1] ;
20670 if (!args
) SWIG_fail
;
20671 swig_obj
[0] = args
;
20672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20673 if (!SWIG_IsOK(res1
)) {
20674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20676 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20683 resultobj
= SWIG_Py_Void();
20690 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
= 0;
20692 wxDC
*arg1
= (wxDC
*) 0 ;
20698 PyObject
* obj0
= 0 ;
20699 PyObject
* obj1
= 0 ;
20700 char * kwnames
[] = {
20701 (char *) "self",(char *) "font", NULL
20704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20706 if (!SWIG_IsOK(res1
)) {
20707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20709 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20710 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20711 if (!SWIG_IsOK(res2
)) {
20712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20717 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20720 (arg1
)->SetFont((wxFont
const &)*arg2
);
20721 wxPyEndAllowThreads(__tstate
);
20722 if (PyErr_Occurred()) SWIG_fail
;
20724 resultobj
= SWIG_Py_Void();
20731 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20732 PyObject
*resultobj
= 0;
20733 wxDC
*arg1
= (wxDC
*) 0 ;
20739 PyObject
* obj0
= 0 ;
20740 PyObject
* obj1
= 0 ;
20741 char * kwnames
[] = {
20742 (char *) "self",(char *) "pen", NULL
20745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20747 if (!SWIG_IsOK(res1
)) {
20748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20750 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20751 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20752 if (!SWIG_IsOK(res2
)) {
20753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20756 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20758 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 (arg1
)->SetPen((wxPen
const &)*arg2
);
20762 wxPyEndAllowThreads(__tstate
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20765 resultobj
= SWIG_Py_Void();
20772 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20773 PyObject
*resultobj
= 0;
20774 wxDC
*arg1
= (wxDC
*) 0 ;
20775 wxBrush
*arg2
= 0 ;
20780 PyObject
* obj0
= 0 ;
20781 PyObject
* obj1
= 0 ;
20782 char * kwnames
[] = {
20783 (char *) "self",(char *) "brush", NULL
20786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20788 if (!SWIG_IsOK(res1
)) {
20789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20791 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20792 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20793 if (!SWIG_IsOK(res2
)) {
20794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20799 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= SWIG_Py_Void();
20813 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
= 0;
20815 wxDC
*arg1
= (wxDC
*) 0 ;
20816 wxBrush
*arg2
= 0 ;
20821 PyObject
* obj0
= 0 ;
20822 PyObject
* obj1
= 0 ;
20823 char * kwnames
[] = {
20824 (char *) "self",(char *) "brush", NULL
20827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20829 if (!SWIG_IsOK(res1
)) {
20830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20832 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20834 if (!SWIG_IsOK(res2
)) {
20835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20840 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20847 resultobj
= SWIG_Py_Void();
20854 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
= 0;
20856 wxDC
*arg1
= (wxDC
*) 0 ;
20862 PyObject
* obj0
= 0 ;
20863 PyObject
* obj1
= 0 ;
20864 char * kwnames
[] = {
20865 (char *) "self",(char *) "mode", NULL
20868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20870 if (!SWIG_IsOK(res1
)) {
20871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20873 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20875 if (!SWIG_IsOK(ecode2
)) {
20876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20878 arg2
= static_cast< int >(val2
);
20880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20881 (arg1
)->SetBackgroundMode(arg2
);
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 resultobj
= SWIG_Py_Void();
20892 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20893 PyObject
*resultobj
= 0;
20894 wxDC
*arg1
= (wxDC
*) 0 ;
20895 wxPalette
*arg2
= 0 ;
20900 PyObject
* obj0
= 0 ;
20901 PyObject
* obj1
= 0 ;
20902 char * kwnames
[] = {
20903 (char *) "self",(char *) "palette", NULL
20906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20908 if (!SWIG_IsOK(res1
)) {
20909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20911 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20913 if (!SWIG_IsOK(res2
)) {
20914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20919 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20923 wxPyEndAllowThreads(__tstate
);
20924 if (PyErr_Occurred()) SWIG_fail
;
20926 resultobj
= SWIG_Py_Void();
20933 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20934 PyObject
*resultobj
= 0;
20935 wxDC
*arg1
= (wxDC
*) 0 ;
20938 PyObject
*swig_obj
[1] ;
20940 if (!args
) SWIG_fail
;
20941 swig_obj
[0] = args
;
20942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20943 if (!SWIG_IsOK(res1
)) {
20944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20946 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20949 (arg1
)->DestroyClippingRegion();
20950 wxPyEndAllowThreads(__tstate
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20953 resultobj
= SWIG_Py_Void();
20960 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20961 PyObject
*resultobj
= 0;
20962 wxDC
*arg1
= (wxDC
*) 0 ;
20963 int *arg2
= (int *) 0 ;
20964 int *arg3
= (int *) 0 ;
20965 int *arg4
= (int *) 0 ;
20966 int *arg5
= (int *) 0 ;
20970 int res2
= SWIG_TMPOBJ
;
20972 int res3
= SWIG_TMPOBJ
;
20974 int res4
= SWIG_TMPOBJ
;
20976 int res5
= SWIG_TMPOBJ
;
20977 PyObject
*swig_obj
[1] ;
20983 if (!args
) SWIG_fail
;
20984 swig_obj
[0] = args
;
20985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20986 if (!SWIG_IsOK(res1
)) {
20987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20989 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20992 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20993 wxPyEndAllowThreads(__tstate
);
20994 if (PyErr_Occurred()) SWIG_fail
;
20996 resultobj
= SWIG_Py_Void();
20997 if (SWIG_IsTmpObj(res2
)) {
20998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21000 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21001 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21003 if (SWIG_IsTmpObj(res3
)) {
21004 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21006 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21007 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21009 if (SWIG_IsTmpObj(res4
)) {
21010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21012 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21015 if (SWIG_IsTmpObj(res5
)) {
21016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21018 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21019 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21027 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21028 PyObject
*resultobj
= 0;
21029 wxDC
*arg1
= (wxDC
*) 0 ;
21033 PyObject
*swig_obj
[1] ;
21035 if (!args
) SWIG_fail
;
21036 swig_obj
[0] = args
;
21037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21038 if (!SWIG_IsOK(res1
)) {
21039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21041 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 result
= wxDC_GetClippingRect(arg1
);
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21048 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21055 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21056 PyObject
*resultobj
= 0;
21057 wxDC
*arg1
= (wxDC
*) 0 ;
21061 PyObject
*swig_obj
[1] ;
21063 if (!args
) SWIG_fail
;
21064 swig_obj
[0] = args
;
21065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21066 if (!SWIG_IsOK(res1
)) {
21067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21069 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21073 wxPyEndAllowThreads(__tstate
);
21074 if (PyErr_Occurred()) SWIG_fail
;
21076 resultobj
= SWIG_From_int(static_cast< int >(result
));
21083 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21084 PyObject
*resultobj
= 0;
21085 wxDC
*arg1
= (wxDC
*) 0 ;
21089 PyObject
*swig_obj
[1] ;
21091 if (!args
) SWIG_fail
;
21092 swig_obj
[0] = args
;
21093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21094 if (!SWIG_IsOK(res1
)) {
21095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21100 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21101 wxPyEndAllowThreads(__tstate
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21104 resultobj
= SWIG_From_int(static_cast< int >(result
));
21111 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
= 0;
21113 wxDC
*arg1
= (wxDC
*) 0 ;
21114 wxString
*arg2
= 0 ;
21115 int *arg3
= (int *) 0 ;
21116 int *arg4
= (int *) 0 ;
21119 bool temp2
= false ;
21121 int res3
= SWIG_TMPOBJ
;
21123 int res4
= SWIG_TMPOBJ
;
21124 PyObject
* obj0
= 0 ;
21125 PyObject
* obj1
= 0 ;
21126 char * kwnames
[] = {
21127 (char *) "self",(char *) "string", NULL
21132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21134 if (!SWIG_IsOK(res1
)) {
21135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21137 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21139 arg2
= wxString_in_helper(obj1
);
21140 if (arg2
== NULL
) SWIG_fail
;
21144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21145 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21146 wxPyEndAllowThreads(__tstate
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21149 resultobj
= SWIG_Py_Void();
21150 if (SWIG_IsTmpObj(res3
)) {
21151 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21153 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21154 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21156 if (SWIG_IsTmpObj(res4
)) {
21157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21159 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21176 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
= 0;
21178 wxDC
*arg1
= (wxDC
*) 0 ;
21179 wxString
*arg2
= 0 ;
21180 int *arg3
= (int *) 0 ;
21181 int *arg4
= (int *) 0 ;
21182 int *arg5
= (int *) 0 ;
21183 int *arg6
= (int *) 0 ;
21184 wxFont
*arg7
= (wxFont
*) NULL
;
21187 bool temp2
= false ;
21189 int res3
= SWIG_TMPOBJ
;
21191 int res4
= SWIG_TMPOBJ
;
21193 int res5
= SWIG_TMPOBJ
;
21195 int res6
= SWIG_TMPOBJ
;
21198 PyObject
* obj0
= 0 ;
21199 PyObject
* obj1
= 0 ;
21200 PyObject
* obj2
= 0 ;
21201 char * kwnames
[] = {
21202 (char *) "self",(char *) "string",(char *) "font", NULL
21209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21211 if (!SWIG_IsOK(res1
)) {
21212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21214 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21216 arg2
= wxString_in_helper(obj1
);
21217 if (arg2
== NULL
) SWIG_fail
;
21221 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21222 if (!SWIG_IsOK(res7
)) {
21223 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21225 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21230 wxPyEndAllowThreads(__tstate
);
21231 if (PyErr_Occurred()) SWIG_fail
;
21233 resultobj
= SWIG_Py_Void();
21234 if (SWIG_IsTmpObj(res3
)) {
21235 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21237 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21238 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21240 if (SWIG_IsTmpObj(res4
)) {
21241 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21243 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21244 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21246 if (SWIG_IsTmpObj(res5
)) {
21247 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21249 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21250 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21252 if (SWIG_IsTmpObj(res6
)) {
21253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21255 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21272 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
= 0;
21274 wxDC
*arg1
= (wxDC
*) 0 ;
21275 wxString
*arg2
= 0 ;
21276 int *arg3
= (int *) 0 ;
21277 int *arg4
= (int *) 0 ;
21278 int *arg5
= (int *) 0 ;
21279 wxFont
*arg6
= (wxFont
*) NULL
;
21282 bool temp2
= false ;
21284 int res3
= SWIG_TMPOBJ
;
21286 int res4
= SWIG_TMPOBJ
;
21288 int res5
= SWIG_TMPOBJ
;
21291 PyObject
* obj0
= 0 ;
21292 PyObject
* obj1
= 0 ;
21293 PyObject
* obj2
= 0 ;
21294 char * kwnames
[] = {
21295 (char *) "self",(char *) "text",(char *) "font", NULL
21301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21303 if (!SWIG_IsOK(res1
)) {
21304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21306 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21308 arg2
= wxString_in_helper(obj1
);
21309 if (arg2
== NULL
) SWIG_fail
;
21313 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21314 if (!SWIG_IsOK(res6
)) {
21315 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21317 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21321 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21325 resultobj
= SWIG_Py_Void();
21326 if (SWIG_IsTmpObj(res3
)) {
21327 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21329 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21330 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21332 if (SWIG_IsTmpObj(res4
)) {
21333 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21335 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21336 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21338 if (SWIG_IsTmpObj(res5
)) {
21339 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21341 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21342 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21358 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
= 0;
21360 wxDC
*arg1
= (wxDC
*) 0 ;
21361 wxString
*arg2
= 0 ;
21365 bool temp2
= false ;
21366 PyObject
* obj0
= 0 ;
21367 PyObject
* obj1
= 0 ;
21368 char * kwnames
[] = {
21369 (char *) "self",(char *) "text", NULL
21372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21374 if (!SWIG_IsOK(res1
)) {
21375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21377 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21379 arg2
= wxString_in_helper(obj1
);
21380 if (arg2
== NULL
) SWIG_fail
;
21384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21385 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21390 resultobj
= PyList_New(0);
21392 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
21393 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
21394 PyList_Append(resultobj
, val
);
21412 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21413 PyObject
*resultobj
= 0;
21414 wxDC
*arg1
= (wxDC
*) 0 ;
21418 PyObject
*swig_obj
[1] ;
21420 if (!args
) SWIG_fail
;
21421 swig_obj
[0] = args
;
21422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21423 if (!SWIG_IsOK(res1
)) {
21424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21426 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 result
= (arg1
)->GetSize();
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21440 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21441 PyObject
*resultobj
= 0;
21442 wxDC
*arg1
= (wxDC
*) 0 ;
21443 int *arg2
= (int *) 0 ;
21444 int *arg3
= (int *) 0 ;
21448 int res2
= SWIG_TMPOBJ
;
21450 int res3
= SWIG_TMPOBJ
;
21451 PyObject
*swig_obj
[1] ;
21455 if (!args
) SWIG_fail
;
21456 swig_obj
[0] = args
;
21457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21458 if (!SWIG_IsOK(res1
)) {
21459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21461 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 (arg1
)->GetSize(arg2
,arg3
);
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21468 resultobj
= SWIG_Py_Void();
21469 if (SWIG_IsTmpObj(res2
)) {
21470 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21472 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21473 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21475 if (SWIG_IsTmpObj(res3
)) {
21476 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21478 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21479 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21487 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21488 PyObject
*resultobj
= 0;
21489 wxDC
*arg1
= (wxDC
*) 0 ;
21493 PyObject
*swig_obj
[1] ;
21495 if (!args
) SWIG_fail
;
21496 swig_obj
[0] = args
;
21497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21498 if (!SWIG_IsOK(res1
)) {
21499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21501 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21505 wxPyEndAllowThreads(__tstate
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21508 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21515 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21516 PyObject
*resultobj
= 0;
21517 wxDC
*arg1
= (wxDC
*) 0 ;
21518 int *arg2
= (int *) 0 ;
21519 int *arg3
= (int *) 0 ;
21523 int res2
= SWIG_TMPOBJ
;
21525 int res3
= SWIG_TMPOBJ
;
21526 PyObject
*swig_obj
[1] ;
21530 if (!args
) SWIG_fail
;
21531 swig_obj
[0] = args
;
21532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21533 if (!SWIG_IsOK(res1
)) {
21534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21536 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21543 resultobj
= SWIG_Py_Void();
21544 if (SWIG_IsTmpObj(res2
)) {
21545 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21547 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21548 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21550 if (SWIG_IsTmpObj(res3
)) {
21551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21553 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21562 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21563 PyObject
*resultobj
= 0;
21564 wxDC
*arg1
= (wxDC
*) 0 ;
21571 PyObject
* obj0
= 0 ;
21572 PyObject
* obj1
= 0 ;
21573 char * kwnames
[] = {
21574 (char *) "self",(char *) "x", NULL
21577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21579 if (!SWIG_IsOK(res1
)) {
21580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21582 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21584 if (!SWIG_IsOK(ecode2
)) {
21585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21587 arg2
= static_cast< int >(val2
);
21589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21590 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21594 resultobj
= SWIG_From_int(static_cast< int >(result
));
21601 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21602 PyObject
*resultobj
= 0;
21603 wxDC
*arg1
= (wxDC
*) 0 ;
21610 PyObject
* obj0
= 0 ;
21611 PyObject
* obj1
= 0 ;
21612 char * kwnames
[] = {
21613 (char *) "self",(char *) "y", NULL
21616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21618 if (!SWIG_IsOK(res1
)) {
21619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21621 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21623 if (!SWIG_IsOK(ecode2
)) {
21624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21626 arg2
= static_cast< int >(val2
);
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21629 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21630 wxPyEndAllowThreads(__tstate
);
21631 if (PyErr_Occurred()) SWIG_fail
;
21633 resultobj
= SWIG_From_int(static_cast< int >(result
));
21640 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21641 PyObject
*resultobj
= 0;
21642 wxDC
*arg1
= (wxDC
*) 0 ;
21649 PyObject
* obj0
= 0 ;
21650 PyObject
* obj1
= 0 ;
21651 char * kwnames
[] = {
21652 (char *) "self",(char *) "x", NULL
21655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21657 if (!SWIG_IsOK(res1
)) {
21658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21660 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21662 if (!SWIG_IsOK(ecode2
)) {
21663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21665 arg2
= static_cast< int >(val2
);
21667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21669 wxPyEndAllowThreads(__tstate
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21672 resultobj
= SWIG_From_int(static_cast< int >(result
));
21679 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
= 0;
21681 wxDC
*arg1
= (wxDC
*) 0 ;
21688 PyObject
* obj0
= 0 ;
21689 PyObject
* obj1
= 0 ;
21690 char * kwnames
[] = {
21691 (char *) "self",(char *) "y", NULL
21694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21696 if (!SWIG_IsOK(res1
)) {
21697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21699 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21701 if (!SWIG_IsOK(ecode2
)) {
21702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21704 arg2
= static_cast< int >(val2
);
21706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21707 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21708 wxPyEndAllowThreads(__tstate
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21711 resultobj
= SWIG_From_int(static_cast< int >(result
));
21718 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21719 PyObject
*resultobj
= 0;
21720 wxDC
*arg1
= (wxDC
*) 0 ;
21727 PyObject
* obj0
= 0 ;
21728 PyObject
* obj1
= 0 ;
21729 char * kwnames
[] = {
21730 (char *) "self",(char *) "x", NULL
21733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21735 if (!SWIG_IsOK(res1
)) {
21736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21738 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21740 if (!SWIG_IsOK(ecode2
)) {
21741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21743 arg2
= static_cast< int >(val2
);
21745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21746 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21750 resultobj
= SWIG_From_int(static_cast< int >(result
));
21757 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21758 PyObject
*resultobj
= 0;
21759 wxDC
*arg1
= (wxDC
*) 0 ;
21766 PyObject
* obj0
= 0 ;
21767 PyObject
* obj1
= 0 ;
21768 char * kwnames
[] = {
21769 (char *) "self",(char *) "y", NULL
21772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21774 if (!SWIG_IsOK(res1
)) {
21775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21777 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21779 if (!SWIG_IsOK(ecode2
)) {
21780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21782 arg2
= static_cast< int >(val2
);
21784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21785 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21789 resultobj
= SWIG_From_int(static_cast< int >(result
));
21796 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21797 PyObject
*resultobj
= 0;
21798 wxDC
*arg1
= (wxDC
*) 0 ;
21805 PyObject
* obj0
= 0 ;
21806 PyObject
* obj1
= 0 ;
21807 char * kwnames
[] = {
21808 (char *) "self",(char *) "x", NULL
21811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21813 if (!SWIG_IsOK(res1
)) {
21814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21816 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21818 if (!SWIG_IsOK(ecode2
)) {
21819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21821 arg2
= static_cast< int >(val2
);
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21825 wxPyEndAllowThreads(__tstate
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21828 resultobj
= SWIG_From_int(static_cast< int >(result
));
21835 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21836 PyObject
*resultobj
= 0;
21837 wxDC
*arg1
= (wxDC
*) 0 ;
21844 PyObject
* obj0
= 0 ;
21845 PyObject
* obj1
= 0 ;
21846 char * kwnames
[] = {
21847 (char *) "self",(char *) "y", NULL
21850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21852 if (!SWIG_IsOK(res1
)) {
21853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21855 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21857 if (!SWIG_IsOK(ecode2
)) {
21858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21860 arg2
= static_cast< int >(val2
);
21862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21863 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21867 resultobj
= SWIG_From_int(static_cast< int >(result
));
21874 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21875 PyObject
*resultobj
= 0;
21876 wxDC
*arg1
= (wxDC
*) 0 ;
21880 PyObject
*swig_obj
[1] ;
21882 if (!args
) SWIG_fail
;
21883 swig_obj
[0] = args
;
21884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21885 if (!SWIG_IsOK(res1
)) {
21886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21888 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21892 wxPyEndAllowThreads(__tstate
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21904 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21905 PyObject
*resultobj
= 0;
21906 wxDC
*arg1
= (wxDC
*) 0 ;
21910 PyObject
*swig_obj
[1] ;
21912 if (!args
) SWIG_fail
;
21913 swig_obj
[0] = args
;
21914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21915 if (!SWIG_IsOK(res1
)) {
21916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21918 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21921 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21922 wxPyEndAllowThreads(__tstate
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21934 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21935 PyObject
*resultobj
= 0;
21936 wxDC
*arg1
= (wxDC
*) 0 ;
21940 PyObject
*swig_obj
[1] ;
21942 if (!args
) SWIG_fail
;
21943 swig_obj
[0] = args
;
21944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21945 if (!SWIG_IsOK(res1
)) {
21946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21948 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21951 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21952 wxPyEndAllowThreads(__tstate
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21955 resultobj
= SWIG_From_int(static_cast< int >(result
));
21962 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21963 PyObject
*resultobj
= 0;
21964 wxDC
*arg1
= (wxDC
*) 0 ;
21968 PyObject
*swig_obj
[1] ;
21970 if (!args
) SWIG_fail
;
21971 swig_obj
[0] = args
;
21972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21973 if (!SWIG_IsOK(res1
)) {
21974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21976 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21979 result
= ((wxDC
const *)arg1
)->GetPPI();
21980 wxPyEndAllowThreads(__tstate
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21983 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21990 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21991 PyObject
*resultobj
= 0;
21992 wxDC
*arg1
= (wxDC
*) 0 ;
21996 PyObject
*swig_obj
[1] ;
21998 if (!args
) SWIG_fail
;
21999 swig_obj
[0] = args
;
22000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22001 if (!SWIG_IsOK(res1
)) {
22002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
22004 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22007 result
= (bool)((wxDC
const *)arg1
)->Ok();
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22020 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22021 PyObject
*resultobj
= 0;
22022 wxDC
*arg1
= (wxDC
*) 0 ;
22026 PyObject
*swig_obj
[1] ;
22028 if (!args
) SWIG_fail
;
22029 swig_obj
[0] = args
;
22030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22031 if (!SWIG_IsOK(res1
)) {
22032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22034 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22041 resultobj
= SWIG_From_int(static_cast< int >(result
));
22048 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22049 PyObject
*resultobj
= 0;
22050 wxDC
*arg1
= (wxDC
*) 0 ;
22051 wxBrush
*result
= 0 ;
22054 PyObject
*swig_obj
[1] ;
22056 if (!args
) SWIG_fail
;
22057 swig_obj
[0] = args
;
22058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22059 if (!SWIG_IsOK(res1
)) {
22060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22062 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22067 result
= (wxBrush
*) &_result_ref
;
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22073 wxBrush
* resultptr
= new wxBrush(*result
);
22074 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22082 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22083 PyObject
*resultobj
= 0;
22084 wxDC
*arg1
= (wxDC
*) 0 ;
22085 wxBrush
*result
= 0 ;
22088 PyObject
*swig_obj
[1] ;
22090 if (!args
) SWIG_fail
;
22091 swig_obj
[0] = args
;
22092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22093 if (!SWIG_IsOK(res1
)) {
22094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22100 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22101 result
= (wxBrush
*) &_result_ref
;
22103 wxPyEndAllowThreads(__tstate
);
22104 if (PyErr_Occurred()) SWIG_fail
;
22107 wxBrush
* resultptr
= new wxBrush(*result
);
22108 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22116 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22117 PyObject
*resultobj
= 0;
22118 wxDC
*arg1
= (wxDC
*) 0 ;
22119 wxFont
*result
= 0 ;
22122 PyObject
*swig_obj
[1] ;
22124 if (!args
) SWIG_fail
;
22125 swig_obj
[0] = args
;
22126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22127 if (!SWIG_IsOK(res1
)) {
22128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22130 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22134 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22135 result
= (wxFont
*) &_result_ref
;
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22141 wxFont
* resultptr
= new wxFont(*result
);
22142 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22150 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22151 PyObject
*resultobj
= 0;
22152 wxDC
*arg1
= (wxDC
*) 0 ;
22153 wxPen
*result
= 0 ;
22156 PyObject
*swig_obj
[1] ;
22158 if (!args
) SWIG_fail
;
22159 swig_obj
[0] = args
;
22160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22161 if (!SWIG_IsOK(res1
)) {
22162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22164 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22169 result
= (wxPen
*) &_result_ref
;
22171 wxPyEndAllowThreads(__tstate
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22175 wxPen
* resultptr
= new wxPen(*result
);
22176 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22184 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22185 PyObject
*resultobj
= 0;
22186 wxDC
*arg1
= (wxDC
*) 0 ;
22187 wxColour
*result
= 0 ;
22190 PyObject
*swig_obj
[1] ;
22192 if (!args
) SWIG_fail
;
22193 swig_obj
[0] = args
;
22194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22195 if (!SWIG_IsOK(res1
)) {
22196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22198 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22203 result
= (wxColour
*) &_result_ref
;
22205 wxPyEndAllowThreads(__tstate
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22215 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22216 PyObject
*resultobj
= 0;
22217 wxDC
*arg1
= (wxDC
*) 0 ;
22218 wxColour
*result
= 0 ;
22221 PyObject
*swig_obj
[1] ;
22223 if (!args
) SWIG_fail
;
22224 swig_obj
[0] = args
;
22225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22226 if (!SWIG_IsOK(res1
)) {
22227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22229 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22233 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22234 result
= (wxColour
*) &_result_ref
;
22236 wxPyEndAllowThreads(__tstate
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22246 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22247 PyObject
*resultobj
= 0;
22248 wxDC
*arg1
= (wxDC
*) 0 ;
22249 wxColour
*arg2
= 0 ;
22253 PyObject
* obj0
= 0 ;
22254 PyObject
* obj1
= 0 ;
22255 char * kwnames
[] = {
22256 (char *) "self",(char *) "colour", NULL
22259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22261 if (!SWIG_IsOK(res1
)) {
22262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22264 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22267 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22272 wxPyEndAllowThreads(__tstate
);
22273 if (PyErr_Occurred()) SWIG_fail
;
22275 resultobj
= SWIG_Py_Void();
22282 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22283 PyObject
*resultobj
= 0;
22284 wxDC
*arg1
= (wxDC
*) 0 ;
22285 wxColour
*arg2
= 0 ;
22289 PyObject
* obj0
= 0 ;
22290 PyObject
* obj1
= 0 ;
22291 char * kwnames
[] = {
22292 (char *) "self",(char *) "colour", NULL
22295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22297 if (!SWIG_IsOK(res1
)) {
22298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22300 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22303 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22308 wxPyEndAllowThreads(__tstate
);
22309 if (PyErr_Occurred()) SWIG_fail
;
22311 resultobj
= SWIG_Py_Void();
22318 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22319 PyObject
*resultobj
= 0;
22320 wxDC
*arg1
= (wxDC
*) 0 ;
22324 PyObject
*swig_obj
[1] ;
22326 if (!args
) SWIG_fail
;
22327 swig_obj
[0] = args
;
22328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22329 if (!SWIG_IsOK(res1
)) {
22330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22332 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22335 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22336 wxPyEndAllowThreads(__tstate
);
22337 if (PyErr_Occurred()) SWIG_fail
;
22339 resultobj
= SWIG_From_int(static_cast< int >(result
));
22346 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22347 PyObject
*resultobj
= 0;
22348 wxDC
*arg1
= (wxDC
*) 0 ;
22354 PyObject
* obj0
= 0 ;
22355 PyObject
* obj1
= 0 ;
22356 char * kwnames
[] = {
22357 (char *) "self",(char *) "mode", NULL
22360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22362 if (!SWIG_IsOK(res1
)) {
22363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22365 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22367 if (!SWIG_IsOK(ecode2
)) {
22368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22370 arg2
= static_cast< int >(val2
);
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 (arg1
)->SetMapMode(arg2
);
22374 wxPyEndAllowThreads(__tstate
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22377 resultobj
= SWIG_Py_Void();
22384 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22385 PyObject
*resultobj
= 0;
22386 wxDC
*arg1
= (wxDC
*) 0 ;
22387 double *arg2
= (double *) 0 ;
22388 double *arg3
= (double *) 0 ;
22392 int res2
= SWIG_TMPOBJ
;
22394 int res3
= SWIG_TMPOBJ
;
22395 PyObject
*swig_obj
[1] ;
22399 if (!args
) SWIG_fail
;
22400 swig_obj
[0] = args
;
22401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22402 if (!SWIG_IsOK(res1
)) {
22403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22405 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22412 resultobj
= SWIG_Py_Void();
22413 if (SWIG_IsTmpObj(res2
)) {
22414 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22416 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22417 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22419 if (SWIG_IsTmpObj(res3
)) {
22420 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22422 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22423 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22431 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22432 PyObject
*resultobj
= 0;
22433 wxDC
*arg1
= (wxDC
*) 0 ;
22442 PyObject
* obj0
= 0 ;
22443 PyObject
* obj1
= 0 ;
22444 PyObject
* obj2
= 0 ;
22445 char * kwnames
[] = {
22446 (char *) "self",(char *) "x",(char *) "y", NULL
22449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22451 if (!SWIG_IsOK(res1
)) {
22452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22454 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22455 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22456 if (!SWIG_IsOK(ecode2
)) {
22457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22459 arg2
= static_cast< double >(val2
);
22460 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22461 if (!SWIG_IsOK(ecode3
)) {
22462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22464 arg3
= static_cast< double >(val3
);
22466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 (arg1
)->SetUserScale(arg2
,arg3
);
22468 wxPyEndAllowThreads(__tstate
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22471 resultobj
= SWIG_Py_Void();
22478 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22479 PyObject
*resultobj
= 0;
22480 wxDC
*arg1
= (wxDC
*) 0 ;
22481 double *arg2
= (double *) 0 ;
22482 double *arg3
= (double *) 0 ;
22486 int res2
= SWIG_TMPOBJ
;
22488 int res3
= SWIG_TMPOBJ
;
22489 PyObject
*swig_obj
[1] ;
22493 if (!args
) SWIG_fail
;
22494 swig_obj
[0] = args
;
22495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22496 if (!SWIG_IsOK(res1
)) {
22497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22502 (arg1
)->GetLogicalScale(arg2
,arg3
);
22503 wxPyEndAllowThreads(__tstate
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22506 resultobj
= SWIG_Py_Void();
22507 if (SWIG_IsTmpObj(res2
)) {
22508 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22510 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22513 if (SWIG_IsTmpObj(res3
)) {
22514 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22516 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22517 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22525 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
= 0;
22527 wxDC
*arg1
= (wxDC
*) 0 ;
22536 PyObject
* obj0
= 0 ;
22537 PyObject
* obj1
= 0 ;
22538 PyObject
* obj2
= 0 ;
22539 char * kwnames
[] = {
22540 (char *) "self",(char *) "x",(char *) "y", NULL
22543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22545 if (!SWIG_IsOK(res1
)) {
22546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22548 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22549 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22550 if (!SWIG_IsOK(ecode2
)) {
22551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22553 arg2
= static_cast< double >(val2
);
22554 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22555 if (!SWIG_IsOK(ecode3
)) {
22556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22558 arg3
= static_cast< double >(val3
);
22560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 (arg1
)->SetLogicalScale(arg2
,arg3
);
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22565 resultobj
= SWIG_Py_Void();
22572 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22573 PyObject
*resultobj
= 0;
22574 wxDC
*arg1
= (wxDC
*) 0 ;
22578 PyObject
*swig_obj
[1] ;
22580 if (!args
) SWIG_fail
;
22581 swig_obj
[0] = args
;
22582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22583 if (!SWIG_IsOK(res1
)) {
22584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22586 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22589 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22590 wxPyEndAllowThreads(__tstate
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22593 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22600 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22601 PyObject
*resultobj
= 0;
22602 wxDC
*arg1
= (wxDC
*) 0 ;
22603 int *arg2
= (int *) 0 ;
22604 int *arg3
= (int *) 0 ;
22608 int res2
= SWIG_TMPOBJ
;
22610 int res3
= SWIG_TMPOBJ
;
22611 PyObject
*swig_obj
[1] ;
22615 if (!args
) SWIG_fail
;
22616 swig_obj
[0] = args
;
22617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22618 if (!SWIG_IsOK(res1
)) {
22619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22621 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22628 resultobj
= SWIG_Py_Void();
22629 if (SWIG_IsTmpObj(res2
)) {
22630 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22632 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22633 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22635 if (SWIG_IsTmpObj(res3
)) {
22636 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22638 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22639 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22647 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22648 PyObject
*resultobj
= 0;
22649 wxDC
*arg1
= (wxDC
*) 0 ;
22658 PyObject
* obj0
= 0 ;
22659 PyObject
* obj1
= 0 ;
22660 PyObject
* obj2
= 0 ;
22661 char * kwnames
[] = {
22662 (char *) "self",(char *) "x",(char *) "y", NULL
22665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22667 if (!SWIG_IsOK(res1
)) {
22668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22670 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22672 if (!SWIG_IsOK(ecode2
)) {
22673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22675 arg2
= static_cast< int >(val2
);
22676 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22677 if (!SWIG_IsOK(ecode3
)) {
22678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22680 arg3
= static_cast< int >(val3
);
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22687 resultobj
= SWIG_Py_Void();
22694 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
= 0;
22696 wxDC
*arg1
= (wxDC
*) 0 ;
22697 wxPoint
*arg2
= 0 ;
22701 PyObject
* obj0
= 0 ;
22702 PyObject
* obj1
= 0 ;
22703 char * kwnames
[] = {
22704 (char *) "self",(char *) "point", NULL
22707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22709 if (!SWIG_IsOK(res1
)) {
22710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22712 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22715 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22719 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22720 wxPyEndAllowThreads(__tstate
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22723 resultobj
= SWIG_Py_Void();
22730 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22731 PyObject
*resultobj
= 0;
22732 wxDC
*arg1
= (wxDC
*) 0 ;
22736 PyObject
*swig_obj
[1] ;
22738 if (!args
) SWIG_fail
;
22739 swig_obj
[0] = args
;
22740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22741 if (!SWIG_IsOK(res1
)) {
22742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22744 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22758 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22759 PyObject
*resultobj
= 0;
22760 wxDC
*arg1
= (wxDC
*) 0 ;
22761 int *arg2
= (int *) 0 ;
22762 int *arg3
= (int *) 0 ;
22766 int res2
= SWIG_TMPOBJ
;
22768 int res3
= SWIG_TMPOBJ
;
22769 PyObject
*swig_obj
[1] ;
22773 if (!args
) SWIG_fail
;
22774 swig_obj
[0] = args
;
22775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22776 if (!SWIG_IsOK(res1
)) {
22777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22779 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22783 wxPyEndAllowThreads(__tstate
);
22784 if (PyErr_Occurred()) SWIG_fail
;
22786 resultobj
= SWIG_Py_Void();
22787 if (SWIG_IsTmpObj(res2
)) {
22788 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22790 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22791 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22793 if (SWIG_IsTmpObj(res3
)) {
22794 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22796 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22797 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22805 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22806 PyObject
*resultobj
= 0;
22807 wxDC
*arg1
= (wxDC
*) 0 ;
22816 PyObject
* obj0
= 0 ;
22817 PyObject
* obj1
= 0 ;
22818 PyObject
* obj2
= 0 ;
22819 char * kwnames
[] = {
22820 (char *) "self",(char *) "x",(char *) "y", NULL
22823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22825 if (!SWIG_IsOK(res1
)) {
22826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22828 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22830 if (!SWIG_IsOK(ecode2
)) {
22831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22833 arg2
= static_cast< int >(val2
);
22834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22835 if (!SWIG_IsOK(ecode3
)) {
22836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22838 arg3
= static_cast< int >(val3
);
22840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22841 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22842 wxPyEndAllowThreads(__tstate
);
22843 if (PyErr_Occurred()) SWIG_fail
;
22845 resultobj
= SWIG_Py_Void();
22852 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22853 PyObject
*resultobj
= 0;
22854 wxDC
*arg1
= (wxDC
*) 0 ;
22855 wxPoint
*arg2
= 0 ;
22859 PyObject
* obj0
= 0 ;
22860 PyObject
* obj1
= 0 ;
22861 char * kwnames
[] = {
22862 (char *) "self",(char *) "point", NULL
22865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22867 if (!SWIG_IsOK(res1
)) {
22868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22870 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22873 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22877 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22878 wxPyEndAllowThreads(__tstate
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22881 resultobj
= SWIG_Py_Void();
22888 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22889 PyObject
*resultobj
= 0;
22890 wxDC
*arg1
= (wxDC
*) 0 ;
22899 PyObject
* obj0
= 0 ;
22900 PyObject
* obj1
= 0 ;
22901 PyObject
* obj2
= 0 ;
22902 char * kwnames
[] = {
22903 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22908 if (!SWIG_IsOK(res1
)) {
22909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22911 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22912 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22913 if (!SWIG_IsOK(ecode2
)) {
22914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22916 arg2
= static_cast< bool >(val2
);
22917 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22918 if (!SWIG_IsOK(ecode3
)) {
22919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22921 arg3
= static_cast< bool >(val3
);
22923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22924 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22925 wxPyEndAllowThreads(__tstate
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22928 resultobj
= SWIG_Py_Void();
22935 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22936 PyObject
*resultobj
= 0;
22937 wxDC
*arg1
= (wxDC
*) 0 ;
22941 PyObject
*swig_obj
[1] ;
22943 if (!args
) SWIG_fail
;
22944 swig_obj
[0] = args
;
22945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22946 if (!SWIG_IsOK(res1
)) {
22947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22949 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22952 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22953 wxPyEndAllowThreads(__tstate
);
22954 if (PyErr_Occurred()) SWIG_fail
;
22956 resultobj
= SWIG_From_int(static_cast< int >(result
));
22963 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22964 PyObject
*resultobj
= 0;
22965 wxDC
*arg1
= (wxDC
*) 0 ;
22971 PyObject
* obj0
= 0 ;
22972 PyObject
* obj1
= 0 ;
22973 char * kwnames
[] = {
22974 (char *) "self",(char *) "function", NULL
22977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22979 if (!SWIG_IsOK(res1
)) {
22980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22982 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22983 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22984 if (!SWIG_IsOK(ecode2
)) {
22985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22987 arg2
= static_cast< int >(val2
);
22989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 (arg1
)->SetLogicalFunction(arg2
);
22991 wxPyEndAllowThreads(__tstate
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22994 resultobj
= SWIG_Py_Void();
23001 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23002 PyObject
*resultobj
= 0;
23003 wxDC
*arg1
= (wxDC
*) 0 ;
23006 PyObject
*swig_obj
[1] ;
23008 if (!args
) SWIG_fail
;
23009 swig_obj
[0] = args
;
23010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23011 if (!SWIG_IsOK(res1
)) {
23012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23014 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23017 (arg1
)->ComputeScaleAndOrigin();
23018 wxPyEndAllowThreads(__tstate
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23021 resultobj
= SWIG_Py_Void();
23028 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23029 PyObject
*resultobj
= 0;
23030 wxDC
*arg1
= (wxDC
*) 0 ;
23039 PyObject
* obj0
= 0 ;
23040 PyObject
* obj1
= 0 ;
23041 PyObject
* obj2
= 0 ;
23042 char * kwnames
[] = {
23043 (char *) "self",(char *) "x",(char *) "y", NULL
23046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23048 if (!SWIG_IsOK(res1
)) {
23049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23051 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23053 if (!SWIG_IsOK(ecode2
)) {
23054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23056 arg2
= static_cast< int >(val2
);
23057 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23058 if (!SWIG_IsOK(ecode3
)) {
23059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23061 arg3
= static_cast< int >(val3
);
23063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23064 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23068 resultobj
= SWIG_Py_Void();
23075 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23076 PyObject
*resultobj
= 0;
23077 wxDC
*arg1
= (wxDC
*) 0 ;
23078 wxPoint
*arg2
= 0 ;
23082 PyObject
* obj0
= 0 ;
23083 PyObject
* obj1
= 0 ;
23084 char * kwnames
[] = {
23085 (char *) "self",(char *) "point", NULL
23088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23090 if (!SWIG_IsOK(res1
)) {
23091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23093 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23096 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23100 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23101 wxPyEndAllowThreads(__tstate
);
23102 if (PyErr_Occurred()) SWIG_fail
;
23104 resultobj
= SWIG_Py_Void();
23111 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23112 PyObject
*resultobj
= 0;
23113 wxDC
*arg1
= (wxDC
*) 0 ;
23116 PyObject
*swig_obj
[1] ;
23118 if (!args
) SWIG_fail
;
23119 swig_obj
[0] = args
;
23120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23121 if (!SWIG_IsOK(res1
)) {
23122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23124 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23127 (arg1
)->ResetBoundingBox();
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23131 resultobj
= SWIG_Py_Void();
23138 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23139 PyObject
*resultobj
= 0;
23140 wxDC
*arg1
= (wxDC
*) 0 ;
23144 PyObject
*swig_obj
[1] ;
23146 if (!args
) SWIG_fail
;
23147 swig_obj
[0] = args
;
23148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23149 if (!SWIG_IsOK(res1
)) {
23150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23152 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23155 result
= (int)((wxDC
const *)arg1
)->MinX();
23156 wxPyEndAllowThreads(__tstate
);
23157 if (PyErr_Occurred()) SWIG_fail
;
23159 resultobj
= SWIG_From_int(static_cast< int >(result
));
23166 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23167 PyObject
*resultobj
= 0;
23168 wxDC
*arg1
= (wxDC
*) 0 ;
23172 PyObject
*swig_obj
[1] ;
23174 if (!args
) SWIG_fail
;
23175 swig_obj
[0] = args
;
23176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23177 if (!SWIG_IsOK(res1
)) {
23178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23180 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23183 result
= (int)((wxDC
const *)arg1
)->MaxX();
23184 wxPyEndAllowThreads(__tstate
);
23185 if (PyErr_Occurred()) SWIG_fail
;
23187 resultobj
= SWIG_From_int(static_cast< int >(result
));
23194 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23195 PyObject
*resultobj
= 0;
23196 wxDC
*arg1
= (wxDC
*) 0 ;
23200 PyObject
*swig_obj
[1] ;
23202 if (!args
) SWIG_fail
;
23203 swig_obj
[0] = args
;
23204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23205 if (!SWIG_IsOK(res1
)) {
23206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23208 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 result
= (int)((wxDC
const *)arg1
)->MinY();
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= SWIG_From_int(static_cast< int >(result
));
23222 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23223 PyObject
*resultobj
= 0;
23224 wxDC
*arg1
= (wxDC
*) 0 ;
23228 PyObject
*swig_obj
[1] ;
23230 if (!args
) SWIG_fail
;
23231 swig_obj
[0] = args
;
23232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23233 if (!SWIG_IsOK(res1
)) {
23234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23236 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 result
= (int)((wxDC
const *)arg1
)->MaxY();
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23243 resultobj
= SWIG_From_int(static_cast< int >(result
));
23250 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23251 PyObject
*resultobj
= 0;
23252 wxDC
*arg1
= (wxDC
*) 0 ;
23253 int *arg2
= (int *) 0 ;
23254 int *arg3
= (int *) 0 ;
23255 int *arg4
= (int *) 0 ;
23256 int *arg5
= (int *) 0 ;
23260 int res2
= SWIG_TMPOBJ
;
23262 int res3
= SWIG_TMPOBJ
;
23264 int res4
= SWIG_TMPOBJ
;
23266 int res5
= SWIG_TMPOBJ
;
23267 PyObject
*swig_obj
[1] ;
23273 if (!args
) SWIG_fail
;
23274 swig_obj
[0] = args
;
23275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23276 if (!SWIG_IsOK(res1
)) {
23277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23279 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23283 wxPyEndAllowThreads(__tstate
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23286 resultobj
= SWIG_Py_Void();
23287 if (SWIG_IsTmpObj(res2
)) {
23288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23290 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23291 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23293 if (SWIG_IsTmpObj(res3
)) {
23294 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23296 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23297 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23299 if (SWIG_IsTmpObj(res4
)) {
23300 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23302 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23303 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23305 if (SWIG_IsTmpObj(res5
)) {
23306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23308 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23317 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23318 PyObject
*resultobj
= 0;
23319 wxDC
*arg1
= (wxDC
*) 0 ;
23323 PyObject
*swig_obj
[1] ;
23325 if (!args
) SWIG_fail
;
23326 swig_obj
[0] = args
;
23327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23328 if (!SWIG_IsOK(res1
)) {
23329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23331 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23334 result
= (long)(arg1
)->GetHDC();
23335 wxPyEndAllowThreads(__tstate
);
23336 if (PyErr_Occurred()) SWIG_fail
;
23338 resultobj
= SWIG_From_long(static_cast< long >(result
));
23345 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23346 PyObject
*resultobj
= 0;
23347 wxDC
*arg1
= (wxDC
*) 0 ;
23348 PyObject
*arg2
= (PyObject
*) 0 ;
23349 PyObject
*arg3
= (PyObject
*) 0 ;
23350 PyObject
*arg4
= (PyObject
*) 0 ;
23351 PyObject
*result
= 0 ;
23354 PyObject
* obj0
= 0 ;
23355 PyObject
* obj1
= 0 ;
23356 PyObject
* obj2
= 0 ;
23357 PyObject
* obj3
= 0 ;
23358 char * kwnames
[] = {
23359 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23364 if (!SWIG_IsOK(res1
)) {
23365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23367 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23377 resultobj
= result
;
23384 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23385 PyObject
*resultobj
= 0;
23386 wxDC
*arg1
= (wxDC
*) 0 ;
23387 PyObject
*arg2
= (PyObject
*) 0 ;
23388 PyObject
*arg3
= (PyObject
*) 0 ;
23389 PyObject
*arg4
= (PyObject
*) 0 ;
23390 PyObject
*result
= 0 ;
23393 PyObject
* obj0
= 0 ;
23394 PyObject
* obj1
= 0 ;
23395 PyObject
* obj2
= 0 ;
23396 PyObject
* obj3
= 0 ;
23397 char * kwnames
[] = {
23398 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23403 if (!SWIG_IsOK(res1
)) {
23404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23406 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23412 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23413 wxPyEndAllowThreads(__tstate
);
23414 if (PyErr_Occurred()) SWIG_fail
;
23416 resultobj
= result
;
23423 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23424 PyObject
*resultobj
= 0;
23425 wxDC
*arg1
= (wxDC
*) 0 ;
23426 PyObject
*arg2
= (PyObject
*) 0 ;
23427 PyObject
*arg3
= (PyObject
*) 0 ;
23428 PyObject
*arg4
= (PyObject
*) 0 ;
23429 PyObject
*result
= 0 ;
23432 PyObject
* obj0
= 0 ;
23433 PyObject
* obj1
= 0 ;
23434 PyObject
* obj2
= 0 ;
23435 PyObject
* obj3
= 0 ;
23436 char * kwnames
[] = {
23437 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23442 if (!SWIG_IsOK(res1
)) {
23443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23445 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23451 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23452 wxPyEndAllowThreads(__tstate
);
23453 if (PyErr_Occurred()) SWIG_fail
;
23455 resultobj
= result
;
23462 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23463 PyObject
*resultobj
= 0;
23464 wxDC
*arg1
= (wxDC
*) 0 ;
23465 PyObject
*arg2
= (PyObject
*) 0 ;
23466 PyObject
*arg3
= (PyObject
*) 0 ;
23467 PyObject
*arg4
= (PyObject
*) 0 ;
23468 PyObject
*result
= 0 ;
23471 PyObject
* obj0
= 0 ;
23472 PyObject
* obj1
= 0 ;
23473 PyObject
* obj2
= 0 ;
23474 PyObject
* obj3
= 0 ;
23475 char * kwnames
[] = {
23476 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23481 if (!SWIG_IsOK(res1
)) {
23482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23484 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23490 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23494 resultobj
= result
;
23501 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23502 PyObject
*resultobj
= 0;
23503 wxDC
*arg1
= (wxDC
*) 0 ;
23504 PyObject
*arg2
= (PyObject
*) 0 ;
23505 PyObject
*arg3
= (PyObject
*) 0 ;
23506 PyObject
*arg4
= (PyObject
*) 0 ;
23507 PyObject
*result
= 0 ;
23510 PyObject
* obj0
= 0 ;
23511 PyObject
* obj1
= 0 ;
23512 PyObject
* obj2
= 0 ;
23513 PyObject
* obj3
= 0 ;
23514 char * kwnames
[] = {
23515 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23520 if (!SWIG_IsOK(res1
)) {
23521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23529 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23533 resultobj
= result
;
23540 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23541 PyObject
*resultobj
= 0;
23542 wxDC
*arg1
= (wxDC
*) 0 ;
23543 PyObject
*arg2
= (PyObject
*) 0 ;
23544 PyObject
*arg3
= (PyObject
*) 0 ;
23545 PyObject
*arg4
= (PyObject
*) 0 ;
23546 PyObject
*arg5
= (PyObject
*) 0 ;
23547 PyObject
*result
= 0 ;
23550 PyObject
* obj0
= 0 ;
23551 PyObject
* obj1
= 0 ;
23552 PyObject
* obj2
= 0 ;
23553 PyObject
* obj3
= 0 ;
23554 PyObject
* obj4
= 0 ;
23555 char * kwnames
[] = {
23556 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23561 if (!SWIG_IsOK(res1
)) {
23562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23564 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23571 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23572 wxPyEndAllowThreads(__tstate
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23575 resultobj
= result
;
23582 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23584 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23585 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23586 return SWIG_Py_Void();
23589 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23590 PyObject
*resultobj
= 0;
23591 wxMemoryDC
*result
= 0 ;
23593 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
23595 if (!wxPyCheckForApp()) SWIG_fail
;
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 result
= (wxMemoryDC
*)new wxMemoryDC();
23598 wxPyEndAllowThreads(__tstate
);
23599 if (PyErr_Occurred()) SWIG_fail
;
23601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23608 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23609 PyObject
*resultobj
= 0;
23610 wxDC
*arg1
= (wxDC
*) 0 ;
23611 wxMemoryDC
*result
= 0 ;
23614 PyObject
* obj0
= 0 ;
23615 char * kwnames
[] = {
23616 (char *) "oldDC", NULL
23619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23621 if (!SWIG_IsOK(res1
)) {
23622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23624 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23626 if (!wxPyCheckForApp()) SWIG_fail
;
23627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23628 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23629 wxPyEndAllowThreads(__tstate
);
23630 if (PyErr_Occurred()) SWIG_fail
;
23632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23639 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23640 PyObject
*resultobj
= 0;
23641 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23642 wxBitmap
*arg2
= 0 ;
23647 PyObject
* obj0
= 0 ;
23648 PyObject
* obj1
= 0 ;
23649 char * kwnames
[] = {
23650 (char *) "self",(char *) "bitmap", NULL
23653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23655 if (!SWIG_IsOK(res1
)) {
23656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23658 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23659 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23660 if (!SWIG_IsOK(res2
)) {
23661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23666 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23673 resultobj
= SWIG_Py_Void();
23680 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23682 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23683 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23684 return SWIG_Py_Void();
23687 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23688 return SWIG_Python_InitShadowInstance(args
);
23691 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23692 PyObject
*resultobj
= 0;
23693 wxDC
*arg1
= (wxDC
*) 0 ;
23694 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23695 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23696 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23697 wxBufferedDC
*result
= 0 ;
23705 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23707 if (!SWIG_IsOK(res1
)) {
23708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23710 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23712 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23713 if (!SWIG_IsOK(res2
)) {
23714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23719 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23722 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23723 if (!SWIG_IsOK(ecode3
)) {
23724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23726 arg3
= static_cast< int >(val3
);
23729 if (!wxPyCheckForApp()) SWIG_fail
;
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23742 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23743 PyObject
*resultobj
= 0;
23744 wxDC
*arg1
= (wxDC
*) 0 ;
23746 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23747 wxBufferedDC
*result
= 0 ;
23754 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23756 if (!SWIG_IsOK(res1
)) {
23757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23759 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23762 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23765 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23766 if (!SWIG_IsOK(ecode3
)) {
23767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23769 arg3
= static_cast< int >(val3
);
23772 if (!wxPyCheckForApp()) SWIG_fail
;
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23785 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23789 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23791 if ((argc
>= 1) && (argc
<= 3)) {
23795 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23796 _v
= SWIG_CheckState(res
);
23798 if (!_v
) goto check_1
;
23800 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23804 if ((argc
>= 2) && (argc
<= 3)) {
23805 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23809 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23814 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23815 PyObject
*resultobj
= 0;
23816 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23819 PyObject
*swig_obj
[1] ;
23821 if (!args
) SWIG_fail
;
23822 swig_obj
[0] = args
;
23823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23824 if (!SWIG_IsOK(res1
)) {
23825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23827 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23832 wxPyEndAllowThreads(__tstate
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23835 resultobj
= SWIG_Py_Void();
23842 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23843 PyObject
*resultobj
= 0;
23844 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23847 PyObject
*swig_obj
[1] ;
23849 if (!args
) SWIG_fail
;
23850 swig_obj
[0] = args
;
23851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23852 if (!SWIG_IsOK(res1
)) {
23853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23855 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23859 wxPyEndAllowThreads(__tstate
);
23860 if (PyErr_Occurred()) SWIG_fail
;
23862 resultobj
= SWIG_Py_Void();
23869 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23871 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23872 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23873 return SWIG_Py_Void();
23876 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23877 return SWIG_Python_InitShadowInstance(args
);
23880 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23881 PyObject
*resultobj
= 0;
23882 wxWindow
*arg1
= (wxWindow
*) 0 ;
23883 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23884 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23885 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23886 wxBufferedPaintDC
*result
= 0 ;
23893 PyObject
* obj0
= 0 ;
23894 PyObject
* obj1
= 0 ;
23895 PyObject
* obj2
= 0 ;
23896 char * kwnames
[] = {
23897 (char *) "window",(char *) "buffer",(char *) "style", NULL
23900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23902 if (!SWIG_IsOK(res1
)) {
23903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23905 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23907 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23908 if (!SWIG_IsOK(res2
)) {
23909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23914 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23918 if (!SWIG_IsOK(ecode3
)) {
23919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23921 arg3
= static_cast< int >(val3
);
23924 if (!wxPyCheckForApp()) SWIG_fail
;
23925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23926 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23927 wxPyEndAllowThreads(__tstate
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23937 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23939 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23940 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23941 return SWIG_Py_Void();
23944 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23945 return SWIG_Python_InitShadowInstance(args
);
23948 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23949 PyObject
*resultobj
= 0;
23950 wxScreenDC
*result
= 0 ;
23952 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23954 if (!wxPyCheckForApp()) SWIG_fail
;
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 result
= (wxScreenDC
*)new wxScreenDC();
23957 wxPyEndAllowThreads(__tstate
);
23958 if (PyErr_Occurred()) SWIG_fail
;
23960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23967 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23968 PyObject
*resultobj
= 0;
23969 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23970 wxWindow
*arg2
= (wxWindow
*) 0 ;
23976 PyObject
* obj0
= 0 ;
23977 PyObject
* obj1
= 0 ;
23978 char * kwnames
[] = {
23979 (char *) "self",(char *) "window", NULL
23982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23984 if (!SWIG_IsOK(res1
)) {
23985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23987 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23988 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23989 if (!SWIG_IsOK(res2
)) {
23990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23992 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23995 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23996 wxPyEndAllowThreads(__tstate
);
23997 if (PyErr_Occurred()) SWIG_fail
;
24000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24008 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24009 PyObject
*resultobj
= 0;
24010 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24011 wxRect
*arg2
= (wxRect
*) NULL
;
24017 PyObject
* obj0
= 0 ;
24018 PyObject
* obj1
= 0 ;
24019 char * kwnames
[] = {
24020 (char *) "self",(char *) "rect", NULL
24023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24025 if (!SWIG_IsOK(res1
)) {
24026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24028 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24030 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24031 if (!SWIG_IsOK(res2
)) {
24032 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24034 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24038 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24039 wxPyEndAllowThreads(__tstate
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24051 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24052 PyObject
*resultobj
= 0;
24053 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24057 PyObject
*swig_obj
[1] ;
24059 if (!args
) SWIG_fail
;
24060 swig_obj
[0] = args
;
24061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24062 if (!SWIG_IsOK(res1
)) {
24063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24065 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 result
= (bool)(arg1
)->EndDrawingOnTop();
24069 wxPyEndAllowThreads(__tstate
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24081 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24083 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24084 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24085 return SWIG_Py_Void();
24088 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24089 return SWIG_Python_InitShadowInstance(args
);
24092 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24093 PyObject
*resultobj
= 0;
24094 wxWindow
*arg1
= (wxWindow
*) 0 ;
24095 wxClientDC
*result
= 0 ;
24098 PyObject
* obj0
= 0 ;
24099 char * kwnames
[] = {
24100 (char *) "win", NULL
24103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24105 if (!SWIG_IsOK(res1
)) {
24106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24108 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24110 if (!wxPyCheckForApp()) SWIG_fail
;
24111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24112 result
= (wxClientDC
*)new wxClientDC(arg1
);
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24123 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24125 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24126 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24127 return SWIG_Py_Void();
24130 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24131 return SWIG_Python_InitShadowInstance(args
);
24134 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24135 PyObject
*resultobj
= 0;
24136 wxWindow
*arg1
= (wxWindow
*) 0 ;
24137 wxPaintDC
*result
= 0 ;
24140 PyObject
* obj0
= 0 ;
24141 char * kwnames
[] = {
24142 (char *) "win", NULL
24145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24147 if (!SWIG_IsOK(res1
)) {
24148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24150 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24152 if (!wxPyCheckForApp()) SWIG_fail
;
24153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24154 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24155 wxPyEndAllowThreads(__tstate
);
24156 if (PyErr_Occurred()) SWIG_fail
;
24158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24165 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24167 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24168 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24169 return SWIG_Py_Void();
24172 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24173 return SWIG_Python_InitShadowInstance(args
);
24176 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24177 PyObject
*resultobj
= 0;
24178 wxWindow
*arg1
= (wxWindow
*) 0 ;
24179 wxWindowDC
*result
= 0 ;
24182 PyObject
* obj0
= 0 ;
24183 char * kwnames
[] = {
24184 (char *) "win", NULL
24187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24189 if (!SWIG_IsOK(res1
)) {
24190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24192 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24194 if (!wxPyCheckForApp()) SWIG_fail
;
24195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24197 wxPyEndAllowThreads(__tstate
);
24198 if (PyErr_Occurred()) SWIG_fail
;
24200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24207 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24209 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24210 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24211 return SWIG_Py_Void();
24214 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24215 return SWIG_Python_InitShadowInstance(args
);
24218 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24219 PyObject
*resultobj
= 0;
24222 wxMirrorDC
*result
= 0 ;
24227 PyObject
* obj0
= 0 ;
24228 PyObject
* obj1
= 0 ;
24229 char * kwnames
[] = {
24230 (char *) "dc",(char *) "mirror", NULL
24233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24234 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24235 if (!SWIG_IsOK(res1
)) {
24236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24241 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24242 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24243 if (!SWIG_IsOK(ecode2
)) {
24244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24246 arg2
= static_cast< bool >(val2
);
24248 if (!wxPyCheckForApp()) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24261 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24263 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24264 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24265 return SWIG_Py_Void();
24268 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24269 return SWIG_Python_InitShadowInstance(args
);
24272 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24273 PyObject
*resultobj
= 0;
24274 wxPrintData
*arg1
= 0 ;
24275 wxPostScriptDC
*result
= 0 ;
24278 PyObject
* obj0
= 0 ;
24279 char * kwnames
[] = {
24280 (char *) "printData", NULL
24283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24284 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24285 if (!SWIG_IsOK(res1
)) {
24286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24291 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24293 if (!wxPyCheckForApp()) SWIG_fail
;
24294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24295 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24306 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24307 PyObject
*resultobj
= 0;
24308 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24309 wxPrintData
*result
= 0 ;
24312 PyObject
*swig_obj
[1] ;
24314 if (!args
) SWIG_fail
;
24315 swig_obj
[0] = args
;
24316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24317 if (!SWIG_IsOK(res1
)) {
24318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24320 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24324 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24325 result
= (wxPrintData
*) &_result_ref
;
24327 wxPyEndAllowThreads(__tstate
);
24328 if (PyErr_Occurred()) SWIG_fail
;
24330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24337 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24338 PyObject
*resultobj
= 0;
24339 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24340 wxPrintData
*arg2
= 0 ;
24345 PyObject
* obj0
= 0 ;
24346 PyObject
* obj1
= 0 ;
24347 char * kwnames
[] = {
24348 (char *) "self",(char *) "data", NULL
24351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24353 if (!SWIG_IsOK(res1
)) {
24354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24356 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24357 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24358 if (!SWIG_IsOK(res2
)) {
24359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24364 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24367 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24371 resultobj
= SWIG_Py_Void();
24378 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24379 PyObject
*resultobj
= 0;
24383 PyObject
* obj0
= 0 ;
24384 char * kwnames
[] = {
24385 (char *) "ppi", NULL
24388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24389 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24390 if (!SWIG_IsOK(ecode1
)) {
24391 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24393 arg1
= static_cast< int >(val1
);
24395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24396 wxPostScriptDC::SetResolution(arg1
);
24397 wxPyEndAllowThreads(__tstate
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24400 resultobj
= SWIG_Py_Void();
24407 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24408 PyObject
*resultobj
= 0;
24411 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24414 result
= (int)wxPostScriptDC::GetResolution();
24415 wxPyEndAllowThreads(__tstate
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24418 resultobj
= SWIG_From_int(static_cast< int >(result
));
24425 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24428 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24429 return SWIG_Py_Void();
24432 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24433 return SWIG_Python_InitShadowInstance(args
);
24436 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24437 PyObject
*resultobj
= 0;
24438 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24439 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24440 wxMetaFile
*result
= 0 ;
24441 bool temp1
= false ;
24442 PyObject
* obj0
= 0 ;
24443 char * kwnames
[] = {
24444 (char *) "filename", NULL
24447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24450 arg1
= wxString_in_helper(obj0
);
24451 if (arg1
== NULL
) SWIG_fail
;
24456 if (!wxPyCheckForApp()) SWIG_fail
;
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24477 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24478 PyObject
*resultobj
= 0;
24479 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24482 PyObject
*swig_obj
[1] ;
24484 if (!args
) SWIG_fail
;
24485 swig_obj
[0] = args
;
24486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24487 if (!SWIG_IsOK(res1
)) {
24488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24490 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24495 wxPyEndAllowThreads(__tstate
);
24496 if (PyErr_Occurred()) SWIG_fail
;
24498 resultobj
= SWIG_Py_Void();
24505 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24506 PyObject
*resultobj
= 0;
24507 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24511 PyObject
*swig_obj
[1] ;
24513 if (!args
) SWIG_fail
;
24514 swig_obj
[0] = args
;
24515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24516 if (!SWIG_IsOK(res1
)) {
24517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24519 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 result
= (bool)(arg1
)->Ok();
24523 wxPyEndAllowThreads(__tstate
);
24524 if (PyErr_Occurred()) SWIG_fail
;
24527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24535 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24536 PyObject
*resultobj
= 0;
24537 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24538 int arg2
= (int) 0 ;
24539 int arg3
= (int) 0 ;
24547 PyObject
* obj0
= 0 ;
24548 PyObject
* obj1
= 0 ;
24549 PyObject
* obj2
= 0 ;
24550 char * kwnames
[] = {
24551 (char *) "self",(char *) "width",(char *) "height", NULL
24554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24556 if (!SWIG_IsOK(res1
)) {
24557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24559 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24562 if (!SWIG_IsOK(ecode2
)) {
24563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
24565 arg2
= static_cast< int >(val2
);
24568 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24569 if (!SWIG_IsOK(ecode3
)) {
24570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
24572 arg3
= static_cast< int >(val3
);
24575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24576 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
24577 wxPyEndAllowThreads(__tstate
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24589 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24590 PyObject
*resultobj
= 0;
24591 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24595 PyObject
*swig_obj
[1] ;
24597 if (!args
) SWIG_fail
;
24598 swig_obj
[0] = args
;
24599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24600 if (!SWIG_IsOK(res1
)) {
24601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24603 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24606 result
= (arg1
)->GetSize();
24607 wxPyEndAllowThreads(__tstate
);
24608 if (PyErr_Occurred()) SWIG_fail
;
24610 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24617 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24618 PyObject
*resultobj
= 0;
24619 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24623 PyObject
*swig_obj
[1] ;
24625 if (!args
) SWIG_fail
;
24626 swig_obj
[0] = args
;
24627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24628 if (!SWIG_IsOK(res1
)) {
24629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24631 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24634 result
= (int)(arg1
)->GetWidth();
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24638 resultobj
= SWIG_From_int(static_cast< int >(result
));
24645 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24646 PyObject
*resultobj
= 0;
24647 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24651 PyObject
*swig_obj
[1] ;
24653 if (!args
) SWIG_fail
;
24654 swig_obj
[0] = args
;
24655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24656 if (!SWIG_IsOK(res1
)) {
24657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24659 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24662 result
= (int)(arg1
)->GetHeight();
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24666 resultobj
= SWIG_From_int(static_cast< int >(result
));
24673 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24674 PyObject
*resultobj
= 0;
24675 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24676 wxString
*result
= 0 ;
24679 PyObject
*swig_obj
[1] ;
24681 if (!args
) SWIG_fail
;
24682 swig_obj
[0] = args
;
24683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24684 if (!SWIG_IsOK(res1
)) {
24685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
24687 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
24692 result
= (wxString
*) &_result_ref
;
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24699 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24701 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24710 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24713 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24714 return SWIG_Py_Void();
24717 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24718 return SWIG_Python_InitShadowInstance(args
);
24721 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24722 PyObject
*resultobj
= 0;
24723 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24724 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24725 int arg2
= (int) 0 ;
24726 int arg3
= (int) 0 ;
24727 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24728 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24729 wxMetaFileDC
*result
= 0 ;
24730 bool temp1
= false ;
24735 bool temp4
= false ;
24736 PyObject
* obj0
= 0 ;
24737 PyObject
* obj1
= 0 ;
24738 PyObject
* obj2
= 0 ;
24739 PyObject
* obj3
= 0 ;
24740 char * kwnames
[] = {
24741 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24747 arg1
= wxString_in_helper(obj0
);
24748 if (arg1
== NULL
) SWIG_fail
;
24753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24754 if (!SWIG_IsOK(ecode2
)) {
24755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24757 arg2
= static_cast< int >(val2
);
24760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24761 if (!SWIG_IsOK(ecode3
)) {
24762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24764 arg3
= static_cast< int >(val3
);
24768 arg4
= wxString_in_helper(obj3
);
24769 if (arg4
== NULL
) SWIG_fail
;
24774 if (!wxPyCheckForApp()) SWIG_fail
;
24775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24776 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24777 wxPyEndAllowThreads(__tstate
);
24778 if (PyErr_Occurred()) SWIG_fail
;
24780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24803 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24804 PyObject
*resultobj
= 0;
24805 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
24806 wxMetaFile
*result
= 0 ;
24809 PyObject
*swig_obj
[1] ;
24811 if (!args
) SWIG_fail
;
24812 swig_obj
[0] = args
;
24813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
24814 if (!SWIG_IsOK(res1
)) {
24815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
24817 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 result
= (wxMetaFile
*)(arg1
)->Close();
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24831 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24834 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24835 return SWIG_Py_Void();
24838 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24839 return SWIG_Python_InitShadowInstance(args
);
24842 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24843 PyObject
*resultobj
= 0;
24844 wxPrintData
*arg1
= 0 ;
24845 wxPrinterDC
*result
= 0 ;
24848 PyObject
* obj0
= 0 ;
24849 char * kwnames
[] = {
24850 (char *) "printData", NULL
24853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24854 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24855 if (!SWIG_IsOK(res1
)) {
24856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24861 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24863 if (!wxPyCheckForApp()) SWIG_fail
;
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24866 wxPyEndAllowThreads(__tstate
);
24867 if (PyErr_Occurred()) SWIG_fail
;
24869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24876 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24878 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24879 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24880 return SWIG_Py_Void();
24883 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24884 return SWIG_Python_InitShadowInstance(args
);
24887 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24888 PyObject
*resultobj
= 0;
24891 int arg3
= (int) true ;
24892 int arg4
= (int) 1 ;
24893 wxImageList
*result
= 0 ;
24902 PyObject
* obj0
= 0 ;
24903 PyObject
* obj1
= 0 ;
24904 PyObject
* obj2
= 0 ;
24905 PyObject
* obj3
= 0 ;
24906 char * kwnames
[] = {
24907 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
24910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24911 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24912 if (!SWIG_IsOK(ecode1
)) {
24913 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
24915 arg1
= static_cast< int >(val1
);
24916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24917 if (!SWIG_IsOK(ecode2
)) {
24918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
24920 arg2
= static_cast< int >(val2
);
24922 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24923 if (!SWIG_IsOK(ecode3
)) {
24924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
24926 arg3
= static_cast< int >(val3
);
24929 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24930 if (!SWIG_IsOK(ecode4
)) {
24931 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
24933 arg4
= static_cast< int >(val4
);
24936 if (!wxPyCheckForApp()) SWIG_fail
;
24937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24938 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
24939 wxPyEndAllowThreads(__tstate
);
24940 if (PyErr_Occurred()) SWIG_fail
;
24943 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
24951 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24952 PyObject
*resultobj
= 0;
24953 wxImageList
*arg1
= (wxImageList
*) 0 ;
24956 PyObject
*swig_obj
[1] ;
24958 if (!args
) SWIG_fail
;
24959 swig_obj
[0] = args
;
24960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
24961 if (!SWIG_IsOK(res1
)) {
24962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
24964 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24972 resultobj
= SWIG_Py_Void();
24979 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
= 0;
24981 wxImageList
*arg1
= (wxImageList
*) 0 ;
24982 wxBitmap
*arg2
= 0 ;
24983 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
24984 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
24992 PyObject
* obj0
= 0 ;
24993 PyObject
* obj1
= 0 ;
24994 PyObject
* obj2
= 0 ;
24995 char * kwnames
[] = {
24996 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
24999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25001 if (!SWIG_IsOK(res1
)) {
25002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
25004 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25006 if (!SWIG_IsOK(res2
)) {
25007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25012 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25014 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25015 if (!SWIG_IsOK(res3
)) {
25016 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
25019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
25021 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
25024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25025 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25029 resultobj
= SWIG_From_int(static_cast< int >(result
));
25036 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25037 PyObject
*resultobj
= 0;
25038 wxImageList
*arg1
= (wxImageList
*) 0 ;
25039 wxBitmap
*arg2
= 0 ;
25040 wxColour
*arg3
= 0 ;
25047 PyObject
* obj0
= 0 ;
25048 PyObject
* obj1
= 0 ;
25049 PyObject
* obj2
= 0 ;
25050 char * kwnames
[] = {
25051 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
25054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25056 if (!SWIG_IsOK(res1
)) {
25057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
25059 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25060 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25061 if (!SWIG_IsOK(res2
)) {
25062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25067 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25070 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25074 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25078 resultobj
= SWIG_From_int(static_cast< int >(result
));
25085 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
= 0;
25087 wxImageList
*arg1
= (wxImageList
*) 0 ;
25094 PyObject
* obj0
= 0 ;
25095 PyObject
* obj1
= 0 ;
25096 char * kwnames
[] = {
25097 (char *) "self",(char *) "icon", NULL
25100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25102 if (!SWIG_IsOK(res1
)) {
25103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
25105 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25106 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
25107 if (!SWIG_IsOK(res2
)) {
25108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
25111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
25113 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
25115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25116 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
25117 wxPyEndAllowThreads(__tstate
);
25118 if (PyErr_Occurred()) SWIG_fail
;
25120 resultobj
= SWIG_From_int(static_cast< int >(result
));
25127 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25128 PyObject
*resultobj
= 0;
25129 wxImageList
*arg1
= (wxImageList
*) 0 ;
25131 SwigValueWrapper
<wxBitmap
> result
;
25136 PyObject
* obj0
= 0 ;
25137 PyObject
* obj1
= 0 ;
25138 char * kwnames
[] = {
25139 (char *) "self",(char *) "index", NULL
25142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25144 if (!SWIG_IsOK(res1
)) {
25145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
25147 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25149 if (!SWIG_IsOK(ecode2
)) {
25150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
25152 arg2
= static_cast< int >(val2
);
25154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25155 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
25166 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25167 PyObject
*resultobj
= 0;
25168 wxImageList
*arg1
= (wxImageList
*) 0 ;
25175 PyObject
* obj0
= 0 ;
25176 PyObject
* obj1
= 0 ;
25177 char * kwnames
[] = {
25178 (char *) "self",(char *) "index", NULL
25181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25183 if (!SWIG_IsOK(res1
)) {
25184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
25186 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25188 if (!SWIG_IsOK(ecode2
)) {
25189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
25191 arg2
= static_cast< int >(val2
);
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25198 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
25205 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25206 PyObject
*resultobj
= 0;
25207 wxImageList
*arg1
= (wxImageList
*) 0 ;
25209 wxBitmap
*arg3
= 0 ;
25210 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
25211 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
25221 PyObject
* obj0
= 0 ;
25222 PyObject
* obj1
= 0 ;
25223 PyObject
* obj2
= 0 ;
25224 PyObject
* obj3
= 0 ;
25225 char * kwnames
[] = {
25226 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
25229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25231 if (!SWIG_IsOK(res1
)) {
25232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
25234 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25236 if (!SWIG_IsOK(ecode2
)) {
25237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
25239 arg2
= static_cast< int >(val2
);
25240 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25241 if (!SWIG_IsOK(res3
)) {
25242 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
25245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
25247 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
25249 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25250 if (!SWIG_IsOK(res4
)) {
25251 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
25254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
25256 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25273 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25274 PyObject
*resultobj
= 0;
25275 wxImageList
*arg1
= (wxImageList
*) 0 ;
25280 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
25281 bool arg7
= (bool) (bool)false ;
25297 PyObject
* obj0
= 0 ;
25298 PyObject
* obj1
= 0 ;
25299 PyObject
* obj2
= 0 ;
25300 PyObject
* obj3
= 0 ;
25301 PyObject
* obj4
= 0 ;
25302 PyObject
* obj5
= 0 ;
25303 PyObject
* obj6
= 0 ;
25304 char * kwnames
[] = {
25305 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
25308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25310 if (!SWIG_IsOK(res1
)) {
25311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
25313 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25315 if (!SWIG_IsOK(ecode2
)) {
25316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
25318 arg2
= static_cast< int >(val2
);
25319 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25320 if (!SWIG_IsOK(res3
)) {
25321 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
25324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
25326 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25327 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25328 if (!SWIG_IsOK(ecode4
)) {
25329 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
25331 arg4
= static_cast< int >(val4
);
25332 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25333 if (!SWIG_IsOK(ecode5
)) {
25334 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
25336 arg5
= static_cast< int >(val5
);
25338 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
25339 if (!SWIG_IsOK(ecode6
)) {
25340 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
25342 arg6
= static_cast< int >(val6
);
25345 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
25346 if (!SWIG_IsOK(ecode7
)) {
25347 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
25349 arg7
= static_cast< bool >(val7
);
25352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25353 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25366 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25367 PyObject
*resultobj
= 0;
25368 wxImageList
*arg1
= (wxImageList
*) 0 ;
25372 PyObject
*swig_obj
[1] ;
25374 if (!args
) SWIG_fail
;
25375 swig_obj
[0] = args
;
25376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25377 if (!SWIG_IsOK(res1
)) {
25378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
25380 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25383 result
= (int)(arg1
)->GetImageCount();
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25387 resultobj
= SWIG_From_int(static_cast< int >(result
));
25394 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25395 PyObject
*resultobj
= 0;
25396 wxImageList
*arg1
= (wxImageList
*) 0 ;
25403 PyObject
* obj0
= 0 ;
25404 PyObject
* obj1
= 0 ;
25405 char * kwnames
[] = {
25406 (char *) "self",(char *) "index", NULL
25409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25411 if (!SWIG_IsOK(res1
)) {
25412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
25414 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25416 if (!SWIG_IsOK(ecode2
)) {
25417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
25419 arg2
= static_cast< int >(val2
);
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 result
= (bool)(arg1
)->Remove(arg2
);
25423 wxPyEndAllowThreads(__tstate
);
25424 if (PyErr_Occurred()) SWIG_fail
;
25427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25435 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25436 PyObject
*resultobj
= 0;
25437 wxImageList
*arg1
= (wxImageList
*) 0 ;
25441 PyObject
*swig_obj
[1] ;
25443 if (!args
) SWIG_fail
;
25444 swig_obj
[0] = args
;
25445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25446 if (!SWIG_IsOK(res1
)) {
25447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
25449 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 result
= (bool)(arg1
)->RemoveAll();
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25465 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25466 PyObject
*resultobj
= 0;
25467 wxImageList
*arg1
= (wxImageList
*) 0 ;
25476 int res3
= SWIG_TMPOBJ
;
25478 int res4
= SWIG_TMPOBJ
;
25479 PyObject
* obj0
= 0 ;
25480 PyObject
* obj1
= 0 ;
25481 char * kwnames
[] = {
25482 (char *) "self",(char *) "index", NULL
25487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25489 if (!SWIG_IsOK(res1
)) {
25490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
25492 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25494 if (!SWIG_IsOK(ecode2
)) {
25495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
25497 arg2
= static_cast< int >(val2
);
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25500 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
25501 wxPyEndAllowThreads(__tstate
);
25502 if (PyErr_Occurred()) SWIG_fail
;
25504 resultobj
= SWIG_Py_Void();
25505 if (SWIG_IsTmpObj(res3
)) {
25506 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25508 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25509 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25511 if (SWIG_IsTmpObj(res4
)) {
25512 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
25514 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25515 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
25523 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25525 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25526 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
25527 return SWIG_Py_Void();
25530 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25531 return SWIG_Python_InitShadowInstance(args
);
25534 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25535 PyObject
*resultobj
= 0;
25536 wxStockGDI
*result
= 0 ;
25538 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
25540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25541 result
= (wxStockGDI
*)new wxStockGDI();
25542 wxPyEndAllowThreads(__tstate
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
25552 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25553 PyObject
*resultobj
= 0;
25554 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
25557 PyObject
*swig_obj
[1] ;
25559 if (!args
) SWIG_fail
;
25560 swig_obj
[0] = args
;
25561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
25562 if (!SWIG_IsOK(res1
)) {
25563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
25565 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25573 resultobj
= SWIG_Py_Void();
25580 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25581 PyObject
*resultobj
= 0;
25583 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
25585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25586 wxStockGDI::DeleteAll();
25587 wxPyEndAllowThreads(__tstate
);
25588 if (PyErr_Occurred()) SWIG_fail
;
25590 resultobj
= SWIG_Py_Void();
25597 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25598 PyObject
*resultobj
= 0;
25599 wxStockGDI
*result
= 0 ;
25601 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
25603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25605 wxStockGDI
&_result_ref
= wxStockGDI::instance();
25606 result
= (wxStockGDI
*) &_result_ref
;
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
25618 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25619 PyObject
*resultobj
= 0;
25620 wxStockGDI::Item arg1
;
25621 wxBrush
*result
= 0 ;
25624 PyObject
* obj0
= 0 ;
25625 char * kwnames
[] = {
25626 (char *) "item", NULL
25629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
25630 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25631 if (!SWIG_IsOK(ecode1
)) {
25632 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
25634 arg1
= static_cast< wxStockGDI::Item
>(val1
);
25636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25637 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
25638 wxPyEndAllowThreads(__tstate
);
25639 if (PyErr_Occurred()) SWIG_fail
;
25641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
25648 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25649 PyObject
*resultobj
= 0;
25650 wxStockGDI::Item arg1
;
25651 wxColour
*result
= 0 ;
25654 PyObject
* obj0
= 0 ;
25655 char * kwnames
[] = {
25656 (char *) "item", NULL
25659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
25660 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25661 if (!SWIG_IsOK(ecode1
)) {
25662 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
25664 arg1
= static_cast< wxStockGDI::Item
>(val1
);
25666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25667 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
25668 wxPyEndAllowThreads(__tstate
);
25669 if (PyErr_Occurred()) SWIG_fail
;
25671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
25678 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25679 PyObject
*resultobj
= 0;
25680 wxStockGDI::Item arg1
;
25681 wxCursor
*result
= 0 ;
25684 PyObject
* obj0
= 0 ;
25685 char * kwnames
[] = {
25686 (char *) "item", NULL
25689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
25690 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25691 if (!SWIG_IsOK(ecode1
)) {
25692 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
25694 arg1
= static_cast< wxStockGDI::Item
>(val1
);
25696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25697 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
25708 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25709 PyObject
*resultobj
= 0;
25710 wxStockGDI::Item arg1
;
25711 wxPen
*result
= 0 ;
25714 PyObject
* obj0
= 0 ;
25715 char * kwnames
[] = {
25716 (char *) "item", NULL
25719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
25720 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25721 if (!SWIG_IsOK(ecode1
)) {
25722 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
25724 arg1
= static_cast< wxStockGDI::Item
>(val1
);
25726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25727 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
25728 wxPyEndAllowThreads(__tstate
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
25738 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25739 PyObject
*resultobj
= 0;
25740 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
25741 wxStockGDI::Item arg2
;
25742 wxFont
*result
= 0 ;
25747 PyObject
* obj0
= 0 ;
25748 PyObject
* obj1
= 0 ;
25749 char * kwnames
[] = {
25750 (char *) "self",(char *) "item", NULL
25753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
25755 if (!SWIG_IsOK(res1
)) {
25756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
25758 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
25759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25760 if (!SWIG_IsOK(ecode2
)) {
25761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
25763 arg2
= static_cast< wxStockGDI::Item
>(val2
);
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
25767 wxPyEndAllowThreads(__tstate
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
25777 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25779 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25780 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
25781 return SWIG_Py_Void();
25784 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25785 return SWIG_Python_InitShadowInstance(args
);
25788 SWIGINTERN
int NullBitmap_set(PyObject
*) {
25789 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
25794 SWIGINTERN PyObject
*NullBitmap_get(void) {
25795 PyObject
*pyobj
= 0;
25797 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
25802 SWIGINTERN
int NullIcon_set(PyObject
*) {
25803 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
25808 SWIGINTERN PyObject
*NullIcon_get(void) {
25809 PyObject
*pyobj
= 0;
25811 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
25816 SWIGINTERN
int NullCursor_set(PyObject
*) {
25817 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
25822 SWIGINTERN PyObject
*NullCursor_get(void) {
25823 PyObject
*pyobj
= 0;
25825 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
25830 SWIGINTERN
int NullPen_set(PyObject
*) {
25831 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
25836 SWIGINTERN PyObject
*NullPen_get(void) {
25837 PyObject
*pyobj
= 0;
25839 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
25844 SWIGINTERN
int NullBrush_set(PyObject
*) {
25845 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
25850 SWIGINTERN PyObject
*NullBrush_get(void) {
25851 PyObject
*pyobj
= 0;
25853 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
25858 SWIGINTERN
int NullPalette_set(PyObject
*) {
25859 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
25864 SWIGINTERN PyObject
*NullPalette_get(void) {
25865 PyObject
*pyobj
= 0;
25867 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
25872 SWIGINTERN
int NullFont_set(PyObject
*) {
25873 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
25878 SWIGINTERN PyObject
*NullFont_get(void) {
25879 PyObject
*pyobj
= 0;
25881 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
25886 SWIGINTERN
int NullColour_set(PyObject
*) {
25887 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
25892 SWIGINTERN PyObject
*NullColour_get(void) {
25893 PyObject
*pyobj
= 0;
25895 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
25900 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25901 PyObject
*resultobj
= 0;
25902 wxGDIObjListBase
*result
= 0 ;
25904 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25907 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
25918 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25919 PyObject
*resultobj
= 0;
25920 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
25923 PyObject
*swig_obj
[1] ;
25925 if (!args
) SWIG_fail
;
25926 swig_obj
[0] = args
;
25927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
25928 if (!SWIG_IsOK(res1
)) {
25929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
25931 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
25933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25936 wxPyEndAllowThreads(__tstate
);
25937 if (PyErr_Occurred()) SWIG_fail
;
25939 resultobj
= SWIG_Py_Void();
25946 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25948 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25949 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
25950 return SWIG_Py_Void();
25953 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25954 return SWIG_Python_InitShadowInstance(args
);
25957 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25958 PyObject
*resultobj
= 0;
25959 wxPenList
*arg1
= (wxPenList
*) 0 ;
25960 wxColour
*arg2
= 0 ;
25963 wxPen
*result
= 0 ;
25971 PyObject
* obj0
= 0 ;
25972 PyObject
* obj1
= 0 ;
25973 PyObject
* obj2
= 0 ;
25974 PyObject
* obj3
= 0 ;
25975 char * kwnames
[] = {
25976 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
25979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25981 if (!SWIG_IsOK(res1
)) {
25982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25984 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25987 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25989 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25990 if (!SWIG_IsOK(ecode3
)) {
25991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
25993 arg3
= static_cast< int >(val3
);
25994 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25995 if (!SWIG_IsOK(ecode4
)) {
25996 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
25998 arg4
= static_cast< int >(val4
);
26000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26001 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
26002 wxPyEndAllowThreads(__tstate
);
26003 if (PyErr_Occurred()) SWIG_fail
;
26005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
26012 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26013 PyObject
*resultobj
= 0;
26014 wxPenList
*arg1
= (wxPenList
*) 0 ;
26015 wxPen
*arg2
= (wxPen
*) 0 ;
26020 PyObject
* obj0
= 0 ;
26021 PyObject
* obj1
= 0 ;
26022 char * kwnames
[] = {
26023 (char *) "self",(char *) "pen", NULL
26026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
26028 if (!SWIG_IsOK(res1
)) {
26029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
26031 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
26032 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
26033 if (!SWIG_IsOK(res2
)) {
26034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
26036 arg2
= reinterpret_cast< wxPen
* >(argp2
);
26038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26039 (arg1
)->AddPen(arg2
);
26040 wxPyEndAllowThreads(__tstate
);
26041 if (PyErr_Occurred()) SWIG_fail
;
26043 resultobj
= SWIG_Py_Void();
26050 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26051 PyObject
*resultobj
= 0;
26052 wxPenList
*arg1
= (wxPenList
*) 0 ;
26053 wxPen
*arg2
= (wxPen
*) 0 ;
26058 PyObject
* obj0
= 0 ;
26059 PyObject
* obj1
= 0 ;
26060 char * kwnames
[] = {
26061 (char *) "self",(char *) "pen", NULL
26064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
26066 if (!SWIG_IsOK(res1
)) {
26067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
26069 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
26070 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
26071 if (!SWIG_IsOK(res2
)) {
26072 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
26074 arg2
= reinterpret_cast< wxPen
* >(argp2
);
26076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26077 (arg1
)->RemovePen(arg2
);
26078 wxPyEndAllowThreads(__tstate
);
26079 if (PyErr_Occurred()) SWIG_fail
;
26081 resultobj
= SWIG_Py_Void();
26088 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26091 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
26092 return SWIG_Py_Void();
26095 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26096 PyObject
*resultobj
= 0;
26097 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
26098 wxColour
*arg2
= 0 ;
26099 int arg3
= (int) wxSOLID
;
26100 wxBrush
*result
= 0 ;
26106 PyObject
* obj0
= 0 ;
26107 PyObject
* obj1
= 0 ;
26108 PyObject
* obj2
= 0 ;
26109 char * kwnames
[] = {
26110 (char *) "self",(char *) "colour",(char *) "style", NULL
26113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
26115 if (!SWIG_IsOK(res1
)) {
26116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
26118 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
26121 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26124 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26125 if (!SWIG_IsOK(ecode3
)) {
26126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
26128 arg3
= static_cast< int >(val3
);
26131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26132 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
26133 wxPyEndAllowThreads(__tstate
);
26134 if (PyErr_Occurred()) SWIG_fail
;
26136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
26143 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26144 PyObject
*resultobj
= 0;
26145 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
26146 wxBrush
*arg2
= (wxBrush
*) 0 ;
26151 PyObject
* obj0
= 0 ;
26152 PyObject
* obj1
= 0 ;
26153 char * kwnames
[] = {
26154 (char *) "self",(char *) "brush", NULL
26157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
26159 if (!SWIG_IsOK(res1
)) {
26160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
26162 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
26163 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
26164 if (!SWIG_IsOK(res2
)) {
26165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
26167 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
26169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26170 (arg1
)->AddBrush(arg2
);
26171 wxPyEndAllowThreads(__tstate
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26174 resultobj
= SWIG_Py_Void();
26181 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
= 0;
26183 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
26184 wxBrush
*arg2
= (wxBrush
*) 0 ;
26189 PyObject
* obj0
= 0 ;
26190 PyObject
* obj1
= 0 ;
26191 char * kwnames
[] = {
26192 (char *) "self",(char *) "brush", NULL
26195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
26197 if (!SWIG_IsOK(res1
)) {
26198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
26200 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
26201 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
26202 if (!SWIG_IsOK(res2
)) {
26203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
26205 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
26207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 (arg1
)->RemoveBrush(arg2
);
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26212 resultobj
= SWIG_Py_Void();
26219 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26222 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
26223 return SWIG_Py_Void();
26226 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26227 PyObject
*resultobj
= 0;
26228 wxFontList
*arg1
= (wxFontList
*) 0 ;
26233 bool arg6
= (bool) false ;
26234 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26235 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26236 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
26237 wxFont
*result
= 0 ;
26250 bool temp7
= false ;
26253 PyObject
* obj0
= 0 ;
26254 PyObject
* obj1
= 0 ;
26255 PyObject
* obj2
= 0 ;
26256 PyObject
* obj3
= 0 ;
26257 PyObject
* obj4
= 0 ;
26258 PyObject
* obj5
= 0 ;
26259 PyObject
* obj6
= 0 ;
26260 PyObject
* obj7
= 0 ;
26261 char * kwnames
[] = {
26262 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
26265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
26266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
26267 if (!SWIG_IsOK(res1
)) {
26268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
26270 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
26271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26272 if (!SWIG_IsOK(ecode2
)) {
26273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
26275 arg2
= static_cast< int >(val2
);
26276 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26277 if (!SWIG_IsOK(ecode3
)) {
26278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
26280 arg3
= static_cast< int >(val3
);
26281 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26282 if (!SWIG_IsOK(ecode4
)) {
26283 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
26285 arg4
= static_cast< int >(val4
);
26286 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26287 if (!SWIG_IsOK(ecode5
)) {
26288 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
26290 arg5
= static_cast< int >(val5
);
26292 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
26293 if (!SWIG_IsOK(ecode6
)) {
26294 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
26296 arg6
= static_cast< bool >(val6
);
26300 arg7
= wxString_in_helper(obj6
);
26301 if (arg7
== NULL
) SWIG_fail
;
26306 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
26307 if (!SWIG_IsOK(ecode8
)) {
26308 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
26310 arg8
= static_cast< wxFontEncoding
>(val8
);
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
26333 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26334 PyObject
*resultobj
= 0;
26335 wxFontList
*arg1
= (wxFontList
*) 0 ;
26336 wxFont
*arg2
= (wxFont
*) 0 ;
26341 PyObject
* obj0
= 0 ;
26342 PyObject
* obj1
= 0 ;
26343 char * kwnames
[] = {
26344 (char *) "self",(char *) "font", NULL
26347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
26349 if (!SWIG_IsOK(res1
)) {
26350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
26352 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
26353 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
26354 if (!SWIG_IsOK(res2
)) {
26355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
26357 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26360 (arg1
)->AddFont(arg2
);
26361 wxPyEndAllowThreads(__tstate
);
26362 if (PyErr_Occurred()) SWIG_fail
;
26364 resultobj
= SWIG_Py_Void();
26371 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26372 PyObject
*resultobj
= 0;
26373 wxFontList
*arg1
= (wxFontList
*) 0 ;
26374 wxFont
*arg2
= (wxFont
*) 0 ;
26379 PyObject
* obj0
= 0 ;
26380 PyObject
* obj1
= 0 ;
26381 char * kwnames
[] = {
26382 (char *) "self",(char *) "font", NULL
26385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
26387 if (!SWIG_IsOK(res1
)) {
26388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
26390 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
26391 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
26392 if (!SWIG_IsOK(res2
)) {
26393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
26395 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26398 (arg1
)->RemoveFont(arg2
);
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26402 resultobj
= SWIG_Py_Void();
26409 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26412 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
26413 return SWIG_Py_Void();
26416 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26417 PyObject
*resultobj
= 0;
26418 wxColourDatabase
*result
= 0 ;
26420 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
26422 if (!wxPyCheckForApp()) SWIG_fail
;
26423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26424 result
= (wxColourDatabase
*)new wxColourDatabase();
26425 wxPyEndAllowThreads(__tstate
);
26426 if (PyErr_Occurred()) SWIG_fail
;
26428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
26435 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26436 PyObject
*resultobj
= 0;
26437 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26440 PyObject
*swig_obj
[1] ;
26442 if (!args
) SWIG_fail
;
26443 swig_obj
[0] = args
;
26444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
26445 if (!SWIG_IsOK(res1
)) {
26446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
26448 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26453 wxPyEndAllowThreads(__tstate
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26456 resultobj
= SWIG_Py_Void();
26463 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
= 0;
26465 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26466 wxString
*arg2
= 0 ;
26470 bool temp2
= false ;
26471 PyObject
* obj0
= 0 ;
26472 PyObject
* obj1
= 0 ;
26473 char * kwnames
[] = {
26474 (char *) "self",(char *) "name", NULL
26477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26479 if (!SWIG_IsOK(res1
)) {
26480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
26482 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26484 arg2
= wxString_in_helper(obj1
);
26485 if (arg2
== NULL
) SWIG_fail
;
26489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26490 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
26491 wxPyEndAllowThreads(__tstate
);
26492 if (PyErr_Occurred()) SWIG_fail
;
26494 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26509 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26510 PyObject
*resultobj
= 0;
26511 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26512 wxColour
*arg2
= 0 ;
26517 PyObject
* obj0
= 0 ;
26518 PyObject
* obj1
= 0 ;
26519 char * kwnames
[] = {
26520 (char *) "self",(char *) "colour", NULL
26523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26525 if (!SWIG_IsOK(res1
)) {
26526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
26528 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26531 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26535 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
26536 wxPyEndAllowThreads(__tstate
);
26537 if (PyErr_Occurred()) SWIG_fail
;
26541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26552 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26553 PyObject
*resultobj
= 0;
26554 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26555 wxString
*arg2
= 0 ;
26556 wxColour
*arg3
= 0 ;
26559 bool temp2
= false ;
26561 PyObject
* obj0
= 0 ;
26562 PyObject
* obj1
= 0 ;
26563 PyObject
* obj2
= 0 ;
26564 char * kwnames
[] = {
26565 (char *) "self",(char *) "name",(char *) "colour", NULL
26568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26570 if (!SWIG_IsOK(res1
)) {
26571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
26573 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26575 arg2
= wxString_in_helper(obj1
);
26576 if (arg2
== NULL
) SWIG_fail
;
26581 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26585 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
26586 wxPyEndAllowThreads(__tstate
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26589 resultobj
= SWIG_Py_Void();
26604 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26605 PyObject
*resultobj
= 0;
26606 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26607 wxString
*arg2
= 0 ;
26613 bool temp2
= false ;
26620 PyObject
* obj0
= 0 ;
26621 PyObject
* obj1
= 0 ;
26622 PyObject
* obj2
= 0 ;
26623 PyObject
* obj3
= 0 ;
26624 PyObject
* obj4
= 0 ;
26625 char * kwnames
[] = {
26626 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
26629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26631 if (!SWIG_IsOK(res1
)) {
26632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
26634 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26636 arg2
= wxString_in_helper(obj1
);
26637 if (arg2
== NULL
) SWIG_fail
;
26640 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26641 if (!SWIG_IsOK(ecode3
)) {
26642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
26644 arg3
= static_cast< int >(val3
);
26645 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26646 if (!SWIG_IsOK(ecode4
)) {
26647 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
26649 arg4
= static_cast< int >(val4
);
26650 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26651 if (!SWIG_IsOK(ecode5
)) {
26652 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
26654 arg5
= static_cast< int >(val5
);
26656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26657 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26658 wxPyEndAllowThreads(__tstate
);
26659 if (PyErr_Occurred()) SWIG_fail
;
26661 resultobj
= SWIG_Py_Void();
26676 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26679 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
26680 return SWIG_Py_Void();
26683 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26684 return SWIG_Python_InitShadowInstance(args
);
26687 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26688 PyObject
*resultobj
= 0;
26689 wxFontList
*result
= 0 ;
26691 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
26693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26694 result
= (wxFontList
*)_wxPyInitTheFontList();
26695 wxPyEndAllowThreads(__tstate
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
26705 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26706 PyObject
*resultobj
= 0;
26707 wxPenList
*result
= 0 ;
26709 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
26711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26712 result
= (wxPenList
*)_wxPyInitThePenList();
26713 wxPyEndAllowThreads(__tstate
);
26714 if (PyErr_Occurred()) SWIG_fail
;
26716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
26723 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26724 PyObject
*resultobj
= 0;
26725 wxBrushList
*result
= 0 ;
26727 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
26729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26730 result
= (wxBrushList
*)_wxPyInitTheBrushList();
26731 wxPyEndAllowThreads(__tstate
);
26732 if (PyErr_Occurred()) SWIG_fail
;
26734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
26741 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26742 PyObject
*resultobj
= 0;
26743 wxColourDatabase
*result
= 0 ;
26745 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
26747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26748 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
26749 wxPyEndAllowThreads(__tstate
);
26750 if (PyErr_Occurred()) SWIG_fail
;
26752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26759 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26760 PyObject
*resultobj
= 0;
26761 wxEffects
*result
= 0 ;
26763 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
26765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26766 result
= (wxEffects
*)new wxEffects();
26767 wxPyEndAllowThreads(__tstate
);
26768 if (PyErr_Occurred()) SWIG_fail
;
26770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
26777 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26778 PyObject
*resultobj
= 0;
26779 wxEffects
*arg1
= (wxEffects
*) 0 ;
26783 PyObject
*swig_obj
[1] ;
26785 if (!args
) SWIG_fail
;
26786 swig_obj
[0] = args
;
26787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26788 if (!SWIG_IsOK(res1
)) {
26789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
26791 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26794 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
26795 wxPyEndAllowThreads(__tstate
);
26796 if (PyErr_Occurred()) SWIG_fail
;
26798 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26805 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26806 PyObject
*resultobj
= 0;
26807 wxEffects
*arg1
= (wxEffects
*) 0 ;
26811 PyObject
*swig_obj
[1] ;
26813 if (!args
) SWIG_fail
;
26814 swig_obj
[0] = args
;
26815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26816 if (!SWIG_IsOK(res1
)) {
26817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26819 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26822 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
26823 wxPyEndAllowThreads(__tstate
);
26824 if (PyErr_Occurred()) SWIG_fail
;
26826 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26833 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26834 PyObject
*resultobj
= 0;
26835 wxEffects
*arg1
= (wxEffects
*) 0 ;
26839 PyObject
*swig_obj
[1] ;
26841 if (!args
) SWIG_fail
;
26842 swig_obj
[0] = args
;
26843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26844 if (!SWIG_IsOK(res1
)) {
26845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
26847 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26850 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
26851 wxPyEndAllowThreads(__tstate
);
26852 if (PyErr_Occurred()) SWIG_fail
;
26854 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26861 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26862 PyObject
*resultobj
= 0;
26863 wxEffects
*arg1
= (wxEffects
*) 0 ;
26867 PyObject
*swig_obj
[1] ;
26869 if (!args
) SWIG_fail
;
26870 swig_obj
[0] = args
;
26871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26872 if (!SWIG_IsOK(res1
)) {
26873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26875 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26878 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
26879 wxPyEndAllowThreads(__tstate
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26882 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26889 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26890 PyObject
*resultobj
= 0;
26891 wxEffects
*arg1
= (wxEffects
*) 0 ;
26895 PyObject
*swig_obj
[1] ;
26897 if (!args
) SWIG_fail
;
26898 swig_obj
[0] = args
;
26899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26900 if (!SWIG_IsOK(res1
)) {
26901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26903 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26906 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
26907 wxPyEndAllowThreads(__tstate
);
26908 if (PyErr_Occurred()) SWIG_fail
;
26910 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26917 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26918 PyObject
*resultobj
= 0;
26919 wxEffects
*arg1
= (wxEffects
*) 0 ;
26920 wxColour
*arg2
= 0 ;
26924 PyObject
* obj0
= 0 ;
26925 PyObject
* obj1
= 0 ;
26926 char * kwnames
[] = {
26927 (char *) "self",(char *) "c", NULL
26930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26932 if (!SWIG_IsOK(res1
)) {
26933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26935 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26938 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26942 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
26943 wxPyEndAllowThreads(__tstate
);
26944 if (PyErr_Occurred()) SWIG_fail
;
26946 resultobj
= SWIG_Py_Void();
26953 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26954 PyObject
*resultobj
= 0;
26955 wxEffects
*arg1
= (wxEffects
*) 0 ;
26956 wxColour
*arg2
= 0 ;
26960 PyObject
* obj0
= 0 ;
26961 PyObject
* obj1
= 0 ;
26962 char * kwnames
[] = {
26963 (char *) "self",(char *) "c", NULL
26966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26968 if (!SWIG_IsOK(res1
)) {
26969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26971 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26974 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26978 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
26979 wxPyEndAllowThreads(__tstate
);
26980 if (PyErr_Occurred()) SWIG_fail
;
26982 resultobj
= SWIG_Py_Void();
26989 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26990 PyObject
*resultobj
= 0;
26991 wxEffects
*arg1
= (wxEffects
*) 0 ;
26992 wxColour
*arg2
= 0 ;
26996 PyObject
* obj0
= 0 ;
26997 PyObject
* obj1
= 0 ;
26998 char * kwnames
[] = {
26999 (char *) "self",(char *) "c", NULL
27002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
27004 if (!SWIG_IsOK(res1
)) {
27005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
27007 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27010 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27014 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
27015 wxPyEndAllowThreads(__tstate
);
27016 if (PyErr_Occurred()) SWIG_fail
;
27018 resultobj
= SWIG_Py_Void();
27025 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27026 PyObject
*resultobj
= 0;
27027 wxEffects
*arg1
= (wxEffects
*) 0 ;
27028 wxColour
*arg2
= 0 ;
27032 PyObject
* obj0
= 0 ;
27033 PyObject
* obj1
= 0 ;
27034 char * kwnames
[] = {
27035 (char *) "self",(char *) "c", NULL
27038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
27040 if (!SWIG_IsOK(res1
)) {
27041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
27043 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27046 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27050 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
27051 wxPyEndAllowThreads(__tstate
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27054 resultobj
= SWIG_Py_Void();
27061 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27062 PyObject
*resultobj
= 0;
27063 wxEffects
*arg1
= (wxEffects
*) 0 ;
27064 wxColour
*arg2
= 0 ;
27068 PyObject
* obj0
= 0 ;
27069 PyObject
* obj1
= 0 ;
27070 char * kwnames
[] = {
27071 (char *) "self",(char *) "c", NULL
27074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
27076 if (!SWIG_IsOK(res1
)) {
27077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
27079 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27082 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27086 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
27087 wxPyEndAllowThreads(__tstate
);
27088 if (PyErr_Occurred()) SWIG_fail
;
27090 resultobj
= SWIG_Py_Void();
27097 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27098 PyObject
*resultobj
= 0;
27099 wxEffects
*arg1
= (wxEffects
*) 0 ;
27100 wxColour
*arg2
= 0 ;
27101 wxColour
*arg3
= 0 ;
27102 wxColour
*arg4
= 0 ;
27103 wxColour
*arg5
= 0 ;
27104 wxColour
*arg6
= 0 ;
27112 PyObject
* obj0
= 0 ;
27113 PyObject
* obj1
= 0 ;
27114 PyObject
* obj2
= 0 ;
27115 PyObject
* obj3
= 0 ;
27116 PyObject
* obj4
= 0 ;
27117 PyObject
* obj5
= 0 ;
27118 char * kwnames
[] = {
27119 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
27122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
27124 if (!SWIG_IsOK(res1
)) {
27125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
27127 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27130 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27134 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27138 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
27142 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
27146 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27150 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
27151 wxPyEndAllowThreads(__tstate
);
27152 if (PyErr_Occurred()) SWIG_fail
;
27154 resultobj
= SWIG_Py_Void();
27161 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27162 PyObject
*resultobj
= 0;
27163 wxEffects
*arg1
= (wxEffects
*) 0 ;
27166 int arg4
= (int) 1 ;
27174 PyObject
* obj0
= 0 ;
27175 PyObject
* obj1
= 0 ;
27176 PyObject
* obj2
= 0 ;
27177 PyObject
* obj3
= 0 ;
27178 char * kwnames
[] = {
27179 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
27182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
27184 if (!SWIG_IsOK(res1
)) {
27185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
27187 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27188 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
27189 if (!SWIG_IsOK(res2
)) {
27190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
27193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
27195 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27198 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
27201 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27202 if (!SWIG_IsOK(ecode4
)) {
27203 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
27205 arg4
= static_cast< int >(val4
);
27208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27209 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
27210 wxPyEndAllowThreads(__tstate
);
27211 if (PyErr_Occurred()) SWIG_fail
;
27213 resultobj
= SWIG_Py_Void();
27220 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27221 PyObject
*resultobj
= 0;
27222 wxEffects
*arg1
= (wxEffects
*) 0 ;
27225 wxBitmap
*arg4
= 0 ;
27234 PyObject
* obj0
= 0 ;
27235 PyObject
* obj1
= 0 ;
27236 PyObject
* obj2
= 0 ;
27237 PyObject
* obj3
= 0 ;
27238 char * kwnames
[] = {
27239 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
27242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
27244 if (!SWIG_IsOK(res1
)) {
27245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
27247 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27250 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
27252 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27253 if (!SWIG_IsOK(res3
)) {
27254 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
27257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
27259 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27260 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
27261 if (!SWIG_IsOK(res4
)) {
27262 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
27265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
27267 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
27269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27270 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
27271 wxPyEndAllowThreads(__tstate
);
27272 if (PyErr_Occurred()) SWIG_fail
;
27275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27283 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27285 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27286 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
27287 return SWIG_Py_Void();
27290 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27291 return SWIG_Python_InitShadowInstance(args
);
27294 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27295 PyObject
*resultobj
= 0;
27299 wxSplitterRenderParams
*result
= 0 ;
27306 PyObject
* obj0
= 0 ;
27307 PyObject
* obj1
= 0 ;
27308 PyObject
* obj2
= 0 ;
27309 char * kwnames
[] = {
27310 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
27313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27314 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27315 if (!SWIG_IsOK(ecode1
)) {
27316 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
27318 arg1
= static_cast< int >(val1
);
27319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27320 if (!SWIG_IsOK(ecode2
)) {
27321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
27323 arg2
= static_cast< int >(val2
);
27324 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
27325 if (!SWIG_IsOK(ecode3
)) {
27326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
27328 arg3
= static_cast< bool >(val3
);
27330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27331 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
27332 wxPyEndAllowThreads(__tstate
);
27333 if (PyErr_Occurred()) SWIG_fail
;
27335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
27342 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27343 PyObject
*resultobj
= 0;
27344 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
27347 PyObject
*swig_obj
[1] ;
27349 if (!args
) SWIG_fail
;
27350 swig_obj
[0] = args
;
27351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
27352 if (!SWIG_IsOK(res1
)) {
27353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
27355 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
27357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27360 wxPyEndAllowThreads(__tstate
);
27361 if (PyErr_Occurred()) SWIG_fail
;
27363 resultobj
= SWIG_Py_Void();
27370 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27371 PyObject
*resultobj
= 0;
27372 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
27376 PyObject
*swig_obj
[1] ;
27378 if (!args
) SWIG_fail
;
27379 swig_obj
[0] = args
;
27380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
27381 if (!SWIG_IsOK(res1
)) {
27382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
27384 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
27385 result
= (int)(int) ((arg1
)->widthSash
);
27386 resultobj
= SWIG_From_int(static_cast< int >(result
));
27393 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27394 PyObject
*resultobj
= 0;
27395 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
27399 PyObject
*swig_obj
[1] ;
27401 if (!args
) SWIG_fail
;
27402 swig_obj
[0] = args
;
27403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
27404 if (!SWIG_IsOK(res1
)) {
27405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
27407 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
27408 result
= (int)(int) ((arg1
)->border
);
27409 resultobj
= SWIG_From_int(static_cast< int >(result
));
27416 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27417 PyObject
*resultobj
= 0;
27418 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
27422 PyObject
*swig_obj
[1] ;
27424 if (!args
) SWIG_fail
;
27425 swig_obj
[0] = args
;
27426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
27427 if (!SWIG_IsOK(res1
)) {
27428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
27430 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
27431 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
27432 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
27439 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27441 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27442 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
27443 return SWIG_Py_Void();
27446 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27447 return SWIG_Python_InitShadowInstance(args
);
27450 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27451 PyObject
*resultobj
= 0;
27452 wxHeaderButtonParams
*result
= 0 ;
27454 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
27456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27457 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
27458 wxPyEndAllowThreads(__tstate
);
27459 if (PyErr_Occurred()) SWIG_fail
;
27461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
27468 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27469 PyObject
*resultobj
= 0;
27470 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27473 PyObject
*swig_obj
[1] ;
27475 if (!args
) SWIG_fail
;
27476 swig_obj
[0] = args
;
27477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
27478 if (!SWIG_IsOK(res1
)) {
27479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27481 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27486 wxPyEndAllowThreads(__tstate
);
27487 if (PyErr_Occurred()) SWIG_fail
;
27489 resultobj
= SWIG_Py_Void();
27496 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27497 PyObject
*resultobj
= 0;
27498 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27499 wxColour
*arg2
= (wxColour
*) 0 ;
27503 PyObject
*swig_obj
[2] ;
27505 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
27506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27507 if (!SWIG_IsOK(res1
)) {
27508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27510 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27513 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27515 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
27517 resultobj
= SWIG_Py_Void();
27524 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27525 PyObject
*resultobj
= 0;
27526 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27527 wxColour
*result
= 0 ;
27530 PyObject
*swig_obj
[1] ;
27532 if (!args
) SWIG_fail
;
27533 swig_obj
[0] = args
;
27534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27535 if (!SWIG_IsOK(res1
)) {
27536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27538 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27539 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
27540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
27547 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27548 PyObject
*resultobj
= 0;
27549 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27550 wxColour
*arg2
= (wxColour
*) 0 ;
27554 PyObject
*swig_obj
[2] ;
27556 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
27557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27558 if (!SWIG_IsOK(res1
)) {
27559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27561 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27564 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27566 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
27568 resultobj
= SWIG_Py_Void();
27575 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27576 PyObject
*resultobj
= 0;
27577 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27578 wxColour
*result
= 0 ;
27581 PyObject
*swig_obj
[1] ;
27583 if (!args
) SWIG_fail
;
27584 swig_obj
[0] = args
;
27585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27586 if (!SWIG_IsOK(res1
)) {
27587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27589 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27590 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
27591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
27598 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27599 PyObject
*resultobj
= 0;
27600 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27601 wxString
*arg2
= (wxString
*) 0 ;
27604 bool temp2
= false ;
27605 PyObject
*swig_obj
[2] ;
27607 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
27608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27609 if (!SWIG_IsOK(res1
)) {
27610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27612 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27614 arg2
= wxString_in_helper(swig_obj
[1]);
27615 if (arg2
== NULL
) SWIG_fail
;
27618 if (arg1
) (arg1
)->m_labelText
= *arg2
;
27620 resultobj
= SWIG_Py_Void();
27635 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27636 PyObject
*resultobj
= 0;
27637 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27638 wxString
*result
= 0 ;
27641 PyObject
*swig_obj
[1] ;
27643 if (!args
) SWIG_fail
;
27644 swig_obj
[0] = args
;
27645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27646 if (!SWIG_IsOK(res1
)) {
27647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27649 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27650 result
= (wxString
*)& ((arg1
)->m_labelText
);
27653 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27655 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27664 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27665 PyObject
*resultobj
= 0;
27666 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27667 wxFont
*arg2
= (wxFont
*) 0 ;
27672 PyObject
*swig_obj
[2] ;
27674 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
27675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27676 if (!SWIG_IsOK(res1
)) {
27677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27679 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27680 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
27681 if (!SWIG_IsOK(res2
)) {
27682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
27684 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27685 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
27687 resultobj
= SWIG_Py_Void();
27694 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27695 PyObject
*resultobj
= 0;
27696 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27697 wxFont
*result
= 0 ;
27700 PyObject
*swig_obj
[1] ;
27702 if (!args
) SWIG_fail
;
27703 swig_obj
[0] = args
;
27704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27705 if (!SWIG_IsOK(res1
)) {
27706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27708 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27709 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
27710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
27717 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27718 PyObject
*resultobj
= 0;
27719 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27720 wxColour
*arg2
= (wxColour
*) 0 ;
27724 PyObject
*swig_obj
[2] ;
27726 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
27727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27728 if (!SWIG_IsOK(res1
)) {
27729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27731 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27734 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27736 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
27738 resultobj
= SWIG_Py_Void();
27745 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27746 PyObject
*resultobj
= 0;
27747 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27748 wxColour
*result
= 0 ;
27751 PyObject
*swig_obj
[1] ;
27753 if (!args
) SWIG_fail
;
27754 swig_obj
[0] = args
;
27755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27756 if (!SWIG_IsOK(res1
)) {
27757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27759 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27760 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
27761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
27768 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27769 PyObject
*resultobj
= 0;
27770 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27771 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
27776 PyObject
*swig_obj
[2] ;
27778 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
27779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27780 if (!SWIG_IsOK(res1
)) {
27781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27783 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27784 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
27785 if (!SWIG_IsOK(res2
)) {
27786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
27788 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27789 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
27791 resultobj
= SWIG_Py_Void();
27798 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27799 PyObject
*resultobj
= 0;
27800 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27801 wxBitmap
*result
= 0 ;
27804 PyObject
*swig_obj
[1] ;
27806 if (!args
) SWIG_fail
;
27807 swig_obj
[0] = args
;
27808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27809 if (!SWIG_IsOK(res1
)) {
27810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27812 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27813 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
27814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
27821 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27822 PyObject
*resultobj
= 0;
27823 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27829 PyObject
*swig_obj
[2] ;
27831 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
27832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27833 if (!SWIG_IsOK(res1
)) {
27834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27836 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27837 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27838 if (!SWIG_IsOK(ecode2
)) {
27839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
27841 arg2
= static_cast< int >(val2
);
27842 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
27844 resultobj
= SWIG_Py_Void();
27851 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27852 PyObject
*resultobj
= 0;
27853 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27857 PyObject
*swig_obj
[1] ;
27859 if (!args
) SWIG_fail
;
27860 swig_obj
[0] = args
;
27861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27862 if (!SWIG_IsOK(res1
)) {
27863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27865 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27866 result
= (int) ((arg1
)->m_labelAlignment
);
27867 resultobj
= SWIG_From_int(static_cast< int >(result
));
27874 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27876 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27877 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
27878 return SWIG_Py_Void();
27881 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27882 return SWIG_Python_InitShadowInstance(args
);
27885 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27886 PyObject
*resultobj
= 0;
27889 wxRendererVersion
*result
= 0 ;
27894 PyObject
* obj0
= 0 ;
27895 PyObject
* obj1
= 0 ;
27896 char * kwnames
[] = {
27897 (char *) "version_",(char *) "age_", NULL
27900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27901 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27902 if (!SWIG_IsOK(ecode1
)) {
27903 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
27905 arg1
= static_cast< int >(val1
);
27906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27907 if (!SWIG_IsOK(ecode2
)) {
27908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
27910 arg2
= static_cast< int >(val2
);
27912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27913 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
27914 wxPyEndAllowThreads(__tstate
);
27915 if (PyErr_Occurred()) SWIG_fail
;
27917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
27924 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27925 PyObject
*resultobj
= 0;
27926 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27929 PyObject
*swig_obj
[1] ;
27931 if (!args
) SWIG_fail
;
27932 swig_obj
[0] = args
;
27933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
27934 if (!SWIG_IsOK(res1
)) {
27935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27937 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27942 wxPyEndAllowThreads(__tstate
);
27943 if (PyErr_Occurred()) SWIG_fail
;
27945 resultobj
= SWIG_Py_Void();
27952 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27953 PyObject
*resultobj
= 0;
27954 wxRendererVersion
*arg1
= 0 ;
27958 PyObject
* obj0
= 0 ;
27959 char * kwnames
[] = {
27960 (char *) "ver", NULL
27963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
27964 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
27965 if (!SWIG_IsOK(res1
)) {
27966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
27969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
27971 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27974 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
27975 wxPyEndAllowThreads(__tstate
);
27976 if (PyErr_Occurred()) SWIG_fail
;
27979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27987 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27988 PyObject
*resultobj
= 0;
27989 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27993 PyObject
*swig_obj
[1] ;
27995 if (!args
) SWIG_fail
;
27996 swig_obj
[0] = args
;
27997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
27998 if (!SWIG_IsOK(res1
)) {
27999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
28001 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
28002 result
= (int)(int) ((arg1
)->version
);
28003 resultobj
= SWIG_From_int(static_cast< int >(result
));
28010 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28011 PyObject
*resultobj
= 0;
28012 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
28016 PyObject
*swig_obj
[1] ;
28018 if (!args
) SWIG_fail
;
28019 swig_obj
[0] = args
;
28020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
28021 if (!SWIG_IsOK(res1
)) {
28022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
28024 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
28025 result
= (int)(int) ((arg1
)->age
);
28026 resultobj
= SWIG_From_int(static_cast< int >(result
));
28033 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28036 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
28037 return SWIG_Py_Void();
28040 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28041 return SWIG_Python_InitShadowInstance(args
);
28044 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28045 PyObject
*resultobj
= 0;
28046 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28047 wxWindow
*arg2
= (wxWindow
*) 0 ;
28050 int arg5
= (int) 0 ;
28051 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
28052 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
28066 PyObject
* obj0
= 0 ;
28067 PyObject
* obj1
= 0 ;
28068 PyObject
* obj2
= 0 ;
28069 PyObject
* obj3
= 0 ;
28070 PyObject
* obj4
= 0 ;
28071 PyObject
* obj5
= 0 ;
28072 PyObject
* obj6
= 0 ;
28073 char * kwnames
[] = {
28074 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
28077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28079 if (!SWIG_IsOK(res1
)) {
28080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28082 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28083 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28084 if (!SWIG_IsOK(res2
)) {
28085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
28087 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28088 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28089 if (!SWIG_IsOK(res3
)) {
28090 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
28093 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
28095 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28098 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28101 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28102 if (!SWIG_IsOK(ecode5
)) {
28103 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
28105 arg5
= static_cast< int >(val5
);
28108 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28109 if (!SWIG_IsOK(ecode6
)) {
28110 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
28112 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
28115 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
28116 if (!SWIG_IsOK(res7
)) {
28117 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
28119 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
28122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28123 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
28124 wxPyEndAllowThreads(__tstate
);
28125 if (PyErr_Occurred()) SWIG_fail
;
28127 resultobj
= SWIG_Py_Void();
28134 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28135 PyObject
*resultobj
= 0;
28136 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28137 wxWindow
*arg2
= (wxWindow
*) 0 ;
28140 int arg5
= (int) 0 ;
28141 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
28142 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
28156 PyObject
* obj0
= 0 ;
28157 PyObject
* obj1
= 0 ;
28158 PyObject
* obj2
= 0 ;
28159 PyObject
* obj3
= 0 ;
28160 PyObject
* obj4
= 0 ;
28161 PyObject
* obj5
= 0 ;
28162 PyObject
* obj6
= 0 ;
28163 char * kwnames
[] = {
28164 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
28167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28169 if (!SWIG_IsOK(res1
)) {
28170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28172 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28173 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28174 if (!SWIG_IsOK(res2
)) {
28175 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
28177 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28178 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28179 if (!SWIG_IsOK(res3
)) {
28180 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
28183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
28185 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28188 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28191 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28192 if (!SWIG_IsOK(ecode5
)) {
28193 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
28195 arg5
= static_cast< int >(val5
);
28198 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28199 if (!SWIG_IsOK(ecode6
)) {
28200 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
28202 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
28205 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
28206 if (!SWIG_IsOK(res7
)) {
28207 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
28209 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
28212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28213 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
28214 wxPyEndAllowThreads(__tstate
);
28215 if (PyErr_Occurred()) SWIG_fail
;
28217 resultobj
= SWIG_Py_Void();
28224 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28225 PyObject
*resultobj
= 0;
28226 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28227 wxWindow
*arg2
= (wxWindow
*) 0 ;
28233 PyObject
* obj0
= 0 ;
28234 PyObject
* obj1
= 0 ;
28235 char * kwnames
[] = {
28236 (char *) "self",(char *) "win", NULL
28239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28241 if (!SWIG_IsOK(res1
)) {
28242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28244 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28245 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28246 if (!SWIG_IsOK(res2
)) {
28247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
28249 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
28253 wxPyEndAllowThreads(__tstate
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28256 resultobj
= SWIG_From_int(static_cast< int >(result
));
28263 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28264 PyObject
*resultobj
= 0;
28265 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28266 wxWindow
*arg2
= (wxWindow
*) 0 ;
28269 int arg5
= (int) 0 ;
28279 PyObject
* obj0
= 0 ;
28280 PyObject
* obj1
= 0 ;
28281 PyObject
* obj2
= 0 ;
28282 PyObject
* obj3
= 0 ;
28283 PyObject
* obj4
= 0 ;
28284 char * kwnames
[] = {
28285 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28290 if (!SWIG_IsOK(res1
)) {
28291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28293 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28294 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28295 if (!SWIG_IsOK(res2
)) {
28296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
28298 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28299 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28300 if (!SWIG_IsOK(res3
)) {
28301 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
28304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
28306 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28309 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28312 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28313 if (!SWIG_IsOK(ecode5
)) {
28314 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
28316 arg5
= static_cast< int >(val5
);
28319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28320 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28321 wxPyEndAllowThreads(__tstate
);
28322 if (PyErr_Occurred()) SWIG_fail
;
28324 resultobj
= SWIG_Py_Void();
28331 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28332 PyObject
*resultobj
= 0;
28333 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28334 wxWindow
*arg2
= (wxWindow
*) 0 ;
28337 int arg5
= (int) 0 ;
28347 PyObject
* obj0
= 0 ;
28348 PyObject
* obj1
= 0 ;
28349 PyObject
* obj2
= 0 ;
28350 PyObject
* obj3
= 0 ;
28351 PyObject
* obj4
= 0 ;
28352 char * kwnames
[] = {
28353 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28358 if (!SWIG_IsOK(res1
)) {
28359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28361 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28362 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28363 if (!SWIG_IsOK(res2
)) {
28364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
28366 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28367 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28368 if (!SWIG_IsOK(res3
)) {
28369 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
28372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
28374 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28377 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28380 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28381 if (!SWIG_IsOK(ecode5
)) {
28382 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
28384 arg5
= static_cast< int >(val5
);
28387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28388 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28389 wxPyEndAllowThreads(__tstate
);
28390 if (PyErr_Occurred()) SWIG_fail
;
28392 resultobj
= SWIG_Py_Void();
28399 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28400 PyObject
*resultobj
= 0;
28401 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28402 wxWindow
*arg2
= (wxWindow
*) 0 ;
28406 wxOrientation arg6
;
28407 int arg7
= (int) 0 ;
28421 PyObject
* obj0
= 0 ;
28422 PyObject
* obj1
= 0 ;
28423 PyObject
* obj2
= 0 ;
28424 PyObject
* obj3
= 0 ;
28425 PyObject
* obj4
= 0 ;
28426 PyObject
* obj5
= 0 ;
28427 PyObject
* obj6
= 0 ;
28428 char * kwnames
[] = {
28429 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
28432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28434 if (!SWIG_IsOK(res1
)) {
28435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28437 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28438 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28439 if (!SWIG_IsOK(res2
)) {
28440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
28442 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28443 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28444 if (!SWIG_IsOK(res3
)) {
28445 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
28448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
28450 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28453 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28455 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28456 if (!SWIG_IsOK(ecode5
)) {
28457 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
28459 arg5
= static_cast< int >(val5
);
28460 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28461 if (!SWIG_IsOK(ecode6
)) {
28462 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
28464 arg6
= static_cast< wxOrientation
>(val6
);
28466 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
28467 if (!SWIG_IsOK(ecode7
)) {
28468 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
28470 arg7
= static_cast< int >(val7
);
28473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28474 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
28475 wxPyEndAllowThreads(__tstate
);
28476 if (PyErr_Occurred()) SWIG_fail
;
28478 resultobj
= SWIG_Py_Void();
28485 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28486 PyObject
*resultobj
= 0;
28487 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28488 wxWindow
*arg2
= (wxWindow
*) 0 ;
28491 int arg5
= (int) 0 ;
28501 PyObject
* obj0
= 0 ;
28502 PyObject
* obj1
= 0 ;
28503 PyObject
* obj2
= 0 ;
28504 PyObject
* obj3
= 0 ;
28505 PyObject
* obj4
= 0 ;
28506 char * kwnames
[] = {
28507 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28512 if (!SWIG_IsOK(res1
)) {
28513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28515 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28516 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28517 if (!SWIG_IsOK(res2
)) {
28518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
28520 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28521 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28522 if (!SWIG_IsOK(res3
)) {
28523 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
28526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
28528 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28531 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28534 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28535 if (!SWIG_IsOK(ecode5
)) {
28536 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
28538 arg5
= static_cast< int >(val5
);
28541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28542 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28543 wxPyEndAllowThreads(__tstate
);
28544 if (PyErr_Occurred()) SWIG_fail
;
28546 resultobj
= SWIG_Py_Void();
28553 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28554 PyObject
*resultobj
= 0;
28555 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28556 wxWindow
*arg2
= (wxWindow
*) 0 ;
28559 int arg5
= (int) 0 ;
28569 PyObject
* obj0
= 0 ;
28570 PyObject
* obj1
= 0 ;
28571 PyObject
* obj2
= 0 ;
28572 PyObject
* obj3
= 0 ;
28573 PyObject
* obj4
= 0 ;
28574 char * kwnames
[] = {
28575 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28580 if (!SWIG_IsOK(res1
)) {
28581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28583 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28584 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28585 if (!SWIG_IsOK(res2
)) {
28586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
28588 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28589 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28590 if (!SWIG_IsOK(res3
)) {
28591 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
28594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
28596 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28599 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28602 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28603 if (!SWIG_IsOK(ecode5
)) {
28604 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
28606 arg5
= static_cast< int >(val5
);
28609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28610 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28611 wxPyEndAllowThreads(__tstate
);
28612 if (PyErr_Occurred()) SWIG_fail
;
28614 resultobj
= SWIG_Py_Void();
28621 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28622 PyObject
*resultobj
= 0;
28623 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28624 wxWindow
*arg2
= (wxWindow
*) 0 ;
28627 int arg5
= (int) 0 ;
28637 PyObject
* obj0
= 0 ;
28638 PyObject
* obj1
= 0 ;
28639 PyObject
* obj2
= 0 ;
28640 PyObject
* obj3
= 0 ;
28641 PyObject
* obj4
= 0 ;
28642 char * kwnames
[] = {
28643 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28648 if (!SWIG_IsOK(res1
)) {
28649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28651 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28652 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28653 if (!SWIG_IsOK(res2
)) {
28654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
28656 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28657 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28658 if (!SWIG_IsOK(res3
)) {
28659 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
28662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
28664 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28667 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28670 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28671 if (!SWIG_IsOK(ecode5
)) {
28672 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
28674 arg5
= static_cast< int >(val5
);
28677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28678 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28679 wxPyEndAllowThreads(__tstate
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28682 resultobj
= SWIG_Py_Void();
28689 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28690 PyObject
*resultobj
= 0;
28691 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28692 wxWindow
*arg2
= (wxWindow
*) 0 ;
28695 int arg5
= (int) 0 ;
28705 PyObject
* obj0
= 0 ;
28706 PyObject
* obj1
= 0 ;
28707 PyObject
* obj2
= 0 ;
28708 PyObject
* obj3
= 0 ;
28709 PyObject
* obj4
= 0 ;
28710 char * kwnames
[] = {
28711 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28716 if (!SWIG_IsOK(res1
)) {
28717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28719 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28720 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28721 if (!SWIG_IsOK(res2
)) {
28722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
28724 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28725 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28726 if (!SWIG_IsOK(res3
)) {
28727 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
28730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
28732 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28735 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28738 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28739 if (!SWIG_IsOK(ecode5
)) {
28740 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
28742 arg5
= static_cast< int >(val5
);
28745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28746 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28747 wxPyEndAllowThreads(__tstate
);
28748 if (PyErr_Occurred()) SWIG_fail
;
28750 resultobj
= SWIG_Py_Void();
28757 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28758 PyObject
*resultobj
= 0;
28759 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28760 wxWindow
*arg2
= (wxWindow
*) 0 ;
28763 int arg5
= (int) 0 ;
28773 PyObject
* obj0
= 0 ;
28774 PyObject
* obj1
= 0 ;
28775 PyObject
* obj2
= 0 ;
28776 PyObject
* obj3
= 0 ;
28777 PyObject
* obj4
= 0 ;
28778 char * kwnames
[] = {
28779 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28784 if (!SWIG_IsOK(res1
)) {
28785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28787 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28788 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28789 if (!SWIG_IsOK(res2
)) {
28790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
28792 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28793 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28794 if (!SWIG_IsOK(res3
)) {
28795 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
28798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
28800 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28803 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28806 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28807 if (!SWIG_IsOK(ecode5
)) {
28808 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
28810 arg5
= static_cast< int >(val5
);
28813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28814 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28815 wxPyEndAllowThreads(__tstate
);
28816 if (PyErr_Occurred()) SWIG_fail
;
28818 resultobj
= SWIG_Py_Void();
28825 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28826 PyObject
*resultobj
= 0;
28827 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28828 wxWindow
*arg2
= (wxWindow
*) 0 ;
28829 SwigValueWrapper
<wxSplitterRenderParams
> result
;
28834 PyObject
* obj0
= 0 ;
28835 PyObject
* obj1
= 0 ;
28836 char * kwnames
[] = {
28837 (char *) "self",(char *) "win", NULL
28840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28842 if (!SWIG_IsOK(res1
)) {
28843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28845 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28846 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28847 if (!SWIG_IsOK(res2
)) {
28848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
28850 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28853 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
28854 wxPyEndAllowThreads(__tstate
);
28855 if (PyErr_Occurred()) SWIG_fail
;
28857 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
28864 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28865 PyObject
*resultobj
= 0;
28866 wxRendererNative
*result
= 0 ;
28868 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
28870 if (!wxPyCheckForApp()) SWIG_fail
;
28871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28873 wxRendererNative
&_result_ref
= wxRendererNative::Get();
28874 result
= (wxRendererNative
*) &_result_ref
;
28876 wxPyEndAllowThreads(__tstate
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28886 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28887 PyObject
*resultobj
= 0;
28888 wxRendererNative
*result
= 0 ;
28890 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
28892 if (!wxPyCheckForApp()) SWIG_fail
;
28893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28895 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
28896 result
= (wxRendererNative
*) &_result_ref
;
28898 wxPyEndAllowThreads(__tstate
);
28899 if (PyErr_Occurred()) SWIG_fail
;
28901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28908 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28909 PyObject
*resultobj
= 0;
28910 wxRendererNative
*result
= 0 ;
28912 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
28914 if (!wxPyCheckForApp()) SWIG_fail
;
28915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28917 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
28918 result
= (wxRendererNative
*) &_result_ref
;
28920 wxPyEndAllowThreads(__tstate
);
28921 if (PyErr_Occurred()) SWIG_fail
;
28923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28930 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28931 PyObject
*resultobj
= 0;
28932 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28933 wxRendererNative
*result
= 0 ;
28936 PyObject
* obj0
= 0 ;
28937 char * kwnames
[] = {
28938 (char *) "renderer", NULL
28941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
28942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28943 if (!SWIG_IsOK(res1
)) {
28944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28946 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28948 if (!wxPyCheckForApp()) SWIG_fail
;
28949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28950 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
28951 wxPyEndAllowThreads(__tstate
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28961 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28962 PyObject
*resultobj
= 0;
28963 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28964 SwigValueWrapper
<wxRendererVersion
> result
;
28967 PyObject
*swig_obj
[1] ;
28969 if (!args
) SWIG_fail
;
28970 swig_obj
[0] = args
;
28971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28972 if (!SWIG_IsOK(res1
)) {
28973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
28975 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28978 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
28979 wxPyEndAllowThreads(__tstate
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28982 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
28989 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28991 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28992 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
28993 return SWIG_Py_Void();
28996 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28997 PyObject
*resultobj
= 0;
28998 wxPseudoDC
*result
= 0 ;
29000 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
29002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29003 result
= (wxPseudoDC
*)new wxPseudoDC();
29004 wxPyEndAllowThreads(__tstate
);
29005 if (PyErr_Occurred()) SWIG_fail
;
29007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
29014 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29015 PyObject
*resultobj
= 0;
29016 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29019 PyObject
*swig_obj
[1] ;
29021 if (!args
) SWIG_fail
;
29022 swig_obj
[0] = args
;
29023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29024 if (!SWIG_IsOK(res1
)) {
29025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29027 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29030 (arg1
)->BeginDrawing();
29031 wxPyEndAllowThreads(__tstate
);
29032 if (PyErr_Occurred()) SWIG_fail
;
29034 resultobj
= SWIG_Py_Void();
29041 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29042 PyObject
*resultobj
= 0;
29043 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29046 PyObject
*swig_obj
[1] ;
29048 if (!args
) SWIG_fail
;
29049 swig_obj
[0] = args
;
29050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29051 if (!SWIG_IsOK(res1
)) {
29052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29054 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29057 (arg1
)->EndDrawing();
29058 wxPyEndAllowThreads(__tstate
);
29059 if (PyErr_Occurred()) SWIG_fail
;
29061 resultobj
= SWIG_Py_Void();
29068 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29069 PyObject
*resultobj
= 0;
29070 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29073 PyObject
*swig_obj
[1] ;
29075 if (!args
) SWIG_fail
;
29076 swig_obj
[0] = args
;
29077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
29078 if (!SWIG_IsOK(res1
)) {
29079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29081 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29086 wxPyEndAllowThreads(__tstate
);
29087 if (PyErr_Occurred()) SWIG_fail
;
29089 resultobj
= SWIG_Py_Void();
29096 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29097 PyObject
*resultobj
= 0;
29098 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29101 PyObject
*swig_obj
[1] ;
29103 if (!args
) SWIG_fail
;
29104 swig_obj
[0] = args
;
29105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29106 if (!SWIG_IsOK(res1
)) {
29107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29109 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29112 (arg1
)->RemoveAll();
29113 wxPyEndAllowThreads(__tstate
);
29114 if (PyErr_Occurred()) SWIG_fail
;
29116 resultobj
= SWIG_Py_Void();
29123 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29124 PyObject
*resultobj
= 0;
29125 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29129 PyObject
*swig_obj
[1] ;
29131 if (!args
) SWIG_fail
;
29132 swig_obj
[0] = args
;
29133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29134 if (!SWIG_IsOK(res1
)) {
29135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29137 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29140 result
= (int)(arg1
)->GetLen();
29141 wxPyEndAllowThreads(__tstate
);
29142 if (PyErr_Occurred()) SWIG_fail
;
29144 resultobj
= SWIG_From_int(static_cast< int >(result
));
29151 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29152 PyObject
*resultobj
= 0;
29153 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29159 PyObject
* obj0
= 0 ;
29160 PyObject
* obj1
= 0 ;
29161 char * kwnames
[] = {
29162 (char *) "self",(char *) "id", NULL
29165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29167 if (!SWIG_IsOK(res1
)) {
29168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29170 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29172 if (!SWIG_IsOK(ecode2
)) {
29173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
29175 arg2
= static_cast< int >(val2
);
29177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29178 (arg1
)->SetId(arg2
);
29179 wxPyEndAllowThreads(__tstate
);
29180 if (PyErr_Occurred()) SWIG_fail
;
29182 resultobj
= SWIG_Py_Void();
29189 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29190 PyObject
*resultobj
= 0;
29191 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29197 PyObject
* obj0
= 0 ;
29198 PyObject
* obj1
= 0 ;
29199 char * kwnames
[] = {
29200 (char *) "self",(char *) "id", NULL
29203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29205 if (!SWIG_IsOK(res1
)) {
29206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29208 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29210 if (!SWIG_IsOK(ecode2
)) {
29211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
29213 arg2
= static_cast< int >(val2
);
29215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29216 (arg1
)->ClearId(arg2
);
29217 wxPyEndAllowThreads(__tstate
);
29218 if (PyErr_Occurred()) SWIG_fail
;
29220 resultobj
= SWIG_Py_Void();
29227 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29228 PyObject
*resultobj
= 0;
29229 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29235 PyObject
* obj0
= 0 ;
29236 PyObject
* obj1
= 0 ;
29237 char * kwnames
[] = {
29238 (char *) "self",(char *) "id", NULL
29241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29243 if (!SWIG_IsOK(res1
)) {
29244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29246 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29248 if (!SWIG_IsOK(ecode2
)) {
29249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
29251 arg2
= static_cast< int >(val2
);
29253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29254 (arg1
)->RemoveId(arg2
);
29255 wxPyEndAllowThreads(__tstate
);
29256 if (PyErr_Occurred()) SWIG_fail
;
29258 resultobj
= SWIG_Py_Void();
29265 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29266 PyObject
*resultobj
= 0;
29267 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29279 PyObject
* obj0
= 0 ;
29280 PyObject
* obj1
= 0 ;
29281 PyObject
* obj2
= 0 ;
29282 PyObject
* obj3
= 0 ;
29283 char * kwnames
[] = {
29284 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
29287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29289 if (!SWIG_IsOK(res1
)) {
29290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29292 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29294 if (!SWIG_IsOK(ecode2
)) {
29295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
29297 arg2
= static_cast< int >(val2
);
29298 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29299 if (!SWIG_IsOK(ecode3
)) {
29300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
29302 arg3
= static_cast< int >(val3
);
29303 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29304 if (!SWIG_IsOK(ecode4
)) {
29305 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
29307 arg4
= static_cast< int >(val4
);
29309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29310 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
29311 wxPyEndAllowThreads(__tstate
);
29312 if (PyErr_Occurred()) SWIG_fail
;
29314 resultobj
= SWIG_Py_Void();
29321 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29322 PyObject
*resultobj
= 0;
29323 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29325 wxDC
*arg3
= (wxDC
*) 0 ;
29332 PyObject
* obj0
= 0 ;
29333 PyObject
* obj1
= 0 ;
29334 PyObject
* obj2
= 0 ;
29335 char * kwnames
[] = {
29336 (char *) "self",(char *) "id",(char *) "dc", NULL
29339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29341 if (!SWIG_IsOK(res1
)) {
29342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29344 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29346 if (!SWIG_IsOK(ecode2
)) {
29347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
29349 arg2
= static_cast< int >(val2
);
29350 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
29351 if (!SWIG_IsOK(res3
)) {
29352 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
29354 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29357 (arg1
)->DrawIdToDC(arg2
,arg3
);
29358 wxPyEndAllowThreads(__tstate
);
29359 if (PyErr_Occurred()) SWIG_fail
;
29361 resultobj
= SWIG_Py_Void();
29368 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29369 PyObject
*resultobj
= 0;
29370 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29378 PyObject
* obj0
= 0 ;
29379 PyObject
* obj1
= 0 ;
29380 PyObject
* obj2
= 0 ;
29381 char * kwnames
[] = {
29382 (char *) "self",(char *) "id",(char *) "rect", NULL
29385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29387 if (!SWIG_IsOK(res1
)) {
29388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29390 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29392 if (!SWIG_IsOK(ecode2
)) {
29393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
29395 arg2
= static_cast< int >(val2
);
29398 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29402 (arg1
)->SetIdBounds(arg2
,*arg3
);
29403 wxPyEndAllowThreads(__tstate
);
29404 if (PyErr_Occurred()) SWIG_fail
;
29406 resultobj
= SWIG_Py_Void();
29413 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29414 PyObject
*resultobj
= 0;
29415 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29422 PyObject
* obj0
= 0 ;
29423 PyObject
* obj1
= 0 ;
29424 char * kwnames
[] = {
29425 (char *) "self",(char *) "id", NULL
29428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29430 if (!SWIG_IsOK(res1
)) {
29431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29433 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29435 if (!SWIG_IsOK(ecode2
)) {
29436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
29438 arg2
= static_cast< int >(val2
);
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
29442 wxPyEndAllowThreads(__tstate
);
29443 if (PyErr_Occurred()) SWIG_fail
;
29445 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29452 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29453 PyObject
*resultobj
= 0;
29454 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29455 wxDC
*arg2
= (wxDC
*) 0 ;
29462 PyObject
* obj0
= 0 ;
29463 PyObject
* obj1
= 0 ;
29464 PyObject
* obj2
= 0 ;
29465 char * kwnames
[] = {
29466 (char *) "self",(char *) "dc",(char *) "rect", NULL
29469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29471 if (!SWIG_IsOK(res1
)) {
29472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29474 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29475 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
29476 if (!SWIG_IsOK(res2
)) {
29477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
29479 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29482 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29486 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
29487 wxPyEndAllowThreads(__tstate
);
29488 if (PyErr_Occurred()) SWIG_fail
;
29490 resultobj
= SWIG_Py_Void();
29497 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29498 PyObject
*resultobj
= 0;
29499 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29500 wxDC
*arg2
= (wxDC
*) 0 ;
29501 wxRegion
*arg3
= 0 ;
29508 PyObject
* obj0
= 0 ;
29509 PyObject
* obj1
= 0 ;
29510 PyObject
* obj2
= 0 ;
29511 char * kwnames
[] = {
29512 (char *) "self",(char *) "dc",(char *) "region", NULL
29515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29517 if (!SWIG_IsOK(res1
)) {
29518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29520 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29521 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
29522 if (!SWIG_IsOK(res2
)) {
29523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
29525 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29526 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
29527 if (!SWIG_IsOK(res3
)) {
29528 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
29531 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
29533 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
29535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29536 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
29537 wxPyEndAllowThreads(__tstate
);
29538 if (PyErr_Occurred()) SWIG_fail
;
29540 resultobj
= SWIG_Py_Void();
29547 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29548 PyObject
*resultobj
= 0;
29549 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29550 wxDC
*arg2
= (wxDC
*) 0 ;
29555 PyObject
* obj0
= 0 ;
29556 PyObject
* obj1
= 0 ;
29557 char * kwnames
[] = {
29558 (char *) "self",(char *) "dc", NULL
29561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29563 if (!SWIG_IsOK(res1
)) {
29564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29566 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29567 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
29568 if (!SWIG_IsOK(res2
)) {
29569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
29571 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29574 (arg1
)->DrawToDC(arg2
);
29575 wxPyEndAllowThreads(__tstate
);
29576 if (PyErr_Occurred()) SWIG_fail
;
29578 resultobj
= SWIG_Py_Void();
29585 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29586 PyObject
*resultobj
= 0;
29587 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29590 wxColour
*arg4
= 0 ;
29591 int arg5
= (int) wxFLOOD_SURFACE
;
29601 PyObject
* obj0
= 0 ;
29602 PyObject
* obj1
= 0 ;
29603 PyObject
* obj2
= 0 ;
29604 PyObject
* obj3
= 0 ;
29605 PyObject
* obj4
= 0 ;
29606 char * kwnames
[] = {
29607 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
29610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29612 if (!SWIG_IsOK(res1
)) {
29613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29615 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29617 if (!SWIG_IsOK(ecode2
)) {
29618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
29620 arg2
= static_cast< int >(val2
);
29621 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29622 if (!SWIG_IsOK(ecode3
)) {
29623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
29625 arg3
= static_cast< int >(val3
);
29628 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
29631 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29632 if (!SWIG_IsOK(ecode5
)) {
29633 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
29635 arg5
= static_cast< int >(val5
);
29638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29639 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
29640 wxPyEndAllowThreads(__tstate
);
29641 if (PyErr_Occurred()) SWIG_fail
;
29643 resultobj
= SWIG_Py_Void();
29650 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29651 PyObject
*resultobj
= 0;
29652 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29653 wxPoint
*arg2
= 0 ;
29654 wxColour
*arg3
= 0 ;
29655 int arg4
= (int) wxFLOOD_SURFACE
;
29662 PyObject
* obj0
= 0 ;
29663 PyObject
* obj1
= 0 ;
29664 PyObject
* obj2
= 0 ;
29665 PyObject
* obj3
= 0 ;
29666 char * kwnames
[] = {
29667 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
29670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29672 if (!SWIG_IsOK(res1
)) {
29673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29675 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29678 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29682 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29685 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29686 if (!SWIG_IsOK(ecode4
)) {
29687 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
29689 arg4
= static_cast< int >(val4
);
29692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29693 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
29694 wxPyEndAllowThreads(__tstate
);
29695 if (PyErr_Occurred()) SWIG_fail
;
29697 resultobj
= SWIG_Py_Void();
29704 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29705 PyObject
*resultobj
= 0;
29706 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29721 PyObject
* obj0
= 0 ;
29722 PyObject
* obj1
= 0 ;
29723 PyObject
* obj2
= 0 ;
29724 PyObject
* obj3
= 0 ;
29725 PyObject
* obj4
= 0 ;
29726 char * kwnames
[] = {
29727 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29732 if (!SWIG_IsOK(res1
)) {
29733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29735 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29737 if (!SWIG_IsOK(ecode2
)) {
29738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
29740 arg2
= static_cast< int >(val2
);
29741 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29742 if (!SWIG_IsOK(ecode3
)) {
29743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
29745 arg3
= static_cast< int >(val3
);
29746 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29747 if (!SWIG_IsOK(ecode4
)) {
29748 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
29750 arg4
= static_cast< int >(val4
);
29751 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29752 if (!SWIG_IsOK(ecode5
)) {
29753 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
29755 arg5
= static_cast< int >(val5
);
29757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29758 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
29759 wxPyEndAllowThreads(__tstate
);
29760 if (PyErr_Occurred()) SWIG_fail
;
29762 resultobj
= SWIG_Py_Void();
29769 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29770 PyObject
*resultobj
= 0;
29771 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29772 wxPoint
*arg2
= 0 ;
29773 wxPoint
*arg3
= 0 ;
29778 PyObject
* obj0
= 0 ;
29779 PyObject
* obj1
= 0 ;
29780 PyObject
* obj2
= 0 ;
29781 char * kwnames
[] = {
29782 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
29785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29787 if (!SWIG_IsOK(res1
)) {
29788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29790 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29793 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29797 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29801 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
29802 wxPyEndAllowThreads(__tstate
);
29803 if (PyErr_Occurred()) SWIG_fail
;
29805 resultobj
= SWIG_Py_Void();
29812 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29813 PyObject
*resultobj
= 0;
29814 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29823 PyObject
* obj0
= 0 ;
29824 PyObject
* obj1
= 0 ;
29825 PyObject
* obj2
= 0 ;
29826 char * kwnames
[] = {
29827 (char *) "self",(char *) "x",(char *) "y", NULL
29830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29832 if (!SWIG_IsOK(res1
)) {
29833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29835 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29837 if (!SWIG_IsOK(ecode2
)) {
29838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
29840 arg2
= static_cast< int >(val2
);
29841 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29842 if (!SWIG_IsOK(ecode3
)) {
29843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
29845 arg3
= static_cast< int >(val3
);
29847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29848 (arg1
)->CrossHair(arg2
,arg3
);
29849 wxPyEndAllowThreads(__tstate
);
29850 if (PyErr_Occurred()) SWIG_fail
;
29852 resultobj
= SWIG_Py_Void();
29859 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29860 PyObject
*resultobj
= 0;
29861 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29862 wxPoint
*arg2
= 0 ;
29866 PyObject
* obj0
= 0 ;
29867 PyObject
* obj1
= 0 ;
29868 char * kwnames
[] = {
29869 (char *) "self",(char *) "pt", NULL
29872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29874 if (!SWIG_IsOK(res1
)) {
29875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29877 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29880 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29884 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
29885 wxPyEndAllowThreads(__tstate
);
29886 if (PyErr_Occurred()) SWIG_fail
;
29888 resultobj
= SWIG_Py_Void();
29895 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29896 PyObject
*resultobj
= 0;
29897 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29918 PyObject
* obj0
= 0 ;
29919 PyObject
* obj1
= 0 ;
29920 PyObject
* obj2
= 0 ;
29921 PyObject
* obj3
= 0 ;
29922 PyObject
* obj4
= 0 ;
29923 PyObject
* obj5
= 0 ;
29924 PyObject
* obj6
= 0 ;
29925 char * kwnames
[] = {
29926 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
29929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29931 if (!SWIG_IsOK(res1
)) {
29932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29934 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29936 if (!SWIG_IsOK(ecode2
)) {
29937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
29939 arg2
= static_cast< int >(val2
);
29940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29941 if (!SWIG_IsOK(ecode3
)) {
29942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
29944 arg3
= static_cast< int >(val3
);
29945 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29946 if (!SWIG_IsOK(ecode4
)) {
29947 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
29949 arg4
= static_cast< int >(val4
);
29950 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29951 if (!SWIG_IsOK(ecode5
)) {
29952 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
29954 arg5
= static_cast< int >(val5
);
29955 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
29956 if (!SWIG_IsOK(ecode6
)) {
29957 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
29959 arg6
= static_cast< int >(val6
);
29960 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
29961 if (!SWIG_IsOK(ecode7
)) {
29962 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
29964 arg7
= static_cast< int >(val7
);
29966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29967 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29968 wxPyEndAllowThreads(__tstate
);
29969 if (PyErr_Occurred()) SWIG_fail
;
29971 resultobj
= SWIG_Py_Void();
29978 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29979 PyObject
*resultobj
= 0;
29980 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29981 wxPoint
*arg2
= 0 ;
29982 wxPoint
*arg3
= 0 ;
29983 wxPoint
*arg4
= 0 ;
29989 PyObject
* obj0
= 0 ;
29990 PyObject
* obj1
= 0 ;
29991 PyObject
* obj2
= 0 ;
29992 PyObject
* obj3
= 0 ;
29993 char * kwnames
[] = {
29994 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
29997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29999 if (!SWIG_IsOK(res1
)) {
30000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30002 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30005 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30009 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30013 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30017 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
30018 wxPyEndAllowThreads(__tstate
);
30019 if (PyErr_Occurred()) SWIG_fail
;
30021 resultobj
= SWIG_Py_Void();
30028 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30029 PyObject
*resultobj
= 0;
30030 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30045 PyObject
* obj0
= 0 ;
30046 PyObject
* obj1
= 0 ;
30047 PyObject
* obj2
= 0 ;
30048 PyObject
* obj3
= 0 ;
30049 PyObject
* obj4
= 0 ;
30050 char * kwnames
[] = {
30051 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30056 if (!SWIG_IsOK(res1
)) {
30057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30059 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30061 if (!SWIG_IsOK(ecode2
)) {
30062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
30064 arg2
= static_cast< int >(val2
);
30065 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30066 if (!SWIG_IsOK(ecode3
)) {
30067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
30069 arg3
= static_cast< int >(val3
);
30070 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30071 if (!SWIG_IsOK(ecode4
)) {
30072 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
30074 arg4
= static_cast< int >(val4
);
30075 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30076 if (!SWIG_IsOK(ecode5
)) {
30077 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
30079 arg5
= static_cast< int >(val5
);
30081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30082 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
30083 wxPyEndAllowThreads(__tstate
);
30084 if (PyErr_Occurred()) SWIG_fail
;
30086 resultobj
= SWIG_Py_Void();
30093 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30094 PyObject
*resultobj
= 0;
30095 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30100 PyObject
* obj0
= 0 ;
30101 PyObject
* obj1
= 0 ;
30102 char * kwnames
[] = {
30103 (char *) "self",(char *) "rect", NULL
30106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30108 if (!SWIG_IsOK(res1
)) {
30109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30111 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30114 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30118 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
30119 wxPyEndAllowThreads(__tstate
);
30120 if (PyErr_Occurred()) SWIG_fail
;
30122 resultobj
= SWIG_Py_Void();
30129 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30130 PyObject
*resultobj
= 0;
30131 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30152 PyObject
* obj0
= 0 ;
30153 PyObject
* obj1
= 0 ;
30154 PyObject
* obj2
= 0 ;
30155 PyObject
* obj3
= 0 ;
30156 PyObject
* obj4
= 0 ;
30157 PyObject
* obj5
= 0 ;
30158 PyObject
* obj6
= 0 ;
30159 char * kwnames
[] = {
30160 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
30163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30165 if (!SWIG_IsOK(res1
)) {
30166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30168 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30170 if (!SWIG_IsOK(ecode2
)) {
30171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
30173 arg2
= static_cast< int >(val2
);
30174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30175 if (!SWIG_IsOK(ecode3
)) {
30176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
30178 arg3
= static_cast< int >(val3
);
30179 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30180 if (!SWIG_IsOK(ecode4
)) {
30181 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
30183 arg4
= static_cast< int >(val4
);
30184 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30185 if (!SWIG_IsOK(ecode5
)) {
30186 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
30188 arg5
= static_cast< int >(val5
);
30189 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30190 if (!SWIG_IsOK(ecode6
)) {
30191 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
30193 arg6
= static_cast< double >(val6
);
30194 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30195 if (!SWIG_IsOK(ecode7
)) {
30196 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
30198 arg7
= static_cast< double >(val7
);
30200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30201 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30202 wxPyEndAllowThreads(__tstate
);
30203 if (PyErr_Occurred()) SWIG_fail
;
30205 resultobj
= SWIG_Py_Void();
30212 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30213 PyObject
*resultobj
= 0;
30214 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30215 wxPoint
*arg2
= 0 ;
30227 PyObject
* obj0
= 0 ;
30228 PyObject
* obj1
= 0 ;
30229 PyObject
* obj2
= 0 ;
30230 PyObject
* obj3
= 0 ;
30231 PyObject
* obj4
= 0 ;
30232 char * kwnames
[] = {
30233 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
30236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30238 if (!SWIG_IsOK(res1
)) {
30239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30241 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30244 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30248 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
30250 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30251 if (!SWIG_IsOK(ecode4
)) {
30252 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
30254 arg4
= static_cast< double >(val4
);
30255 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30256 if (!SWIG_IsOK(ecode5
)) {
30257 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
30259 arg5
= static_cast< double >(val5
);
30261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30262 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
30263 wxPyEndAllowThreads(__tstate
);
30264 if (PyErr_Occurred()) SWIG_fail
;
30266 resultobj
= SWIG_Py_Void();
30273 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30274 PyObject
*resultobj
= 0;
30275 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30284 PyObject
* obj0
= 0 ;
30285 PyObject
* obj1
= 0 ;
30286 PyObject
* obj2
= 0 ;
30287 char * kwnames
[] = {
30288 (char *) "self",(char *) "x",(char *) "y", NULL
30291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30293 if (!SWIG_IsOK(res1
)) {
30294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30296 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30298 if (!SWIG_IsOK(ecode2
)) {
30299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
30301 arg2
= static_cast< int >(val2
);
30302 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30303 if (!SWIG_IsOK(ecode3
)) {
30304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
30306 arg3
= static_cast< int >(val3
);
30308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30309 (arg1
)->DrawPoint(arg2
,arg3
);
30310 wxPyEndAllowThreads(__tstate
);
30311 if (PyErr_Occurred()) SWIG_fail
;
30313 resultobj
= SWIG_Py_Void();
30320 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30321 PyObject
*resultobj
= 0;
30322 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30323 wxPoint
*arg2
= 0 ;
30327 PyObject
* obj0
= 0 ;
30328 PyObject
* obj1
= 0 ;
30329 char * kwnames
[] = {
30330 (char *) "self",(char *) "pt", NULL
30333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30335 if (!SWIG_IsOK(res1
)) {
30336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30338 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30341 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30345 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
30346 wxPyEndAllowThreads(__tstate
);
30347 if (PyErr_Occurred()) SWIG_fail
;
30349 resultobj
= SWIG_Py_Void();
30356 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30357 PyObject
*resultobj
= 0;
30358 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30373 PyObject
* obj0
= 0 ;
30374 PyObject
* obj1
= 0 ;
30375 PyObject
* obj2
= 0 ;
30376 PyObject
* obj3
= 0 ;
30377 PyObject
* obj4
= 0 ;
30378 char * kwnames
[] = {
30379 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30384 if (!SWIG_IsOK(res1
)) {
30385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30387 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30389 if (!SWIG_IsOK(ecode2
)) {
30390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
30392 arg2
= static_cast< int >(val2
);
30393 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30394 if (!SWIG_IsOK(ecode3
)) {
30395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
30397 arg3
= static_cast< int >(val3
);
30398 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30399 if (!SWIG_IsOK(ecode4
)) {
30400 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
30402 arg4
= static_cast< int >(val4
);
30403 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30404 if (!SWIG_IsOK(ecode5
)) {
30405 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
30407 arg5
= static_cast< int >(val5
);
30409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30410 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30411 wxPyEndAllowThreads(__tstate
);
30412 if (PyErr_Occurred()) SWIG_fail
;
30414 resultobj
= SWIG_Py_Void();
30421 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30422 PyObject
*resultobj
= 0;
30423 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30428 PyObject
* obj0
= 0 ;
30429 PyObject
* obj1
= 0 ;
30430 char * kwnames
[] = {
30431 (char *) "self",(char *) "rect", NULL
30434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30436 if (!SWIG_IsOK(res1
)) {
30437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30439 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30442 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30446 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
30447 wxPyEndAllowThreads(__tstate
);
30448 if (PyErr_Occurred()) SWIG_fail
;
30450 resultobj
= SWIG_Py_Void();
30457 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30458 PyObject
*resultobj
= 0;
30459 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30460 wxPoint
*arg2
= 0 ;
30466 PyObject
* obj0
= 0 ;
30467 PyObject
* obj1
= 0 ;
30468 PyObject
* obj2
= 0 ;
30469 char * kwnames
[] = {
30470 (char *) "self",(char *) "pt",(char *) "sz", NULL
30473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30475 if (!SWIG_IsOK(res1
)) {
30476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30478 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30481 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30485 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
30488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30489 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
30490 wxPyEndAllowThreads(__tstate
);
30491 if (PyErr_Occurred()) SWIG_fail
;
30493 resultobj
= SWIG_Py_Void();
30500 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30501 PyObject
*resultobj
= 0;
30502 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30520 PyObject
* obj0
= 0 ;
30521 PyObject
* obj1
= 0 ;
30522 PyObject
* obj2
= 0 ;
30523 PyObject
* obj3
= 0 ;
30524 PyObject
* obj4
= 0 ;
30525 PyObject
* obj5
= 0 ;
30526 char * kwnames
[] = {
30527 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
30530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30532 if (!SWIG_IsOK(res1
)) {
30533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30535 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30537 if (!SWIG_IsOK(ecode2
)) {
30538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
30540 arg2
= static_cast< int >(val2
);
30541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30542 if (!SWIG_IsOK(ecode3
)) {
30543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
30545 arg3
= static_cast< int >(val3
);
30546 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30547 if (!SWIG_IsOK(ecode4
)) {
30548 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
30550 arg4
= static_cast< int >(val4
);
30551 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30552 if (!SWIG_IsOK(ecode5
)) {
30553 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
30555 arg5
= static_cast< int >(val5
);
30556 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30557 if (!SWIG_IsOK(ecode6
)) {
30558 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
30560 arg6
= static_cast< double >(val6
);
30562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30563 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30564 wxPyEndAllowThreads(__tstate
);
30565 if (PyErr_Occurred()) SWIG_fail
;
30567 resultobj
= SWIG_Py_Void();
30574 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30575 PyObject
*resultobj
= 0;
30576 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30584 PyObject
* obj0
= 0 ;
30585 PyObject
* obj1
= 0 ;
30586 PyObject
* obj2
= 0 ;
30587 char * kwnames
[] = {
30588 (char *) "self",(char *) "r",(char *) "radius", NULL
30591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30593 if (!SWIG_IsOK(res1
)) {
30594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30596 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30599 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30601 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30602 if (!SWIG_IsOK(ecode3
)) {
30603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
30605 arg3
= static_cast< double >(val3
);
30607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30608 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
30609 wxPyEndAllowThreads(__tstate
);
30610 if (PyErr_Occurred()) SWIG_fail
;
30612 resultobj
= SWIG_Py_Void();
30619 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30620 PyObject
*resultobj
= 0;
30621 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30622 wxPoint
*arg2
= 0 ;
30631 PyObject
* obj0
= 0 ;
30632 PyObject
* obj1
= 0 ;
30633 PyObject
* obj2
= 0 ;
30634 PyObject
* obj3
= 0 ;
30635 char * kwnames
[] = {
30636 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
30639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30641 if (!SWIG_IsOK(res1
)) {
30642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30644 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30647 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30651 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
30653 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30654 if (!SWIG_IsOK(ecode4
)) {
30655 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
30657 arg4
= static_cast< double >(val4
);
30659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30660 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
30661 wxPyEndAllowThreads(__tstate
);
30662 if (PyErr_Occurred()) SWIG_fail
;
30664 resultobj
= SWIG_Py_Void();
30671 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30672 PyObject
*resultobj
= 0;
30673 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30685 PyObject
* obj0
= 0 ;
30686 PyObject
* obj1
= 0 ;
30687 PyObject
* obj2
= 0 ;
30688 PyObject
* obj3
= 0 ;
30689 char * kwnames
[] = {
30690 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
30693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30695 if (!SWIG_IsOK(res1
)) {
30696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30698 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30700 if (!SWIG_IsOK(ecode2
)) {
30701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
30703 arg2
= static_cast< int >(val2
);
30704 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30705 if (!SWIG_IsOK(ecode3
)) {
30706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
30708 arg3
= static_cast< int >(val3
);
30709 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30710 if (!SWIG_IsOK(ecode4
)) {
30711 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
30713 arg4
= static_cast< int >(val4
);
30715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30716 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
30717 wxPyEndAllowThreads(__tstate
);
30718 if (PyErr_Occurred()) SWIG_fail
;
30720 resultobj
= SWIG_Py_Void();
30727 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30728 PyObject
*resultobj
= 0;
30729 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30730 wxPoint
*arg2
= 0 ;
30737 PyObject
* obj0
= 0 ;
30738 PyObject
* obj1
= 0 ;
30739 PyObject
* obj2
= 0 ;
30740 char * kwnames
[] = {
30741 (char *) "self",(char *) "pt",(char *) "radius", NULL
30744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30746 if (!SWIG_IsOK(res1
)) {
30747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30749 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30752 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30754 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30755 if (!SWIG_IsOK(ecode3
)) {
30756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
30758 arg3
= static_cast< int >(val3
);
30760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30761 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
30762 wxPyEndAllowThreads(__tstate
);
30763 if (PyErr_Occurred()) SWIG_fail
;
30765 resultobj
= SWIG_Py_Void();
30772 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30773 PyObject
*resultobj
= 0;
30774 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30789 PyObject
* obj0
= 0 ;
30790 PyObject
* obj1
= 0 ;
30791 PyObject
* obj2
= 0 ;
30792 PyObject
* obj3
= 0 ;
30793 PyObject
* obj4
= 0 ;
30794 char * kwnames
[] = {
30795 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30800 if (!SWIG_IsOK(res1
)) {
30801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30803 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30805 if (!SWIG_IsOK(ecode2
)) {
30806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
30808 arg2
= static_cast< int >(val2
);
30809 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30810 if (!SWIG_IsOK(ecode3
)) {
30811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
30813 arg3
= static_cast< int >(val3
);
30814 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30815 if (!SWIG_IsOK(ecode4
)) {
30816 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
30818 arg4
= static_cast< int >(val4
);
30819 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30820 if (!SWIG_IsOK(ecode5
)) {
30821 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
30823 arg5
= static_cast< int >(val5
);
30825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30826 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30827 wxPyEndAllowThreads(__tstate
);
30828 if (PyErr_Occurred()) SWIG_fail
;
30830 resultobj
= SWIG_Py_Void();
30837 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30838 PyObject
*resultobj
= 0;
30839 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30844 PyObject
* obj0
= 0 ;
30845 PyObject
* obj1
= 0 ;
30846 char * kwnames
[] = {
30847 (char *) "self",(char *) "rect", NULL
30850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30852 if (!SWIG_IsOK(res1
)) {
30853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30855 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30858 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30862 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
30863 wxPyEndAllowThreads(__tstate
);
30864 if (PyErr_Occurred()) SWIG_fail
;
30866 resultobj
= SWIG_Py_Void();
30873 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30874 PyObject
*resultobj
= 0;
30875 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30876 wxPoint
*arg2
= 0 ;
30882 PyObject
* obj0
= 0 ;
30883 PyObject
* obj1
= 0 ;
30884 PyObject
* obj2
= 0 ;
30885 char * kwnames
[] = {
30886 (char *) "self",(char *) "pt",(char *) "sz", NULL
30889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30891 if (!SWIG_IsOK(res1
)) {
30892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30894 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30897 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30901 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
30904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30905 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
30906 wxPyEndAllowThreads(__tstate
);
30907 if (PyErr_Occurred()) SWIG_fail
;
30909 resultobj
= SWIG_Py_Void();
30916 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30917 PyObject
*resultobj
= 0;
30918 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30930 PyObject
* obj0
= 0 ;
30931 PyObject
* obj1
= 0 ;
30932 PyObject
* obj2
= 0 ;
30933 PyObject
* obj3
= 0 ;
30934 char * kwnames
[] = {
30935 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
30938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30940 if (!SWIG_IsOK(res1
)) {
30941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30943 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30945 if (!SWIG_IsOK(res2
)) {
30946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30951 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30952 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30953 if (!SWIG_IsOK(ecode3
)) {
30954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
30956 arg3
= static_cast< int >(val3
);
30957 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30958 if (!SWIG_IsOK(ecode4
)) {
30959 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
30961 arg4
= static_cast< int >(val4
);
30963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30964 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
30965 wxPyEndAllowThreads(__tstate
);
30966 if (PyErr_Occurred()) SWIG_fail
;
30968 resultobj
= SWIG_Py_Void();
30975 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30976 PyObject
*resultobj
= 0;
30977 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30979 wxPoint
*arg3
= 0 ;
30985 PyObject
* obj0
= 0 ;
30986 PyObject
* obj1
= 0 ;
30987 PyObject
* obj2
= 0 ;
30988 char * kwnames
[] = {
30989 (char *) "self",(char *) "icon",(char *) "pt", NULL
30992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30994 if (!SWIG_IsOK(res1
)) {
30995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30997 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30998 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30999 if (!SWIG_IsOK(res2
)) {
31000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
31003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
31005 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31008 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31012 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
31013 wxPyEndAllowThreads(__tstate
);
31014 if (PyErr_Occurred()) SWIG_fail
;
31016 resultobj
= SWIG_Py_Void();
31023 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31024 PyObject
*resultobj
= 0;
31025 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31026 wxBitmap
*arg2
= 0 ;
31029 bool arg5
= (bool) false ;
31040 PyObject
* obj0
= 0 ;
31041 PyObject
* obj1
= 0 ;
31042 PyObject
* obj2
= 0 ;
31043 PyObject
* obj3
= 0 ;
31044 PyObject
* obj4
= 0 ;
31045 char * kwnames
[] = {
31046 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
31049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31051 if (!SWIG_IsOK(res1
)) {
31052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31054 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31055 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31056 if (!SWIG_IsOK(res2
)) {
31057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31062 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31064 if (!SWIG_IsOK(ecode3
)) {
31065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
31067 arg3
= static_cast< int >(val3
);
31068 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31069 if (!SWIG_IsOK(ecode4
)) {
31070 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
31072 arg4
= static_cast< int >(val4
);
31074 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
31075 if (!SWIG_IsOK(ecode5
)) {
31076 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
31078 arg5
= static_cast< bool >(val5
);
31081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31082 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
31083 wxPyEndAllowThreads(__tstate
);
31084 if (PyErr_Occurred()) SWIG_fail
;
31086 resultobj
= SWIG_Py_Void();
31093 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31094 PyObject
*resultobj
= 0;
31095 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31096 wxBitmap
*arg2
= 0 ;
31097 wxPoint
*arg3
= 0 ;
31098 bool arg4
= (bool) false ;
31106 PyObject
* obj0
= 0 ;
31107 PyObject
* obj1
= 0 ;
31108 PyObject
* obj2
= 0 ;
31109 PyObject
* obj3
= 0 ;
31110 char * kwnames
[] = {
31111 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
31114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31116 if (!SWIG_IsOK(res1
)) {
31117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31119 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31120 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31121 if (!SWIG_IsOK(res2
)) {
31122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31127 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31130 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31133 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31134 if (!SWIG_IsOK(ecode4
)) {
31135 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
31137 arg4
= static_cast< bool >(val4
);
31140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31141 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
31142 wxPyEndAllowThreads(__tstate
);
31143 if (PyErr_Occurred()) SWIG_fail
;
31145 resultobj
= SWIG_Py_Void();
31152 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31153 PyObject
*resultobj
= 0;
31154 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31155 wxString
*arg2
= 0 ;
31160 bool temp2
= false ;
31165 PyObject
* obj0
= 0 ;
31166 PyObject
* obj1
= 0 ;
31167 PyObject
* obj2
= 0 ;
31168 PyObject
* obj3
= 0 ;
31169 char * kwnames
[] = {
31170 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
31173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31175 if (!SWIG_IsOK(res1
)) {
31176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31178 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31180 arg2
= wxString_in_helper(obj1
);
31181 if (arg2
== NULL
) SWIG_fail
;
31184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31185 if (!SWIG_IsOK(ecode3
)) {
31186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
31188 arg3
= static_cast< int >(val3
);
31189 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31190 if (!SWIG_IsOK(ecode4
)) {
31191 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
31193 arg4
= static_cast< int >(val4
);
31195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31196 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
31197 wxPyEndAllowThreads(__tstate
);
31198 if (PyErr_Occurred()) SWIG_fail
;
31200 resultobj
= SWIG_Py_Void();
31215 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31216 PyObject
*resultobj
= 0;
31217 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31218 wxString
*arg2
= 0 ;
31219 wxPoint
*arg3
= 0 ;
31222 bool temp2
= false ;
31224 PyObject
* obj0
= 0 ;
31225 PyObject
* obj1
= 0 ;
31226 PyObject
* obj2
= 0 ;
31227 char * kwnames
[] = {
31228 (char *) "self",(char *) "text",(char *) "pt", NULL
31231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31233 if (!SWIG_IsOK(res1
)) {
31234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31236 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31238 arg2
= wxString_in_helper(obj1
);
31239 if (arg2
== NULL
) SWIG_fail
;
31244 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31248 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
31249 wxPyEndAllowThreads(__tstate
);
31250 if (PyErr_Occurred()) SWIG_fail
;
31252 resultobj
= SWIG_Py_Void();
31267 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31268 PyObject
*resultobj
= 0;
31269 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31270 wxString
*arg2
= 0 ;
31276 bool temp2
= false ;
31283 PyObject
* obj0
= 0 ;
31284 PyObject
* obj1
= 0 ;
31285 PyObject
* obj2
= 0 ;
31286 PyObject
* obj3
= 0 ;
31287 PyObject
* obj4
= 0 ;
31288 char * kwnames
[] = {
31289 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
31292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31294 if (!SWIG_IsOK(res1
)) {
31295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31297 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31299 arg2
= wxString_in_helper(obj1
);
31300 if (arg2
== NULL
) SWIG_fail
;
31303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31304 if (!SWIG_IsOK(ecode3
)) {
31305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
31307 arg3
= static_cast< int >(val3
);
31308 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31309 if (!SWIG_IsOK(ecode4
)) {
31310 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
31312 arg4
= static_cast< int >(val4
);
31313 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31314 if (!SWIG_IsOK(ecode5
)) {
31315 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
31317 arg5
= static_cast< double >(val5
);
31319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31320 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
31321 wxPyEndAllowThreads(__tstate
);
31322 if (PyErr_Occurred()) SWIG_fail
;
31324 resultobj
= SWIG_Py_Void();
31339 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31340 PyObject
*resultobj
= 0;
31341 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31342 wxString
*arg2
= 0 ;
31343 wxPoint
*arg3
= 0 ;
31347 bool temp2
= false ;
31351 PyObject
* obj0
= 0 ;
31352 PyObject
* obj1
= 0 ;
31353 PyObject
* obj2
= 0 ;
31354 PyObject
* obj3
= 0 ;
31355 char * kwnames
[] = {
31356 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
31359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31361 if (!SWIG_IsOK(res1
)) {
31362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31364 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31366 arg2
= wxString_in_helper(obj1
);
31367 if (arg2
== NULL
) SWIG_fail
;
31372 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31374 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31375 if (!SWIG_IsOK(ecode4
)) {
31376 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
31378 arg4
= static_cast< double >(val4
);
31380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31381 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
31382 wxPyEndAllowThreads(__tstate
);
31383 if (PyErr_Occurred()) SWIG_fail
;
31385 resultobj
= SWIG_Py_Void();
31400 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
= 0;
31402 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31404 wxPoint
*arg3
= (wxPoint
*) 0 ;
31405 int arg4
= (int) 0 ;
31406 int arg5
= (int) 0 ;
31413 PyObject
* obj0
= 0 ;
31414 PyObject
* obj1
= 0 ;
31415 PyObject
* obj2
= 0 ;
31416 PyObject
* obj3
= 0 ;
31417 char * kwnames
[] = {
31418 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
31421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31423 if (!SWIG_IsOK(res1
)) {
31424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31426 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31428 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
31429 if (arg3
== NULL
) SWIG_fail
;
31432 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
31433 if (!SWIG_IsOK(ecode4
)) {
31434 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
31436 arg4
= static_cast< int >(val4
);
31439 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
31440 if (!SWIG_IsOK(ecode5
)) {
31441 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
31443 arg5
= static_cast< int >(val5
);
31446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31447 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
31448 wxPyEndAllowThreads(__tstate
);
31449 if (PyErr_Occurred()) SWIG_fail
;
31451 resultobj
= SWIG_Py_Void();
31453 if (arg3
) delete [] arg3
;
31458 if (arg3
) delete [] arg3
;
31464 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31465 PyObject
*resultobj
= 0;
31466 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31468 wxPoint
*arg3
= (wxPoint
*) 0 ;
31469 int arg4
= (int) 0 ;
31470 int arg5
= (int) 0 ;
31471 int arg6
= (int) wxODDEVEN_RULE
;
31480 PyObject
* obj0
= 0 ;
31481 PyObject
* obj1
= 0 ;
31482 PyObject
* obj2
= 0 ;
31483 PyObject
* obj3
= 0 ;
31484 PyObject
* obj4
= 0 ;
31485 char * kwnames
[] = {
31486 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
31489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31491 if (!SWIG_IsOK(res1
)) {
31492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31494 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31496 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
31497 if (arg3
== NULL
) SWIG_fail
;
31500 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
31501 if (!SWIG_IsOK(ecode4
)) {
31502 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
31504 arg4
= static_cast< int >(val4
);
31507 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
31508 if (!SWIG_IsOK(ecode5
)) {
31509 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
31511 arg5
= static_cast< int >(val5
);
31514 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
31515 if (!SWIG_IsOK(ecode6
)) {
31516 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
31518 arg6
= static_cast< int >(val6
);
31521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31522 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
31523 wxPyEndAllowThreads(__tstate
);
31524 if (PyErr_Occurred()) SWIG_fail
;
31526 resultobj
= SWIG_Py_Void();
31528 if (arg3
) delete [] arg3
;
31533 if (arg3
) delete [] arg3
;
31539 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31540 PyObject
*resultobj
= 0;
31541 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31542 wxString
*arg2
= 0 ;
31544 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
31545 int arg5
= (int) -1 ;
31548 bool temp2
= false ;
31554 PyObject
* obj0
= 0 ;
31555 PyObject
* obj1
= 0 ;
31556 PyObject
* obj2
= 0 ;
31557 PyObject
* obj3
= 0 ;
31558 PyObject
* obj4
= 0 ;
31559 char * kwnames
[] = {
31560 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
31563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31565 if (!SWIG_IsOK(res1
)) {
31566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31568 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31570 arg2
= wxString_in_helper(obj1
);
31571 if (arg2
== NULL
) SWIG_fail
;
31576 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31579 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31580 if (!SWIG_IsOK(ecode4
)) {
31581 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
31583 arg4
= static_cast< int >(val4
);
31586 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31587 if (!SWIG_IsOK(ecode5
)) {
31588 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
31590 arg5
= static_cast< int >(val5
);
31593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31594 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
31595 wxPyEndAllowThreads(__tstate
);
31596 if (PyErr_Occurred()) SWIG_fail
;
31598 resultobj
= SWIG_Py_Void();
31613 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31614 PyObject
*resultobj
= 0;
31615 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31616 wxString
*arg2
= 0 ;
31617 wxBitmap
*arg3
= 0 ;
31619 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
31620 int arg6
= (int) -1 ;
31623 bool temp2
= false ;
31631 PyObject
* obj0
= 0 ;
31632 PyObject
* obj1
= 0 ;
31633 PyObject
* obj2
= 0 ;
31634 PyObject
* obj3
= 0 ;
31635 PyObject
* obj4
= 0 ;
31636 PyObject
* obj5
= 0 ;
31637 char * kwnames
[] = {
31638 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
31641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
31642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31643 if (!SWIG_IsOK(res1
)) {
31644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31646 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31648 arg2
= wxString_in_helper(obj1
);
31649 if (arg2
== NULL
) SWIG_fail
;
31652 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31653 if (!SWIG_IsOK(res3
)) {
31654 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31659 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31662 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31665 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31666 if (!SWIG_IsOK(ecode5
)) {
31667 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
31669 arg5
= static_cast< int >(val5
);
31672 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31673 if (!SWIG_IsOK(ecode6
)) {
31674 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
31676 arg6
= static_cast< int >(val6
);
31679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31680 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
31681 wxPyEndAllowThreads(__tstate
);
31682 if (PyErr_Occurred()) SWIG_fail
;
31684 resultobj
= SWIG_Py_Void();
31699 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31700 PyObject
*resultobj
= 0;
31701 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31703 wxPoint
*arg3
= (wxPoint
*) 0 ;
31706 PyObject
* obj0
= 0 ;
31707 PyObject
* obj1
= 0 ;
31708 char * kwnames
[] = {
31709 (char *) "self",(char *) "points", NULL
31712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31714 if (!SWIG_IsOK(res1
)) {
31715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31717 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31719 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
31720 if (arg3
== NULL
) SWIG_fail
;
31723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31724 (arg1
)->DrawSpline(arg2
,arg3
);
31725 wxPyEndAllowThreads(__tstate
);
31726 if (PyErr_Occurred()) SWIG_fail
;
31728 resultobj
= SWIG_Py_Void();
31730 if (arg3
) delete [] arg3
;
31735 if (arg3
) delete [] arg3
;
31741 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31742 PyObject
*resultobj
= 0;
31743 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31746 PyObject
*swig_obj
[1] ;
31748 if (!args
) SWIG_fail
;
31749 swig_obj
[0] = args
;
31750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31751 if (!SWIG_IsOK(res1
)) {
31752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31754 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31758 wxPyEndAllowThreads(__tstate
);
31759 if (PyErr_Occurred()) SWIG_fail
;
31761 resultobj
= SWIG_Py_Void();
31768 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31769 PyObject
*resultobj
= 0;
31770 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31776 PyObject
* obj0
= 0 ;
31777 PyObject
* obj1
= 0 ;
31778 char * kwnames
[] = {
31779 (char *) "self",(char *) "font", NULL
31782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31784 if (!SWIG_IsOK(res1
)) {
31785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31787 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31788 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31789 if (!SWIG_IsOK(res2
)) {
31790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31795 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31798 (arg1
)->SetFont((wxFont
const &)*arg2
);
31799 wxPyEndAllowThreads(__tstate
);
31800 if (PyErr_Occurred()) SWIG_fail
;
31802 resultobj
= SWIG_Py_Void();
31809 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31810 PyObject
*resultobj
= 0;
31811 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31817 PyObject
* obj0
= 0 ;
31818 PyObject
* obj1
= 0 ;
31819 char * kwnames
[] = {
31820 (char *) "self",(char *) "pen", NULL
31823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31825 if (!SWIG_IsOK(res1
)) {
31826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31828 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31829 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
31830 if (!SWIG_IsOK(res2
)) {
31831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
31834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
31836 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31839 (arg1
)->SetPen((wxPen
const &)*arg2
);
31840 wxPyEndAllowThreads(__tstate
);
31841 if (PyErr_Occurred()) SWIG_fail
;
31843 resultobj
= SWIG_Py_Void();
31850 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31851 PyObject
*resultobj
= 0;
31852 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31853 wxBrush
*arg2
= 0 ;
31858 PyObject
* obj0
= 0 ;
31859 PyObject
* obj1
= 0 ;
31860 char * kwnames
[] = {
31861 (char *) "self",(char *) "brush", NULL
31864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31866 if (!SWIG_IsOK(res1
)) {
31867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31869 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31870 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31871 if (!SWIG_IsOK(res2
)) {
31872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31877 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31880 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
31881 wxPyEndAllowThreads(__tstate
);
31882 if (PyErr_Occurred()) SWIG_fail
;
31884 resultobj
= SWIG_Py_Void();
31891 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31892 PyObject
*resultobj
= 0;
31893 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31894 wxBrush
*arg2
= 0 ;
31899 PyObject
* obj0
= 0 ;
31900 PyObject
* obj1
= 0 ;
31901 char * kwnames
[] = {
31902 (char *) "self",(char *) "brush", NULL
31905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31907 if (!SWIG_IsOK(res1
)) {
31908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31910 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31911 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31912 if (!SWIG_IsOK(res2
)) {
31913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
31916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
31918 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31921 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
31922 wxPyEndAllowThreads(__tstate
);
31923 if (PyErr_Occurred()) SWIG_fail
;
31925 resultobj
= SWIG_Py_Void();
31932 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31933 PyObject
*resultobj
= 0;
31934 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31940 PyObject
* obj0
= 0 ;
31941 PyObject
* obj1
= 0 ;
31942 char * kwnames
[] = {
31943 (char *) "self",(char *) "mode", NULL
31946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31948 if (!SWIG_IsOK(res1
)) {
31949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31951 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31953 if (!SWIG_IsOK(ecode2
)) {
31954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
31956 arg2
= static_cast< int >(val2
);
31958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31959 (arg1
)->SetBackgroundMode(arg2
);
31960 wxPyEndAllowThreads(__tstate
);
31961 if (PyErr_Occurred()) SWIG_fail
;
31963 resultobj
= SWIG_Py_Void();
31970 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31971 PyObject
*resultobj
= 0;
31972 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31973 wxPalette
*arg2
= 0 ;
31978 PyObject
* obj0
= 0 ;
31979 PyObject
* obj1
= 0 ;
31980 char * kwnames
[] = {
31981 (char *) "self",(char *) "palette", NULL
31984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31986 if (!SWIG_IsOK(res1
)) {
31987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31989 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31990 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
31991 if (!SWIG_IsOK(res2
)) {
31992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
31995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
31997 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
31999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32000 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
32001 wxPyEndAllowThreads(__tstate
);
32002 if (PyErr_Occurred()) SWIG_fail
;
32004 resultobj
= SWIG_Py_Void();
32011 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32012 PyObject
*resultobj
= 0;
32013 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32014 wxColour
*arg2
= 0 ;
32018 PyObject
* obj0
= 0 ;
32019 PyObject
* obj1
= 0 ;
32020 char * kwnames
[] = {
32021 (char *) "self",(char *) "colour", NULL
32024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32026 if (!SWIG_IsOK(res1
)) {
32027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32029 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32032 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32036 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
32037 wxPyEndAllowThreads(__tstate
);
32038 if (PyErr_Occurred()) SWIG_fail
;
32040 resultobj
= SWIG_Py_Void();
32047 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32048 PyObject
*resultobj
= 0;
32049 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32050 wxColour
*arg2
= 0 ;
32054 PyObject
* obj0
= 0 ;
32055 PyObject
* obj1
= 0 ;
32056 char * kwnames
[] = {
32057 (char *) "self",(char *) "colour", NULL
32060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32062 if (!SWIG_IsOK(res1
)) {
32063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32065 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32068 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32072 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
32073 wxPyEndAllowThreads(__tstate
);
32074 if (PyErr_Occurred()) SWIG_fail
;
32076 resultobj
= SWIG_Py_Void();
32083 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32084 PyObject
*resultobj
= 0;
32085 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32091 PyObject
* obj0
= 0 ;
32092 PyObject
* obj1
= 0 ;
32093 char * kwnames
[] = {
32094 (char *) "self",(char *) "function", NULL
32097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32099 if (!SWIG_IsOK(res1
)) {
32100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32102 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32104 if (!SWIG_IsOK(ecode2
)) {
32105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
32107 arg2
= static_cast< int >(val2
);
32109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32110 (arg1
)->SetLogicalFunction(arg2
);
32111 wxPyEndAllowThreads(__tstate
);
32112 if (PyErr_Occurred()) SWIG_fail
;
32114 resultobj
= SWIG_Py_Void();
32121 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32124 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
32125 return SWIG_Py_Void();
32128 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32129 return SWIG_Python_InitShadowInstance(args
);
32132 static PyMethodDef SwigMethods
[] = {
32133 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
32134 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
32135 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
32136 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
32137 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
32138 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
32142 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
32143 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
32144 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
32145 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
32146 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
32147 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
32152 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
32156 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
32157 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
32158 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
32160 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
32163 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
32164 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
32165 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
32166 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
32168 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
32169 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
32170 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
32171 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
32172 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
32173 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
32174 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
32181 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
32183 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
32184 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
32188 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
32189 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
32192 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
32196 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
32197 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
32198 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
32199 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
32200 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
32201 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
32202 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
32204 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
32210 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
32212 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
32213 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
32214 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
32215 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
32216 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
32217 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
32218 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
32224 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
32234 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
32235 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
32239 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
32240 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
32241 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
32242 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
32243 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
32244 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
32245 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
32246 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
32247 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
32248 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
32249 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
32250 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
32251 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
32252 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
32253 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
32255 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
32256 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
32262 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
32263 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
32264 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
32265 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
32266 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
32267 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
32268 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
32269 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
32270 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
32271 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
32272 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
32273 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
32275 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
32276 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
32282 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
32283 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
32284 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
32286 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
32287 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
32288 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
32290 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
32291 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
32296 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
32298 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
32299 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
32300 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
32301 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
32307 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
32308 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32309 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
32310 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
32311 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
32313 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
32315 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
32316 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
32317 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
32318 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
32321 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
32325 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
32326 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
32328 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
32331 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
32333 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
32334 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
32335 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
32336 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
32341 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
32342 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32344 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
32347 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
32348 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
32354 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
32358 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
32369 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32370 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
32372 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
32373 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
32375 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
32376 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
32377 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
32378 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
32379 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
32380 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
32381 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
32382 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
32383 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
32384 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
32385 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
32386 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
32387 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
32388 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
32389 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
32390 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
32391 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32392 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
32393 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
32394 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
32395 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
32396 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
32397 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
32398 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
32399 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
32400 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32402 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32403 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32405 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32408 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32409 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
32410 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
32411 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32412 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
32413 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
32414 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
32415 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
32416 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
32417 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
32418 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
32419 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
32420 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
32421 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32422 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
32423 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
32424 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
32425 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
32428 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
32429 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
32430 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
32433 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32435 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32436 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32437 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32438 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
32439 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32440 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32442 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32443 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
32444 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
32445 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32446 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
32447 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32448 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32449 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32450 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32451 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32452 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
32453 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32454 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32455 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
32456 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
32457 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
32458 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
32459 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
32460 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
32461 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
32462 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
32463 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
32464 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
32465 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
32466 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
32467 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
32468 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32469 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32470 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32471 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32472 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32473 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32474 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32475 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32476 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32477 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32478 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32479 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
32480 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
32481 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
32482 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32483 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
32484 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
32485 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32486 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
32487 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
32488 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
32489 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
32490 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32491 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32492 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32493 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
32494 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
32495 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32496 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
32497 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
32498 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
32499 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
32500 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
32501 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
32502 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
32503 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
32504 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
32505 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32506 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
32507 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32508 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32509 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
32510 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
32511 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
32512 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
32513 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
32514 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
32515 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
32516 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
32517 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32518 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32519 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32520 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32521 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32522 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32523 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32524 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32525 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32526 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
32527 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
32528 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
32529 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32530 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
32531 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32532 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32533 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32534 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
32535 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
32536 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
32537 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
32538 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
32539 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
32540 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32541 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32542 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32543 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32544 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32545 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
32546 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
32547 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
32548 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32549 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32550 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32551 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32552 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32553 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32554 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32555 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32556 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32557 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32558 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32559 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32560 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32561 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32562 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32563 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32564 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32565 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32566 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32567 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32568 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32569 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32570 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32571 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32572 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32573 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32574 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32575 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32576 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32577 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32578 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32579 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32580 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32581 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32582 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32583 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32584 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32585 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32586 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32587 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32588 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32589 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32590 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32591 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32592 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32593 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32594 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32595 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32596 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
32597 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32598 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
32599 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
32600 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
32601 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32602 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32603 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32604 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32605 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32606 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32607 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
32608 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
32609 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
32610 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
32611 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
32612 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32613 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32614 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32615 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32616 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
32617 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
32618 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
32619 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
32620 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32621 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32622 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32623 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32624 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32625 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32626 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32627 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32628 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
32629 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
32630 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
32631 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
32632 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
32633 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
32634 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
32635 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
32636 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
32637 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
32638 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
32639 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
32640 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32641 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32642 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
32643 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32644 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
32645 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32646 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
32647 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32648 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
32649 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
32650 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32651 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32652 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
32653 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
32654 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32655 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32656 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32657 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
32658 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32659 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
32660 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32661 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32662 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
32663 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
32664 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
32665 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
32666 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
32667 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
32668 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
32669 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32670 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32671 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32672 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32673 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32674 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32675 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
32676 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
32677 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32678 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32679 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
32680 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
32681 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
32682 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
32683 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
32684 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
32685 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
32686 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32687 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
32688 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
32689 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
32690 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32691 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32692 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
32693 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
32694 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
32695 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32696 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
32697 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
32698 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32699 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
32700 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
32701 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32702 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
32703 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
32704 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32705 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
32706 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
32707 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32708 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
32709 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32710 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32711 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
32712 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
32713 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
32714 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32715 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
32716 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
32717 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32718 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
32719 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
32720 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
32721 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
32722 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
32723 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
32724 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32725 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
32726 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
32727 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
32728 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32729 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
32730 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
32731 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32732 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
32733 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32734 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32735 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32736 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32737 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32738 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32739 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32740 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
32741 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32742 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
32743 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32744 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
32745 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
32746 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
32747 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
32748 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
32749 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
32750 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32751 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32752 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32753 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32754 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32755 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
32756 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
32757 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
32758 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
32759 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
32760 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
32761 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32762 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32763 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32764 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
32765 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32766 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32767 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32768 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
32769 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32770 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32771 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32772 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
32773 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
32774 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
32775 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32776 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32777 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32778 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32779 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
32780 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
32781 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
32782 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
32783 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
32784 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
32785 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
32786 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
32787 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
32788 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
32789 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
32790 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
32791 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32792 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32793 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32794 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32795 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32796 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32797 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32798 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32799 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
32800 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
32801 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32802 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
32803 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
32804 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
32805 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
32806 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
32807 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
32808 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
32809 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
32810 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
32811 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
32812 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
32813 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
32814 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
32815 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
32816 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
32817 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
32818 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
32819 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
32820 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
32821 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
32822 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
32823 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
32824 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
32825 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
32826 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32827 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
32828 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32829 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
32830 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
32831 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
32832 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
32833 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32834 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32835 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32836 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32837 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32838 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32839 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32840 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32841 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32842 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32843 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32844 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32845 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
32846 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
32847 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
32848 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32849 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
32850 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
32851 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
32852 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
32853 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
32854 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
32855 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
32856 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
32857 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32858 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32859 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32860 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32861 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32862 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32863 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32864 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32865 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32866 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32867 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32868 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32869 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32870 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32871 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32872 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32873 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32874 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32875 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32876 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32877 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32878 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32879 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32880 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32881 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32882 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32883 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32884 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32885 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32886 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32887 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32888 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32889 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32890 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32891 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32892 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32893 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32894 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32895 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32896 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32897 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32898 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32899 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32900 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32901 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32902 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32903 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32904 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32905 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
32906 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32907 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32908 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32909 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32910 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32911 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32912 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32913 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32914 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32915 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
32916 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
32917 { NULL
, NULL
, 0, NULL
}
32921 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32923 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
32924 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
32926 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
32927 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32929 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
32930 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
32932 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
32933 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
32935 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
32936 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
32938 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
32939 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
32941 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
32942 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
32944 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
32945 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
32947 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
32948 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
32950 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
32951 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
32953 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
32954 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
32956 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
32957 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
32959 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
32960 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
32962 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
32963 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
32965 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
32966 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
32968 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
32969 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
32971 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
32972 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
32974 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
32975 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32977 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
32978 return (void *)((wxDC
*) ((wxClientDC
*) x
));
32980 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
32981 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
32983 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
32984 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
32986 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
32987 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
32989 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
32990 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
32992 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
32993 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
32995 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
32996 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
32998 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
32999 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
33001 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33002 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33004 static void *_p_wxPenTo_p_wxObject(void *x
) {
33005 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
33007 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
33008 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
33010 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33011 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33013 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33014 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33016 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33017 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33019 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33020 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33022 static void *_p_wxIconTo_p_wxObject(void *x
) {
33023 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
33025 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33026 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33028 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33029 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33031 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33032 return (void *)((wxObject
*) ((wxSizer
*) x
));
33034 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33035 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33037 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33038 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33040 static void *_p_wxEventTo_p_wxObject(void *x
) {
33041 return (void *)((wxObject
*) ((wxEvent
*) x
));
33043 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33044 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33046 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33047 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33049 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33050 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33052 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
33053 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
33055 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
33056 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33058 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33059 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33061 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33062 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33064 static void *_p_wxDCTo_p_wxObject(void *x
) {
33065 return (void *)((wxObject
*) ((wxDC
*) x
));
33067 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33068 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33070 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33071 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33073 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33074 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33076 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33077 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33079 static void *_p_wxControlTo_p_wxObject(void *x
) {
33080 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33082 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33083 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33085 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
33086 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
33088 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33089 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33091 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
33092 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
33094 static void *_p_wxRegionTo_p_wxObject(void *x
) {
33095 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
33097 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33098 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33100 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
33101 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
33103 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
33104 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
33106 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
33107 return (void *)((wxObject
*) ((wxEffects
*) x
));
33109 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33110 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33112 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33113 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33115 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
33116 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
33118 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33119 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33121 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33122 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33124 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
33125 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
33127 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33128 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33130 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33131 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33133 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33134 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33136 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33137 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33139 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33140 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33142 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33143 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33145 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33146 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33148 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33149 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33151 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33152 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33154 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33155 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33157 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33158 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33160 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33161 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33163 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33164 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33166 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33167 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33169 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33170 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33172 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33173 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33175 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33176 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33178 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
33179 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
33181 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33182 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33184 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33185 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33187 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33188 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33190 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33191 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33193 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
33194 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
33196 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
33197 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
33199 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
33200 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
33202 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
33203 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
33205 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
33206 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
33208 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
33209 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
33211 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33212 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33214 static void *_p_wxImageTo_p_wxObject(void *x
) {
33215 return (void *)((wxObject
*) ((wxImage
*) x
));
33217 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33218 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33220 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
33221 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
33223 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
33224 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
33226 static void *_p_wxImageListTo_p_wxObject(void *x
) {
33227 return (void *)((wxObject
*) ((wxImageList
*) x
));
33229 static void *_p_wxCursorTo_p_wxObject(void *x
) {
33230 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
33232 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
33233 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
33235 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
33236 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
33238 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33239 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33241 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33242 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33244 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33245 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33247 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33248 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33250 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33251 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33253 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33254 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33256 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
33257 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
33259 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33260 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33262 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
33263 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
33265 static void *_p_wxMaskTo_p_wxObject(void *x
) {
33266 return (void *)((wxObject
*) ((wxMask
*) x
));
33268 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33269 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33271 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33272 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33274 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33275 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33277 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33278 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33280 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33281 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33283 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33284 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33286 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33287 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33289 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33290 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33292 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33293 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33295 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33296 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33298 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33299 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33301 static void *_p_wxFontTo_p_wxObject(void *x
) {
33302 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
33304 static void *_p_wxBrushTo_p_wxObject(void *x
) {
33305 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
33307 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
33308 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
33310 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33313 static void *_p_wxColourTo_p_wxObject(void *x
) {
33314 return (void *)((wxObject
*) ((wxColour
*) x
));
33316 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33319 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33320 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33322 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33323 return (void *)((wxWindow
*) ((wxControl
*) x
));
33325 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33326 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33328 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33329 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33331 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
33332 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
33334 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
33335 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
33337 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
33338 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33339 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
33340 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};
33341 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33342 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33343 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33344 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33345 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
33346 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
33347 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33348 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
33349 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
33350 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
33351 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
33352 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
33353 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
33354 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33355 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
33356 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
33357 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33358 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
33359 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33360 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
33361 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
33362 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33363 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
33364 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
33365 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
33366 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
33367 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
33368 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33369 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33370 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
33371 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
33372 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
33373 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
33374 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
33375 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
33376 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
33377 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
33378 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
33379 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
33380 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
33381 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
33382 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
33383 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
33384 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33385 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33386 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33387 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33388 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33389 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33390 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33391 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33392 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33393 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33394 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33395 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
33396 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
33397 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33398 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33399 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33400 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33401 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33402 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33403 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33404 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33405 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33406 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33407 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33408 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33409 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33410 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33411 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33412 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
33413 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33414 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33415 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33416 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33417 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33418 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33419 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33420 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33421 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33422 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33423 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33424 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33425 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33426 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33427 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33428 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33429 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33430 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33431 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33432 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
33433 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33434 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33435 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33436 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33437 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33438 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33439 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
33440 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33441 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
33442 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33443 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33444 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33445 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
33446 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
33447 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33448 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33449 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33450 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33451 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33452 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33453 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33454 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
33455 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33456 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33457 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33458 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33459 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33460 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
33461 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
33462 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
33463 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33464 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
33465 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
33466 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
33467 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33468 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
33469 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33470 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
33471 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
33472 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
33473 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
33474 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33475 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33476 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
33477 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
33478 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
33479 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
33480 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33481 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
33482 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
33483 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33484 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33485 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
33487 static swig_type_info
*swig_type_initial
[] = {
33491 &_swigt__p_form_ops_t
,
33493 &_swigt__p_unsigned_char
,
33494 &_swigt__p_unsigned_int
,
33495 &_swigt__p_unsigned_long
,
33496 &_swigt__p_wxANIHandler
,
33497 &_swigt__p_wxAcceleratorTable
,
33498 &_swigt__p_wxActivateEvent
,
33499 &_swigt__p_wxAlphaPixelData
,
33500 &_swigt__p_wxAlphaPixelData_Accessor
,
33501 &_swigt__p_wxBMPHandler
,
33502 &_swigt__p_wxBitmap
,
33503 &_swigt__p_wxBoxSizer
,
33504 &_swigt__p_wxBrush
,
33505 &_swigt__p_wxBrushList
,
33506 &_swigt__p_wxBufferedDC
,
33507 &_swigt__p_wxBufferedPaintDC
,
33508 &_swigt__p_wxCURHandler
,
33510 &_swigt__p_wxChildFocusEvent
,
33511 &_swigt__p_wxClientDC
,
33512 &_swigt__p_wxClipboardTextEvent
,
33513 &_swigt__p_wxCloseEvent
,
33514 &_swigt__p_wxColour
,
33515 &_swigt__p_wxColourDatabase
,
33516 &_swigt__p_wxCommandEvent
,
33517 &_swigt__p_wxContextMenuEvent
,
33518 &_swigt__p_wxControl
,
33519 &_swigt__p_wxControlWithItems
,
33520 &_swigt__p_wxCursor
,
33523 &_swigt__p_wxDateEvent
,
33524 &_swigt__p_wxDisplayChangedEvent
,
33525 &_swigt__p_wxDropFilesEvent
,
33526 &_swigt__p_wxDuplexMode
,
33527 &_swigt__p_wxEffects
,
33528 &_swigt__p_wxEncodingConverter
,
33529 &_swigt__p_wxEraseEvent
,
33530 &_swigt__p_wxEvent
,
33531 &_swigt__p_wxEvtHandler
,
33532 &_swigt__p_wxFSFile
,
33533 &_swigt__p_wxFileSystem
,
33534 &_swigt__p_wxFlexGridSizer
,
33535 &_swigt__p_wxFocusEvent
,
33537 &_swigt__p_wxFontList
,
33538 &_swigt__p_wxFontMapper
,
33539 &_swigt__p_wxGBSizerItem
,
33540 &_swigt__p_wxGDIObjListBase
,
33541 &_swigt__p_wxGDIObject
,
33542 &_swigt__p_wxGIFHandler
,
33543 &_swigt__p_wxGridBagSizer
,
33544 &_swigt__p_wxGridSizer
,
33545 &_swigt__p_wxHeaderButtonParams
,
33546 &_swigt__p_wxICOHandler
,
33548 &_swigt__p_wxIconBundle
,
33549 &_swigt__p_wxIconLocation
,
33550 &_swigt__p_wxIconizeEvent
,
33551 &_swigt__p_wxIdleEvent
,
33552 &_swigt__p_wxImage
,
33553 &_swigt__p_wxImageHandler
,
33554 &_swigt__p_wxImageList
,
33555 &_swigt__p_wxIndividualLayoutConstraint
,
33556 &_swigt__p_wxInitDialogEvent
,
33557 &_swigt__p_wxJPEGHandler
,
33558 &_swigt__p_wxKeyEvent
,
33559 &_swigt__p_wxLanguageInfo
,
33560 &_swigt__p_wxLayoutConstraints
,
33561 &_swigt__p_wxLocale
,
33563 &_swigt__p_wxMaximizeEvent
,
33564 &_swigt__p_wxMemoryDC
,
33566 &_swigt__p_wxMenuBar
,
33567 &_swigt__p_wxMenuEvent
,
33568 &_swigt__p_wxMenuItem
,
33569 &_swigt__p_wxMetaFile
,
33570 &_swigt__p_wxMetaFileDC
,
33571 &_swigt__p_wxMirrorDC
,
33572 &_swigt__p_wxMouseCaptureChangedEvent
,
33573 &_swigt__p_wxMouseCaptureLostEvent
,
33574 &_swigt__p_wxMouseEvent
,
33575 &_swigt__p_wxMoveEvent
,
33576 &_swigt__p_wxNativeEncodingInfo
,
33577 &_swigt__p_wxNativeFontInfo
,
33578 &_swigt__p_wxNativePixelData
,
33579 &_swigt__p_wxNativePixelData_Accessor
,
33580 &_swigt__p_wxNavigationKeyEvent
,
33581 &_swigt__p_wxNcPaintEvent
,
33582 &_swigt__p_wxNotifyEvent
,
33583 &_swigt__p_wxObject
,
33584 &_swigt__p_wxPCXHandler
,
33585 &_swigt__p_wxPNGHandler
,
33586 &_swigt__p_wxPNMHandler
,
33587 &_swigt__p_wxPaintDC
,
33588 &_swigt__p_wxPaintEvent
,
33589 &_swigt__p_wxPalette
,
33590 &_swigt__p_wxPaletteChangedEvent
,
33591 &_swigt__p_wxPaperSize
,
33593 &_swigt__p_wxPenList
,
33594 &_swigt__p_wxPixelDataBase
,
33595 &_swigt__p_wxPoint
,
33596 &_swigt__p_wxPostScriptDC
,
33597 &_swigt__p_wxPrintData
,
33598 &_swigt__p_wxPrinterDC
,
33599 &_swigt__p_wxPseudoDC
,
33600 &_swigt__p_wxPyApp
,
33601 &_swigt__p_wxPyCommandEvent
,
33602 &_swigt__p_wxPyEvent
,
33603 &_swigt__p_wxPyFontEnumerator
,
33604 &_swigt__p_wxPyImageHandler
,
33605 &_swigt__p_wxPyLocale
,
33606 &_swigt__p_wxPySizer
,
33607 &_swigt__p_wxPyValidator
,
33608 &_swigt__p_wxQueryNewPaletteEvent
,
33610 &_swigt__p_wxRegion
,
33611 &_swigt__p_wxRegionIterator
,
33612 &_swigt__p_wxRendererNative
,
33613 &_swigt__p_wxRendererVersion
,
33614 &_swigt__p_wxScreenDC
,
33615 &_swigt__p_wxScrollEvent
,
33616 &_swigt__p_wxScrollWinEvent
,
33617 &_swigt__p_wxSetCursorEvent
,
33618 &_swigt__p_wxShowEvent
,
33620 &_swigt__p_wxSizeEvent
,
33621 &_swigt__p_wxSizer
,
33622 &_swigt__p_wxSizerItem
,
33623 &_swigt__p_wxSplitterRenderParams
,
33624 &_swigt__p_wxStaticBoxSizer
,
33625 &_swigt__p_wxStdDialogButtonSizer
,
33626 &_swigt__p_wxStockGDI
,
33627 &_swigt__p_wxString
,
33628 &_swigt__p_wxSysColourChangedEvent
,
33629 &_swigt__p_wxTIFFHandler
,
33630 &_swigt__p_wxUpdateUIEvent
,
33631 &_swigt__p_wxValidator
,
33632 &_swigt__p_wxWindow
,
33633 &_swigt__p_wxWindowCreateEvent
,
33634 &_swigt__p_wxWindowDC
,
33635 &_swigt__p_wxWindowDestroyEvent
,
33636 &_swigt__p_wxXPMHandler
,
33639 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
33640 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33641 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
33642 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33643 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33644 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33645 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33646 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33647 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
33648 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
33649 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33650 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
33651 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
33652 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}};
33653 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
33654 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
33655 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
33656 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33657 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
33658 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
33659 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},{0, 0, 0, 0}};
33660 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
33661 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33662 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
33663 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
33664 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33665 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
33666 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
33667 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}};
33668 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}};
33669 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
33670 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33671 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33672 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
33673 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33674 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
33675 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
33676 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}};
33677 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
33678 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxMemoryDC
, 0, 0}, {&_swigt__p_wxMemoryDC
, 0, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxMemoryDC
, 0, 0},{0, 0, 0, 0}};
33679 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
33680 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
33681 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
33682 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
33683 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
33684 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
33685 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
33686 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33687 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33688 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33689 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33690 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33691 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33692 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33693 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33694 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33695 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33696 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33697 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
33698 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33699 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33700 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33701 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33702 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33703 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33704 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33705 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33706 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33707 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33708 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33709 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33710 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33711 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33712 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33713 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33714 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33715 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33716 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33717 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33718 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33719 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33720 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33721 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33722 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33723 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33724 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33725 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33726 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33727 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33728 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33729 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33730 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33731 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33732 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33733 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
33734 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33735 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33736 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33737 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33738 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33739 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33740 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33741 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33742 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33743 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33744 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33745 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33746 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33747 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33748 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33749 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33750 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33751 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33752 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33753 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33754 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33755 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33756 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33757 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33758 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33759 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33760 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33761 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33762 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_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_wxANIHandler
, _p_wxANIHandlerTo_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_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_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_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}};
33763 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
33764 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
33765 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33766 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
33767 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
33768 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}};
33769 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33770 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
33771 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33772 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
33773 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
33774 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
33775 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
33776 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33777 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33778 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
33779 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
33780 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
33781 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
33782 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33783 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
33784 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
33785 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33786 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}};
33787 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
33789 static swig_cast_info
*swig_cast_initial
[] = {
33793 _swigc__p_form_ops_t
,
33795 _swigc__p_unsigned_char
,
33796 _swigc__p_unsigned_int
,
33797 _swigc__p_unsigned_long
,
33798 _swigc__p_wxANIHandler
,
33799 _swigc__p_wxAcceleratorTable
,
33800 _swigc__p_wxActivateEvent
,
33801 _swigc__p_wxAlphaPixelData
,
33802 _swigc__p_wxAlphaPixelData_Accessor
,
33803 _swigc__p_wxBMPHandler
,
33804 _swigc__p_wxBitmap
,
33805 _swigc__p_wxBoxSizer
,
33807 _swigc__p_wxBrushList
,
33808 _swigc__p_wxBufferedDC
,
33809 _swigc__p_wxBufferedPaintDC
,
33810 _swigc__p_wxCURHandler
,
33812 _swigc__p_wxChildFocusEvent
,
33813 _swigc__p_wxClientDC
,
33814 _swigc__p_wxClipboardTextEvent
,
33815 _swigc__p_wxCloseEvent
,
33816 _swigc__p_wxColour
,
33817 _swigc__p_wxColourDatabase
,
33818 _swigc__p_wxCommandEvent
,
33819 _swigc__p_wxContextMenuEvent
,
33820 _swigc__p_wxControl
,
33821 _swigc__p_wxControlWithItems
,
33822 _swigc__p_wxCursor
,
33825 _swigc__p_wxDateEvent
,
33826 _swigc__p_wxDisplayChangedEvent
,
33827 _swigc__p_wxDropFilesEvent
,
33828 _swigc__p_wxDuplexMode
,
33829 _swigc__p_wxEffects
,
33830 _swigc__p_wxEncodingConverter
,
33831 _swigc__p_wxEraseEvent
,
33833 _swigc__p_wxEvtHandler
,
33834 _swigc__p_wxFSFile
,
33835 _swigc__p_wxFileSystem
,
33836 _swigc__p_wxFlexGridSizer
,
33837 _swigc__p_wxFocusEvent
,
33839 _swigc__p_wxFontList
,
33840 _swigc__p_wxFontMapper
,
33841 _swigc__p_wxGBSizerItem
,
33842 _swigc__p_wxGDIObjListBase
,
33843 _swigc__p_wxGDIObject
,
33844 _swigc__p_wxGIFHandler
,
33845 _swigc__p_wxGridBagSizer
,
33846 _swigc__p_wxGridSizer
,
33847 _swigc__p_wxHeaderButtonParams
,
33848 _swigc__p_wxICOHandler
,
33850 _swigc__p_wxIconBundle
,
33851 _swigc__p_wxIconLocation
,
33852 _swigc__p_wxIconizeEvent
,
33853 _swigc__p_wxIdleEvent
,
33855 _swigc__p_wxImageHandler
,
33856 _swigc__p_wxImageList
,
33857 _swigc__p_wxIndividualLayoutConstraint
,
33858 _swigc__p_wxInitDialogEvent
,
33859 _swigc__p_wxJPEGHandler
,
33860 _swigc__p_wxKeyEvent
,
33861 _swigc__p_wxLanguageInfo
,
33862 _swigc__p_wxLayoutConstraints
,
33863 _swigc__p_wxLocale
,
33865 _swigc__p_wxMaximizeEvent
,
33866 _swigc__p_wxMemoryDC
,
33868 _swigc__p_wxMenuBar
,
33869 _swigc__p_wxMenuEvent
,
33870 _swigc__p_wxMenuItem
,
33871 _swigc__p_wxMetaFile
,
33872 _swigc__p_wxMetaFileDC
,
33873 _swigc__p_wxMirrorDC
,
33874 _swigc__p_wxMouseCaptureChangedEvent
,
33875 _swigc__p_wxMouseCaptureLostEvent
,
33876 _swigc__p_wxMouseEvent
,
33877 _swigc__p_wxMoveEvent
,
33878 _swigc__p_wxNativeEncodingInfo
,
33879 _swigc__p_wxNativeFontInfo
,
33880 _swigc__p_wxNativePixelData
,
33881 _swigc__p_wxNativePixelData_Accessor
,
33882 _swigc__p_wxNavigationKeyEvent
,
33883 _swigc__p_wxNcPaintEvent
,
33884 _swigc__p_wxNotifyEvent
,
33885 _swigc__p_wxObject
,
33886 _swigc__p_wxPCXHandler
,
33887 _swigc__p_wxPNGHandler
,
33888 _swigc__p_wxPNMHandler
,
33889 _swigc__p_wxPaintDC
,
33890 _swigc__p_wxPaintEvent
,
33891 _swigc__p_wxPalette
,
33892 _swigc__p_wxPaletteChangedEvent
,
33893 _swigc__p_wxPaperSize
,
33895 _swigc__p_wxPenList
,
33896 _swigc__p_wxPixelDataBase
,
33898 _swigc__p_wxPostScriptDC
,
33899 _swigc__p_wxPrintData
,
33900 _swigc__p_wxPrinterDC
,
33901 _swigc__p_wxPseudoDC
,
33903 _swigc__p_wxPyCommandEvent
,
33904 _swigc__p_wxPyEvent
,
33905 _swigc__p_wxPyFontEnumerator
,
33906 _swigc__p_wxPyImageHandler
,
33907 _swigc__p_wxPyLocale
,
33908 _swigc__p_wxPySizer
,
33909 _swigc__p_wxPyValidator
,
33910 _swigc__p_wxQueryNewPaletteEvent
,
33912 _swigc__p_wxRegion
,
33913 _swigc__p_wxRegionIterator
,
33914 _swigc__p_wxRendererNative
,
33915 _swigc__p_wxRendererVersion
,
33916 _swigc__p_wxScreenDC
,
33917 _swigc__p_wxScrollEvent
,
33918 _swigc__p_wxScrollWinEvent
,
33919 _swigc__p_wxSetCursorEvent
,
33920 _swigc__p_wxShowEvent
,
33922 _swigc__p_wxSizeEvent
,
33924 _swigc__p_wxSizerItem
,
33925 _swigc__p_wxSplitterRenderParams
,
33926 _swigc__p_wxStaticBoxSizer
,
33927 _swigc__p_wxStdDialogButtonSizer
,
33928 _swigc__p_wxStockGDI
,
33929 _swigc__p_wxString
,
33930 _swigc__p_wxSysColourChangedEvent
,
33931 _swigc__p_wxTIFFHandler
,
33932 _swigc__p_wxUpdateUIEvent
,
33933 _swigc__p_wxValidator
,
33934 _swigc__p_wxWindow
,
33935 _swigc__p_wxWindowCreateEvent
,
33936 _swigc__p_wxWindowDC
,
33937 _swigc__p_wxWindowDestroyEvent
,
33938 _swigc__p_wxXPMHandler
,
33942 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33944 static swig_const_info swig_const_table
[] = {
33945 {0, 0, 0, 0.0, 0, 0}};
33950 /* -----------------------------------------------------------------------------
33951 * Type initialization:
33952 * This problem is tough by the requirement that no dynamic
33953 * memory is used. Also, since swig_type_info structures store pointers to
33954 * swig_cast_info structures and swig_cast_info structures store pointers back
33955 * to swig_type_info structures, we need some lookup code at initialization.
33956 * The idea is that swig generates all the structures that are needed.
33957 * The runtime then collects these partially filled structures.
33958 * The SWIG_InitializeModule function takes these initial arrays out of
33959 * swig_module, and does all the lookup, filling in the swig_module.types
33960 * array with the correct data and linking the correct swig_cast_info
33961 * structures together.
33963 * The generated swig_type_info structures are assigned staticly to an initial
33964 * array. We just loop though that array, and handle each type individually.
33965 * First we lookup if this type has been already loaded, and if so, use the
33966 * loaded structure instead of the generated one. Then we have to fill in the
33967 * cast linked list. The cast data is initially stored in something like a
33968 * two-dimensional array. Each row corresponds to a type (there are the same
33969 * number of rows as there are in the swig_type_initial array). Each entry in
33970 * a column is one of the swig_cast_info structures for that type.
33971 * The cast_initial array is actually an array of arrays, because each row has
33972 * a variable number of columns. So to actually build the cast linked list,
33973 * we find the array of casts associated with the type, and loop through it
33974 * adding the casts to the list. The one last trick we need to do is making
33975 * sure the type pointer in the swig_cast_info struct is correct.
33977 * First off, we lookup the cast->type name to see if it is already loaded.
33978 * There are three cases to handle:
33979 * 1) If the cast->type has already been loaded AND the type we are adding
33980 * casting info to has not been loaded (it is in this module), THEN we
33981 * replace the cast->type pointer with the type pointer that has already
33983 * 2) If BOTH types (the one we are adding casting info to, and the
33984 * cast->type) are loaded, THEN the cast info has already been loaded by
33985 * the previous module so we just ignore it.
33986 * 3) Finally, if cast->type has not already been loaded, then we add that
33987 * swig_cast_info to the linked list (because the cast->type) pointer will
33989 * ----------------------------------------------------------------------------- */
33999 #define SWIGRUNTIME_DEBUG
34003 SWIG_InitializeModule(void *clientdata
) {
34005 swig_module_info
*module_head
;
34006 static int init_run
= 0;
34008 clientdata
= clientdata
;
34010 if (init_run
) return;
34013 /* Initialize the swig_module */
34014 swig_module
.type_initial
= swig_type_initial
;
34015 swig_module
.cast_initial
= swig_cast_initial
;
34017 /* Try and load any already created modules */
34018 module_head
= SWIG_GetModule(clientdata
);
34020 swig_module
.next
= module_head
->next
;
34021 module_head
->next
= &swig_module
;
34023 /* This is the first module loaded */
34024 swig_module
.next
= &swig_module
;
34025 SWIG_SetModule(clientdata
, &swig_module
);
34028 /* Now work on filling in swig_module.types */
34029 #ifdef SWIGRUNTIME_DEBUG
34030 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34032 for (i
= 0; i
< swig_module
.size
; ++i
) {
34033 swig_type_info
*type
= 0;
34034 swig_type_info
*ret
;
34035 swig_cast_info
*cast
;
34037 #ifdef SWIGRUNTIME_DEBUG
34038 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34041 /* if there is another module already loaded */
34042 if (swig_module
.next
!= &swig_module
) {
34043 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34046 /* Overwrite clientdata field */
34047 #ifdef SWIGRUNTIME_DEBUG
34048 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34050 if (swig_module
.type_initial
[i
]->clientdata
) {
34051 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34052 #ifdef SWIGRUNTIME_DEBUG
34053 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34057 type
= swig_module
.type_initial
[i
];
34060 /* Insert casting types */
34061 cast
= swig_module
.cast_initial
[i
];
34062 while (cast
->type
) {
34063 /* Don't need to add information already in the list */
34065 #ifdef SWIGRUNTIME_DEBUG
34066 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34068 if (swig_module
.next
!= &swig_module
) {
34069 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34070 #ifdef SWIGRUNTIME_DEBUG
34071 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34075 if (type
== swig_module
.type_initial
[i
]) {
34076 #ifdef SWIGRUNTIME_DEBUG
34077 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34082 /* Check for casting already in the list */
34083 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34084 #ifdef SWIGRUNTIME_DEBUG
34085 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34087 if (!ocast
) ret
= 0;
34092 #ifdef SWIGRUNTIME_DEBUG
34093 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34096 type
->cast
->prev
= cast
;
34097 cast
->next
= type
->cast
;
34103 /* Set entry in modules->types array equal to the type */
34104 swig_module
.types
[i
] = type
;
34106 swig_module
.types
[i
] = 0;
34108 #ifdef SWIGRUNTIME_DEBUG
34109 printf("**** SWIG_InitializeModule: Cast List ******\n");
34110 for (i
= 0; i
< swig_module
.size
; ++i
) {
34112 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34113 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34114 while (cast
->type
) {
34115 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34119 printf("---- Total casts: %d\n",j
);
34121 printf("**** SWIG_InitializeModule: Cast List ******\n");
34125 /* This function will propagate the clientdata field of type to
34126 * any new swig_type_info structures that have been added into the list
34127 * of equivalent types. It is like calling
34128 * SWIG_TypeClientData(type, clientdata) a second time.
34131 SWIG_PropagateClientData(void) {
34133 swig_cast_info
*equiv
;
34134 static int init_run
= 0;
34136 if (init_run
) return;
34139 for (i
= 0; i
< swig_module
.size
; i
++) {
34140 if (swig_module
.types
[i
]->clientdata
) {
34141 equiv
= swig_module
.types
[i
]->cast
;
34143 if (!equiv
->converter
) {
34144 if (equiv
->type
&& !equiv
->type
->clientdata
)
34145 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34147 equiv
= equiv
->next
;
34167 /* Python-specific SWIG API */
34168 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34169 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34170 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34172 /* -----------------------------------------------------------------------------
34173 * global variable support code.
34174 * ----------------------------------------------------------------------------- */
34176 typedef struct swig_globalvar
{
34177 char *name
; /* Name of global variable */
34178 PyObject
*(*get_attr
)(void); /* Return the current value */
34179 int (*set_attr
)(PyObject
*); /* Set the value */
34180 struct swig_globalvar
*next
;
34183 typedef struct swig_varlinkobject
{
34185 swig_globalvar
*vars
;
34186 } swig_varlinkobject
;
34188 SWIGINTERN PyObject
*
34189 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34190 return PyString_FromString("<Swig global variables>");
34193 SWIGINTERN PyObject
*
34194 swig_varlink_str(swig_varlinkobject
*v
) {
34195 PyObject
*str
= PyString_FromString("(");
34196 swig_globalvar
*var
;
34197 for (var
= v
->vars
; var
; var
=var
->next
) {
34198 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34199 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34201 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34206 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34207 PyObject
*str
= swig_varlink_str(v
);
34208 fprintf(fp
,"Swig global variables ");
34209 fprintf(fp
,"%s\n", PyString_AsString(str
));
34215 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34216 swig_globalvar
*var
= v
->vars
;
34218 swig_globalvar
*n
= var
->next
;
34225 SWIGINTERN PyObject
*
34226 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34227 PyObject
*res
= NULL
;
34228 swig_globalvar
*var
= v
->vars
;
34230 if (strcmp(var
->name
,n
) == 0) {
34231 res
= (*var
->get_attr
)();
34236 if (res
== NULL
&& !PyErr_Occurred()) {
34237 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34243 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34245 swig_globalvar
*var
= v
->vars
;
34247 if (strcmp(var
->name
,n
) == 0) {
34248 res
= (*var
->set_attr
)(p
);
34253 if (res
== 1 && !PyErr_Occurred()) {
34254 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34259 SWIGINTERN PyTypeObject
*
34260 swig_varlink_type(void) {
34261 static char varlink__doc__
[] = "Swig var link object";
34262 static PyTypeObject varlink_type
;
34263 static int type_init
= 0;
34265 const PyTypeObject tmp
34267 PyObject_HEAD_INIT(NULL
)
34268 0, /* Number of items in variable part (ob_size) */
34269 (char *)"swigvarlink", /* Type name (tp_name) */
34270 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34271 0, /* Itemsize (tp_itemsize) */
34272 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34273 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34274 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34275 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34276 0, /* tp_compare */
34277 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34278 0, /* tp_as_number */
34279 0, /* tp_as_sequence */
34280 0, /* tp_as_mapping */
34283 (reprfunc
)swig_varlink_str
, /* tp_str */
34284 0, /* tp_getattro */
34285 0, /* tp_setattro */
34286 0, /* tp_as_buffer */
34288 varlink__doc__
, /* tp_doc */
34289 0, /* tp_traverse */
34291 0, /* tp_richcompare */
34292 0, /* tp_weaklistoffset */
34293 #if PY_VERSION_HEX >= 0x02020000
34294 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34296 #if PY_VERSION_HEX >= 0x02030000
34299 #ifdef COUNT_ALLOCS
34300 0,0,0,0 /* tp_alloc -> tp_next */
34303 varlink_type
= tmp
;
34304 varlink_type
.ob_type
= &PyType_Type
;
34307 return &varlink_type
;
34310 /* Create a variable linking object for use later */
34311 SWIGINTERN PyObject
*
34312 SWIG_Python_newvarlink(void) {
34313 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34317 return ((PyObject
*) result
);
34321 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34322 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34323 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34325 size_t size
= strlen(name
)+1;
34326 gv
->name
= (char *)malloc(size
);
34328 strncpy(gv
->name
,name
,size
);
34329 gv
->get_attr
= get_attr
;
34330 gv
->set_attr
= set_attr
;
34331 gv
->next
= v
->vars
;
34337 SWIGINTERN PyObject
*
34339 static PyObject
*_SWIG_globals
= 0;
34340 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34341 return _SWIG_globals
;
34344 /* -----------------------------------------------------------------------------
34345 * constants/methods manipulation
34346 * ----------------------------------------------------------------------------- */
34348 /* Install Constants */
34350 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34353 for (i
= 0; constants
[i
].type
; ++i
) {
34354 switch(constants
[i
].type
) {
34355 case SWIG_PY_POINTER
:
34356 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34358 case SWIG_PY_BINARY
:
34359 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34366 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34372 /* -----------------------------------------------------------------------------*/
34373 /* Fix SwigMethods to carry the callback ptrs when needed */
34374 /* -----------------------------------------------------------------------------*/
34377 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34378 swig_const_info
*const_table
,
34379 swig_type_info
**types
,
34380 swig_type_info
**types_initial
) {
34382 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34383 const char *c
= methods
[i
].ml_doc
;
34384 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34386 swig_const_info
*ci
= 0;
34387 const char *name
= c
+ 10;
34388 for (j
= 0; const_table
[j
].type
; ++j
) {
34389 if (strncmp(const_table
[j
].name
, name
,
34390 strlen(const_table
[j
].name
)) == 0) {
34391 ci
= &(const_table
[j
]);
34396 size_t shift
= (ci
->ptype
) - types
;
34397 swig_type_info
*ty
= types_initial
[shift
];
34398 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34399 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34400 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34403 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34405 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34407 strncpy(buff
, "swig_ptr: ", 10);
34409 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34410 methods
[i
].ml_doc
= ndoc
;
34422 /* -----------------------------------------------------------------------------*
34423 * Partial Init method
34424 * -----------------------------------------------------------------------------*/
34429 SWIGEXPORT
void SWIG_init(void) {
34432 /* Fix SwigMethods to carry the callback ptrs when needed */
34433 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34435 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34436 d
= PyModule_GetDict(m
);
34438 SWIG_InitializeModule(0);
34439 SWIG_InstallConstants(d
,swig_const_table
);
34442 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
34443 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
34444 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
34445 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
34446 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
34447 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
34448 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
34449 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
34450 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
34451 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
34452 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
34453 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
34454 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
34455 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
34456 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
34457 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
34458 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
34459 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
34460 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
34461 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
34462 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
34463 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
34464 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
34465 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
34466 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
34467 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
34468 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
34469 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
34470 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
34471 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
34472 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
34473 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
34474 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
34475 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
34476 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
34477 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
34478 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
34479 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
34480 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
34481 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
34482 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
34483 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
34484 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
34485 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
34486 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
34487 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
34488 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
34489 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
34490 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
34491 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
34492 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
34493 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
34494 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
34495 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
34496 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
34497 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
34498 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
34499 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
34500 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
34501 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
34502 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
34503 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
34504 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
34505 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
34506 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
34507 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
34508 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
34509 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
34510 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
34511 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
34512 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
34513 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
34514 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
34515 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
34516 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
34517 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
34518 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
34519 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
34520 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
34521 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
34522 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
34523 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
34524 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
34525 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
34526 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
34527 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
34528 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
34529 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
34530 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
34531 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
34532 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
34533 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
34534 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
34535 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
34536 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
34537 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
34538 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
34539 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
34540 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
34541 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
34542 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
34543 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
34544 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
34545 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
34546 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
34547 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
34548 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
34549 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
34550 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
34551 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
34552 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
34553 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
34554 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
34555 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
34556 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
34557 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
34558 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
34559 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
34560 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
34561 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
34562 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
34563 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
34564 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
34565 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
34566 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
34567 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
34568 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
34569 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
34570 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
34571 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
34572 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
34573 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
34575 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
34577 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
34578 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
34579 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
34580 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
34581 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
34582 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
34583 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
34584 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
34585 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
34586 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
34587 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
34588 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
34589 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
34590 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
34591 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
34592 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
34593 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
34594 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
34595 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
34596 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
34597 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
34598 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
34599 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
34600 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
34601 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
34602 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
34603 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
34604 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
34605 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
34606 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
34607 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
34608 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
34609 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
34610 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
34611 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
34612 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
34613 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
34614 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
34615 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
34616 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
34617 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
34618 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
34619 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
34620 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
34621 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
34622 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
34623 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
34624 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
34625 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
34626 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
34627 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
34628 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
34629 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
34630 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
34631 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
34632 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
34633 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
34634 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
34635 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
34636 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
34637 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
34638 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
34639 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
34640 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
34641 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
34642 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
34643 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
34644 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
34645 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
34646 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
34647 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
34648 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
34649 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
34650 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
34651 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
34652 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
34653 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
34654 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
34655 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
34656 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
34657 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
34658 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
34659 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
34660 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
34661 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
34662 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
34663 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
34664 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
34665 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
34666 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
34667 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
34668 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
34669 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
34670 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
34671 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
34672 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
34673 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
34674 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
34675 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
34676 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
34677 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
34678 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
34679 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
34680 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
34681 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
34682 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
34683 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
34684 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
34685 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
34686 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
34687 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
34688 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
34689 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
34690 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
34691 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
34692 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
34693 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
34694 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
34695 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
34696 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
34697 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
34698 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
34699 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
34700 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
34701 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
34702 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
34703 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
34704 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
34705 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
34706 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
34707 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
34708 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
34709 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
34710 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
34711 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
34712 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
34713 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
34714 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
34715 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
34716 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
34717 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
34718 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
34719 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
34720 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
34721 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
34722 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
34723 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
34724 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
34725 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
34726 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
34727 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
34728 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
34729 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
34730 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
34731 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
34732 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
34733 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
34734 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
34735 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
34736 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
34737 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
34738 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
34739 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
34740 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
34741 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
34742 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
34743 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
34744 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
34745 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
34746 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
34747 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
34748 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
34749 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
34750 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
34751 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
34752 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
34753 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
34754 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
34755 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
34756 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
34757 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
34758 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
34759 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
34760 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
34761 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
34762 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
34763 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
34764 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
34765 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
34766 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
34767 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
34768 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
34769 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
34770 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
34771 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
34772 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
34773 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
34774 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
34775 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
34776 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
34777 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
34778 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
34779 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
34780 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
34781 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
34782 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
34783 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
34784 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
34785 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
34786 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
34787 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
34788 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
34789 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
34790 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
34791 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
34792 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
34793 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
34794 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
34795 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
34796 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
34797 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
34798 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
34799 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
34800 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
34801 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
34802 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
34803 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
34804 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
34805 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
34806 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
34807 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
34808 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
34809 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
34810 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
34811 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
34812 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
34813 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
34814 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
34815 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
34816 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
34817 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
34818 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
34819 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
34820 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
34821 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
34822 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
34823 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
34824 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
34825 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
34826 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
34827 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
34828 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
34829 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
34830 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
34831 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
34832 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
34833 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
34834 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
34835 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
34836 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
34837 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
34838 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
34839 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
34840 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
34841 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
34842 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
34843 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
34844 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
34845 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
34846 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
34847 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
34848 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
34849 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
34850 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
34851 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
34852 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
34853 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
34854 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
34855 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
34856 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
34857 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
34858 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
34859 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
34860 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
34861 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
34862 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
34863 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
34864 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
34865 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
34866 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
34867 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34868 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
34869 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
34870 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
34871 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
34872 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
34873 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
34874 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
34875 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
34876 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
34877 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
34878 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
34879 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
34880 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
34881 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
34882 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
34883 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
34884 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
34885 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
34886 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
34887 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
34888 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
34889 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
34890 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
34891 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
34892 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
34893 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
34894 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
34895 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
34897 // Work around a chicken/egg problem in drawlist.cpp
34898 wxPyDrawList_SetAPIPtr();