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_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
*resultobj
= 0;
11129 wxRegion
*arg1
= (wxRegion
*) 0 ;
11145 PyObject
* obj0
= 0 ;
11146 PyObject
* obj1
= 0 ;
11147 PyObject
* obj2
= 0 ;
11148 PyObject
* obj3
= 0 ;
11149 PyObject
* obj4
= 0 ;
11150 char * kwnames
[] = {
11151 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11156 if (!SWIG_IsOK(res1
)) {
11157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11159 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11161 if (!SWIG_IsOK(ecode2
)) {
11162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11164 arg2
= static_cast< int >(val2
);
11165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11166 if (!SWIG_IsOK(ecode3
)) {
11167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11169 arg3
= static_cast< int >(val3
);
11170 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11171 if (!SWIG_IsOK(ecode4
)) {
11172 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11174 arg4
= static_cast< int >(val4
);
11175 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11176 if (!SWIG_IsOK(ecode5
)) {
11177 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11179 arg5
= static_cast< int >(val5
);
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11182 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11195 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
*resultobj
= 0;
11197 wxRegion
*arg1
= (wxRegion
*) 0 ;
11203 PyObject
* obj0
= 0 ;
11204 PyObject
* obj1
= 0 ;
11205 char * kwnames
[] = {
11206 (char *) "self",(char *) "rect", NULL
11209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11211 if (!SWIG_IsOK(res1
)) {
11212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11214 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11217 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11234 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
*resultobj
= 0;
11236 wxRegion
*arg1
= (wxRegion
*) 0 ;
11237 wxRegion
*arg2
= 0 ;
11243 PyObject
* obj0
= 0 ;
11244 PyObject
* obj1
= 0 ;
11245 char * kwnames
[] = {
11246 (char *) "self",(char *) "region", NULL
11249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11251 if (!SWIG_IsOK(res1
)) {
11252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11254 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11256 if (!SWIG_IsOK(res2
)) {
11257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11262 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11265 result
= (bool)(arg1
)->Union((wxRegion
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_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
= 0;
11280 wxRegion
*arg1
= (wxRegion
*) 0 ;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 PyObject
* obj2
= 0 ;
11299 PyObject
* obj3
= 0 ;
11300 PyObject
* obj4
= 0 ;
11301 char * kwnames
[] = {
11302 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11307 if (!SWIG_IsOK(res1
)) {
11308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11310 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11312 if (!SWIG_IsOK(ecode2
)) {
11313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11315 arg2
= static_cast< int >(val2
);
11316 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11317 if (!SWIG_IsOK(ecode3
)) {
11318 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11320 arg3
= static_cast< int >(val3
);
11321 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11322 if (!SWIG_IsOK(ecode4
)) {
11323 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11325 arg4
= static_cast< int >(val4
);
11326 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11327 if (!SWIG_IsOK(ecode5
)) {
11328 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11330 arg5
= static_cast< int >(val5
);
11332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11333 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11334 wxPyEndAllowThreads(__tstate
);
11335 if (PyErr_Occurred()) SWIG_fail
;
11338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11346 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11347 PyObject
*resultobj
= 0;
11348 wxRegion
*arg1
= (wxRegion
*) 0 ;
11354 PyObject
* obj0
= 0 ;
11355 PyObject
* obj1
= 0 ;
11356 char * kwnames
[] = {
11357 (char *) "self",(char *) "rect", NULL
11360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11362 if (!SWIG_IsOK(res1
)) {
11363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11365 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11368 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11373 wxPyEndAllowThreads(__tstate
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11385 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11386 PyObject
*resultobj
= 0;
11387 wxRegion
*arg1
= (wxRegion
*) 0 ;
11388 wxRegion
*arg2
= 0 ;
11394 PyObject
* obj0
= 0 ;
11395 PyObject
* obj1
= 0 ;
11396 char * kwnames
[] = {
11397 (char *) "self",(char *) "region", NULL
11400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11402 if (!SWIG_IsOK(res1
)) {
11403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11405 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11406 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11407 if (!SWIG_IsOK(res2
)) {
11408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11413 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 result
= (bool)(arg1
)->Subtract((wxRegion
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_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
*resultobj
= 0;
11431 wxRegion
*arg1
= (wxRegion
*) 0 ;
11447 PyObject
* obj0
= 0 ;
11448 PyObject
* obj1
= 0 ;
11449 PyObject
* obj2
= 0 ;
11450 PyObject
* obj3
= 0 ;
11451 PyObject
* obj4
= 0 ;
11452 char * kwnames
[] = {
11453 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11458 if (!SWIG_IsOK(res1
)) {
11459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11461 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11463 if (!SWIG_IsOK(ecode2
)) {
11464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11466 arg2
= static_cast< int >(val2
);
11467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11468 if (!SWIG_IsOK(ecode3
)) {
11469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11471 arg3
= static_cast< int >(val3
);
11472 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11473 if (!SWIG_IsOK(ecode4
)) {
11474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11476 arg4
= static_cast< int >(val4
);
11477 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11478 if (!SWIG_IsOK(ecode5
)) {
11479 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11481 arg5
= static_cast< int >(val5
);
11483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11484 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11497 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11498 PyObject
*resultobj
= 0;
11499 wxRegion
*arg1
= (wxRegion
*) 0 ;
11505 PyObject
* obj0
= 0 ;
11506 PyObject
* obj1
= 0 ;
11507 char * kwnames
[] = {
11508 (char *) "self",(char *) "rect", NULL
11511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11513 if (!SWIG_IsOK(res1
)) {
11514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11516 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11519 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11523 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11524 wxPyEndAllowThreads(__tstate
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11536 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11537 PyObject
*resultobj
= 0;
11538 wxRegion
*arg1
= (wxRegion
*) 0 ;
11539 wxRegion
*arg2
= 0 ;
11545 PyObject
* obj0
= 0 ;
11546 PyObject
* obj1
= 0 ;
11547 char * kwnames
[] = {
11548 (char *) "self",(char *) "region", NULL
11551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11553 if (!SWIG_IsOK(res1
)) {
11554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11556 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11557 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11558 if (!SWIG_IsOK(res2
)) {
11559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11564 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11567 result
= (bool)(arg1
)->Xor((wxRegion
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_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11581 PyObject
*resultobj
= 0;
11582 wxRegion
*arg1
= (wxRegion
*) 0 ;
11583 SwigValueWrapper
<wxBitmap
> result
;
11586 PyObject
*swig_obj
[1] ;
11588 if (!args
) SWIG_fail
;
11589 swig_obj
[0] = args
;
11590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11591 if (!SWIG_IsOK(res1
)) {
11592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11594 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 result
= (arg1
)->ConvertToBitmap();
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11601 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11608 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11609 PyObject
*resultobj
= 0;
11610 wxRegion
*arg1
= (wxRegion
*) 0 ;
11611 wxBitmap
*arg2
= 0 ;
11617 PyObject
* obj0
= 0 ;
11618 PyObject
* obj1
= 0 ;
11619 char * kwnames
[] = {
11620 (char *) "self",(char *) "bmp", NULL
11623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11625 if (!SWIG_IsOK(res1
)) {
11626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11628 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11629 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11630 if (!SWIG_IsOK(res2
)) {
11631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11636 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11652 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
= 0;
11654 wxRegion
*arg1
= (wxRegion
*) 0 ;
11655 wxBitmap
*arg2
= 0 ;
11656 wxColour
*arg3
= 0 ;
11657 int arg4
= (int) 0 ;
11666 PyObject
* obj0
= 0 ;
11667 PyObject
* obj1
= 0 ;
11668 PyObject
* obj2
= 0 ;
11669 PyObject
* obj3
= 0 ;
11670 char * kwnames
[] = {
11671 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11676 if (!SWIG_IsOK(res1
)) {
11677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11679 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11680 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11681 if (!SWIG_IsOK(res2
)) {
11682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11687 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11690 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11693 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11694 if (!SWIG_IsOK(ecode4
)) {
11695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11697 arg4
= static_cast< int >(val4
);
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11702 wxPyEndAllowThreads(__tstate
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11714 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11716 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11717 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11718 return SWIG_Py_Void();
11721 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11722 return SWIG_Python_InitShadowInstance(args
);
11725 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
= 0;
11727 wxRegion
*arg1
= 0 ;
11728 wxRegionIterator
*result
= 0 ;
11731 PyObject
* obj0
= 0 ;
11732 char * kwnames
[] = {
11733 (char *) "region", NULL
11736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11737 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11738 if (!SWIG_IsOK(res1
)) {
11739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11742 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11744 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11746 if (!wxPyCheckForApp()) SWIG_fail
;
11747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11748 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11749 wxPyEndAllowThreads(__tstate
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11759 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11760 PyObject
*resultobj
= 0;
11761 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11764 PyObject
*swig_obj
[1] ;
11766 if (!args
) SWIG_fail
;
11767 swig_obj
[0] = args
;
11768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11769 if (!SWIG_IsOK(res1
)) {
11770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11772 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 wxPyEndAllowThreads(__tstate
);
11778 if (PyErr_Occurred()) SWIG_fail
;
11780 resultobj
= SWIG_Py_Void();
11787 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11788 PyObject
*resultobj
= 0;
11789 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11793 PyObject
*swig_obj
[1] ;
11795 if (!args
) SWIG_fail
;
11796 swig_obj
[0] = args
;
11797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11798 if (!SWIG_IsOK(res1
)) {
11799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11801 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 result
= (int)(arg1
)->GetX();
11805 wxPyEndAllowThreads(__tstate
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11808 resultobj
= SWIG_From_int(static_cast< int >(result
));
11815 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11816 PyObject
*resultobj
= 0;
11817 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11821 PyObject
*swig_obj
[1] ;
11823 if (!args
) SWIG_fail
;
11824 swig_obj
[0] = args
;
11825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11826 if (!SWIG_IsOK(res1
)) {
11827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11829 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11832 result
= (int)(arg1
)->GetY();
11833 wxPyEndAllowThreads(__tstate
);
11834 if (PyErr_Occurred()) SWIG_fail
;
11836 resultobj
= SWIG_From_int(static_cast< int >(result
));
11843 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11844 PyObject
*resultobj
= 0;
11845 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11849 PyObject
*swig_obj
[1] ;
11851 if (!args
) SWIG_fail
;
11852 swig_obj
[0] = args
;
11853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11854 if (!SWIG_IsOK(res1
)) {
11855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11857 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11860 result
= (int)(arg1
)->GetW();
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11864 resultobj
= SWIG_From_int(static_cast< int >(result
));
11871 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11872 PyObject
*resultobj
= 0;
11873 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11877 PyObject
*swig_obj
[1] ;
11879 if (!args
) SWIG_fail
;
11880 swig_obj
[0] = args
;
11881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11882 if (!SWIG_IsOK(res1
)) {
11883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11885 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= (int)(arg1
)->GetWidth();
11889 wxPyEndAllowThreads(__tstate
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11892 resultobj
= SWIG_From_int(static_cast< int >(result
));
11899 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11900 PyObject
*resultobj
= 0;
11901 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11905 PyObject
*swig_obj
[1] ;
11907 if (!args
) SWIG_fail
;
11908 swig_obj
[0] = args
;
11909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11910 if (!SWIG_IsOK(res1
)) {
11911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11913 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 result
= (int)(arg1
)->GetH();
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11920 resultobj
= SWIG_From_int(static_cast< int >(result
));
11927 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11928 PyObject
*resultobj
= 0;
11929 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11933 PyObject
*swig_obj
[1] ;
11935 if (!args
) SWIG_fail
;
11936 swig_obj
[0] = args
;
11937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11938 if (!SWIG_IsOK(res1
)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11941 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11944 result
= (int)(arg1
)->GetHeight();
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= SWIG_From_int(static_cast< int >(result
));
11955 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11956 PyObject
*resultobj
= 0;
11957 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11961 PyObject
*swig_obj
[1] ;
11963 if (!args
) SWIG_fail
;
11964 swig_obj
[0] = args
;
11965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11966 if (!SWIG_IsOK(res1
)) {
11967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11969 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 result
= (arg1
)->GetRect();
11973 wxPyEndAllowThreads(__tstate
);
11974 if (PyErr_Occurred()) SWIG_fail
;
11976 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11983 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11984 PyObject
*resultobj
= 0;
11985 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11989 PyObject
*swig_obj
[1] ;
11991 if (!args
) SWIG_fail
;
11992 swig_obj
[0] = args
;
11993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11994 if (!SWIG_IsOK(res1
)) {
11995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11997 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 result
= (bool)(arg1
)->HaveRects();
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12013 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12014 PyObject
*resultobj
= 0;
12015 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12018 PyObject
*swig_obj
[1] ;
12020 if (!args
) SWIG_fail
;
12021 swig_obj
[0] = args
;
12022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12023 if (!SWIG_IsOK(res1
)) {
12024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12026 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12030 wxPyEndAllowThreads(__tstate
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12033 resultobj
= SWIG_Py_Void();
12040 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12041 PyObject
*resultobj
= 0;
12042 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12045 PyObject
*swig_obj
[1] ;
12047 if (!args
) SWIG_fail
;
12048 swig_obj
[0] = args
;
12049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12050 if (!SWIG_IsOK(res1
)) {
12051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12053 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 wxRegionIterator_Next(arg1
);
12057 wxPyEndAllowThreads(__tstate
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12060 resultobj
= SWIG_Py_Void();
12067 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12068 PyObject
*resultobj
= 0;
12069 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12073 PyObject
*swig_obj
[1] ;
12075 if (!args
) SWIG_fail
;
12076 swig_obj
[0] = args
;
12077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12078 if (!SWIG_IsOK(res1
)) {
12079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12081 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12084 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12097 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12099 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12100 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12101 return SWIG_Py_Void();
12104 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12105 return SWIG_Python_InitShadowInstance(args
);
12108 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12109 PyObject
*resultobj
= 0;
12110 wxNativeFontInfo
*result
= 0 ;
12112 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12116 wxPyEndAllowThreads(__tstate
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12126 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12127 PyObject
*resultobj
= 0;
12128 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12131 PyObject
*swig_obj
[1] ;
12133 if (!args
) SWIG_fail
;
12134 swig_obj
[0] = args
;
12135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12136 if (!SWIG_IsOK(res1
)) {
12137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12139 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= SWIG_Py_Void();
12154 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12155 PyObject
*resultobj
= 0;
12156 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12159 PyObject
*swig_obj
[1] ;
12161 if (!args
) SWIG_fail
;
12162 swig_obj
[0] = args
;
12163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12164 if (!SWIG_IsOK(res1
)) {
12165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12167 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12174 resultobj
= SWIG_Py_Void();
12181 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
= 0;
12183 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12189 PyObject
* obj0
= 0 ;
12190 PyObject
* obj1
= 0 ;
12191 char * kwnames
[] = {
12192 (char *) "self",(char *) "font", NULL
12195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12197 if (!SWIG_IsOK(res1
)) {
12198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12200 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12202 if (!SWIG_IsOK(res2
)) {
12203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12208 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12211 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12215 resultobj
= SWIG_Py_Void();
12222 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12223 PyObject
*resultobj
= 0;
12224 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12228 PyObject
*swig_obj
[1] ;
12230 if (!args
) SWIG_fail
;
12231 swig_obj
[0] = args
;
12232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12233 if (!SWIG_IsOK(res1
)) {
12234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12236 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12240 wxPyEndAllowThreads(__tstate
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12243 resultobj
= SWIG_From_int(static_cast< int >(result
));
12250 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12251 PyObject
*resultobj
= 0;
12252 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12256 PyObject
*swig_obj
[1] ;
12258 if (!args
) SWIG_fail
;
12259 swig_obj
[0] = args
;
12260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12261 if (!SWIG_IsOK(res1
)) {
12262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12264 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12268 wxPyEndAllowThreads(__tstate
);
12269 if (PyErr_Occurred()) SWIG_fail
;
12271 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12278 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12279 PyObject
*resultobj
= 0;
12280 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12281 wxFontStyle result
;
12284 PyObject
*swig_obj
[1] ;
12286 if (!args
) SWIG_fail
;
12287 swig_obj
[0] = args
;
12288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12289 if (!SWIG_IsOK(res1
)) {
12290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12292 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= SWIG_From_int(static_cast< int >(result
));
12306 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12307 PyObject
*resultobj
= 0;
12308 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12309 wxFontWeight result
;
12312 PyObject
*swig_obj
[1] ;
12314 if (!args
) SWIG_fail
;
12315 swig_obj
[0] = args
;
12316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12317 if (!SWIG_IsOK(res1
)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12320 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= SWIG_From_int(static_cast< int >(result
));
12334 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12335 PyObject
*resultobj
= 0;
12336 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12340 PyObject
*swig_obj
[1] ;
12342 if (!args
) SWIG_fail
;
12343 swig_obj
[0] = args
;
12344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12345 if (!SWIG_IsOK(res1
)) {
12346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12348 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12364 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12365 PyObject
*resultobj
= 0;
12366 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12370 PyObject
*swig_obj
[1] ;
12372 if (!args
) SWIG_fail
;
12373 swig_obj
[0] = args
;
12374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12375 if (!SWIG_IsOK(res1
)) {
12376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12378 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12381 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12398 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12399 PyObject
*resultobj
= 0;
12400 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12401 wxFontFamily result
;
12404 PyObject
*swig_obj
[1] ;
12406 if (!args
) SWIG_fail
;
12407 swig_obj
[0] = args
;
12408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12409 if (!SWIG_IsOK(res1
)) {
12410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12412 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12415 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12416 wxPyEndAllowThreads(__tstate
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12419 resultobj
= SWIG_From_int(static_cast< int >(result
));
12426 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12427 PyObject
*resultobj
= 0;
12428 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12429 wxFontEncoding result
;
12432 PyObject
*swig_obj
[1] ;
12434 if (!args
) SWIG_fail
;
12435 swig_obj
[0] = args
;
12436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12437 if (!SWIG_IsOK(res1
)) {
12438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12440 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12447 resultobj
= SWIG_From_int(static_cast< int >(result
));
12454 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
= 0;
12456 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12462 PyObject
* obj0
= 0 ;
12463 PyObject
* obj1
= 0 ;
12464 char * kwnames
[] = {
12465 (char *) "self",(char *) "pointsize", NULL
12468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12470 if (!SWIG_IsOK(res1
)) {
12471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12473 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12475 if (!SWIG_IsOK(ecode2
)) {
12476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12478 arg2
= static_cast< int >(val2
);
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 (arg1
)->SetPointSize(arg2
);
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 resultobj
= SWIG_Py_Void();
12492 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12493 PyObject
*resultobj
= 0;
12494 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12499 PyObject
* obj0
= 0 ;
12500 PyObject
* obj1
= 0 ;
12501 char * kwnames
[] = {
12502 (char *) "self",(char *) "pixelSize", NULL
12505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12507 if (!SWIG_IsOK(res1
)) {
12508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12510 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12513 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 resultobj
= SWIG_Py_Void();
12528 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
= 0;
12530 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12536 PyObject
* obj0
= 0 ;
12537 PyObject
* obj1
= 0 ;
12538 char * kwnames
[] = {
12539 (char *) "self",(char *) "style", NULL
12542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12544 if (!SWIG_IsOK(res1
)) {
12545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12547 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12549 if (!SWIG_IsOK(ecode2
)) {
12550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12552 arg2
= static_cast< wxFontStyle
>(val2
);
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 (arg1
)->SetStyle(arg2
);
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12559 resultobj
= SWIG_Py_Void();
12566 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
= 0;
12568 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12569 wxFontWeight arg2
;
12574 PyObject
* obj0
= 0 ;
12575 PyObject
* obj1
= 0 ;
12576 char * kwnames
[] = {
12577 (char *) "self",(char *) "weight", NULL
12580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12582 if (!SWIG_IsOK(res1
)) {
12583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12585 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12587 if (!SWIG_IsOK(ecode2
)) {
12588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12590 arg2
= static_cast< wxFontWeight
>(val2
);
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 (arg1
)->SetWeight(arg2
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 resultobj
= SWIG_Py_Void();
12604 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
= 0;
12606 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12612 PyObject
* obj0
= 0 ;
12613 PyObject
* obj1
= 0 ;
12614 char * kwnames
[] = {
12615 (char *) "self",(char *) "underlined", NULL
12618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12620 if (!SWIG_IsOK(res1
)) {
12621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12623 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12624 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12625 if (!SWIG_IsOK(ecode2
)) {
12626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12628 arg2
= static_cast< bool >(val2
);
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 (arg1
)->SetUnderlined(arg2
);
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 resultobj
= SWIG_Py_Void();
12642 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
= 0;
12644 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12649 PyObject
* obj0
= 0 ;
12650 PyObject
* obj1
= 0 ;
12651 char * kwnames
[] = {
12652 (char *) "self",(char *) "facename", NULL
12655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12657 if (!SWIG_IsOK(res1
)) {
12658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12660 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12662 wxString
* sptr
= wxString_in_helper(obj1
);
12663 if (sptr
== NULL
) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 result
= (bool)(arg1
)->SetFaceName(arg2
);
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12682 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12683 PyObject
*resultobj
= 0;
12684 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12685 wxFontFamily arg2
;
12690 PyObject
* obj0
= 0 ;
12691 PyObject
* obj1
= 0 ;
12692 char * kwnames
[] = {
12693 (char *) "self",(char *) "family", NULL
12696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12698 if (!SWIG_IsOK(res1
)) {
12699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12701 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12703 if (!SWIG_IsOK(ecode2
)) {
12704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12706 arg2
= static_cast< wxFontFamily
>(val2
);
12708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12709 (arg1
)->SetFamily(arg2
);
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= SWIG_Py_Void();
12720 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12721 PyObject
*resultobj
= 0;
12722 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12723 wxFontEncoding arg2
;
12728 PyObject
* obj0
= 0 ;
12729 PyObject
* obj1
= 0 ;
12730 char * kwnames
[] = {
12731 (char *) "self",(char *) "encoding", NULL
12734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12736 if (!SWIG_IsOK(res1
)) {
12737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12739 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12741 if (!SWIG_IsOK(ecode2
)) {
12742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12744 arg2
= static_cast< wxFontEncoding
>(val2
);
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 (arg1
)->SetEncoding(arg2
);
12748 wxPyEndAllowThreads(__tstate
);
12749 if (PyErr_Occurred()) SWIG_fail
;
12751 resultobj
= SWIG_Py_Void();
12758 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12759 PyObject
*resultobj
= 0;
12760 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12761 wxString
*arg2
= 0 ;
12765 bool temp2
= false ;
12766 PyObject
* obj0
= 0 ;
12767 PyObject
* obj1
= 0 ;
12768 char * kwnames
[] = {
12769 (char *) "self",(char *) "s", NULL
12772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12774 if (!SWIG_IsOK(res1
)) {
12775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12777 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12779 arg2
= wxString_in_helper(obj1
);
12780 if (arg2
== NULL
) SWIG_fail
;
12784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12785 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12806 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12807 PyObject
*resultobj
= 0;
12808 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12812 PyObject
*swig_obj
[1] ;
12814 if (!args
) SWIG_fail
;
12815 swig_obj
[0] = args
;
12816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12817 if (!SWIG_IsOK(res1
)) {
12818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12820 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12823 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12824 wxPyEndAllowThreads(__tstate
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12840 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12841 PyObject
*resultobj
= 0;
12842 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12846 PyObject
*swig_obj
[1] ;
12848 if (!args
) SWIG_fail
;
12849 swig_obj
[0] = args
;
12850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12851 if (!SWIG_IsOK(res1
)) {
12852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12854 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 result
= wxNativeFontInfo___str__(arg1
);
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12874 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12875 PyObject
*resultobj
= 0;
12876 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12877 wxString
*arg2
= 0 ;
12881 bool temp2
= false ;
12882 PyObject
* obj0
= 0 ;
12883 PyObject
* obj1
= 0 ;
12884 char * kwnames
[] = {
12885 (char *) "self",(char *) "s", NULL
12888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12890 if (!SWIG_IsOK(res1
)) {
12891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12893 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12895 arg2
= wxString_in_helper(obj1
);
12896 if (arg2
== NULL
) SWIG_fail
;
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12922 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12923 PyObject
*resultobj
= 0;
12924 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12928 PyObject
*swig_obj
[1] ;
12930 if (!args
) SWIG_fail
;
12931 swig_obj
[0] = args
;
12932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12933 if (!SWIG_IsOK(res1
)) {
12934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12936 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12939 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12956 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12958 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12959 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12960 return SWIG_Py_Void();
12963 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12964 return SWIG_Python_InitShadowInstance(args
);
12967 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12968 PyObject
*resultobj
= 0;
12969 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12970 wxString
*arg2
= (wxString
*) 0 ;
12973 bool temp2
= false ;
12974 PyObject
*swig_obj
[2] ;
12976 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12978 if (!SWIG_IsOK(res1
)) {
12979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12981 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12983 arg2
= wxString_in_helper(swig_obj
[1]);
12984 if (arg2
== NULL
) SWIG_fail
;
12987 if (arg1
) (arg1
)->facename
= *arg2
;
12989 resultobj
= SWIG_Py_Void();
13004 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13005 PyObject
*resultobj
= 0;
13006 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13007 wxString
*result
= 0 ;
13010 PyObject
*swig_obj
[1] ;
13012 if (!args
) SWIG_fail
;
13013 swig_obj
[0] = args
;
13014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13015 if (!SWIG_IsOK(res1
)) {
13016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13018 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13019 result
= (wxString
*)& ((arg1
)->facename
);
13022 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13024 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13033 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13034 PyObject
*resultobj
= 0;
13035 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13036 wxFontEncoding arg2
;
13041 PyObject
*swig_obj
[2] ;
13043 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13045 if (!SWIG_IsOK(res1
)) {
13046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13048 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13049 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13050 if (!SWIG_IsOK(ecode2
)) {
13051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13053 arg2
= static_cast< wxFontEncoding
>(val2
);
13054 if (arg1
) (arg1
)->encoding
= arg2
;
13056 resultobj
= SWIG_Py_Void();
13063 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13064 PyObject
*resultobj
= 0;
13065 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13066 wxFontEncoding result
;
13069 PyObject
*swig_obj
[1] ;
13071 if (!args
) SWIG_fail
;
13072 swig_obj
[0] = args
;
13073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13074 if (!SWIG_IsOK(res1
)) {
13075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13077 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13078 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13079 resultobj
= SWIG_From_int(static_cast< int >(result
));
13086 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13087 PyObject
*resultobj
= 0;
13088 wxNativeEncodingInfo
*result
= 0 ;
13090 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13093 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13104 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13105 PyObject
*resultobj
= 0;
13106 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13109 PyObject
*swig_obj
[1] ;
13111 if (!args
) SWIG_fail
;
13112 swig_obj
[0] = args
;
13113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13114 if (!SWIG_IsOK(res1
)) {
13115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13117 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13125 resultobj
= SWIG_Py_Void();
13132 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13133 PyObject
*resultobj
= 0;
13134 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13135 wxString
*arg2
= 0 ;
13139 bool temp2
= false ;
13140 PyObject
* obj0
= 0 ;
13141 PyObject
* obj1
= 0 ;
13142 char * kwnames
[] = {
13143 (char *) "self",(char *) "s", NULL
13146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13148 if (!SWIG_IsOK(res1
)) {
13149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13151 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13153 arg2
= wxString_in_helper(obj1
);
13154 if (arg2
== NULL
) SWIG_fail
;
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13180 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13181 PyObject
*resultobj
= 0;
13182 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13186 PyObject
*swig_obj
[1] ;
13188 if (!args
) SWIG_fail
;
13189 swig_obj
[0] = args
;
13190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13191 if (!SWIG_IsOK(res1
)) {
13192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13194 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13197 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13198 wxPyEndAllowThreads(__tstate
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13214 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13216 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13217 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13218 return SWIG_Py_Void();
13221 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13222 return SWIG_Python_InitShadowInstance(args
);
13225 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13226 PyObject
*resultobj
= 0;
13227 wxFontEncoding arg1
;
13228 wxNativeEncodingInfo
*result
= 0 ;
13231 PyObject
* obj0
= 0 ;
13232 char * kwnames
[] = {
13233 (char *) "encoding", NULL
13236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13237 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13238 if (!SWIG_IsOK(ecode1
)) {
13239 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13241 arg1
= static_cast< wxFontEncoding
>(val1
);
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13255 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
= 0;
13257 wxNativeEncodingInfo
*arg1
= 0 ;
13261 PyObject
* obj0
= 0 ;
13262 char * kwnames
[] = {
13263 (char *) "info", NULL
13266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13267 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13268 if (!SWIG_IsOK(res1
)) {
13269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13274 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13278 wxPyEndAllowThreads(__tstate
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13290 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13291 PyObject
*resultobj
= 0;
13292 wxFontMapper
*result
= 0 ;
13294 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 result
= (wxFontMapper
*)new wxFontMapper();
13298 wxPyEndAllowThreads(__tstate
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13308 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13309 PyObject
*resultobj
= 0;
13310 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13313 PyObject
*swig_obj
[1] ;
13315 if (!args
) SWIG_fail
;
13316 swig_obj
[0] = args
;
13317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13318 if (!SWIG_IsOK(res1
)) {
13319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13321 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 resultobj
= SWIG_Py_Void();
13336 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13337 PyObject
*resultobj
= 0;
13338 wxFontMapper
*result
= 0 ;
13340 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 result
= (wxFontMapper
*)wxFontMapper::Get();
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13354 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
= 0;
13356 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13357 wxFontMapper
*result
= 0 ;
13360 PyObject
* obj0
= 0 ;
13361 char * kwnames
[] = {
13362 (char *) "mapper", NULL
13365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13367 if (!SWIG_IsOK(res1
)) {
13368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13370 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13384 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
= 0;
13386 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13387 wxString
*arg2
= 0 ;
13388 bool arg3
= (bool) true ;
13389 wxFontEncoding result
;
13392 bool temp2
= false ;
13395 PyObject
* obj0
= 0 ;
13396 PyObject
* obj1
= 0 ;
13397 PyObject
* obj2
= 0 ;
13398 char * kwnames
[] = {
13399 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13404 if (!SWIG_IsOK(res1
)) {
13405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13407 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13409 arg2
= wxString_in_helper(obj1
);
13410 if (arg2
== NULL
) SWIG_fail
;
13414 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13415 if (!SWIG_IsOK(ecode3
)) {
13416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13418 arg3
= static_cast< bool >(val3
);
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13423 wxPyEndAllowThreads(__tstate
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13426 resultobj
= SWIG_From_int(static_cast< int >(result
));
13441 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13442 PyObject
*resultobj
= 0;
13445 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13452 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13459 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
= 0;
13462 wxFontEncoding result
;
13465 PyObject
* obj0
= 0 ;
13466 char * kwnames
[] = {
13470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13471 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13472 if (!SWIG_IsOK(ecode1
)) {
13473 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13475 arg1
= static_cast< size_t >(val1
);
13477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13482 resultobj
= SWIG_From_int(static_cast< int >(result
));
13489 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13490 PyObject
*resultobj
= 0;
13491 wxFontEncoding arg1
;
13495 PyObject
* obj0
= 0 ;
13496 char * kwnames
[] = {
13497 (char *) "encoding", NULL
13500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13501 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13502 if (!SWIG_IsOK(ecode1
)) {
13503 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13505 arg1
= static_cast< wxFontEncoding
>(val1
);
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 result
= wxFontMapper::GetEncodingName(arg1
);
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13514 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13516 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13525 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13526 PyObject
*resultobj
= 0;
13527 wxFontEncoding arg1
;
13531 PyObject
* obj0
= 0 ;
13532 char * kwnames
[] = {
13533 (char *) "encoding", NULL
13536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13537 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13538 if (!SWIG_IsOK(ecode1
)) {
13539 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13541 arg1
= static_cast< wxFontEncoding
>(val1
);
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13544 result
= wxFontMapper::GetEncodingDescription(arg1
);
13545 wxPyEndAllowThreads(__tstate
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13550 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13552 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13561 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13562 PyObject
*resultobj
= 0;
13563 wxString
*arg1
= 0 ;
13564 wxFontEncoding result
;
13565 bool temp1
= false ;
13566 PyObject
* obj0
= 0 ;
13567 char * kwnames
[] = {
13568 (char *) "name", NULL
13571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13573 arg1
= wxString_in_helper(obj0
);
13574 if (arg1
== NULL
) SWIG_fail
;
13578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13579 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= SWIG_From_int(static_cast< int >(result
));
13598 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13599 PyObject
*resultobj
= 0;
13600 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13601 wxString
*arg2
= 0 ;
13604 bool temp2
= false ;
13605 PyObject
* obj0
= 0 ;
13606 PyObject
* obj1
= 0 ;
13607 char * kwnames
[] = {
13608 (char *) "self",(char *) "prefix", NULL
13611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13613 if (!SWIG_IsOK(res1
)) {
13614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13616 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13618 arg2
= wxString_in_helper(obj1
);
13619 if (arg2
== NULL
) SWIG_fail
;
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13628 resultobj
= SWIG_Py_Void();
13643 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13644 PyObject
*resultobj
= 0;
13647 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 result
= wxFontMapper::GetDefaultConfigPath();
13651 wxPyEndAllowThreads(__tstate
);
13652 if (PyErr_Occurred()) SWIG_fail
;
13656 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13658 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13667 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13668 PyObject
*resultobj
= 0;
13669 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13670 wxFontEncoding arg2
;
13671 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13672 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13673 bool arg4
= (bool) true ;
13674 PyObject
*result
= 0 ;
13679 bool temp3
= false ;
13682 PyObject
* obj0
= 0 ;
13683 PyObject
* obj1
= 0 ;
13684 PyObject
* obj2
= 0 ;
13685 PyObject
* obj3
= 0 ;
13686 char * kwnames
[] = {
13687 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13692 if (!SWIG_IsOK(res1
)) {
13693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13695 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13697 if (!SWIG_IsOK(ecode2
)) {
13698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13700 arg2
= static_cast< wxFontEncoding
>(val2
);
13703 arg3
= wxString_in_helper(obj2
);
13704 if (arg3
== NULL
) SWIG_fail
;
13709 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13710 if (!SWIG_IsOK(ecode4
)) {
13711 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13713 arg4
= static_cast< bool >(val4
);
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13717 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13721 resultobj
= result
;
13736 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13737 PyObject
*resultobj
= 0;
13738 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13739 wxFontEncoding arg2
;
13740 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13741 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13747 bool temp3
= false ;
13748 PyObject
* obj0
= 0 ;
13749 PyObject
* obj1
= 0 ;
13750 PyObject
* obj2
= 0 ;
13751 char * kwnames
[] = {
13752 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13757 if (!SWIG_IsOK(res1
)) {
13758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13760 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13762 if (!SWIG_IsOK(ecode2
)) {
13763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13765 arg2
= static_cast< wxFontEncoding
>(val2
);
13768 arg3
= wxString_in_helper(obj2
);
13769 if (arg3
== NULL
) SWIG_fail
;
13774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13775 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13776 wxPyEndAllowThreads(__tstate
);
13777 if (PyErr_Occurred()) SWIG_fail
;
13780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13796 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13797 PyObject
*resultobj
= 0;
13798 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13799 wxWindow
*arg2
= (wxWindow
*) 0 ;
13804 PyObject
* obj0
= 0 ;
13805 PyObject
* obj1
= 0 ;
13806 char * kwnames
[] = {
13807 (char *) "self",(char *) "parent", NULL
13810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13812 if (!SWIG_IsOK(res1
)) {
13813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13815 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13816 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13817 if (!SWIG_IsOK(res2
)) {
13818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13820 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 (arg1
)->SetDialogParent(arg2
);
13824 wxPyEndAllowThreads(__tstate
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13827 resultobj
= SWIG_Py_Void();
13834 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13835 PyObject
*resultobj
= 0;
13836 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13837 wxString
*arg2
= 0 ;
13840 bool temp2
= false ;
13841 PyObject
* obj0
= 0 ;
13842 PyObject
* obj1
= 0 ;
13843 char * kwnames
[] = {
13844 (char *) "self",(char *) "title", NULL
13847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13849 if (!SWIG_IsOK(res1
)) {
13850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13852 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13854 arg2
= wxString_in_helper(obj1
);
13855 if (arg2
== NULL
) SWIG_fail
;
13859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13860 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 resultobj
= SWIG_Py_Void();
13879 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13881 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13882 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13883 return SWIG_Py_Void();
13886 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13887 return SWIG_Python_InitShadowInstance(args
);
13890 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13891 PyObject
*resultobj
= 0;
13896 bool arg5
= (bool) false ;
13897 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13898 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13899 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13900 wxFont
*result
= 0 ;
13911 bool temp6
= false ;
13914 PyObject
* obj0
= 0 ;
13915 PyObject
* obj1
= 0 ;
13916 PyObject
* obj2
= 0 ;
13917 PyObject
* obj3
= 0 ;
13918 PyObject
* obj4
= 0 ;
13919 PyObject
* obj5
= 0 ;
13920 PyObject
* obj6
= 0 ;
13921 char * kwnames
[] = {
13922 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13926 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13927 if (!SWIG_IsOK(ecode1
)) {
13928 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13930 arg1
= static_cast< int >(val1
);
13931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13932 if (!SWIG_IsOK(ecode2
)) {
13933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13935 arg2
= static_cast< int >(val2
);
13936 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13937 if (!SWIG_IsOK(ecode3
)) {
13938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13940 arg3
= static_cast< int >(val3
);
13941 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13942 if (!SWIG_IsOK(ecode4
)) {
13943 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13945 arg4
= static_cast< int >(val4
);
13947 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13948 if (!SWIG_IsOK(ecode5
)) {
13949 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13951 arg5
= static_cast< bool >(val5
);
13955 arg6
= wxString_in_helper(obj5
);
13956 if (arg6
== NULL
) SWIG_fail
;
13961 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13962 if (!SWIG_IsOK(ecode7
)) {
13963 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13965 arg7
= static_cast< wxFontEncoding
>(val7
);
13968 if (!wxPyCheckForApp()) SWIG_fail
;
13969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13970 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13971 wxPyEndAllowThreads(__tstate
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13989 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13990 PyObject
*resultobj
= 0;
13991 wxFont
*arg1
= (wxFont
*) 0 ;
13994 PyObject
*swig_obj
[1] ;
13996 if (!args
) SWIG_fail
;
13997 swig_obj
[0] = args
;
13998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13999 if (!SWIG_IsOK(res1
)) {
14000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14002 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14007 wxPyEndAllowThreads(__tstate
);
14008 if (PyErr_Occurred()) SWIG_fail
;
14010 resultobj
= SWIG_Py_Void();
14017 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14018 PyObject
*resultobj
= 0;
14019 wxNativeFontInfo
*arg1
= 0 ;
14020 wxFont
*result
= 0 ;
14023 PyObject
* obj0
= 0 ;
14024 char * kwnames
[] = {
14025 (char *) "info", NULL
14028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14029 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14030 if (!SWIG_IsOK(res1
)) {
14031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14036 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14038 if (!wxPyCheckForApp()) SWIG_fail
;
14039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14040 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14041 wxPyEndAllowThreads(__tstate
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14051 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14052 PyObject
*resultobj
= 0;
14053 wxString
*arg1
= 0 ;
14054 wxFont
*result
= 0 ;
14055 bool temp1
= false ;
14056 PyObject
* obj0
= 0 ;
14057 char * kwnames
[] = {
14058 (char *) "info", NULL
14061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14063 arg1
= wxString_in_helper(obj0
);
14064 if (arg1
== NULL
) SWIG_fail
;
14068 if (!wxPyCheckForApp()) SWIG_fail
;
14069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14070 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14071 wxPyEndAllowThreads(__tstate
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14089 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
= 0;
14092 wxFontFamily arg2
;
14093 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14094 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14095 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14096 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14097 wxFont
*result
= 0 ;
14104 bool temp4
= false ;
14107 PyObject
* obj0
= 0 ;
14108 PyObject
* obj1
= 0 ;
14109 PyObject
* obj2
= 0 ;
14110 PyObject
* obj3
= 0 ;
14111 PyObject
* obj4
= 0 ;
14112 char * kwnames
[] = {
14113 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14117 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14118 if (!SWIG_IsOK(ecode1
)) {
14119 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14121 arg1
= static_cast< int >(val1
);
14122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14123 if (!SWIG_IsOK(ecode2
)) {
14124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14126 arg2
= static_cast< wxFontFamily
>(val2
);
14128 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14129 if (!SWIG_IsOK(ecode3
)) {
14130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14132 arg3
= static_cast< int >(val3
);
14136 arg4
= wxString_in_helper(obj3
);
14137 if (arg4
== NULL
) SWIG_fail
;
14142 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14143 if (!SWIG_IsOK(ecode5
)) {
14144 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14146 arg5
= static_cast< wxFontEncoding
>(val5
);
14149 if (!wxPyCheckForApp()) SWIG_fail
;
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14170 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14171 PyObject
*resultobj
= 0;
14176 bool arg5
= (bool) false ;
14177 wxString
const &arg6_defvalue
= wxEmptyString
;
14178 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14179 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14180 wxFont
*result
= 0 ;
14190 bool temp6
= false ;
14193 PyObject
* obj0
= 0 ;
14194 PyObject
* obj1
= 0 ;
14195 PyObject
* obj2
= 0 ;
14196 PyObject
* obj3
= 0 ;
14197 PyObject
* obj4
= 0 ;
14198 PyObject
* obj5
= 0 ;
14199 PyObject
* obj6
= 0 ;
14200 char * kwnames
[] = {
14201 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14207 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14210 if (!SWIG_IsOK(ecode2
)) {
14211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14213 arg2
= static_cast< int >(val2
);
14214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14215 if (!SWIG_IsOK(ecode3
)) {
14216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14218 arg3
= static_cast< int >(val3
);
14219 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14220 if (!SWIG_IsOK(ecode4
)) {
14221 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14223 arg4
= static_cast< int >(val4
);
14225 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14226 if (!SWIG_IsOK(ecode5
)) {
14227 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14229 arg5
= static_cast< bool >(val5
);
14233 arg6
= wxString_in_helper(obj5
);
14234 if (arg6
== NULL
) SWIG_fail
;
14239 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14240 if (!SWIG_IsOK(ecode7
)) {
14241 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14243 arg7
= static_cast< wxFontEncoding
>(val7
);
14246 if (!wxPyCheckForApp()) SWIG_fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14267 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14268 PyObject
*resultobj
= 0;
14270 wxFontFamily arg2
;
14271 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14272 wxString
const &arg4_defvalue
= wxEmptyString
;
14273 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14274 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14275 wxFont
*result
= 0 ;
14281 bool temp4
= false ;
14284 PyObject
* obj0
= 0 ;
14285 PyObject
* obj1
= 0 ;
14286 PyObject
* obj2
= 0 ;
14287 PyObject
* obj3
= 0 ;
14288 PyObject
* obj4
= 0 ;
14289 char * kwnames
[] = {
14290 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14296 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14299 if (!SWIG_IsOK(ecode2
)) {
14300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14302 arg2
= static_cast< wxFontFamily
>(val2
);
14304 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14305 if (!SWIG_IsOK(ecode3
)) {
14306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14308 arg3
= static_cast< int >(val3
);
14312 arg4
= wxString_in_helper(obj3
);
14313 if (arg4
== NULL
) SWIG_fail
;
14318 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14319 if (!SWIG_IsOK(ecode5
)) {
14320 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14322 arg5
= static_cast< wxFontEncoding
>(val5
);
14325 if (!wxPyCheckForApp()) SWIG_fail
;
14326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14327 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14346 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14347 PyObject
*resultobj
= 0;
14348 wxFont
*arg1
= (wxFont
*) 0 ;
14352 PyObject
*swig_obj
[1] ;
14354 if (!args
) SWIG_fail
;
14355 swig_obj
[0] = args
;
14356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14357 if (!SWIG_IsOK(res1
)) {
14358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
14360 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 result
= (bool)((wxFont
const *)arg1
)->Ok();
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14376 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14377 PyObject
*resultobj
= 0;
14378 wxFont
*arg1
= (wxFont
*) 0 ;
14379 wxFont
*arg2
= (wxFont
*) 0 ;
14385 PyObject
* obj0
= 0 ;
14386 PyObject
* obj1
= 0 ;
14387 char * kwnames
[] = {
14388 (char *) "self",(char *) "other", NULL
14391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14393 if (!SWIG_IsOK(res1
)) {
14394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14396 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14397 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14398 if (!SWIG_IsOK(res2
)) {
14399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14401 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14417 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
= 0;
14419 wxFont
*arg1
= (wxFont
*) 0 ;
14420 wxFont
*arg2
= (wxFont
*) 0 ;
14426 PyObject
* obj0
= 0 ;
14427 PyObject
* obj1
= 0 ;
14428 char * kwnames
[] = {
14429 (char *) "self",(char *) "other", NULL
14432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14434 if (!SWIG_IsOK(res1
)) {
14435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14437 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14438 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14439 if (!SWIG_IsOK(res2
)) {
14440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14442 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14458 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14459 PyObject
*resultobj
= 0;
14460 wxFont
*arg1
= (wxFont
*) 0 ;
14464 PyObject
*swig_obj
[1] ;
14466 if (!args
) SWIG_fail
;
14467 swig_obj
[0] = args
;
14468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14469 if (!SWIG_IsOK(res1
)) {
14470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14472 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14476 wxPyEndAllowThreads(__tstate
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14479 resultobj
= SWIG_From_int(static_cast< int >(result
));
14486 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14487 PyObject
*resultobj
= 0;
14488 wxFont
*arg1
= (wxFont
*) 0 ;
14492 PyObject
*swig_obj
[1] ;
14494 if (!args
) SWIG_fail
;
14495 swig_obj
[0] = args
;
14496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14497 if (!SWIG_IsOK(res1
)) {
14498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14500 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14504 wxPyEndAllowThreads(__tstate
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14507 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14514 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14515 PyObject
*resultobj
= 0;
14516 wxFont
*arg1
= (wxFont
*) 0 ;
14520 PyObject
*swig_obj
[1] ;
14522 if (!args
) SWIG_fail
;
14523 swig_obj
[0] = args
;
14524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14525 if (!SWIG_IsOK(res1
)) {
14526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14528 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14544 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14545 PyObject
*resultobj
= 0;
14546 wxFont
*arg1
= (wxFont
*) 0 ;
14550 PyObject
*swig_obj
[1] ;
14552 if (!args
) SWIG_fail
;
14553 swig_obj
[0] = args
;
14554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14555 if (!SWIG_IsOK(res1
)) {
14556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14558 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14565 resultobj
= SWIG_From_int(static_cast< int >(result
));
14572 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14573 PyObject
*resultobj
= 0;
14574 wxFont
*arg1
= (wxFont
*) 0 ;
14578 PyObject
*swig_obj
[1] ;
14580 if (!args
) SWIG_fail
;
14581 swig_obj
[0] = args
;
14582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14583 if (!SWIG_IsOK(res1
)) {
14584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14586 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= SWIG_From_int(static_cast< int >(result
));
14600 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14601 PyObject
*resultobj
= 0;
14602 wxFont
*arg1
= (wxFont
*) 0 ;
14606 PyObject
*swig_obj
[1] ;
14608 if (!args
) SWIG_fail
;
14609 swig_obj
[0] = args
;
14610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14611 if (!SWIG_IsOK(res1
)) {
14612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14614 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14617 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= SWIG_From_int(static_cast< int >(result
));
14628 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14629 PyObject
*resultobj
= 0;
14630 wxFont
*arg1
= (wxFont
*) 0 ;
14634 PyObject
*swig_obj
[1] ;
14636 if (!args
) SWIG_fail
;
14637 swig_obj
[0] = args
;
14638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14639 if (!SWIG_IsOK(res1
)) {
14640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14642 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14658 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14659 PyObject
*resultobj
= 0;
14660 wxFont
*arg1
= (wxFont
*) 0 ;
14664 PyObject
*swig_obj
[1] ;
14666 if (!args
) SWIG_fail
;
14667 swig_obj
[0] = args
;
14668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14669 if (!SWIG_IsOK(res1
)) {
14670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14672 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14675 result
= ((wxFont
const *)arg1
)->GetFaceName();
14676 wxPyEndAllowThreads(__tstate
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14692 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14693 PyObject
*resultobj
= 0;
14694 wxFont
*arg1
= (wxFont
*) 0 ;
14695 wxFontEncoding result
;
14698 PyObject
*swig_obj
[1] ;
14700 if (!args
) SWIG_fail
;
14701 swig_obj
[0] = args
;
14702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14703 if (!SWIG_IsOK(res1
)) {
14704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14706 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14710 wxPyEndAllowThreads(__tstate
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14713 resultobj
= SWIG_From_int(static_cast< int >(result
));
14720 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14721 PyObject
*resultobj
= 0;
14722 wxFont
*arg1
= (wxFont
*) 0 ;
14723 wxNativeFontInfo
*result
= 0 ;
14726 PyObject
*swig_obj
[1] ;
14728 if (!args
) SWIG_fail
;
14729 swig_obj
[0] = args
;
14730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14731 if (!SWIG_IsOK(res1
)) {
14732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14734 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14748 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14749 PyObject
*resultobj
= 0;
14750 wxFont
*arg1
= (wxFont
*) 0 ;
14754 PyObject
*swig_obj
[1] ;
14756 if (!args
) SWIG_fail
;
14757 swig_obj
[0] = args
;
14758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14759 if (!SWIG_IsOK(res1
)) {
14760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14762 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14765 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14778 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14779 PyObject
*resultobj
= 0;
14780 wxFont
*arg1
= (wxFont
*) 0 ;
14784 PyObject
*swig_obj
[1] ;
14786 if (!args
) SWIG_fail
;
14787 swig_obj
[0] = args
;
14788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14789 if (!SWIG_IsOK(res1
)) {
14790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14792 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14812 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14813 PyObject
*resultobj
= 0;
14814 wxFont
*arg1
= (wxFont
*) 0 ;
14818 PyObject
*swig_obj
[1] ;
14820 if (!args
) SWIG_fail
;
14821 swig_obj
[0] = args
;
14822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14823 if (!SWIG_IsOK(res1
)) {
14824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14826 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14846 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14847 PyObject
*resultobj
= 0;
14848 wxFont
*arg1
= (wxFont
*) 0 ;
14854 PyObject
* obj0
= 0 ;
14855 PyObject
* obj1
= 0 ;
14856 char * kwnames
[] = {
14857 (char *) "self",(char *) "pointSize", NULL
14860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14862 if (!SWIG_IsOK(res1
)) {
14863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14865 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14867 if (!SWIG_IsOK(ecode2
)) {
14868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14870 arg2
= static_cast< int >(val2
);
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 (arg1
)->SetPointSize(arg2
);
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= SWIG_Py_Void();
14884 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
= 0;
14886 wxFont
*arg1
= (wxFont
*) 0 ;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 char * kwnames
[] = {
14894 (char *) "self",(char *) "pixelSize", NULL
14897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14899 if (!SWIG_IsOK(res1
)) {
14900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14902 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14905 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14910 wxPyEndAllowThreads(__tstate
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= SWIG_Py_Void();
14920 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14921 PyObject
*resultobj
= 0;
14922 wxFont
*arg1
= (wxFont
*) 0 ;
14928 PyObject
* obj0
= 0 ;
14929 PyObject
* obj1
= 0 ;
14930 char * kwnames
[] = {
14931 (char *) "self",(char *) "family", NULL
14934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14936 if (!SWIG_IsOK(res1
)) {
14937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14939 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14941 if (!SWIG_IsOK(ecode2
)) {
14942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14944 arg2
= static_cast< int >(val2
);
14946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14947 (arg1
)->SetFamily(arg2
);
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14951 resultobj
= SWIG_Py_Void();
14958 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
= 0;
14960 wxFont
*arg1
= (wxFont
*) 0 ;
14966 PyObject
* obj0
= 0 ;
14967 PyObject
* obj1
= 0 ;
14968 char * kwnames
[] = {
14969 (char *) "self",(char *) "style", NULL
14972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14974 if (!SWIG_IsOK(res1
)) {
14975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14977 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14979 if (!SWIG_IsOK(ecode2
)) {
14980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14982 arg2
= static_cast< int >(val2
);
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 (arg1
)->SetStyle(arg2
);
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= SWIG_Py_Void();
14996 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
= 0;
14998 wxFont
*arg1
= (wxFont
*) 0 ;
15004 PyObject
* obj0
= 0 ;
15005 PyObject
* obj1
= 0 ;
15006 char * kwnames
[] = {
15007 (char *) "self",(char *) "weight", NULL
15010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15012 if (!SWIG_IsOK(res1
)) {
15013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15015 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15017 if (!SWIG_IsOK(ecode2
)) {
15018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15020 arg2
= static_cast< int >(val2
);
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 (arg1
)->SetWeight(arg2
);
15024 wxPyEndAllowThreads(__tstate
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15027 resultobj
= SWIG_Py_Void();
15034 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15035 PyObject
*resultobj
= 0;
15036 wxFont
*arg1
= (wxFont
*) 0 ;
15037 wxString
*arg2
= 0 ;
15041 bool temp2
= false ;
15042 PyObject
* obj0
= 0 ;
15043 PyObject
* obj1
= 0 ;
15044 char * kwnames
[] = {
15045 (char *) "self",(char *) "faceName", NULL
15048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15050 if (!SWIG_IsOK(res1
)) {
15051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15053 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15055 arg2
= wxString_in_helper(obj1
);
15056 if (arg2
== NULL
) SWIG_fail
;
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15082 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15083 PyObject
*resultobj
= 0;
15084 wxFont
*arg1
= (wxFont
*) 0 ;
15090 PyObject
* obj0
= 0 ;
15091 PyObject
* obj1
= 0 ;
15092 char * kwnames
[] = {
15093 (char *) "self",(char *) "underlined", NULL
15096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15098 if (!SWIG_IsOK(res1
)) {
15099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15101 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15102 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15103 if (!SWIG_IsOK(ecode2
)) {
15104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15106 arg2
= static_cast< bool >(val2
);
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 (arg1
)->SetUnderlined(arg2
);
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 resultobj
= SWIG_Py_Void();
15120 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
= 0;
15122 wxFont
*arg1
= (wxFont
*) 0 ;
15123 wxFontEncoding arg2
;
15128 PyObject
* obj0
= 0 ;
15129 PyObject
* obj1
= 0 ;
15130 char * kwnames
[] = {
15131 (char *) "self",(char *) "encoding", NULL
15134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15136 if (!SWIG_IsOK(res1
)) {
15137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15139 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15141 if (!SWIG_IsOK(ecode2
)) {
15142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15144 arg2
= static_cast< wxFontEncoding
>(val2
);
15146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15147 (arg1
)->SetEncoding(arg2
);
15148 wxPyEndAllowThreads(__tstate
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15151 resultobj
= SWIG_Py_Void();
15158 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15159 PyObject
*resultobj
= 0;
15160 wxFont
*arg1
= (wxFont
*) 0 ;
15161 wxNativeFontInfo
*arg2
= 0 ;
15166 PyObject
* obj0
= 0 ;
15167 PyObject
* obj1
= 0 ;
15168 char * kwnames
[] = {
15169 (char *) "self",(char *) "info", NULL
15172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15174 if (!SWIG_IsOK(res1
)) {
15175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15177 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15178 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15179 if (!SWIG_IsOK(res2
)) {
15180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15185 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15192 resultobj
= SWIG_Py_Void();
15199 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15200 PyObject
*resultobj
= 0;
15201 wxFont
*arg1
= (wxFont
*) 0 ;
15202 wxString
*arg2
= 0 ;
15206 bool temp2
= false ;
15207 PyObject
* obj0
= 0 ;
15208 PyObject
* obj1
= 0 ;
15209 char * kwnames
[] = {
15210 (char *) "self",(char *) "info", NULL
15213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15215 if (!SWIG_IsOK(res1
)) {
15216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15218 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15220 arg2
= wxString_in_helper(obj1
);
15221 if (arg2
== NULL
) SWIG_fail
;
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15226 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15227 wxPyEndAllowThreads(__tstate
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15247 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15248 PyObject
*resultobj
= 0;
15249 wxFont
*arg1
= (wxFont
*) 0 ;
15250 wxString
*arg2
= 0 ;
15254 bool temp2
= false ;
15255 PyObject
* obj0
= 0 ;
15256 PyObject
* obj1
= 0 ;
15257 char * kwnames
[] = {
15258 (char *) "self",(char *) "info", NULL
15261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15263 if (!SWIG_IsOK(res1
)) {
15264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15266 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15268 arg2
= wxString_in_helper(obj1
);
15269 if (arg2
== NULL
) SWIG_fail
;
15273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15274 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15275 wxPyEndAllowThreads(__tstate
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15295 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15296 PyObject
*resultobj
= 0;
15297 wxFont
*arg1
= (wxFont
*) 0 ;
15301 PyObject
*swig_obj
[1] ;
15303 if (!args
) SWIG_fail
;
15304 swig_obj
[0] = args
;
15305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15306 if (!SWIG_IsOK(res1
)) {
15307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15309 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15312 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15329 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15330 PyObject
*resultobj
= 0;
15331 wxFont
*arg1
= (wxFont
*) 0 ;
15335 PyObject
*swig_obj
[1] ;
15337 if (!args
) SWIG_fail
;
15338 swig_obj
[0] = args
;
15339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15340 if (!SWIG_IsOK(res1
)) {
15341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15343 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 result
= ((wxFont
const *)arg1
)->GetStyleString();
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15363 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15364 PyObject
*resultobj
= 0;
15365 wxFont
*arg1
= (wxFont
*) 0 ;
15369 PyObject
*swig_obj
[1] ;
15371 if (!args
) SWIG_fail
;
15372 swig_obj
[0] = args
;
15373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15374 if (!SWIG_IsOK(res1
)) {
15375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15377 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 result
= ((wxFont
const *)arg1
)->GetWeightString();
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15397 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15398 PyObject
*resultobj
= 0;
15399 wxFont
*arg1
= (wxFont
*) 0 ;
15400 bool arg2
= (bool) true ;
15405 PyObject
* obj0
= 0 ;
15406 PyObject
* obj1
= 0 ;
15407 char * kwnames
[] = {
15408 (char *) "self",(char *) "no", NULL
15411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15413 if (!SWIG_IsOK(res1
)) {
15414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15416 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15418 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15419 if (!SWIG_IsOK(ecode2
)) {
15420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15422 arg2
= static_cast< bool >(val2
);
15425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15426 (arg1
)->SetNoAntiAliasing(arg2
);
15427 wxPyEndAllowThreads(__tstate
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15430 resultobj
= SWIG_Py_Void();
15437 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15438 PyObject
*resultobj
= 0;
15439 wxFont
*arg1
= (wxFont
*) 0 ;
15443 PyObject
*swig_obj
[1] ;
15445 if (!args
) SWIG_fail
;
15446 swig_obj
[0] = args
;
15447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15448 if (!SWIG_IsOK(res1
)) {
15449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15451 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15467 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15468 PyObject
*resultobj
= 0;
15469 wxFontEncoding result
;
15471 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15473 if (!wxPyCheckForApp()) SWIG_fail
;
15474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15475 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15479 resultobj
= SWIG_From_int(static_cast< int >(result
));
15486 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
= 0;
15488 wxFontEncoding arg1
;
15491 PyObject
* obj0
= 0 ;
15492 char * kwnames
[] = {
15493 (char *) "encoding", NULL
15496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15497 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15498 if (!SWIG_IsOK(ecode1
)) {
15499 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15501 arg1
= static_cast< wxFontEncoding
>(val1
);
15503 if (!wxPyCheckForApp()) SWIG_fail
;
15504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15505 wxFont::SetDefaultEncoding(arg1
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 resultobj
= SWIG_Py_Void();
15516 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15518 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15519 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15520 return SWIG_Py_Void();
15523 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15524 return SWIG_Python_InitShadowInstance(args
);
15527 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15528 PyObject
*resultobj
= 0;
15529 wxPyFontEnumerator
*result
= 0 ;
15531 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15533 if (!wxPyCheckForApp()) SWIG_fail
;
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15536 wxPyEndAllowThreads(__tstate
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15546 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15547 PyObject
*resultobj
= 0;
15548 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15551 PyObject
*swig_obj
[1] ;
15553 if (!args
) SWIG_fail
;
15554 swig_obj
[0] = args
;
15555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15556 if (!SWIG_IsOK(res1
)) {
15557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15559 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 resultobj
= SWIG_Py_Void();
15574 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15575 PyObject
*resultobj
= 0;
15576 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15577 PyObject
*arg2
= (PyObject
*) 0 ;
15578 PyObject
*arg3
= (PyObject
*) 0 ;
15584 PyObject
* obj0
= 0 ;
15585 PyObject
* obj1
= 0 ;
15586 PyObject
* obj2
= 0 ;
15587 PyObject
* obj3
= 0 ;
15588 char * kwnames
[] = {
15589 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15594 if (!SWIG_IsOK(res1
)) {
15595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15597 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15600 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15601 if (!SWIG_IsOK(ecode4
)) {
15602 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15604 arg4
= static_cast< bool >(val4
);
15606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15607 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15611 resultobj
= SWIG_Py_Void();
15618 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15619 PyObject
*resultobj
= 0;
15620 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15621 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15622 bool arg3
= (bool) false ;
15630 PyObject
* obj0
= 0 ;
15631 PyObject
* obj1
= 0 ;
15632 PyObject
* obj2
= 0 ;
15633 char * kwnames
[] = {
15634 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15639 if (!SWIG_IsOK(res1
)) {
15640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15642 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15645 if (!SWIG_IsOK(ecode2
)) {
15646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15648 arg2
= static_cast< wxFontEncoding
>(val2
);
15651 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15652 if (!SWIG_IsOK(ecode3
)) {
15653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15655 arg3
= static_cast< bool >(val3
);
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15672 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15673 PyObject
*resultobj
= 0;
15674 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15675 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15676 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15680 bool temp2
= false ;
15681 PyObject
* obj0
= 0 ;
15682 PyObject
* obj1
= 0 ;
15683 char * kwnames
[] = {
15684 (char *) "self",(char *) "facename", NULL
15687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15689 if (!SWIG_IsOK(res1
)) {
15690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15692 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15695 arg2
= wxString_in_helper(obj1
);
15696 if (arg2
== NULL
) SWIG_fail
;
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15702 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15703 wxPyEndAllowThreads(__tstate
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15723 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15724 PyObject
*resultobj
= 0;
15725 PyObject
*result
= 0 ;
15727 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= result
;
15741 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15742 PyObject
*resultobj
= 0;
15743 PyObject
*result
= 0 ;
15745 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15748 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15752 resultobj
= result
;
15759 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15760 PyObject
*resultobj
= 0;
15761 wxString
*arg1
= 0 ;
15763 bool temp1
= false ;
15764 PyObject
* obj0
= 0 ;
15765 char * kwnames
[] = {
15766 (char *) "str", NULL
15769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15771 arg1
= wxString_in_helper(obj0
);
15772 if (arg1
== NULL
) SWIG_fail
;
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15777 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15798 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15800 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15801 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15802 return SWIG_Py_Void();
15805 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15806 return SWIG_Python_InitShadowInstance(args
);
15809 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15810 PyObject
*resultobj
= 0;
15811 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15817 PyObject
*swig_obj
[2] ;
15819 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15821 if (!SWIG_IsOK(res1
)) {
15822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15824 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15825 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15826 if (!SWIG_IsOK(ecode2
)) {
15827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15829 arg2
= static_cast< int >(val2
);
15830 if (arg1
) (arg1
)->Language
= arg2
;
15832 resultobj
= SWIG_Py_Void();
15839 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15840 PyObject
*resultobj
= 0;
15841 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15845 PyObject
*swig_obj
[1] ;
15847 if (!args
) SWIG_fail
;
15848 swig_obj
[0] = args
;
15849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15850 if (!SWIG_IsOK(res1
)) {
15851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15853 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15854 result
= (int) ((arg1
)->Language
);
15855 resultobj
= SWIG_From_int(static_cast< int >(result
));
15862 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15863 PyObject
*resultobj
= 0;
15864 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15865 wxString
*arg2
= (wxString
*) 0 ;
15868 bool temp2
= false ;
15869 PyObject
*swig_obj
[2] ;
15871 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15873 if (!SWIG_IsOK(res1
)) {
15874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15876 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15878 arg2
= wxString_in_helper(swig_obj
[1]);
15879 if (arg2
== NULL
) SWIG_fail
;
15882 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15884 resultobj
= SWIG_Py_Void();
15899 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15900 PyObject
*resultobj
= 0;
15901 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15902 wxString
*result
= 0 ;
15905 PyObject
*swig_obj
[1] ;
15907 if (!args
) SWIG_fail
;
15908 swig_obj
[0] = args
;
15909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15910 if (!SWIG_IsOK(res1
)) {
15911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15913 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15914 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15917 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15919 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15928 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15929 PyObject
*resultobj
= 0;
15930 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15931 wxString
*arg2
= (wxString
*) 0 ;
15934 bool temp2
= false ;
15935 PyObject
*swig_obj
[2] ;
15937 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15939 if (!SWIG_IsOK(res1
)) {
15940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15942 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15944 arg2
= wxString_in_helper(swig_obj
[1]);
15945 if (arg2
== NULL
) SWIG_fail
;
15948 if (arg1
) (arg1
)->Description
= *arg2
;
15950 resultobj
= SWIG_Py_Void();
15965 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15966 PyObject
*resultobj
= 0;
15967 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15968 wxString
*result
= 0 ;
15971 PyObject
*swig_obj
[1] ;
15973 if (!args
) SWIG_fail
;
15974 swig_obj
[0] = args
;
15975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15976 if (!SWIG_IsOK(res1
)) {
15977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15979 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15980 result
= (wxString
*)& ((arg1
)->Description
);
15983 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15985 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15994 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15996 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15997 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15998 return SWIG_Py_Void();
16001 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
= 0;
16003 int arg1
= (int) -1 ;
16004 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16005 wxLocale
*result
= 0 ;
16010 PyObject
* obj0
= 0 ;
16011 PyObject
* obj1
= 0 ;
16012 char * kwnames
[] = {
16013 (char *) "language",(char *) "flags", NULL
16016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16018 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16019 if (!SWIG_IsOK(ecode1
)) {
16020 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16022 arg1
= static_cast< int >(val1
);
16025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16026 if (!SWIG_IsOK(ecode2
)) {
16027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16029 arg2
= static_cast< int >(val2
);
16032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16033 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16034 wxPyEndAllowThreads(__tstate
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16044 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16045 PyObject
*resultobj
= 0;
16046 wxLocale
*arg1
= (wxLocale
*) 0 ;
16049 PyObject
*swig_obj
[1] ;
16051 if (!args
) SWIG_fail
;
16052 swig_obj
[0] = args
;
16053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16054 if (!SWIG_IsOK(res1
)) {
16055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16057 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16062 wxPyEndAllowThreads(__tstate
);
16063 if (PyErr_Occurred()) SWIG_fail
;
16065 resultobj
= SWIG_Py_Void();
16072 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16073 PyObject
*resultobj
= 0;
16074 wxLocale
*arg1
= (wxLocale
*) 0 ;
16075 wxString
*arg2
= 0 ;
16076 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16077 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16078 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16079 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16080 bool arg5
= (bool) true ;
16081 bool arg6
= (bool) false ;
16085 bool temp2
= false ;
16086 bool temp3
= false ;
16087 bool temp4
= false ;
16092 PyObject
* obj0
= 0 ;
16093 PyObject
* obj1
= 0 ;
16094 PyObject
* obj2
= 0 ;
16095 PyObject
* obj3
= 0 ;
16096 PyObject
* obj4
= 0 ;
16097 PyObject
* obj5
= 0 ;
16098 char * kwnames
[] = {
16099 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16104 if (!SWIG_IsOK(res1
)) {
16105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16107 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16109 arg2
= wxString_in_helper(obj1
);
16110 if (arg2
== NULL
) SWIG_fail
;
16115 arg3
= wxString_in_helper(obj2
);
16116 if (arg3
== NULL
) SWIG_fail
;
16122 arg4
= wxString_in_helper(obj3
);
16123 if (arg4
== NULL
) SWIG_fail
;
16128 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16129 if (!SWIG_IsOK(ecode5
)) {
16130 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16132 arg5
= static_cast< bool >(val5
);
16135 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16136 if (!SWIG_IsOK(ecode6
)) {
16137 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16139 arg6
= static_cast< bool >(val6
);
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16180 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16181 PyObject
*resultobj
= 0;
16182 wxLocale
*arg1
= (wxLocale
*) 0 ;
16183 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16184 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16192 PyObject
* obj0
= 0 ;
16193 PyObject
* obj1
= 0 ;
16194 PyObject
* obj2
= 0 ;
16195 char * kwnames
[] = {
16196 (char *) "self",(char *) "language",(char *) "flags", NULL
16199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16201 if (!SWIG_IsOK(res1
)) {
16202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16204 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16207 if (!SWIG_IsOK(ecode2
)) {
16208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16210 arg2
= static_cast< int >(val2
);
16213 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16214 if (!SWIG_IsOK(ecode3
)) {
16215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16217 arg3
= static_cast< int >(val3
);
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16221 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16222 wxPyEndAllowThreads(__tstate
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16234 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16235 PyObject
*resultobj
= 0;
16238 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16241 result
= (int)wxLocale::GetSystemLanguage();
16242 wxPyEndAllowThreads(__tstate
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16245 resultobj
= SWIG_From_int(static_cast< int >(result
));
16252 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16253 PyObject
*resultobj
= 0;
16254 wxFontEncoding result
;
16256 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16260 wxPyEndAllowThreads(__tstate
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16263 resultobj
= SWIG_From_int(static_cast< int >(result
));
16270 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16271 PyObject
*resultobj
= 0;
16274 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 result
= wxLocale::GetSystemEncodingName();
16278 wxPyEndAllowThreads(__tstate
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16283 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16285 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16294 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16295 PyObject
*resultobj
= 0;
16296 wxLocale
*arg1
= (wxLocale
*) 0 ;
16300 PyObject
*swig_obj
[1] ;
16302 if (!args
) SWIG_fail
;
16303 swig_obj
[0] = args
;
16304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16305 if (!SWIG_IsOK(res1
)) {
16306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16308 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16312 wxPyEndAllowThreads(__tstate
);
16313 if (PyErr_Occurred()) SWIG_fail
;
16316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16324 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16325 PyObject
*resultobj
= 0;
16326 wxLocale
*arg1
= (wxLocale
*) 0 ;
16330 PyObject
*swig_obj
[1] ;
16332 if (!args
) SWIG_fail
;
16333 swig_obj
[0] = args
;
16334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16335 if (!SWIG_IsOK(res1
)) {
16336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16338 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16341 result
= ((wxLocale
const *)arg1
)->GetLocale();
16342 wxPyEndAllowThreads(__tstate
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16358 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16359 PyObject
*resultobj
= 0;
16360 wxLocale
*arg1
= (wxLocale
*) 0 ;
16364 PyObject
*swig_obj
[1] ;
16366 if (!args
) SWIG_fail
;
16367 swig_obj
[0] = args
;
16368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16369 if (!SWIG_IsOK(res1
)) {
16370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16372 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16375 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16376 wxPyEndAllowThreads(__tstate
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16379 resultobj
= SWIG_From_int(static_cast< int >(result
));
16386 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16387 PyObject
*resultobj
= 0;
16388 wxLocale
*arg1
= (wxLocale
*) 0 ;
16392 PyObject
*swig_obj
[1] ;
16394 if (!args
) SWIG_fail
;
16395 swig_obj
[0] = args
;
16396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16397 if (!SWIG_IsOK(res1
)) {
16398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16400 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 result
= ((wxLocale
const *)arg1
)->GetSysName();
16404 wxPyEndAllowThreads(__tstate
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16420 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16421 PyObject
*resultobj
= 0;
16422 wxLocale
*arg1
= (wxLocale
*) 0 ;
16426 PyObject
*swig_obj
[1] ;
16428 if (!args
) SWIG_fail
;
16429 swig_obj
[0] = args
;
16430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16431 if (!SWIG_IsOK(res1
)) {
16432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16434 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16438 wxPyEndAllowThreads(__tstate
);
16439 if (PyErr_Occurred()) SWIG_fail
;
16443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16454 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
= 0;
16456 wxString
*arg1
= 0 ;
16457 bool temp1
= false ;
16458 PyObject
* obj0
= 0 ;
16459 char * kwnames
[] = {
16460 (char *) "prefix", NULL
16463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16465 arg1
= wxString_in_helper(obj0
);
16466 if (arg1
== NULL
) SWIG_fail
;
16470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16471 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16472 wxPyEndAllowThreads(__tstate
);
16473 if (PyErr_Occurred()) SWIG_fail
;
16475 resultobj
= SWIG_Py_Void();
16490 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
= 0;
16492 wxLocale
*arg1
= (wxLocale
*) 0 ;
16493 wxString
*arg2
= 0 ;
16497 bool temp2
= false ;
16498 PyObject
* obj0
= 0 ;
16499 PyObject
* obj1
= 0 ;
16500 char * kwnames
[] = {
16501 (char *) "self",(char *) "szDomain", NULL
16504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16506 if (!SWIG_IsOK(res1
)) {
16507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16509 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16511 arg2
= wxString_in_helper(obj1
);
16512 if (arg2
== NULL
) SWIG_fail
;
16516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16517 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16518 wxPyEndAllowThreads(__tstate
);
16519 if (PyErr_Occurred()) SWIG_fail
;
16522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16538 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16539 PyObject
*resultobj
= 0;
16544 PyObject
* obj0
= 0 ;
16545 char * kwnames
[] = {
16546 (char *) "lang", NULL
16549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16550 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16551 if (!SWIG_IsOK(ecode1
)) {
16552 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16554 arg1
= static_cast< int >(val1
);
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 result
= (bool)wxLocale::IsAvailable(arg1
);
16558 wxPyEndAllowThreads(__tstate
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16570 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16571 PyObject
*resultobj
= 0;
16572 wxLocale
*arg1
= (wxLocale
*) 0 ;
16573 wxString
*arg2
= 0 ;
16577 bool temp2
= false ;
16578 PyObject
* obj0
= 0 ;
16579 PyObject
* obj1
= 0 ;
16580 char * kwnames
[] = {
16581 (char *) "self",(char *) "szDomain", NULL
16584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16586 if (!SWIG_IsOK(res1
)) {
16587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16589 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16591 arg2
= wxString_in_helper(obj1
);
16592 if (arg2
== NULL
) SWIG_fail
;
16596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16597 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16618 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
= 0;
16621 wxLanguageInfo
*result
= 0 ;
16624 PyObject
* obj0
= 0 ;
16625 char * kwnames
[] = {
16626 (char *) "lang", NULL
16629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16630 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16631 if (!SWIG_IsOK(ecode1
)) {
16632 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16634 arg1
= static_cast< int >(val1
);
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16648 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
= 0;
16654 PyObject
* obj0
= 0 ;
16655 char * kwnames
[] = {
16656 (char *) "lang", NULL
16659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16660 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16661 if (!SWIG_IsOK(ecode1
)) {
16662 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16664 arg1
= static_cast< int >(val1
);
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 result
= wxLocale::GetLanguageName(arg1
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16684 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16685 PyObject
*resultobj
= 0;
16686 wxString
*arg1
= 0 ;
16687 wxLanguageInfo
*result
= 0 ;
16688 bool temp1
= false ;
16689 PyObject
* obj0
= 0 ;
16690 char * kwnames
[] = {
16691 (char *) "locale", NULL
16694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16696 arg1
= wxString_in_helper(obj0
);
16697 if (arg1
== NULL
) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16721 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
= 0;
16723 wxLanguageInfo
*arg1
= 0 ;
16726 PyObject
* obj0
= 0 ;
16727 char * kwnames
[] = {
16728 (char *) "info", NULL
16731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16732 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16733 if (!SWIG_IsOK(res1
)) {
16734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16739 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16742 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16746 resultobj
= SWIG_Py_Void();
16753 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16754 PyObject
*resultobj
= 0;
16755 wxLocale
*arg1
= (wxLocale
*) 0 ;
16756 wxString
*arg2
= 0 ;
16757 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16758 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16762 bool temp2
= false ;
16763 bool temp3
= false ;
16764 PyObject
* obj0
= 0 ;
16765 PyObject
* obj1
= 0 ;
16766 PyObject
* obj2
= 0 ;
16767 char * kwnames
[] = {
16768 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16773 if (!SWIG_IsOK(res1
)) {
16774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16776 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16778 arg2
= wxString_in_helper(obj1
);
16779 if (arg2
== NULL
) SWIG_fail
;
16784 arg3
= wxString_in_helper(obj2
);
16785 if (arg3
== NULL
) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16797 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16799 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16824 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16825 PyObject
*resultobj
= 0;
16826 wxLocale
*arg1
= (wxLocale
*) 0 ;
16827 wxString
*result
= 0 ;
16830 PyObject
*swig_obj
[1] ;
16832 if (!args
) SWIG_fail
;
16833 swig_obj
[0] = args
;
16834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16835 if (!SWIG_IsOK(res1
)) {
16836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16838 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16842 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16843 result
= (wxString
*) &_result_ref
;
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16850 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16852 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16861 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16863 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16864 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16865 return SWIG_Py_Void();
16868 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16869 return SWIG_Python_InitShadowInstance(args
);
16872 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16873 PyObject
*resultobj
= 0;
16874 int arg1
= (int) -1 ;
16875 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16876 wxPyLocale
*result
= 0 ;
16881 PyObject
* obj0
= 0 ;
16882 PyObject
* obj1
= 0 ;
16883 char * kwnames
[] = {
16884 (char *) "language",(char *) "flags", NULL
16887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16889 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16890 if (!SWIG_IsOK(ecode1
)) {
16891 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16893 arg1
= static_cast< int >(val1
);
16896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16897 if (!SWIG_IsOK(ecode2
)) {
16898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16900 arg2
= static_cast< int >(val2
);
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16915 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16916 PyObject
*resultobj
= 0;
16917 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16920 PyObject
*swig_obj
[1] ;
16922 if (!args
) SWIG_fail
;
16923 swig_obj
[0] = args
;
16924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16925 if (!SWIG_IsOK(res1
)) {
16926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16928 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16936 resultobj
= SWIG_Py_Void();
16943 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
= 0;
16945 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16946 PyObject
*arg2
= (PyObject
*) 0 ;
16947 PyObject
*arg3
= (PyObject
*) 0 ;
16950 PyObject
* obj0
= 0 ;
16951 PyObject
* obj1
= 0 ;
16952 PyObject
* obj2
= 0 ;
16953 char * kwnames
[] = {
16954 (char *) "self",(char *) "self",(char *) "_class", NULL
16957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16959 if (!SWIG_IsOK(res1
)) {
16960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16962 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16967 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16971 resultobj
= SWIG_Py_Void();
16978 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16979 PyObject
*resultobj
= 0;
16980 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16981 wxChar
*arg2
= (wxChar
*) 0 ;
16982 wxChar
*arg3
= (wxChar
*) NULL
;
16983 wxChar
*result
= 0 ;
16990 PyObject
* obj0
= 0 ;
16991 PyObject
* obj1
= 0 ;
16992 PyObject
* obj2
= 0 ;
16993 char * kwnames
[] = {
16994 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16999 if (!SWIG_IsOK(res1
)) {
17000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17002 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17003 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17004 if (!SWIG_IsOK(res2
)) {
17005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17007 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17009 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17010 if (!SWIG_IsOK(res3
)) {
17011 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17013 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17028 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
= 0;
17030 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17031 wxChar
*arg2
= (wxChar
*) 0 ;
17032 wxChar
*arg3
= (wxChar
*) 0 ;
17034 wxChar
*arg5
= (wxChar
*) NULL
;
17035 wxChar
*result
= 0 ;
17046 PyObject
* obj0
= 0 ;
17047 PyObject
* obj1
= 0 ;
17048 PyObject
* obj2
= 0 ;
17049 PyObject
* obj3
= 0 ;
17050 PyObject
* obj4
= 0 ;
17051 char * kwnames
[] = {
17052 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17057 if (!SWIG_IsOK(res1
)) {
17058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17060 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17061 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17062 if (!SWIG_IsOK(res2
)) {
17063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17065 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17066 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17067 if (!SWIG_IsOK(res3
)) {
17068 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17070 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17071 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17072 if (!SWIG_IsOK(ecode4
)) {
17073 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17075 arg4
= static_cast< size_t >(val4
);
17077 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17078 if (!SWIG_IsOK(res5
)) {
17079 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17081 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17085 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17096 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17098 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17099 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17100 return SWIG_Py_Void();
17103 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17104 return SWIG_Python_InitShadowInstance(args
);
17107 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17108 PyObject
*resultobj
= 0;
17109 wxLocale
*result
= 0 ;
17111 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 result
= (wxLocale
*)wxGetLocale();
17115 wxPyEndAllowThreads(__tstate
);
17116 if (PyErr_Occurred()) SWIG_fail
;
17118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17125 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17126 PyObject
*resultobj
= 0;
17127 wxString
*arg1
= 0 ;
17129 bool temp1
= false ;
17131 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17133 arg1
= wxString_in_helper(swig_obj
[0]);
17134 if (arg1
== NULL
) SWIG_fail
;
17138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17139 result
= wxGetTranslation((wxString
const &)*arg1
);
17140 wxPyEndAllowThreads(__tstate
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17164 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17165 PyObject
*resultobj
= 0;
17166 wxString
*arg1
= 0 ;
17167 wxString
*arg2
= 0 ;
17169 bool temp1
= false ;
17170 bool temp2
= false ;
17172 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17174 arg1
= wxString_in_helper(swig_obj
[0]);
17175 if (arg1
== NULL
) SWIG_fail
;
17179 arg2
= wxString_in_helper(swig_obj
[1]);
17180 if (arg2
== NULL
) SWIG_fail
;
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17185 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17186 wxPyEndAllowThreads(__tstate
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17218 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17219 PyObject
*resultobj
= 0;
17220 wxString
*arg1
= 0 ;
17221 wxString
*arg2
= 0 ;
17224 bool temp1
= false ;
17225 bool temp2
= false ;
17229 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17231 arg1
= wxString_in_helper(swig_obj
[0]);
17232 if (arg1
== NULL
) SWIG_fail
;
17236 arg2
= wxString_in_helper(swig_obj
[1]);
17237 if (arg2
== NULL
) SWIG_fail
;
17240 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17241 if (!SWIG_IsOK(ecode3
)) {
17242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17244 arg3
= static_cast< size_t >(val3
);
17246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17247 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17248 wxPyEndAllowThreads(__tstate
);
17249 if (PyErr_Occurred()) SWIG_fail
;
17253 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17255 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17280 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17281 PyObject
*resultobj
= 0;
17282 wxString
*arg1
= 0 ;
17283 wxString
*arg2
= 0 ;
17285 wxString
*arg4
= 0 ;
17287 bool temp1
= false ;
17288 bool temp2
= false ;
17291 bool temp4
= false ;
17293 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17295 arg1
= wxString_in_helper(swig_obj
[0]);
17296 if (arg1
== NULL
) SWIG_fail
;
17300 arg2
= wxString_in_helper(swig_obj
[1]);
17301 if (arg2
== NULL
) SWIG_fail
;
17304 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17305 if (!SWIG_IsOK(ecode3
)) {
17306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17308 arg3
= static_cast< size_t >(val3
);
17310 arg4
= wxString_in_helper(swig_obj
[3]);
17311 if (arg4
== NULL
) SWIG_fail
;
17315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17316 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17317 wxPyEndAllowThreads(__tstate
);
17318 if (PyErr_Occurred()) SWIG_fail
;
17322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17357 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17361 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17364 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17367 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17370 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17373 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17377 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17382 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17383 PyObject
*resultobj
= 0;
17384 wxEncodingConverter
*result
= 0 ;
17386 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17389 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17390 wxPyEndAllowThreads(__tstate
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17400 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17401 PyObject
*resultobj
= 0;
17402 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17405 PyObject
*swig_obj
[1] ;
17407 if (!args
) SWIG_fail
;
17408 swig_obj
[0] = args
;
17409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17410 if (!SWIG_IsOK(res1
)) {
17411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17413 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= SWIG_Py_Void();
17428 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
= 0;
17430 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17431 wxFontEncoding arg2
;
17432 wxFontEncoding arg3
;
17433 int arg4
= (int) wxCONVERT_STRICT
;
17443 PyObject
* obj0
= 0 ;
17444 PyObject
* obj1
= 0 ;
17445 PyObject
* obj2
= 0 ;
17446 PyObject
* obj3
= 0 ;
17447 char * kwnames
[] = {
17448 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17453 if (!SWIG_IsOK(res1
)) {
17454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17456 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17458 if (!SWIG_IsOK(ecode2
)) {
17459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17461 arg2
= static_cast< wxFontEncoding
>(val2
);
17462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17463 if (!SWIG_IsOK(ecode3
)) {
17464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17466 arg3
= static_cast< wxFontEncoding
>(val3
);
17468 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17469 if (!SWIG_IsOK(ecode4
)) {
17470 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17472 arg4
= static_cast< int >(val4
);
17475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17476 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17477 wxPyEndAllowThreads(__tstate
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17489 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17490 PyObject
*resultobj
= 0;
17491 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17492 wxString
*arg2
= 0 ;
17496 bool temp2
= false ;
17497 PyObject
* obj0
= 0 ;
17498 PyObject
* obj1
= 0 ;
17499 char * kwnames
[] = {
17500 (char *) "self",(char *) "input", NULL
17503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17505 if (!SWIG_IsOK(res1
)) {
17506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17508 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17510 arg2
= wxString_in_helper(obj1
);
17511 if (arg2
== NULL
) SWIG_fail
;
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17541 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
= 0;
17543 wxFontEncoding arg1
;
17544 int arg2
= (int) wxPLATFORM_CURRENT
;
17545 wxFontEncodingArray result
;
17550 PyObject
* obj0
= 0 ;
17551 PyObject
* obj1
= 0 ;
17552 char * kwnames
[] = {
17553 (char *) "enc",(char *) "platform", NULL
17556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17557 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17558 if (!SWIG_IsOK(ecode1
)) {
17559 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17561 arg1
= static_cast< wxFontEncoding
>(val1
);
17563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17564 if (!SWIG_IsOK(ecode2
)) {
17565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17567 arg2
= static_cast< int >(val2
);
17570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17571 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17576 resultobj
= PyList_New(0);
17577 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17578 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17579 PyList_Append(resultobj
, number
);
17589 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17590 PyObject
*resultobj
= 0;
17591 wxFontEncoding arg1
;
17592 wxFontEncodingArray result
;
17595 PyObject
* obj0
= 0 ;
17596 char * kwnames
[] = {
17597 (char *) "enc", NULL
17600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17601 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17602 if (!SWIG_IsOK(ecode1
)) {
17603 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17605 arg1
= static_cast< wxFontEncoding
>(val1
);
17607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17613 resultobj
= PyList_New(0);
17614 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17615 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17616 PyList_Append(resultobj
, number
);
17626 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17627 PyObject
*resultobj
= 0;
17628 wxFontEncoding arg1
;
17629 wxFontEncoding arg2
;
17635 PyObject
* obj0
= 0 ;
17636 PyObject
* obj1
= 0 ;
17637 char * kwnames
[] = {
17638 (char *) "encIn",(char *) "encOut", NULL
17641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17642 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17643 if (!SWIG_IsOK(ecode1
)) {
17644 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17646 arg1
= static_cast< wxFontEncoding
>(val1
);
17647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17648 if (!SWIG_IsOK(ecode2
)) {
17649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17651 arg2
= static_cast< wxFontEncoding
>(val2
);
17653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17654 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17655 wxPyEndAllowThreads(__tstate
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17667 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17669 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17670 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17671 return SWIG_Py_Void();
17674 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17675 return SWIG_Python_InitShadowInstance(args
);
17678 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17679 PyObject
*resultobj
= 0;
17680 wxDC
*arg1
= (wxDC
*) 0 ;
17683 PyObject
*swig_obj
[1] ;
17685 if (!args
) SWIG_fail
;
17686 swig_obj
[0] = args
;
17687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17688 if (!SWIG_IsOK(res1
)) {
17689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17691 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17699 resultobj
= SWIG_Py_Void();
17706 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
= 0;
17708 wxDC
*arg1
= (wxDC
*) 0 ;
17711 wxColour
*arg4
= 0 ;
17712 int arg5
= (int) wxFLOOD_SURFACE
;
17723 PyObject
* obj0
= 0 ;
17724 PyObject
* obj1
= 0 ;
17725 PyObject
* obj2
= 0 ;
17726 PyObject
* obj3
= 0 ;
17727 PyObject
* obj4
= 0 ;
17728 char * kwnames
[] = {
17729 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17734 if (!SWIG_IsOK(res1
)) {
17735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17737 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17739 if (!SWIG_IsOK(ecode2
)) {
17740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17742 arg2
= static_cast< int >(val2
);
17743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17744 if (!SWIG_IsOK(ecode3
)) {
17745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17747 arg3
= static_cast< int >(val3
);
17750 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17753 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17754 if (!SWIG_IsOK(ecode5
)) {
17755 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17757 arg5
= static_cast< int >(val5
);
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17761 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17774 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17775 PyObject
*resultobj
= 0;
17776 wxDC
*arg1
= (wxDC
*) 0 ;
17777 wxPoint
*arg2
= 0 ;
17778 wxColour
*arg3
= 0 ;
17779 int arg4
= (int) wxFLOOD_SURFACE
;
17787 PyObject
* obj0
= 0 ;
17788 PyObject
* obj1
= 0 ;
17789 PyObject
* obj2
= 0 ;
17790 PyObject
* obj3
= 0 ;
17791 char * kwnames
[] = {
17792 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17797 if (!SWIG_IsOK(res1
)) {
17798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17800 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17803 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17807 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17810 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17811 if (!SWIG_IsOK(ecode4
)) {
17812 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17814 arg4
= static_cast< int >(val4
);
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17831 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17832 PyObject
*resultobj
= 0;
17833 wxDC
*arg1
= (wxDC
*) 0 ;
17835 wxColour
*arg3
= 0 ;
17836 wxColour
*arg4
= 0 ;
17837 wxPoint
*arg5
= 0 ;
17844 PyObject
* obj0
= 0 ;
17845 PyObject
* obj1
= 0 ;
17846 PyObject
* obj2
= 0 ;
17847 PyObject
* obj3
= 0 ;
17848 PyObject
* obj4
= 0 ;
17849 char * kwnames
[] = {
17850 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17855 if (!SWIG_IsOK(res1
)) {
17856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17858 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17861 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17865 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17869 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17873 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17877 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 resultobj
= SWIG_Py_Void();
17888 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
= 0;
17890 wxDC
*arg1
= (wxDC
*) 0 ;
17892 wxColour
*arg3
= 0 ;
17893 wxColour
*arg4
= 0 ;
17894 wxDirection arg5
= (wxDirection
) wxEAST
;
17902 PyObject
* obj0
= 0 ;
17903 PyObject
* obj1
= 0 ;
17904 PyObject
* obj2
= 0 ;
17905 PyObject
* obj3
= 0 ;
17906 PyObject
* obj4
= 0 ;
17907 char * kwnames
[] = {
17908 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17913 if (!SWIG_IsOK(res1
)) {
17914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17916 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17919 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17923 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17927 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17930 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17931 if (!SWIG_IsOK(ecode5
)) {
17932 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17934 arg5
= static_cast< wxDirection
>(val5
);
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 resultobj
= SWIG_Py_Void();
17949 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
= 0;
17951 wxDC
*arg1
= (wxDC
*) 0 ;
17961 PyObject
* obj0
= 0 ;
17962 PyObject
* obj1
= 0 ;
17963 PyObject
* obj2
= 0 ;
17964 char * kwnames
[] = {
17965 (char *) "self",(char *) "x",(char *) "y", NULL
17968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17970 if (!SWIG_IsOK(res1
)) {
17971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17973 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17975 if (!SWIG_IsOK(ecode2
)) {
17976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17978 arg2
= static_cast< int >(val2
);
17979 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17980 if (!SWIG_IsOK(ecode3
)) {
17981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17983 arg3
= static_cast< int >(val3
);
17985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17986 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17987 wxPyEndAllowThreads(__tstate
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17990 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17997 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
= 0;
17999 wxDC
*arg1
= (wxDC
*) 0 ;
18000 wxPoint
*arg2
= 0 ;
18005 PyObject
* obj0
= 0 ;
18006 PyObject
* obj1
= 0 ;
18007 char * kwnames
[] = {
18008 (char *) "self",(char *) "pt", NULL
18011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18013 if (!SWIG_IsOK(res1
)) {
18014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18016 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18019 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18024 wxPyEndAllowThreads(__tstate
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18027 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18034 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18035 PyObject
*resultobj
= 0;
18036 wxDC
*arg1
= (wxDC
*) 0 ;
18051 PyObject
* obj0
= 0 ;
18052 PyObject
* obj1
= 0 ;
18053 PyObject
* obj2
= 0 ;
18054 PyObject
* obj3
= 0 ;
18055 PyObject
* obj4
= 0 ;
18056 char * kwnames
[] = {
18057 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18062 if (!SWIG_IsOK(res1
)) {
18063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18065 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18067 if (!SWIG_IsOK(ecode2
)) {
18068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18070 arg2
= static_cast< int >(val2
);
18071 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18072 if (!SWIG_IsOK(ecode3
)) {
18073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18075 arg3
= static_cast< int >(val3
);
18076 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18077 if (!SWIG_IsOK(ecode4
)) {
18078 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18080 arg4
= static_cast< int >(val4
);
18081 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18082 if (!SWIG_IsOK(ecode5
)) {
18083 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18085 arg5
= static_cast< int >(val5
);
18087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18088 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18089 wxPyEndAllowThreads(__tstate
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18092 resultobj
= SWIG_Py_Void();
18099 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18100 PyObject
*resultobj
= 0;
18101 wxDC
*arg1
= (wxDC
*) 0 ;
18102 wxPoint
*arg2
= 0 ;
18103 wxPoint
*arg3
= 0 ;
18108 PyObject
* obj0
= 0 ;
18109 PyObject
* obj1
= 0 ;
18110 PyObject
* obj2
= 0 ;
18111 char * kwnames
[] = {
18112 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18117 if (!SWIG_IsOK(res1
)) {
18118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18120 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18123 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18127 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 resultobj
= SWIG_Py_Void();
18142 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18143 PyObject
*resultobj
= 0;
18144 wxDC
*arg1
= (wxDC
*) 0 ;
18153 PyObject
* obj0
= 0 ;
18154 PyObject
* obj1
= 0 ;
18155 PyObject
* obj2
= 0 ;
18156 char * kwnames
[] = {
18157 (char *) "self",(char *) "x",(char *) "y", NULL
18160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18162 if (!SWIG_IsOK(res1
)) {
18163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18165 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18167 if (!SWIG_IsOK(ecode2
)) {
18168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18170 arg2
= static_cast< int >(val2
);
18171 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18172 if (!SWIG_IsOK(ecode3
)) {
18173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18175 arg3
= static_cast< int >(val3
);
18177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18178 (arg1
)->CrossHair(arg2
,arg3
);
18179 wxPyEndAllowThreads(__tstate
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18182 resultobj
= SWIG_Py_Void();
18189 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
= 0;
18191 wxDC
*arg1
= (wxDC
*) 0 ;
18192 wxPoint
*arg2
= 0 ;
18196 PyObject
* obj0
= 0 ;
18197 PyObject
* obj1
= 0 ;
18198 char * kwnames
[] = {
18199 (char *) "self",(char *) "pt", NULL
18202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18204 if (!SWIG_IsOK(res1
)) {
18205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18207 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18210 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18215 wxPyEndAllowThreads(__tstate
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18218 resultobj
= SWIG_Py_Void();
18225 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18226 PyObject
*resultobj
= 0;
18227 wxDC
*arg1
= (wxDC
*) 0 ;
18248 PyObject
* obj0
= 0 ;
18249 PyObject
* obj1
= 0 ;
18250 PyObject
* obj2
= 0 ;
18251 PyObject
* obj3
= 0 ;
18252 PyObject
* obj4
= 0 ;
18253 PyObject
* obj5
= 0 ;
18254 PyObject
* obj6
= 0 ;
18255 char * kwnames
[] = {
18256 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18261 if (!SWIG_IsOK(res1
)) {
18262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18264 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18266 if (!SWIG_IsOK(ecode2
)) {
18267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18269 arg2
= static_cast< int >(val2
);
18270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18271 if (!SWIG_IsOK(ecode3
)) {
18272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18274 arg3
= static_cast< int >(val3
);
18275 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18276 if (!SWIG_IsOK(ecode4
)) {
18277 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18279 arg4
= static_cast< int >(val4
);
18280 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18281 if (!SWIG_IsOK(ecode5
)) {
18282 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18284 arg5
= static_cast< int >(val5
);
18285 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18286 if (!SWIG_IsOK(ecode6
)) {
18287 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18289 arg6
= static_cast< int >(val6
);
18290 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18291 if (!SWIG_IsOK(ecode7
)) {
18292 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18294 arg7
= static_cast< int >(val7
);
18296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18297 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18301 resultobj
= SWIG_Py_Void();
18308 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
= 0;
18310 wxDC
*arg1
= (wxDC
*) 0 ;
18311 wxPoint
*arg2
= 0 ;
18312 wxPoint
*arg3
= 0 ;
18313 wxPoint
*arg4
= 0 ;
18319 PyObject
* obj0
= 0 ;
18320 PyObject
* obj1
= 0 ;
18321 PyObject
* obj2
= 0 ;
18322 PyObject
* obj3
= 0 ;
18323 char * kwnames
[] = {
18324 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18329 if (!SWIG_IsOK(res1
)) {
18330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18332 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18335 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18339 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18343 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18347 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18348 wxPyEndAllowThreads(__tstate
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 resultobj
= SWIG_Py_Void();
18358 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18359 PyObject
*resultobj
= 0;
18360 wxDC
*arg1
= (wxDC
*) 0 ;
18375 PyObject
* obj0
= 0 ;
18376 PyObject
* obj1
= 0 ;
18377 PyObject
* obj2
= 0 ;
18378 PyObject
* obj3
= 0 ;
18379 PyObject
* obj4
= 0 ;
18380 char * kwnames
[] = {
18381 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18386 if (!SWIG_IsOK(res1
)) {
18387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18389 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18391 if (!SWIG_IsOK(ecode2
)) {
18392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18394 arg2
= static_cast< int >(val2
);
18395 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18396 if (!SWIG_IsOK(ecode3
)) {
18397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18399 arg3
= static_cast< int >(val3
);
18400 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18401 if (!SWIG_IsOK(ecode4
)) {
18402 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18404 arg4
= static_cast< int >(val4
);
18405 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18406 if (!SWIG_IsOK(ecode5
)) {
18407 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18409 arg5
= static_cast< int >(val5
);
18411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18413 wxPyEndAllowThreads(__tstate
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18416 resultobj
= SWIG_Py_Void();
18423 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18424 PyObject
*resultobj
= 0;
18425 wxDC
*arg1
= (wxDC
*) 0 ;
18430 PyObject
* obj0
= 0 ;
18431 PyObject
* obj1
= 0 ;
18432 char * kwnames
[] = {
18433 (char *) "self",(char *) "rect", NULL
18436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18438 if (!SWIG_IsOK(res1
)) {
18439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18441 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18444 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 resultobj
= SWIG_Py_Void();
18459 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
= 0;
18461 wxDC
*arg1
= (wxDC
*) 0 ;
18482 PyObject
* obj0
= 0 ;
18483 PyObject
* obj1
= 0 ;
18484 PyObject
* obj2
= 0 ;
18485 PyObject
* obj3
= 0 ;
18486 PyObject
* obj4
= 0 ;
18487 PyObject
* obj5
= 0 ;
18488 PyObject
* obj6
= 0 ;
18489 char * kwnames
[] = {
18490 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18495 if (!SWIG_IsOK(res1
)) {
18496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18500 if (!SWIG_IsOK(ecode2
)) {
18501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18503 arg2
= static_cast< int >(val2
);
18504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18505 if (!SWIG_IsOK(ecode3
)) {
18506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18508 arg3
= static_cast< int >(val3
);
18509 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18510 if (!SWIG_IsOK(ecode4
)) {
18511 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18513 arg4
= static_cast< int >(val4
);
18514 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18515 if (!SWIG_IsOK(ecode5
)) {
18516 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18518 arg5
= static_cast< int >(val5
);
18519 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18520 if (!SWIG_IsOK(ecode6
)) {
18521 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18523 arg6
= static_cast< double >(val6
);
18524 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18525 if (!SWIG_IsOK(ecode7
)) {
18526 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18528 arg7
= static_cast< double >(val7
);
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 resultobj
= SWIG_Py_Void();
18542 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
= 0;
18544 wxDC
*arg1
= (wxDC
*) 0 ;
18545 wxPoint
*arg2
= 0 ;
18557 PyObject
* obj0
= 0 ;
18558 PyObject
* obj1
= 0 ;
18559 PyObject
* obj2
= 0 ;
18560 PyObject
* obj3
= 0 ;
18561 PyObject
* obj4
= 0 ;
18562 char * kwnames
[] = {
18563 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18568 if (!SWIG_IsOK(res1
)) {
18569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18571 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18574 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18578 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18580 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18581 if (!SWIG_IsOK(ecode4
)) {
18582 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18584 arg4
= static_cast< double >(val4
);
18585 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18586 if (!SWIG_IsOK(ecode5
)) {
18587 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18589 arg5
= static_cast< double >(val5
);
18591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18592 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18593 wxPyEndAllowThreads(__tstate
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18596 resultobj
= SWIG_Py_Void();
18603 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18604 PyObject
*resultobj
= 0;
18605 wxDC
*arg1
= (wxDC
*) 0 ;
18614 PyObject
* obj0
= 0 ;
18615 PyObject
* obj1
= 0 ;
18616 PyObject
* obj2
= 0 ;
18617 char * kwnames
[] = {
18618 (char *) "self",(char *) "x",(char *) "y", NULL
18621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18623 if (!SWIG_IsOK(res1
)) {
18624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18626 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18628 if (!SWIG_IsOK(ecode2
)) {
18629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18631 arg2
= static_cast< int >(val2
);
18632 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18633 if (!SWIG_IsOK(ecode3
)) {
18634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18636 arg3
= static_cast< int >(val3
);
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 (arg1
)->DrawPoint(arg2
,arg3
);
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18643 resultobj
= SWIG_Py_Void();
18650 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18651 PyObject
*resultobj
= 0;
18652 wxDC
*arg1
= (wxDC
*) 0 ;
18653 wxPoint
*arg2
= 0 ;
18657 PyObject
* obj0
= 0 ;
18658 PyObject
* obj1
= 0 ;
18659 char * kwnames
[] = {
18660 (char *) "self",(char *) "pt", NULL
18663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18665 if (!SWIG_IsOK(res1
)) {
18666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18668 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18671 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18675 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 resultobj
= SWIG_Py_Void();
18686 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18687 PyObject
*resultobj
= 0;
18688 wxDC
*arg1
= (wxDC
*) 0 ;
18703 PyObject
* obj0
= 0 ;
18704 PyObject
* obj1
= 0 ;
18705 PyObject
* obj2
= 0 ;
18706 PyObject
* obj3
= 0 ;
18707 PyObject
* obj4
= 0 ;
18708 char * kwnames
[] = {
18709 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18714 if (!SWIG_IsOK(res1
)) {
18715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18717 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18719 if (!SWIG_IsOK(ecode2
)) {
18720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18722 arg2
= static_cast< int >(val2
);
18723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18724 if (!SWIG_IsOK(ecode3
)) {
18725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18727 arg3
= static_cast< int >(val3
);
18728 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18729 if (!SWIG_IsOK(ecode4
)) {
18730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18732 arg4
= static_cast< int >(val4
);
18733 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18734 if (!SWIG_IsOK(ecode5
)) {
18735 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18737 arg5
= static_cast< int >(val5
);
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18741 wxPyEndAllowThreads(__tstate
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18744 resultobj
= SWIG_Py_Void();
18751 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18752 PyObject
*resultobj
= 0;
18753 wxDC
*arg1
= (wxDC
*) 0 ;
18758 PyObject
* obj0
= 0 ;
18759 PyObject
* obj1
= 0 ;
18760 char * kwnames
[] = {
18761 (char *) "self",(char *) "rect", NULL
18764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18766 if (!SWIG_IsOK(res1
)) {
18767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18769 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18772 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18777 wxPyEndAllowThreads(__tstate
);
18778 if (PyErr_Occurred()) SWIG_fail
;
18780 resultobj
= SWIG_Py_Void();
18787 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18788 PyObject
*resultobj
= 0;
18789 wxDC
*arg1
= (wxDC
*) 0 ;
18790 wxPoint
*arg2
= 0 ;
18796 PyObject
* obj0
= 0 ;
18797 PyObject
* obj1
= 0 ;
18798 PyObject
* obj2
= 0 ;
18799 char * kwnames
[] = {
18800 (char *) "self",(char *) "pt",(char *) "sz", NULL
18803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18805 if (!SWIG_IsOK(res1
)) {
18806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18808 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18811 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18815 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18823 resultobj
= SWIG_Py_Void();
18830 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
= 0;
18832 wxDC
*arg1
= (wxDC
*) 0 ;
18850 PyObject
* obj0
= 0 ;
18851 PyObject
* obj1
= 0 ;
18852 PyObject
* obj2
= 0 ;
18853 PyObject
* obj3
= 0 ;
18854 PyObject
* obj4
= 0 ;
18855 PyObject
* obj5
= 0 ;
18856 char * kwnames
[] = {
18857 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18862 if (!SWIG_IsOK(res1
)) {
18863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18865 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18867 if (!SWIG_IsOK(ecode2
)) {
18868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18870 arg2
= static_cast< int >(val2
);
18871 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18872 if (!SWIG_IsOK(ecode3
)) {
18873 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18875 arg3
= static_cast< int >(val3
);
18876 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18877 if (!SWIG_IsOK(ecode4
)) {
18878 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18880 arg4
= static_cast< int >(val4
);
18881 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18882 if (!SWIG_IsOK(ecode5
)) {
18883 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18885 arg5
= static_cast< int >(val5
);
18886 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18887 if (!SWIG_IsOK(ecode6
)) {
18888 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18890 arg6
= static_cast< double >(val6
);
18892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18893 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18894 wxPyEndAllowThreads(__tstate
);
18895 if (PyErr_Occurred()) SWIG_fail
;
18897 resultobj
= SWIG_Py_Void();
18904 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18905 PyObject
*resultobj
= 0;
18906 wxDC
*arg1
= (wxDC
*) 0 ;
18914 PyObject
* obj0
= 0 ;
18915 PyObject
* obj1
= 0 ;
18916 PyObject
* obj2
= 0 ;
18917 char * kwnames
[] = {
18918 (char *) "self",(char *) "r",(char *) "radius", NULL
18921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18923 if (!SWIG_IsOK(res1
)) {
18924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18926 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18929 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18931 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18932 if (!SWIG_IsOK(ecode3
)) {
18933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18935 arg3
= static_cast< double >(val3
);
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18939 wxPyEndAllowThreads(__tstate
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18942 resultobj
= SWIG_Py_Void();
18949 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18950 PyObject
*resultobj
= 0;
18951 wxDC
*arg1
= (wxDC
*) 0 ;
18952 wxPoint
*arg2
= 0 ;
18961 PyObject
* obj0
= 0 ;
18962 PyObject
* obj1
= 0 ;
18963 PyObject
* obj2
= 0 ;
18964 PyObject
* obj3
= 0 ;
18965 char * kwnames
[] = {
18966 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18971 if (!SWIG_IsOK(res1
)) {
18972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18974 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18977 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18981 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18983 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18984 if (!SWIG_IsOK(ecode4
)) {
18985 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18987 arg4
= static_cast< double >(val4
);
18989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18990 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18991 wxPyEndAllowThreads(__tstate
);
18992 if (PyErr_Occurred()) SWIG_fail
;
18994 resultobj
= SWIG_Py_Void();
19001 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19002 PyObject
*resultobj
= 0;
19003 wxDC
*arg1
= (wxDC
*) 0 ;
19015 PyObject
* obj0
= 0 ;
19016 PyObject
* obj1
= 0 ;
19017 PyObject
* obj2
= 0 ;
19018 PyObject
* obj3
= 0 ;
19019 char * kwnames
[] = {
19020 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19025 if (!SWIG_IsOK(res1
)) {
19026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19028 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19030 if (!SWIG_IsOK(ecode2
)) {
19031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19033 arg2
= static_cast< int >(val2
);
19034 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19035 if (!SWIG_IsOK(ecode3
)) {
19036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19038 arg3
= static_cast< int >(val3
);
19039 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19040 if (!SWIG_IsOK(ecode4
)) {
19041 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19043 arg4
= static_cast< int >(val4
);
19045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19046 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19047 wxPyEndAllowThreads(__tstate
);
19048 if (PyErr_Occurred()) SWIG_fail
;
19050 resultobj
= SWIG_Py_Void();
19057 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19058 PyObject
*resultobj
= 0;
19059 wxDC
*arg1
= (wxDC
*) 0 ;
19060 wxPoint
*arg2
= 0 ;
19067 PyObject
* obj0
= 0 ;
19068 PyObject
* obj1
= 0 ;
19069 PyObject
* obj2
= 0 ;
19070 char * kwnames
[] = {
19071 (char *) "self",(char *) "pt",(char *) "radius", NULL
19074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19076 if (!SWIG_IsOK(res1
)) {
19077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19079 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19082 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19085 if (!SWIG_IsOK(ecode3
)) {
19086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19088 arg3
= static_cast< int >(val3
);
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19091 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19095 resultobj
= SWIG_Py_Void();
19102 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19103 PyObject
*resultobj
= 0;
19104 wxDC
*arg1
= (wxDC
*) 0 ;
19119 PyObject
* obj0
= 0 ;
19120 PyObject
* obj1
= 0 ;
19121 PyObject
* obj2
= 0 ;
19122 PyObject
* obj3
= 0 ;
19123 PyObject
* obj4
= 0 ;
19124 char * kwnames
[] = {
19125 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19130 if (!SWIG_IsOK(res1
)) {
19131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19133 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19135 if (!SWIG_IsOK(ecode2
)) {
19136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19138 arg2
= static_cast< int >(val2
);
19139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19140 if (!SWIG_IsOK(ecode3
)) {
19141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19143 arg3
= static_cast< int >(val3
);
19144 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19145 if (!SWIG_IsOK(ecode4
)) {
19146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19148 arg4
= static_cast< int >(val4
);
19149 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19150 if (!SWIG_IsOK(ecode5
)) {
19151 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19153 arg5
= static_cast< int >(val5
);
19155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19157 wxPyEndAllowThreads(__tstate
);
19158 if (PyErr_Occurred()) SWIG_fail
;
19160 resultobj
= SWIG_Py_Void();
19167 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19168 PyObject
*resultobj
= 0;
19169 wxDC
*arg1
= (wxDC
*) 0 ;
19174 PyObject
* obj0
= 0 ;
19175 PyObject
* obj1
= 0 ;
19176 char * kwnames
[] = {
19177 (char *) "self",(char *) "rect", NULL
19180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19182 if (!SWIG_IsOK(res1
)) {
19183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19185 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19188 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19192 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19193 wxPyEndAllowThreads(__tstate
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19196 resultobj
= SWIG_Py_Void();
19203 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
= 0;
19205 wxDC
*arg1
= (wxDC
*) 0 ;
19206 wxPoint
*arg2
= 0 ;
19212 PyObject
* obj0
= 0 ;
19213 PyObject
* obj1
= 0 ;
19214 PyObject
* obj2
= 0 ;
19215 char * kwnames
[] = {
19216 (char *) "self",(char *) "pt",(char *) "sz", NULL
19219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19221 if (!SWIG_IsOK(res1
)) {
19222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19224 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19227 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19231 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19235 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19236 wxPyEndAllowThreads(__tstate
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 resultobj
= SWIG_Py_Void();
19246 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19247 PyObject
*resultobj
= 0;
19248 wxDC
*arg1
= (wxDC
*) 0 ;
19260 PyObject
* obj0
= 0 ;
19261 PyObject
* obj1
= 0 ;
19262 PyObject
* obj2
= 0 ;
19263 PyObject
* obj3
= 0 ;
19264 char * kwnames
[] = {
19265 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19270 if (!SWIG_IsOK(res1
)) {
19271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19274 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19275 if (!SWIG_IsOK(res2
)) {
19276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19281 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19282 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19283 if (!SWIG_IsOK(ecode3
)) {
19284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19286 arg3
= static_cast< int >(val3
);
19287 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19288 if (!SWIG_IsOK(ecode4
)) {
19289 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19291 arg4
= static_cast< int >(val4
);
19293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19294 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19295 wxPyEndAllowThreads(__tstate
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19298 resultobj
= SWIG_Py_Void();
19305 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19306 PyObject
*resultobj
= 0;
19307 wxDC
*arg1
= (wxDC
*) 0 ;
19309 wxPoint
*arg3
= 0 ;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 PyObject
* obj2
= 0 ;
19318 char * kwnames
[] = {
19319 (char *) "self",(char *) "icon",(char *) "pt", NULL
19322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19324 if (!SWIG_IsOK(res1
)) {
19325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19327 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19328 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19329 if (!SWIG_IsOK(res2
)) {
19330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19335 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19338 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= SWIG_Py_Void();
19353 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
= 0;
19355 wxDC
*arg1
= (wxDC
*) 0 ;
19356 wxBitmap
*arg2
= 0 ;
19359 bool arg5
= (bool) false ;
19370 PyObject
* obj0
= 0 ;
19371 PyObject
* obj1
= 0 ;
19372 PyObject
* obj2
= 0 ;
19373 PyObject
* obj3
= 0 ;
19374 PyObject
* obj4
= 0 ;
19375 char * kwnames
[] = {
19376 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19381 if (!SWIG_IsOK(res1
)) {
19382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19384 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19385 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19386 if (!SWIG_IsOK(res2
)) {
19387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19392 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19393 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19394 if (!SWIG_IsOK(ecode3
)) {
19395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19397 arg3
= static_cast< int >(val3
);
19398 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19399 if (!SWIG_IsOK(ecode4
)) {
19400 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19402 arg4
= static_cast< int >(val4
);
19404 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19405 if (!SWIG_IsOK(ecode5
)) {
19406 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19408 arg5
= static_cast< bool >(val5
);
19411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19412 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 resultobj
= SWIG_Py_Void();
19423 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
= 0;
19425 wxDC
*arg1
= (wxDC
*) 0 ;
19426 wxBitmap
*arg2
= 0 ;
19427 wxPoint
*arg3
= 0 ;
19428 bool arg4
= (bool) false ;
19436 PyObject
* obj0
= 0 ;
19437 PyObject
* obj1
= 0 ;
19438 PyObject
* obj2
= 0 ;
19439 PyObject
* obj3
= 0 ;
19440 char * kwnames
[] = {
19441 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19446 if (!SWIG_IsOK(res1
)) {
19447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19449 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19450 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19451 if (!SWIG_IsOK(res2
)) {
19452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19457 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19460 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19463 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19464 if (!SWIG_IsOK(ecode4
)) {
19465 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19467 arg4
= static_cast< bool >(val4
);
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19471 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19472 wxPyEndAllowThreads(__tstate
);
19473 if (PyErr_Occurred()) SWIG_fail
;
19475 resultobj
= SWIG_Py_Void();
19482 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19483 PyObject
*resultobj
= 0;
19484 wxDC
*arg1
= (wxDC
*) 0 ;
19485 wxString
*arg2
= 0 ;
19490 bool temp2
= false ;
19495 PyObject
* obj0
= 0 ;
19496 PyObject
* obj1
= 0 ;
19497 PyObject
* obj2
= 0 ;
19498 PyObject
* obj3
= 0 ;
19499 char * kwnames
[] = {
19500 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19505 if (!SWIG_IsOK(res1
)) {
19506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19508 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19510 arg2
= wxString_in_helper(obj1
);
19511 if (arg2
== NULL
) SWIG_fail
;
19514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19515 if (!SWIG_IsOK(ecode3
)) {
19516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19518 arg3
= static_cast< int >(val3
);
19519 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19520 if (!SWIG_IsOK(ecode4
)) {
19521 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19523 arg4
= static_cast< int >(val4
);
19525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19526 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19527 wxPyEndAllowThreads(__tstate
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19530 resultobj
= SWIG_Py_Void();
19545 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19546 PyObject
*resultobj
= 0;
19547 wxDC
*arg1
= (wxDC
*) 0 ;
19548 wxString
*arg2
= 0 ;
19549 wxPoint
*arg3
= 0 ;
19552 bool temp2
= false ;
19554 PyObject
* obj0
= 0 ;
19555 PyObject
* obj1
= 0 ;
19556 PyObject
* obj2
= 0 ;
19557 char * kwnames
[] = {
19558 (char *) "self",(char *) "text",(char *) "pt", NULL
19561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19563 if (!SWIG_IsOK(res1
)) {
19564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19566 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19568 arg2
= wxString_in_helper(obj1
);
19569 if (arg2
== NULL
) SWIG_fail
;
19574 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19578 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19579 wxPyEndAllowThreads(__tstate
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19582 resultobj
= SWIG_Py_Void();
19597 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19598 PyObject
*resultobj
= 0;
19599 wxDC
*arg1
= (wxDC
*) 0 ;
19600 wxString
*arg2
= 0 ;
19606 bool temp2
= false ;
19613 PyObject
* obj0
= 0 ;
19614 PyObject
* obj1
= 0 ;
19615 PyObject
* obj2
= 0 ;
19616 PyObject
* obj3
= 0 ;
19617 PyObject
* obj4
= 0 ;
19618 char * kwnames
[] = {
19619 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19624 if (!SWIG_IsOK(res1
)) {
19625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19627 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19629 arg2
= wxString_in_helper(obj1
);
19630 if (arg2
== NULL
) SWIG_fail
;
19633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19634 if (!SWIG_IsOK(ecode3
)) {
19635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19637 arg3
= static_cast< int >(val3
);
19638 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19639 if (!SWIG_IsOK(ecode4
)) {
19640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19642 arg4
= static_cast< int >(val4
);
19643 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19644 if (!SWIG_IsOK(ecode5
)) {
19645 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19647 arg5
= static_cast< double >(val5
);
19649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19650 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19651 wxPyEndAllowThreads(__tstate
);
19652 if (PyErr_Occurred()) SWIG_fail
;
19654 resultobj
= SWIG_Py_Void();
19669 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19670 PyObject
*resultobj
= 0;
19671 wxDC
*arg1
= (wxDC
*) 0 ;
19672 wxString
*arg2
= 0 ;
19673 wxPoint
*arg3
= 0 ;
19677 bool temp2
= false ;
19681 PyObject
* obj0
= 0 ;
19682 PyObject
* obj1
= 0 ;
19683 PyObject
* obj2
= 0 ;
19684 PyObject
* obj3
= 0 ;
19685 char * kwnames
[] = {
19686 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19691 if (!SWIG_IsOK(res1
)) {
19692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19694 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19696 arg2
= wxString_in_helper(obj1
);
19697 if (arg2
== NULL
) SWIG_fail
;
19702 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19704 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19705 if (!SWIG_IsOK(ecode4
)) {
19706 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19708 arg4
= static_cast< double >(val4
);
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= SWIG_Py_Void();
19730 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19731 PyObject
*resultobj
= 0;
19732 wxDC
*arg1
= (wxDC
*) 0 ;
19737 wxDC
*arg6
= (wxDC
*) 0 ;
19740 int arg9
= (int) wxCOPY
;
19741 bool arg10
= (bool) false ;
19742 int arg11
= (int) -1 ;
19743 int arg12
= (int) -1 ;
19769 PyObject
* obj0
= 0 ;
19770 PyObject
* obj1
= 0 ;
19771 PyObject
* obj2
= 0 ;
19772 PyObject
* obj3
= 0 ;
19773 PyObject
* obj4
= 0 ;
19774 PyObject
* obj5
= 0 ;
19775 PyObject
* obj6
= 0 ;
19776 PyObject
* obj7
= 0 ;
19777 PyObject
* obj8
= 0 ;
19778 PyObject
* obj9
= 0 ;
19779 PyObject
* obj10
= 0 ;
19780 PyObject
* obj11
= 0 ;
19781 char * kwnames
[] = {
19782 (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
19785 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
;
19786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19787 if (!SWIG_IsOK(res1
)) {
19788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19790 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19792 if (!SWIG_IsOK(ecode2
)) {
19793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19795 arg2
= static_cast< int >(val2
);
19796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19797 if (!SWIG_IsOK(ecode3
)) {
19798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19800 arg3
= static_cast< int >(val3
);
19801 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19802 if (!SWIG_IsOK(ecode4
)) {
19803 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19805 arg4
= static_cast< int >(val4
);
19806 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19807 if (!SWIG_IsOK(ecode5
)) {
19808 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19810 arg5
= static_cast< int >(val5
);
19811 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19812 if (!SWIG_IsOK(res6
)) {
19813 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19815 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19816 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19817 if (!SWIG_IsOK(ecode7
)) {
19818 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19820 arg7
= static_cast< int >(val7
);
19821 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19822 if (!SWIG_IsOK(ecode8
)) {
19823 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19825 arg8
= static_cast< int >(val8
);
19827 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19828 if (!SWIG_IsOK(ecode9
)) {
19829 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19831 arg9
= static_cast< int >(val9
);
19834 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19835 if (!SWIG_IsOK(ecode10
)) {
19836 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19838 arg10
= static_cast< bool >(val10
);
19841 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19842 if (!SWIG_IsOK(ecode11
)) {
19843 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19845 arg11
= static_cast< int >(val11
);
19848 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19849 if (!SWIG_IsOK(ecode12
)) {
19850 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19852 arg12
= static_cast< int >(val12
);
19855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19856 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19869 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19870 PyObject
*resultobj
= 0;
19871 wxDC
*arg1
= (wxDC
*) 0 ;
19872 wxPoint
*arg2
= 0 ;
19874 wxDC
*arg4
= (wxDC
*) 0 ;
19875 wxPoint
*arg5
= 0 ;
19876 int arg6
= (int) wxCOPY
;
19877 bool arg7
= (bool) false ;
19878 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19879 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19893 PyObject
* obj0
= 0 ;
19894 PyObject
* obj1
= 0 ;
19895 PyObject
* obj2
= 0 ;
19896 PyObject
* obj3
= 0 ;
19897 PyObject
* obj4
= 0 ;
19898 PyObject
* obj5
= 0 ;
19899 PyObject
* obj6
= 0 ;
19900 PyObject
* obj7
= 0 ;
19901 char * kwnames
[] = {
19902 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19907 if (!SWIG_IsOK(res1
)) {
19908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19910 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19913 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19917 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19919 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19920 if (!SWIG_IsOK(res4
)) {
19921 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19923 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19926 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19929 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19930 if (!SWIG_IsOK(ecode6
)) {
19931 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19933 arg6
= static_cast< int >(val6
);
19936 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19937 if (!SWIG_IsOK(ecode7
)) {
19938 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19940 arg7
= static_cast< bool >(val7
);
19945 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19950 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19963 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
= 0;
19965 wxDC
*arg1
= (wxDC
*) 0 ;
19980 PyObject
* obj0
= 0 ;
19981 PyObject
* obj1
= 0 ;
19982 PyObject
* obj2
= 0 ;
19983 PyObject
* obj3
= 0 ;
19984 PyObject
* obj4
= 0 ;
19985 char * kwnames
[] = {
19986 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19991 if (!SWIG_IsOK(res1
)) {
19992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19994 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19996 if (!SWIG_IsOK(ecode2
)) {
19997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19999 arg2
= static_cast< int >(val2
);
20000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20001 if (!SWIG_IsOK(ecode3
)) {
20002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20004 arg3
= static_cast< int >(val3
);
20005 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20006 if (!SWIG_IsOK(ecode4
)) {
20007 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20009 arg4
= static_cast< int >(val4
);
20010 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20011 if (!SWIG_IsOK(ecode5
)) {
20012 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20014 arg5
= static_cast< int >(val5
);
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20017 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= SWIG_Py_Void();
20028 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
= 0;
20030 wxDC
*arg1
= (wxDC
*) 0 ;
20031 wxPoint
*arg2
= 0 ;
20037 PyObject
* obj0
= 0 ;
20038 PyObject
* obj1
= 0 ;
20039 PyObject
* obj2
= 0 ;
20040 char * kwnames
[] = {
20041 (char *) "self",(char *) "pt",(char *) "sz", NULL
20044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20046 if (!SWIG_IsOK(res1
)) {
20047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20049 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20052 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20056 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20060 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20061 wxPyEndAllowThreads(__tstate
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20064 resultobj
= SWIG_Py_Void();
20071 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20072 PyObject
*resultobj
= 0;
20073 wxDC
*arg1
= (wxDC
*) 0 ;
20074 wxRegion
*arg2
= 0 ;
20079 PyObject
* obj0
= 0 ;
20080 PyObject
* obj1
= 0 ;
20081 char * kwnames
[] = {
20082 (char *) "self",(char *) "region", NULL
20085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20087 if (!SWIG_IsOK(res1
)) {
20088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20090 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20091 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20092 if (!SWIG_IsOK(res2
)) {
20093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20098 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20101 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20105 resultobj
= SWIG_Py_Void();
20112 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20113 PyObject
*resultobj
= 0;
20114 wxDC
*arg1
= (wxDC
*) 0 ;
20119 PyObject
* obj0
= 0 ;
20120 PyObject
* obj1
= 0 ;
20121 char * kwnames
[] = {
20122 (char *) "self",(char *) "rect", NULL
20125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20127 if (!SWIG_IsOK(res1
)) {
20128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20130 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20133 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20137 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20138 wxPyEndAllowThreads(__tstate
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20141 resultobj
= SWIG_Py_Void();
20148 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
= 0;
20150 wxDC
*arg1
= (wxDC
*) 0 ;
20152 wxPoint
*arg3
= (wxPoint
*) 0 ;
20153 int arg4
= (int) 0 ;
20154 int arg5
= (int) 0 ;
20161 PyObject
* obj0
= 0 ;
20162 PyObject
* obj1
= 0 ;
20163 PyObject
* obj2
= 0 ;
20164 PyObject
* obj3
= 0 ;
20165 char * kwnames
[] = {
20166 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20176 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20177 if (arg3
== NULL
) SWIG_fail
;
20180 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20181 if (!SWIG_IsOK(ecode4
)) {
20182 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20184 arg4
= static_cast< int >(val4
);
20187 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20188 if (!SWIG_IsOK(ecode5
)) {
20189 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20191 arg5
= static_cast< int >(val5
);
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20199 resultobj
= SWIG_Py_Void();
20201 if (arg3
) delete [] arg3
;
20206 if (arg3
) delete [] arg3
;
20212 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20213 PyObject
*resultobj
= 0;
20214 wxDC
*arg1
= (wxDC
*) 0 ;
20216 wxPoint
*arg3
= (wxPoint
*) 0 ;
20217 int arg4
= (int) 0 ;
20218 int arg5
= (int) 0 ;
20219 int arg6
= (int) wxODDEVEN_RULE
;
20228 PyObject
* obj0
= 0 ;
20229 PyObject
* obj1
= 0 ;
20230 PyObject
* obj2
= 0 ;
20231 PyObject
* obj3
= 0 ;
20232 PyObject
* obj4
= 0 ;
20233 char * kwnames
[] = {
20234 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20239 if (!SWIG_IsOK(res1
)) {
20240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20242 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20244 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20245 if (arg3
== NULL
) SWIG_fail
;
20248 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20249 if (!SWIG_IsOK(ecode4
)) {
20250 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20252 arg4
= static_cast< int >(val4
);
20255 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20256 if (!SWIG_IsOK(ecode5
)) {
20257 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20259 arg5
= static_cast< int >(val5
);
20262 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20263 if (!SWIG_IsOK(ecode6
)) {
20264 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20266 arg6
= static_cast< int >(val6
);
20269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20270 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20271 wxPyEndAllowThreads(__tstate
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20274 resultobj
= SWIG_Py_Void();
20276 if (arg3
) delete [] arg3
;
20281 if (arg3
) delete [] arg3
;
20287 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
= 0;
20289 wxDC
*arg1
= (wxDC
*) 0 ;
20290 wxString
*arg2
= 0 ;
20292 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20293 int arg5
= (int) -1 ;
20296 bool temp2
= false ;
20302 PyObject
* obj0
= 0 ;
20303 PyObject
* obj1
= 0 ;
20304 PyObject
* obj2
= 0 ;
20305 PyObject
* obj3
= 0 ;
20306 PyObject
* obj4
= 0 ;
20307 char * kwnames
[] = {
20308 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20313 if (!SWIG_IsOK(res1
)) {
20314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20316 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20318 arg2
= wxString_in_helper(obj1
);
20319 if (arg2
== NULL
) SWIG_fail
;
20324 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20327 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20328 if (!SWIG_IsOK(ecode4
)) {
20329 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20331 arg4
= static_cast< int >(val4
);
20334 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20335 if (!SWIG_IsOK(ecode5
)) {
20336 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20338 arg5
= static_cast< int >(val5
);
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20343 wxPyEndAllowThreads(__tstate
);
20344 if (PyErr_Occurred()) SWIG_fail
;
20346 resultobj
= SWIG_Py_Void();
20361 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20362 PyObject
*resultobj
= 0;
20363 wxDC
*arg1
= (wxDC
*) 0 ;
20364 wxString
*arg2
= 0 ;
20365 wxBitmap
*arg3
= 0 ;
20367 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20368 int arg6
= (int) -1 ;
20372 bool temp2
= false ;
20380 PyObject
* obj0
= 0 ;
20381 PyObject
* obj1
= 0 ;
20382 PyObject
* obj2
= 0 ;
20383 PyObject
* obj3
= 0 ;
20384 PyObject
* obj4
= 0 ;
20385 PyObject
* obj5
= 0 ;
20386 char * kwnames
[] = {
20387 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20392 if (!SWIG_IsOK(res1
)) {
20393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20395 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20397 arg2
= wxString_in_helper(obj1
);
20398 if (arg2
== NULL
) SWIG_fail
;
20401 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20402 if (!SWIG_IsOK(res3
)) {
20403 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20408 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20411 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20414 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20415 if (!SWIG_IsOK(ecode5
)) {
20416 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20418 arg5
= static_cast< int >(val5
);
20421 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20422 if (!SWIG_IsOK(ecode6
)) {
20423 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20425 arg6
= static_cast< int >(val6
);
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20430 wxPyEndAllowThreads(__tstate
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20433 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20448 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
= 0;
20450 wxDC
*arg1
= (wxDC
*) 0 ;
20452 wxPoint
*arg3
= (wxPoint
*) 0 ;
20455 PyObject
* obj0
= 0 ;
20456 PyObject
* obj1
= 0 ;
20457 char * kwnames
[] = {
20458 (char *) "self",(char *) "points", NULL
20461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20463 if (!SWIG_IsOK(res1
)) {
20464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20466 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20468 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20469 if (arg3
== NULL
) SWIG_fail
;
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20473 (arg1
)->DrawSpline(arg2
,arg3
);
20474 wxPyEndAllowThreads(__tstate
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20477 resultobj
= SWIG_Py_Void();
20479 if (arg3
) delete [] arg3
;
20484 if (arg3
) delete [] arg3
;
20490 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20491 PyObject
*resultobj
= 0;
20492 wxDC
*arg1
= (wxDC
*) 0 ;
20495 PyObject
*swig_obj
[1] ;
20497 if (!args
) SWIG_fail
;
20498 swig_obj
[0] = args
;
20499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20500 if (!SWIG_IsOK(res1
)) {
20501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20503 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= SWIG_Py_Void();
20517 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
= 0;
20519 wxDC
*arg1
= (wxDC
*) 0 ;
20520 wxString
*arg2
= 0 ;
20524 bool temp2
= false ;
20525 PyObject
* obj0
= 0 ;
20526 PyObject
* obj1
= 0 ;
20527 char * kwnames
[] = {
20528 (char *) "self",(char *) "message", NULL
20531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20533 if (!SWIG_IsOK(res1
)) {
20534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20536 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20538 arg2
= wxString_in_helper(obj1
);
20539 if (arg2
== NULL
) SWIG_fail
;
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20565 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20566 PyObject
*resultobj
= 0;
20567 wxDC
*arg1
= (wxDC
*) 0 ;
20570 PyObject
*swig_obj
[1] ;
20572 if (!args
) SWIG_fail
;
20573 swig_obj
[0] = args
;
20574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20575 if (!SWIG_IsOK(res1
)) {
20576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20578 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20585 resultobj
= SWIG_Py_Void();
20592 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20593 PyObject
*resultobj
= 0;
20594 wxDC
*arg1
= (wxDC
*) 0 ;
20597 PyObject
*swig_obj
[1] ;
20599 if (!args
) SWIG_fail
;
20600 swig_obj
[0] = args
;
20601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20602 if (!SWIG_IsOK(res1
)) {
20603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20605 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 (arg1
)->StartPage();
20609 wxPyEndAllowThreads(__tstate
);
20610 if (PyErr_Occurred()) SWIG_fail
;
20612 resultobj
= SWIG_Py_Void();
20619 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20620 PyObject
*resultobj
= 0;
20621 wxDC
*arg1
= (wxDC
*) 0 ;
20624 PyObject
*swig_obj
[1] ;
20626 if (!args
) SWIG_fail
;
20627 swig_obj
[0] = args
;
20628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20629 if (!SWIG_IsOK(res1
)) {
20630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20632 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20639 resultobj
= SWIG_Py_Void();
20646 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20647 PyObject
*resultobj
= 0;
20648 wxDC
*arg1
= (wxDC
*) 0 ;
20654 PyObject
* obj0
= 0 ;
20655 PyObject
* obj1
= 0 ;
20656 char * kwnames
[] = {
20657 (char *) "self",(char *) "font", NULL
20660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20662 if (!SWIG_IsOK(res1
)) {
20663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20665 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20666 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20667 if (!SWIG_IsOK(res2
)) {
20668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20673 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20676 (arg1
)->SetFont((wxFont
const &)*arg2
);
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20680 resultobj
= SWIG_Py_Void();
20687 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20688 PyObject
*resultobj
= 0;
20689 wxDC
*arg1
= (wxDC
*) 0 ;
20695 PyObject
* obj0
= 0 ;
20696 PyObject
* obj1
= 0 ;
20697 char * kwnames
[] = {
20698 (char *) "self",(char *) "pen", NULL
20701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20703 if (!SWIG_IsOK(res1
)) {
20704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20706 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20708 if (!SWIG_IsOK(res2
)) {
20709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20714 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 (arg1
)->SetPen((wxPen
const &)*arg2
);
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20721 resultobj
= SWIG_Py_Void();
20728 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
= 0;
20730 wxDC
*arg1
= (wxDC
*) 0 ;
20731 wxBrush
*arg2
= 0 ;
20736 PyObject
* obj0
= 0 ;
20737 PyObject
* obj1
= 0 ;
20738 char * kwnames
[] = {
20739 (char *) "self",(char *) "brush", NULL
20742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20744 if (!SWIG_IsOK(res1
)) {
20745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20747 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20748 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20749 if (!SWIG_IsOK(res2
)) {
20750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20755 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20762 resultobj
= SWIG_Py_Void();
20769 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20770 PyObject
*resultobj
= 0;
20771 wxDC
*arg1
= (wxDC
*) 0 ;
20772 wxBrush
*arg2
= 0 ;
20777 PyObject
* obj0
= 0 ;
20778 PyObject
* obj1
= 0 ;
20779 char * kwnames
[] = {
20780 (char *) "self",(char *) "brush", NULL
20783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20785 if (!SWIG_IsOK(res1
)) {
20786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20788 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20789 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20790 if (!SWIG_IsOK(res2
)) {
20791 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20796 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20800 wxPyEndAllowThreads(__tstate
);
20801 if (PyErr_Occurred()) SWIG_fail
;
20803 resultobj
= SWIG_Py_Void();
20810 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
= 0;
20812 wxDC
*arg1
= (wxDC
*) 0 ;
20818 PyObject
* obj0
= 0 ;
20819 PyObject
* obj1
= 0 ;
20820 char * kwnames
[] = {
20821 (char *) "self",(char *) "mode", NULL
20824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20826 if (!SWIG_IsOK(res1
)) {
20827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20829 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20831 if (!SWIG_IsOK(ecode2
)) {
20832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20834 arg2
= static_cast< int >(val2
);
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20837 (arg1
)->SetBackgroundMode(arg2
);
20838 wxPyEndAllowThreads(__tstate
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20841 resultobj
= SWIG_Py_Void();
20848 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20849 PyObject
*resultobj
= 0;
20850 wxDC
*arg1
= (wxDC
*) 0 ;
20851 wxPalette
*arg2
= 0 ;
20856 PyObject
* obj0
= 0 ;
20857 PyObject
* obj1
= 0 ;
20858 char * kwnames
[] = {
20859 (char *) "self",(char *) "palette", NULL
20862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20864 if (!SWIG_IsOK(res1
)) {
20865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20867 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20868 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20869 if (!SWIG_IsOK(res2
)) {
20870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20875 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 resultobj
= SWIG_Py_Void();
20889 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20890 PyObject
*resultobj
= 0;
20891 wxDC
*arg1
= (wxDC
*) 0 ;
20894 PyObject
*swig_obj
[1] ;
20896 if (!args
) SWIG_fail
;
20897 swig_obj
[0] = args
;
20898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20899 if (!SWIG_IsOK(res1
)) {
20900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20905 (arg1
)->DestroyClippingRegion();
20906 wxPyEndAllowThreads(__tstate
);
20907 if (PyErr_Occurred()) SWIG_fail
;
20909 resultobj
= SWIG_Py_Void();
20916 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20917 PyObject
*resultobj
= 0;
20918 wxDC
*arg1
= (wxDC
*) 0 ;
20919 int *arg2
= (int *) 0 ;
20920 int *arg3
= (int *) 0 ;
20921 int *arg4
= (int *) 0 ;
20922 int *arg5
= (int *) 0 ;
20926 int res2
= SWIG_TMPOBJ
;
20928 int res3
= SWIG_TMPOBJ
;
20930 int res4
= SWIG_TMPOBJ
;
20932 int res5
= SWIG_TMPOBJ
;
20933 PyObject
*swig_obj
[1] ;
20939 if (!args
) SWIG_fail
;
20940 swig_obj
[0] = args
;
20941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20942 if (!SWIG_IsOK(res1
)) {
20943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20945 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20948 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20949 wxPyEndAllowThreads(__tstate
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20952 resultobj
= SWIG_Py_Void();
20953 if (SWIG_IsTmpObj(res2
)) {
20954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20956 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20959 if (SWIG_IsTmpObj(res3
)) {
20960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20962 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20965 if (SWIG_IsTmpObj(res4
)) {
20966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20968 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20971 if (SWIG_IsTmpObj(res5
)) {
20972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20974 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20983 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20984 PyObject
*resultobj
= 0;
20985 wxDC
*arg1
= (wxDC
*) 0 ;
20989 PyObject
*swig_obj
[1] ;
20991 if (!args
) SWIG_fail
;
20992 swig_obj
[0] = args
;
20993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20994 if (!SWIG_IsOK(res1
)) {
20995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20997 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21000 result
= wxDC_GetClippingRect(arg1
);
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21011 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21012 PyObject
*resultobj
= 0;
21013 wxDC
*arg1
= (wxDC
*) 0 ;
21017 PyObject
*swig_obj
[1] ;
21019 if (!args
) SWIG_fail
;
21020 swig_obj
[0] = args
;
21021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21022 if (!SWIG_IsOK(res1
)) {
21023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21025 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 resultobj
= SWIG_From_int(static_cast< int >(result
));
21039 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21040 PyObject
*resultobj
= 0;
21041 wxDC
*arg1
= (wxDC
*) 0 ;
21045 PyObject
*swig_obj
[1] ;
21047 if (!args
) SWIG_fail
;
21048 swig_obj
[0] = args
;
21049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21050 if (!SWIG_IsOK(res1
)) {
21051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21053 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21056 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21057 wxPyEndAllowThreads(__tstate
);
21058 if (PyErr_Occurred()) SWIG_fail
;
21060 resultobj
= SWIG_From_int(static_cast< int >(result
));
21067 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21068 PyObject
*resultobj
= 0;
21069 wxDC
*arg1
= (wxDC
*) 0 ;
21070 wxString
*arg2
= 0 ;
21071 int *arg3
= (int *) 0 ;
21072 int *arg4
= (int *) 0 ;
21075 bool temp2
= false ;
21077 int res3
= SWIG_TMPOBJ
;
21079 int res4
= SWIG_TMPOBJ
;
21080 PyObject
* obj0
= 0 ;
21081 PyObject
* obj1
= 0 ;
21082 char * kwnames
[] = {
21083 (char *) "self",(char *) "string", NULL
21088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21090 if (!SWIG_IsOK(res1
)) {
21091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21093 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21095 arg2
= wxString_in_helper(obj1
);
21096 if (arg2
== NULL
) SWIG_fail
;
21100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21101 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21105 resultobj
= SWIG_Py_Void();
21106 if (SWIG_IsTmpObj(res3
)) {
21107 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21109 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21110 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21112 if (SWIG_IsTmpObj(res4
)) {
21113 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21115 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21132 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21133 PyObject
*resultobj
= 0;
21134 wxDC
*arg1
= (wxDC
*) 0 ;
21135 wxString
*arg2
= 0 ;
21136 int *arg3
= (int *) 0 ;
21137 int *arg4
= (int *) 0 ;
21138 int *arg5
= (int *) 0 ;
21139 int *arg6
= (int *) 0 ;
21140 wxFont
*arg7
= (wxFont
*) NULL
;
21143 bool temp2
= false ;
21145 int res3
= SWIG_TMPOBJ
;
21147 int res4
= SWIG_TMPOBJ
;
21149 int res5
= SWIG_TMPOBJ
;
21151 int res6
= SWIG_TMPOBJ
;
21154 PyObject
* obj0
= 0 ;
21155 PyObject
* obj1
= 0 ;
21156 PyObject
* obj2
= 0 ;
21157 char * kwnames
[] = {
21158 (char *) "self",(char *) "string",(char *) "font", NULL
21165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21167 if (!SWIG_IsOK(res1
)) {
21168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21170 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21172 arg2
= wxString_in_helper(obj1
);
21173 if (arg2
== NULL
) SWIG_fail
;
21177 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21178 if (!SWIG_IsOK(res7
)) {
21179 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21181 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21185 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21189 resultobj
= SWIG_Py_Void();
21190 if (SWIG_IsTmpObj(res3
)) {
21191 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21193 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21194 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21196 if (SWIG_IsTmpObj(res4
)) {
21197 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21199 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21200 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21202 if (SWIG_IsTmpObj(res5
)) {
21203 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21205 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21208 if (SWIG_IsTmpObj(res6
)) {
21209 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21211 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21228 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21229 PyObject
*resultobj
= 0;
21230 wxDC
*arg1
= (wxDC
*) 0 ;
21231 wxString
*arg2
= 0 ;
21232 int *arg3
= (int *) 0 ;
21233 int *arg4
= (int *) 0 ;
21234 int *arg5
= (int *) 0 ;
21235 wxFont
*arg6
= (wxFont
*) NULL
;
21238 bool temp2
= false ;
21240 int res3
= SWIG_TMPOBJ
;
21242 int res4
= SWIG_TMPOBJ
;
21244 int res5
= SWIG_TMPOBJ
;
21247 PyObject
* obj0
= 0 ;
21248 PyObject
* obj1
= 0 ;
21249 PyObject
* obj2
= 0 ;
21250 char * kwnames
[] = {
21251 (char *) "self",(char *) "text",(char *) "font", NULL
21257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21259 if (!SWIG_IsOK(res1
)) {
21260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21262 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21264 arg2
= wxString_in_helper(obj1
);
21265 if (arg2
== NULL
) SWIG_fail
;
21269 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21270 if (!SWIG_IsOK(res6
)) {
21271 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21273 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21277 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21281 resultobj
= SWIG_Py_Void();
21282 if (SWIG_IsTmpObj(res3
)) {
21283 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21285 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21286 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21288 if (SWIG_IsTmpObj(res4
)) {
21289 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21291 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21292 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21294 if (SWIG_IsTmpObj(res5
)) {
21295 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21297 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21298 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21314 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21315 PyObject
*resultobj
= 0;
21316 wxDC
*arg1
= (wxDC
*) 0 ;
21317 wxString
*arg2
= 0 ;
21321 bool temp2
= false ;
21322 PyObject
* obj0
= 0 ;
21323 PyObject
* obj1
= 0 ;
21324 char * kwnames
[] = {
21325 (char *) "self",(char *) "text", NULL
21328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21330 if (!SWIG_IsOK(res1
)) {
21331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21333 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21335 arg2
= wxString_in_helper(obj1
);
21336 if (arg2
== NULL
) SWIG_fail
;
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21342 wxPyEndAllowThreads(__tstate
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21346 resultobj
= PyList_New(0);
21348 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
21349 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
21350 PyList_Append(resultobj
, val
);
21368 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21369 PyObject
*resultobj
= 0;
21370 wxDC
*arg1
= (wxDC
*) 0 ;
21374 PyObject
*swig_obj
[1] ;
21376 if (!args
) SWIG_fail
;
21377 swig_obj
[0] = args
;
21378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21379 if (!SWIG_IsOK(res1
)) {
21380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21382 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21385 result
= (arg1
)->GetSize();
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21389 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21396 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21397 PyObject
*resultobj
= 0;
21398 wxDC
*arg1
= (wxDC
*) 0 ;
21399 int *arg2
= (int *) 0 ;
21400 int *arg3
= (int *) 0 ;
21404 int res2
= SWIG_TMPOBJ
;
21406 int res3
= SWIG_TMPOBJ
;
21407 PyObject
*swig_obj
[1] ;
21411 if (!args
) SWIG_fail
;
21412 swig_obj
[0] = args
;
21413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21414 if (!SWIG_IsOK(res1
)) {
21415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21417 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 (arg1
)->GetSize(arg2
,arg3
);
21421 wxPyEndAllowThreads(__tstate
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21424 resultobj
= SWIG_Py_Void();
21425 if (SWIG_IsTmpObj(res2
)) {
21426 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21428 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21429 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21431 if (SWIG_IsTmpObj(res3
)) {
21432 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21434 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21435 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21443 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21444 PyObject
*resultobj
= 0;
21445 wxDC
*arg1
= (wxDC
*) 0 ;
21449 PyObject
*swig_obj
[1] ;
21451 if (!args
) SWIG_fail
;
21452 swig_obj
[0] = args
;
21453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21454 if (!SWIG_IsOK(res1
)) {
21455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21461 wxPyEndAllowThreads(__tstate
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21464 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21471 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21472 PyObject
*resultobj
= 0;
21473 wxDC
*arg1
= (wxDC
*) 0 ;
21474 int *arg2
= (int *) 0 ;
21475 int *arg3
= (int *) 0 ;
21479 int res2
= SWIG_TMPOBJ
;
21481 int res3
= SWIG_TMPOBJ
;
21482 PyObject
*swig_obj
[1] ;
21486 if (!args
) SWIG_fail
;
21487 swig_obj
[0] = args
;
21488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21489 if (!SWIG_IsOK(res1
)) {
21490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21492 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21496 wxPyEndAllowThreads(__tstate
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21499 resultobj
= SWIG_Py_Void();
21500 if (SWIG_IsTmpObj(res2
)) {
21501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21503 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21506 if (SWIG_IsTmpObj(res3
)) {
21507 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21509 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21510 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21518 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21519 PyObject
*resultobj
= 0;
21520 wxDC
*arg1
= (wxDC
*) 0 ;
21527 PyObject
* obj0
= 0 ;
21528 PyObject
* obj1
= 0 ;
21529 char * kwnames
[] = {
21530 (char *) "self",(char *) "x", NULL
21533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21535 if (!SWIG_IsOK(res1
)) {
21536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21540 if (!SWIG_IsOK(ecode2
)) {
21541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21543 arg2
= static_cast< int >(val2
);
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21550 resultobj
= SWIG_From_int(static_cast< int >(result
));
21557 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21558 PyObject
*resultobj
= 0;
21559 wxDC
*arg1
= (wxDC
*) 0 ;
21566 PyObject
* obj0
= 0 ;
21567 PyObject
* obj1
= 0 ;
21568 char * kwnames
[] = {
21569 (char *) "self",(char *) "y", NULL
21572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21574 if (!SWIG_IsOK(res1
)) {
21575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21577 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21579 if (!SWIG_IsOK(ecode2
)) {
21580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21582 arg2
= static_cast< int >(val2
);
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= SWIG_From_int(static_cast< int >(result
));
21596 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21597 PyObject
*resultobj
= 0;
21598 wxDC
*arg1
= (wxDC
*) 0 ;
21605 PyObject
* obj0
= 0 ;
21606 PyObject
* obj1
= 0 ;
21607 char * kwnames
[] = {
21608 (char *) "self",(char *) "x", NULL
21611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21613 if (!SWIG_IsOK(res1
)) {
21614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21616 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21618 if (!SWIG_IsOK(ecode2
)) {
21619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21621 arg2
= static_cast< int >(val2
);
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 resultobj
= SWIG_From_int(static_cast< int >(result
));
21635 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21636 PyObject
*resultobj
= 0;
21637 wxDC
*arg1
= (wxDC
*) 0 ;
21644 PyObject
* obj0
= 0 ;
21645 PyObject
* obj1
= 0 ;
21646 char * kwnames
[] = {
21647 (char *) "self",(char *) "y", NULL
21650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21652 if (!SWIG_IsOK(res1
)) {
21653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21655 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21657 if (!SWIG_IsOK(ecode2
)) {
21658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21660 arg2
= static_cast< int >(val2
);
21662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21663 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21664 wxPyEndAllowThreads(__tstate
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21667 resultobj
= SWIG_From_int(static_cast< int >(result
));
21674 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21675 PyObject
*resultobj
= 0;
21676 wxDC
*arg1
= (wxDC
*) 0 ;
21683 PyObject
* obj0
= 0 ;
21684 PyObject
* obj1
= 0 ;
21685 char * kwnames
[] = {
21686 (char *) "self",(char *) "x", NULL
21689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21691 if (!SWIG_IsOK(res1
)) {
21692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21694 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21696 if (!SWIG_IsOK(ecode2
)) {
21697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21699 arg2
= static_cast< int >(val2
);
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21706 resultobj
= SWIG_From_int(static_cast< int >(result
));
21713 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
= 0;
21715 wxDC
*arg1
= (wxDC
*) 0 ;
21722 PyObject
* obj0
= 0 ;
21723 PyObject
* obj1
= 0 ;
21724 char * kwnames
[] = {
21725 (char *) "self",(char *) "y", NULL
21728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21730 if (!SWIG_IsOK(res1
)) {
21731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21733 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21735 if (!SWIG_IsOK(ecode2
)) {
21736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21738 arg2
= static_cast< int >(val2
);
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 resultobj
= SWIG_From_int(static_cast< int >(result
));
21752 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21753 PyObject
*resultobj
= 0;
21754 wxDC
*arg1
= (wxDC
*) 0 ;
21761 PyObject
* obj0
= 0 ;
21762 PyObject
* obj1
= 0 ;
21763 char * kwnames
[] = {
21764 (char *) "self",(char *) "x", NULL
21767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21769 if (!SWIG_IsOK(res1
)) {
21770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21772 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21774 if (!SWIG_IsOK(ecode2
)) {
21775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21777 arg2
= static_cast< int >(val2
);
21779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21780 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21781 wxPyEndAllowThreads(__tstate
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21784 resultobj
= SWIG_From_int(static_cast< int >(result
));
21791 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21792 PyObject
*resultobj
= 0;
21793 wxDC
*arg1
= (wxDC
*) 0 ;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 char * kwnames
[] = {
21803 (char *) "self",(char *) "y", NULL
21806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21808 if (!SWIG_IsOK(res1
)) {
21809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21811 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21813 if (!SWIG_IsOK(ecode2
)) {
21814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21816 arg2
= static_cast< int >(val2
);
21818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21819 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21820 wxPyEndAllowThreads(__tstate
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21823 resultobj
= SWIG_From_int(static_cast< int >(result
));
21830 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21831 PyObject
*resultobj
= 0;
21832 wxDC
*arg1
= (wxDC
*) 0 ;
21836 PyObject
*swig_obj
[1] ;
21838 if (!args
) SWIG_fail
;
21839 swig_obj
[0] = args
;
21840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21841 if (!SWIG_IsOK(res1
)) {
21842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21844 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21847 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21860 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21861 PyObject
*resultobj
= 0;
21862 wxDC
*arg1
= (wxDC
*) 0 ;
21866 PyObject
*swig_obj
[1] ;
21868 if (!args
) SWIG_fail
;
21869 swig_obj
[0] = args
;
21870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21871 if (!SWIG_IsOK(res1
)) {
21872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21874 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21878 wxPyEndAllowThreads(__tstate
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21890 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21891 PyObject
*resultobj
= 0;
21892 wxDC
*arg1
= (wxDC
*) 0 ;
21896 PyObject
*swig_obj
[1] ;
21898 if (!args
) SWIG_fail
;
21899 swig_obj
[0] = args
;
21900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21901 if (!SWIG_IsOK(res1
)) {
21902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21904 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21908 wxPyEndAllowThreads(__tstate
);
21909 if (PyErr_Occurred()) SWIG_fail
;
21911 resultobj
= SWIG_From_int(static_cast< int >(result
));
21918 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21919 PyObject
*resultobj
= 0;
21920 wxDC
*arg1
= (wxDC
*) 0 ;
21924 PyObject
*swig_obj
[1] ;
21926 if (!args
) SWIG_fail
;
21927 swig_obj
[0] = args
;
21928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21929 if (!SWIG_IsOK(res1
)) {
21930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21932 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21935 result
= ((wxDC
const *)arg1
)->GetPPI();
21936 wxPyEndAllowThreads(__tstate
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21939 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21946 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21947 PyObject
*resultobj
= 0;
21948 wxDC
*arg1
= (wxDC
*) 0 ;
21952 PyObject
*swig_obj
[1] ;
21954 if (!args
) SWIG_fail
;
21955 swig_obj
[0] = args
;
21956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21957 if (!SWIG_IsOK(res1
)) {
21958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
21960 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 result
= (bool)((wxDC
const *)arg1
)->Ok();
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21976 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21977 PyObject
*resultobj
= 0;
21978 wxDC
*arg1
= (wxDC
*) 0 ;
21982 PyObject
*swig_obj
[1] ;
21984 if (!args
) SWIG_fail
;
21985 swig_obj
[0] = args
;
21986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21987 if (!SWIG_IsOK(res1
)) {
21988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21990 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21994 wxPyEndAllowThreads(__tstate
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21997 resultobj
= SWIG_From_int(static_cast< int >(result
));
22004 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22005 PyObject
*resultobj
= 0;
22006 wxDC
*arg1
= (wxDC
*) 0 ;
22007 wxBrush
*result
= 0 ;
22010 PyObject
*swig_obj
[1] ;
22012 if (!args
) SWIG_fail
;
22013 swig_obj
[0] = args
;
22014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22015 if (!SWIG_IsOK(res1
)) {
22016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22022 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22023 result
= (wxBrush
*) &_result_ref
;
22025 wxPyEndAllowThreads(__tstate
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22029 wxBrush
* resultptr
= new wxBrush(*result
);
22030 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22038 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22039 PyObject
*resultobj
= 0;
22040 wxDC
*arg1
= (wxDC
*) 0 ;
22041 wxBrush
*result
= 0 ;
22044 PyObject
*swig_obj
[1] ;
22046 if (!args
) SWIG_fail
;
22047 swig_obj
[0] = args
;
22048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22049 if (!SWIG_IsOK(res1
)) {
22050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22052 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22057 result
= (wxBrush
*) &_result_ref
;
22059 wxPyEndAllowThreads(__tstate
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22063 wxBrush
* resultptr
= new wxBrush(*result
);
22064 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22072 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22073 PyObject
*resultobj
= 0;
22074 wxDC
*arg1
= (wxDC
*) 0 ;
22075 wxFont
*result
= 0 ;
22078 PyObject
*swig_obj
[1] ;
22080 if (!args
) SWIG_fail
;
22081 swig_obj
[0] = args
;
22082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22083 if (!SWIG_IsOK(res1
)) {
22084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22086 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22091 result
= (wxFont
*) &_result_ref
;
22093 wxPyEndAllowThreads(__tstate
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22097 wxFont
* resultptr
= new wxFont(*result
);
22098 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22106 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22107 PyObject
*resultobj
= 0;
22108 wxDC
*arg1
= (wxDC
*) 0 ;
22109 wxPen
*result
= 0 ;
22112 PyObject
*swig_obj
[1] ;
22114 if (!args
) SWIG_fail
;
22115 swig_obj
[0] = args
;
22116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22117 if (!SWIG_IsOK(res1
)) {
22118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22120 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22125 result
= (wxPen
*) &_result_ref
;
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22131 wxPen
* resultptr
= new wxPen(*result
);
22132 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22140 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22141 PyObject
*resultobj
= 0;
22142 wxDC
*arg1
= (wxDC
*) 0 ;
22143 wxColour
*result
= 0 ;
22146 PyObject
*swig_obj
[1] ;
22148 if (!args
) SWIG_fail
;
22149 swig_obj
[0] = args
;
22150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22151 if (!SWIG_IsOK(res1
)) {
22152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22154 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22159 result
= (wxColour
*) &_result_ref
;
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22171 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22172 PyObject
*resultobj
= 0;
22173 wxDC
*arg1
= (wxDC
*) 0 ;
22174 wxColour
*result
= 0 ;
22177 PyObject
*swig_obj
[1] ;
22179 if (!args
) SWIG_fail
;
22180 swig_obj
[0] = args
;
22181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22182 if (!SWIG_IsOK(res1
)) {
22183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22185 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22190 result
= (wxColour
*) &_result_ref
;
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22202 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22203 PyObject
*resultobj
= 0;
22204 wxDC
*arg1
= (wxDC
*) 0 ;
22205 wxColour
*arg2
= 0 ;
22209 PyObject
* obj0
= 0 ;
22210 PyObject
* obj1
= 0 ;
22211 char * kwnames
[] = {
22212 (char *) "self",(char *) "colour", NULL
22215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22217 if (!SWIG_IsOK(res1
)) {
22218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22220 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22223 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22228 wxPyEndAllowThreads(__tstate
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22231 resultobj
= SWIG_Py_Void();
22238 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22239 PyObject
*resultobj
= 0;
22240 wxDC
*arg1
= (wxDC
*) 0 ;
22241 wxColour
*arg2
= 0 ;
22245 PyObject
* obj0
= 0 ;
22246 PyObject
* obj1
= 0 ;
22247 char * kwnames
[] = {
22248 (char *) "self",(char *) "colour", NULL
22251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22253 if (!SWIG_IsOK(res1
)) {
22254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22256 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22259 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22263 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22267 resultobj
= SWIG_Py_Void();
22274 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22275 PyObject
*resultobj
= 0;
22276 wxDC
*arg1
= (wxDC
*) 0 ;
22280 PyObject
*swig_obj
[1] ;
22282 if (!args
) SWIG_fail
;
22283 swig_obj
[0] = args
;
22284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22285 if (!SWIG_IsOK(res1
)) {
22286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22288 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22295 resultobj
= SWIG_From_int(static_cast< int >(result
));
22302 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22303 PyObject
*resultobj
= 0;
22304 wxDC
*arg1
= (wxDC
*) 0 ;
22310 PyObject
* obj0
= 0 ;
22311 PyObject
* obj1
= 0 ;
22312 char * kwnames
[] = {
22313 (char *) "self",(char *) "mode", NULL
22316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22318 if (!SWIG_IsOK(res1
)) {
22319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22321 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22322 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22323 if (!SWIG_IsOK(ecode2
)) {
22324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22326 arg2
= static_cast< int >(val2
);
22328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22329 (arg1
)->SetMapMode(arg2
);
22330 wxPyEndAllowThreads(__tstate
);
22331 if (PyErr_Occurred()) SWIG_fail
;
22333 resultobj
= SWIG_Py_Void();
22340 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22341 PyObject
*resultobj
= 0;
22342 wxDC
*arg1
= (wxDC
*) 0 ;
22343 double *arg2
= (double *) 0 ;
22344 double *arg3
= (double *) 0 ;
22348 int res2
= SWIG_TMPOBJ
;
22350 int res3
= SWIG_TMPOBJ
;
22351 PyObject
*swig_obj
[1] ;
22355 if (!args
) SWIG_fail
;
22356 swig_obj
[0] = args
;
22357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22358 if (!SWIG_IsOK(res1
)) {
22359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22361 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22364 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22365 wxPyEndAllowThreads(__tstate
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22368 resultobj
= SWIG_Py_Void();
22369 if (SWIG_IsTmpObj(res2
)) {
22370 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22372 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22373 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22375 if (SWIG_IsTmpObj(res3
)) {
22376 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22378 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22379 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22387 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22388 PyObject
*resultobj
= 0;
22389 wxDC
*arg1
= (wxDC
*) 0 ;
22398 PyObject
* obj0
= 0 ;
22399 PyObject
* obj1
= 0 ;
22400 PyObject
* obj2
= 0 ;
22401 char * kwnames
[] = {
22402 (char *) "self",(char *) "x",(char *) "y", NULL
22405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22407 if (!SWIG_IsOK(res1
)) {
22408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22410 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22411 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22412 if (!SWIG_IsOK(ecode2
)) {
22413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22415 arg2
= static_cast< double >(val2
);
22416 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22417 if (!SWIG_IsOK(ecode3
)) {
22418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22420 arg3
= static_cast< double >(val3
);
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 (arg1
)->SetUserScale(arg2
,arg3
);
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= SWIG_Py_Void();
22434 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22435 PyObject
*resultobj
= 0;
22436 wxDC
*arg1
= (wxDC
*) 0 ;
22437 double *arg2
= (double *) 0 ;
22438 double *arg3
= (double *) 0 ;
22442 int res2
= SWIG_TMPOBJ
;
22444 int res3
= SWIG_TMPOBJ
;
22445 PyObject
*swig_obj
[1] ;
22449 if (!args
) SWIG_fail
;
22450 swig_obj
[0] = args
;
22451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22452 if (!SWIG_IsOK(res1
)) {
22453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 (arg1
)->GetLogicalScale(arg2
,arg3
);
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22462 resultobj
= SWIG_Py_Void();
22463 if (SWIG_IsTmpObj(res2
)) {
22464 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22466 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22467 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22469 if (SWIG_IsTmpObj(res3
)) {
22470 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22472 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22473 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22481 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22482 PyObject
*resultobj
= 0;
22483 wxDC
*arg1
= (wxDC
*) 0 ;
22492 PyObject
* obj0
= 0 ;
22493 PyObject
* obj1
= 0 ;
22494 PyObject
* obj2
= 0 ;
22495 char * kwnames
[] = {
22496 (char *) "self",(char *) "x",(char *) "y", NULL
22499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22501 if (!SWIG_IsOK(res1
)) {
22502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22504 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22505 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22506 if (!SWIG_IsOK(ecode2
)) {
22507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22509 arg2
= static_cast< double >(val2
);
22510 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22511 if (!SWIG_IsOK(ecode3
)) {
22512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22514 arg3
= static_cast< double >(val3
);
22516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22517 (arg1
)->SetLogicalScale(arg2
,arg3
);
22518 wxPyEndAllowThreads(__tstate
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22521 resultobj
= SWIG_Py_Void();
22528 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22529 PyObject
*resultobj
= 0;
22530 wxDC
*arg1
= (wxDC
*) 0 ;
22534 PyObject
*swig_obj
[1] ;
22536 if (!args
) SWIG_fail
;
22537 swig_obj
[0] = args
;
22538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22539 if (!SWIG_IsOK(res1
)) {
22540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22546 wxPyEndAllowThreads(__tstate
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22549 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22556 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22557 PyObject
*resultobj
= 0;
22558 wxDC
*arg1
= (wxDC
*) 0 ;
22559 int *arg2
= (int *) 0 ;
22560 int *arg3
= (int *) 0 ;
22564 int res2
= SWIG_TMPOBJ
;
22566 int res3
= SWIG_TMPOBJ
;
22567 PyObject
*swig_obj
[1] ;
22571 if (!args
) SWIG_fail
;
22572 swig_obj
[0] = args
;
22573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22574 if (!SWIG_IsOK(res1
)) {
22575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22577 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22580 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22581 wxPyEndAllowThreads(__tstate
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22584 resultobj
= SWIG_Py_Void();
22585 if (SWIG_IsTmpObj(res2
)) {
22586 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22588 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22589 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22591 if (SWIG_IsTmpObj(res3
)) {
22592 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22594 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22595 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22603 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22604 PyObject
*resultobj
= 0;
22605 wxDC
*arg1
= (wxDC
*) 0 ;
22614 PyObject
* obj0
= 0 ;
22615 PyObject
* obj1
= 0 ;
22616 PyObject
* obj2
= 0 ;
22617 char * kwnames
[] = {
22618 (char *) "self",(char *) "x",(char *) "y", NULL
22621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22623 if (!SWIG_IsOK(res1
)) {
22624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22626 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22628 if (!SWIG_IsOK(ecode2
)) {
22629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22631 arg2
= static_cast< int >(val2
);
22632 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22633 if (!SWIG_IsOK(ecode3
)) {
22634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22636 arg3
= static_cast< int >(val3
);
22638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22639 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22643 resultobj
= SWIG_Py_Void();
22650 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22651 PyObject
*resultobj
= 0;
22652 wxDC
*arg1
= (wxDC
*) 0 ;
22653 wxPoint
*arg2
= 0 ;
22657 PyObject
* obj0
= 0 ;
22658 PyObject
* obj1
= 0 ;
22659 char * kwnames
[] = {
22660 (char *) "self",(char *) "point", NULL
22663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22665 if (!SWIG_IsOK(res1
)) {
22666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22668 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22671 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22676 wxPyEndAllowThreads(__tstate
);
22677 if (PyErr_Occurred()) SWIG_fail
;
22679 resultobj
= SWIG_Py_Void();
22686 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22687 PyObject
*resultobj
= 0;
22688 wxDC
*arg1
= (wxDC
*) 0 ;
22692 PyObject
*swig_obj
[1] ;
22694 if (!args
) SWIG_fail
;
22695 swig_obj
[0] = args
;
22696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22697 if (!SWIG_IsOK(res1
)) {
22698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22700 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22703 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22707 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22714 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22715 PyObject
*resultobj
= 0;
22716 wxDC
*arg1
= (wxDC
*) 0 ;
22717 int *arg2
= (int *) 0 ;
22718 int *arg3
= (int *) 0 ;
22722 int res2
= SWIG_TMPOBJ
;
22724 int res3
= SWIG_TMPOBJ
;
22725 PyObject
*swig_obj
[1] ;
22729 if (!args
) SWIG_fail
;
22730 swig_obj
[0] = args
;
22731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22732 if (!SWIG_IsOK(res1
)) {
22733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22738 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22739 wxPyEndAllowThreads(__tstate
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22742 resultobj
= SWIG_Py_Void();
22743 if (SWIG_IsTmpObj(res2
)) {
22744 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22746 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22747 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22749 if (SWIG_IsTmpObj(res3
)) {
22750 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22752 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22753 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22761 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22762 PyObject
*resultobj
= 0;
22763 wxDC
*arg1
= (wxDC
*) 0 ;
22772 PyObject
* obj0
= 0 ;
22773 PyObject
* obj1
= 0 ;
22774 PyObject
* obj2
= 0 ;
22775 char * kwnames
[] = {
22776 (char *) "self",(char *) "x",(char *) "y", NULL
22779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22781 if (!SWIG_IsOK(res1
)) {
22782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22784 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22786 if (!SWIG_IsOK(ecode2
)) {
22787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22789 arg2
= static_cast< int >(val2
);
22790 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22791 if (!SWIG_IsOK(ecode3
)) {
22792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22794 arg3
= static_cast< int >(val3
);
22796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22797 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22798 wxPyEndAllowThreads(__tstate
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22801 resultobj
= SWIG_Py_Void();
22808 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22809 PyObject
*resultobj
= 0;
22810 wxDC
*arg1
= (wxDC
*) 0 ;
22811 wxPoint
*arg2
= 0 ;
22815 PyObject
* obj0
= 0 ;
22816 PyObject
* obj1
= 0 ;
22817 char * kwnames
[] = {
22818 (char *) "self",(char *) "point", NULL
22821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22823 if (!SWIG_IsOK(res1
)) {
22824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22826 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22829 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 resultobj
= SWIG_Py_Void();
22844 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
= 0;
22846 wxDC
*arg1
= (wxDC
*) 0 ;
22855 PyObject
* obj0
= 0 ;
22856 PyObject
* obj1
= 0 ;
22857 PyObject
* obj2
= 0 ;
22858 char * kwnames
[] = {
22859 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22864 if (!SWIG_IsOK(res1
)) {
22865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22867 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22868 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22869 if (!SWIG_IsOK(ecode2
)) {
22870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22872 arg2
= static_cast< bool >(val2
);
22873 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22874 if (!SWIG_IsOK(ecode3
)) {
22875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22877 arg3
= static_cast< bool >(val3
);
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 resultobj
= SWIG_Py_Void();
22891 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22892 PyObject
*resultobj
= 0;
22893 wxDC
*arg1
= (wxDC
*) 0 ;
22897 PyObject
*swig_obj
[1] ;
22899 if (!args
) SWIG_fail
;
22900 swig_obj
[0] = args
;
22901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22902 if (!SWIG_IsOK(res1
)) {
22903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22905 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22912 resultobj
= SWIG_From_int(static_cast< int >(result
));
22919 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22920 PyObject
*resultobj
= 0;
22921 wxDC
*arg1
= (wxDC
*) 0 ;
22927 PyObject
* obj0
= 0 ;
22928 PyObject
* obj1
= 0 ;
22929 char * kwnames
[] = {
22930 (char *) "self",(char *) "function", NULL
22933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22935 if (!SWIG_IsOK(res1
)) {
22936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22938 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22940 if (!SWIG_IsOK(ecode2
)) {
22941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22943 arg2
= static_cast< int >(val2
);
22945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22946 (arg1
)->SetLogicalFunction(arg2
);
22947 wxPyEndAllowThreads(__tstate
);
22948 if (PyErr_Occurred()) SWIG_fail
;
22950 resultobj
= SWIG_Py_Void();
22957 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22958 PyObject
*resultobj
= 0;
22959 wxDC
*arg1
= (wxDC
*) 0 ;
22962 PyObject
*swig_obj
[1] ;
22964 if (!args
) SWIG_fail
;
22965 swig_obj
[0] = args
;
22966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22967 if (!SWIG_IsOK(res1
)) {
22968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22970 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22973 (arg1
)->ComputeScaleAndOrigin();
22974 wxPyEndAllowThreads(__tstate
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22977 resultobj
= SWIG_Py_Void();
22984 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22985 PyObject
*resultobj
= 0;
22986 wxDC
*arg1
= (wxDC
*) 0 ;
22995 PyObject
* obj0
= 0 ;
22996 PyObject
* obj1
= 0 ;
22997 PyObject
* obj2
= 0 ;
22998 char * kwnames
[] = {
22999 (char *) "self",(char *) "x",(char *) "y", NULL
23002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23004 if (!SWIG_IsOK(res1
)) {
23005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23007 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23009 if (!SWIG_IsOK(ecode2
)) {
23010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23012 arg2
= static_cast< int >(val2
);
23013 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23014 if (!SWIG_IsOK(ecode3
)) {
23015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23017 arg3
= static_cast< int >(val3
);
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23024 resultobj
= SWIG_Py_Void();
23031 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23032 PyObject
*resultobj
= 0;
23033 wxDC
*arg1
= (wxDC
*) 0 ;
23034 wxPoint
*arg2
= 0 ;
23038 PyObject
* obj0
= 0 ;
23039 PyObject
* obj1
= 0 ;
23040 char * kwnames
[] = {
23041 (char *) "self",(char *) "point", NULL
23044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23046 if (!SWIG_IsOK(res1
)) {
23047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23049 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23052 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23056 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23060 resultobj
= SWIG_Py_Void();
23067 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23068 PyObject
*resultobj
= 0;
23069 wxDC
*arg1
= (wxDC
*) 0 ;
23072 PyObject
*swig_obj
[1] ;
23074 if (!args
) SWIG_fail
;
23075 swig_obj
[0] = args
;
23076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23077 if (!SWIG_IsOK(res1
)) {
23078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23080 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23083 (arg1
)->ResetBoundingBox();
23084 wxPyEndAllowThreads(__tstate
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23087 resultobj
= SWIG_Py_Void();
23094 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23095 PyObject
*resultobj
= 0;
23096 wxDC
*arg1
= (wxDC
*) 0 ;
23100 PyObject
*swig_obj
[1] ;
23102 if (!args
) SWIG_fail
;
23103 swig_obj
[0] = args
;
23104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23105 if (!SWIG_IsOK(res1
)) {
23106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23108 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23111 result
= (int)((wxDC
const *)arg1
)->MinX();
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 resultobj
= SWIG_From_int(static_cast< int >(result
));
23122 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23123 PyObject
*resultobj
= 0;
23124 wxDC
*arg1
= (wxDC
*) 0 ;
23128 PyObject
*swig_obj
[1] ;
23130 if (!args
) SWIG_fail
;
23131 swig_obj
[0] = args
;
23132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23133 if (!SWIG_IsOK(res1
)) {
23134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23136 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23139 result
= (int)((wxDC
const *)arg1
)->MaxX();
23140 wxPyEndAllowThreads(__tstate
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23143 resultobj
= SWIG_From_int(static_cast< int >(result
));
23150 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23151 PyObject
*resultobj
= 0;
23152 wxDC
*arg1
= (wxDC
*) 0 ;
23156 PyObject
*swig_obj
[1] ;
23158 if (!args
) SWIG_fail
;
23159 swig_obj
[0] = args
;
23160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23161 if (!SWIG_IsOK(res1
)) {
23162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23164 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23167 result
= (int)((wxDC
const *)arg1
)->MinY();
23168 wxPyEndAllowThreads(__tstate
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23171 resultobj
= SWIG_From_int(static_cast< int >(result
));
23178 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23179 PyObject
*resultobj
= 0;
23180 wxDC
*arg1
= (wxDC
*) 0 ;
23184 PyObject
*swig_obj
[1] ;
23186 if (!args
) SWIG_fail
;
23187 swig_obj
[0] = args
;
23188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23189 if (!SWIG_IsOK(res1
)) {
23190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23192 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23195 result
= (int)((wxDC
const *)arg1
)->MaxY();
23196 wxPyEndAllowThreads(__tstate
);
23197 if (PyErr_Occurred()) SWIG_fail
;
23199 resultobj
= SWIG_From_int(static_cast< int >(result
));
23206 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23207 PyObject
*resultobj
= 0;
23208 wxDC
*arg1
= (wxDC
*) 0 ;
23209 int *arg2
= (int *) 0 ;
23210 int *arg3
= (int *) 0 ;
23211 int *arg4
= (int *) 0 ;
23212 int *arg5
= (int *) 0 ;
23216 int res2
= SWIG_TMPOBJ
;
23218 int res3
= SWIG_TMPOBJ
;
23220 int res4
= SWIG_TMPOBJ
;
23222 int res5
= SWIG_TMPOBJ
;
23223 PyObject
*swig_obj
[1] ;
23229 if (!args
) SWIG_fail
;
23230 swig_obj
[0] = args
;
23231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23232 if (!SWIG_IsOK(res1
)) {
23233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23235 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23238 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23242 resultobj
= SWIG_Py_Void();
23243 if (SWIG_IsTmpObj(res2
)) {
23244 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23246 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23247 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23249 if (SWIG_IsTmpObj(res3
)) {
23250 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23252 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23255 if (SWIG_IsTmpObj(res4
)) {
23256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23258 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23261 if (SWIG_IsTmpObj(res5
)) {
23262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23264 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23265 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23273 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23274 PyObject
*resultobj
= 0;
23275 wxDC
*arg1
= (wxDC
*) 0 ;
23279 PyObject
*swig_obj
[1] ;
23281 if (!args
) SWIG_fail
;
23282 swig_obj
[0] = args
;
23283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23284 if (!SWIG_IsOK(res1
)) {
23285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23287 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23290 result
= (long)(arg1
)->GetHDC();
23291 wxPyEndAllowThreads(__tstate
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23294 resultobj
= SWIG_From_long(static_cast< long >(result
));
23301 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
= 0;
23303 wxDC
*arg1
= (wxDC
*) 0 ;
23304 PyObject
*arg2
= (PyObject
*) 0 ;
23305 PyObject
*arg3
= (PyObject
*) 0 ;
23306 PyObject
*arg4
= (PyObject
*) 0 ;
23307 PyObject
*result
= 0 ;
23310 PyObject
* obj0
= 0 ;
23311 PyObject
* obj1
= 0 ;
23312 PyObject
* obj2
= 0 ;
23313 PyObject
* obj3
= 0 ;
23314 char * kwnames
[] = {
23315 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23320 if (!SWIG_IsOK(res1
)) {
23321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23323 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23329 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23330 wxPyEndAllowThreads(__tstate
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23333 resultobj
= result
;
23340 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23341 PyObject
*resultobj
= 0;
23342 wxDC
*arg1
= (wxDC
*) 0 ;
23343 PyObject
*arg2
= (PyObject
*) 0 ;
23344 PyObject
*arg3
= (PyObject
*) 0 ;
23345 PyObject
*arg4
= (PyObject
*) 0 ;
23346 PyObject
*result
= 0 ;
23349 PyObject
* obj0
= 0 ;
23350 PyObject
* obj1
= 0 ;
23351 PyObject
* obj2
= 0 ;
23352 PyObject
* obj3
= 0 ;
23353 char * kwnames
[] = {
23354 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23359 if (!SWIG_IsOK(res1
)) {
23360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23362 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23368 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23369 wxPyEndAllowThreads(__tstate
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23372 resultobj
= result
;
23379 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23380 PyObject
*resultobj
= 0;
23381 wxDC
*arg1
= (wxDC
*) 0 ;
23382 PyObject
*arg2
= (PyObject
*) 0 ;
23383 PyObject
*arg3
= (PyObject
*) 0 ;
23384 PyObject
*arg4
= (PyObject
*) 0 ;
23385 PyObject
*result
= 0 ;
23388 PyObject
* obj0
= 0 ;
23389 PyObject
* obj1
= 0 ;
23390 PyObject
* obj2
= 0 ;
23391 PyObject
* obj3
= 0 ;
23392 char * kwnames
[] = {
23393 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23398 if (!SWIG_IsOK(res1
)) {
23399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23401 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23408 wxPyEndAllowThreads(__tstate
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= result
;
23418 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23419 PyObject
*resultobj
= 0;
23420 wxDC
*arg1
= (wxDC
*) 0 ;
23421 PyObject
*arg2
= (PyObject
*) 0 ;
23422 PyObject
*arg3
= (PyObject
*) 0 ;
23423 PyObject
*arg4
= (PyObject
*) 0 ;
23424 PyObject
*result
= 0 ;
23427 PyObject
* obj0
= 0 ;
23428 PyObject
* obj1
= 0 ;
23429 PyObject
* obj2
= 0 ;
23430 PyObject
* obj3
= 0 ;
23431 char * kwnames
[] = {
23432 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23437 if (!SWIG_IsOK(res1
)) {
23438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23440 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23446 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23447 wxPyEndAllowThreads(__tstate
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= result
;
23457 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23458 PyObject
*resultobj
= 0;
23459 wxDC
*arg1
= (wxDC
*) 0 ;
23460 PyObject
*arg2
= (PyObject
*) 0 ;
23461 PyObject
*arg3
= (PyObject
*) 0 ;
23462 PyObject
*arg4
= (PyObject
*) 0 ;
23463 PyObject
*result
= 0 ;
23466 PyObject
* obj0
= 0 ;
23467 PyObject
* obj1
= 0 ;
23468 PyObject
* obj2
= 0 ;
23469 PyObject
* obj3
= 0 ;
23470 char * kwnames
[] = {
23471 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23476 if (!SWIG_IsOK(res1
)) {
23477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23479 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23489 resultobj
= result
;
23496 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23497 PyObject
*resultobj
= 0;
23498 wxDC
*arg1
= (wxDC
*) 0 ;
23499 PyObject
*arg2
= (PyObject
*) 0 ;
23500 PyObject
*arg3
= (PyObject
*) 0 ;
23501 PyObject
*arg4
= (PyObject
*) 0 ;
23502 PyObject
*arg5
= (PyObject
*) 0 ;
23503 PyObject
*result
= 0 ;
23506 PyObject
* obj0
= 0 ;
23507 PyObject
* obj1
= 0 ;
23508 PyObject
* obj2
= 0 ;
23509 PyObject
* obj3
= 0 ;
23510 PyObject
* obj4
= 0 ;
23511 char * kwnames
[] = {
23512 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23517 if (!SWIG_IsOK(res1
)) {
23518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23520 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23528 wxPyEndAllowThreads(__tstate
);
23529 if (PyErr_Occurred()) SWIG_fail
;
23531 resultobj
= result
;
23538 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23540 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23541 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23542 return SWIG_Py_Void();
23545 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23546 PyObject
*resultobj
= 0;
23547 wxMemoryDC
*result
= 0 ;
23549 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
23551 if (!wxPyCheckForApp()) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 result
= (wxMemoryDC
*)new wxMemoryDC();
23554 wxPyEndAllowThreads(__tstate
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23564 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23565 PyObject
*resultobj
= 0;
23566 wxDC
*arg1
= (wxDC
*) 0 ;
23567 wxMemoryDC
*result
= 0 ;
23570 PyObject
* obj0
= 0 ;
23571 char * kwnames
[] = {
23572 (char *) "oldDC", NULL
23575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23577 if (!SWIG_IsOK(res1
)) {
23578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23580 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23582 if (!wxPyCheckForApp()) SWIG_fail
;
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23585 wxPyEndAllowThreads(__tstate
);
23586 if (PyErr_Occurred()) SWIG_fail
;
23588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23595 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23596 PyObject
*resultobj
= 0;
23597 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23598 wxBitmap
*arg2
= 0 ;
23603 PyObject
* obj0
= 0 ;
23604 PyObject
* obj1
= 0 ;
23605 char * kwnames
[] = {
23606 (char *) "self",(char *) "bitmap", NULL
23609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23611 if (!SWIG_IsOK(res1
)) {
23612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23614 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23615 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23616 if (!SWIG_IsOK(res2
)) {
23617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23622 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23626 wxPyEndAllowThreads(__tstate
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23629 resultobj
= SWIG_Py_Void();
23636 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23638 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23639 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23640 return SWIG_Py_Void();
23643 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23644 return SWIG_Python_InitShadowInstance(args
);
23647 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23648 PyObject
*resultobj
= 0;
23649 wxDC
*arg1
= (wxDC
*) 0 ;
23650 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23651 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23652 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23653 wxBufferedDC
*result
= 0 ;
23661 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23663 if (!SWIG_IsOK(res1
)) {
23664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23666 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23668 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23669 if (!SWIG_IsOK(res2
)) {
23670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23675 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23678 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23679 if (!SWIG_IsOK(ecode3
)) {
23680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23682 arg3
= static_cast< int >(val3
);
23685 if (!wxPyCheckForApp()) SWIG_fail
;
23686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23687 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23698 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23699 PyObject
*resultobj
= 0;
23700 wxDC
*arg1
= (wxDC
*) 0 ;
23702 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23703 wxBufferedDC
*result
= 0 ;
23710 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23712 if (!SWIG_IsOK(res1
)) {
23713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23715 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23718 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23721 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23722 if (!SWIG_IsOK(ecode3
)) {
23723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23725 arg3
= static_cast< int >(val3
);
23728 if (!wxPyCheckForApp()) SWIG_fail
;
23729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23730 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23741 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23745 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23747 if ((argc
>= 1) && (argc
<= 3)) {
23751 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23752 _v
= SWIG_CheckState(res
);
23754 if (!_v
) goto check_1
;
23756 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23760 if ((argc
>= 2) && (argc
<= 3)) {
23761 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23765 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23770 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23771 PyObject
*resultobj
= 0;
23772 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23775 PyObject
*swig_obj
[1] ;
23777 if (!args
) SWIG_fail
;
23778 swig_obj
[0] = args
;
23779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23780 if (!SWIG_IsOK(res1
)) {
23781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23783 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 wxPyEndAllowThreads(__tstate
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23791 resultobj
= SWIG_Py_Void();
23798 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23799 PyObject
*resultobj
= 0;
23800 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23803 PyObject
*swig_obj
[1] ;
23805 if (!args
) SWIG_fail
;
23806 swig_obj
[0] = args
;
23807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23808 if (!SWIG_IsOK(res1
)) {
23809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23811 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23815 wxPyEndAllowThreads(__tstate
);
23816 if (PyErr_Occurred()) SWIG_fail
;
23818 resultobj
= SWIG_Py_Void();
23825 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23827 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23828 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23829 return SWIG_Py_Void();
23832 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23833 return SWIG_Python_InitShadowInstance(args
);
23836 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23837 PyObject
*resultobj
= 0;
23838 wxWindow
*arg1
= (wxWindow
*) 0 ;
23839 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23840 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23841 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23842 wxBufferedPaintDC
*result
= 0 ;
23849 PyObject
* obj0
= 0 ;
23850 PyObject
* obj1
= 0 ;
23851 PyObject
* obj2
= 0 ;
23852 char * kwnames
[] = {
23853 (char *) "window",(char *) "buffer",(char *) "style", NULL
23856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23858 if (!SWIG_IsOK(res1
)) {
23859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23861 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23863 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23864 if (!SWIG_IsOK(res2
)) {
23865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23870 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23874 if (!SWIG_IsOK(ecode3
)) {
23875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23877 arg3
= static_cast< int >(val3
);
23880 if (!wxPyCheckForApp()) SWIG_fail
;
23881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23882 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23893 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23895 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23896 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23897 return SWIG_Py_Void();
23900 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23901 return SWIG_Python_InitShadowInstance(args
);
23904 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23905 PyObject
*resultobj
= 0;
23906 wxScreenDC
*result
= 0 ;
23908 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23910 if (!wxPyCheckForApp()) SWIG_fail
;
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 result
= (wxScreenDC
*)new wxScreenDC();
23913 wxPyEndAllowThreads(__tstate
);
23914 if (PyErr_Occurred()) SWIG_fail
;
23916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23923 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23924 PyObject
*resultobj
= 0;
23925 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23926 wxWindow
*arg2
= (wxWindow
*) 0 ;
23932 PyObject
* obj0
= 0 ;
23933 PyObject
* obj1
= 0 ;
23934 char * kwnames
[] = {
23935 (char *) "self",(char *) "window", NULL
23938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23940 if (!SWIG_IsOK(res1
)) {
23941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23943 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23944 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23945 if (!SWIG_IsOK(res2
)) {
23946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23948 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23964 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23965 PyObject
*resultobj
= 0;
23966 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23967 wxRect
*arg2
= (wxRect
*) NULL
;
23973 PyObject
* obj0
= 0 ;
23974 PyObject
* obj1
= 0 ;
23975 char * kwnames
[] = {
23976 (char *) "self",(char *) "rect", NULL
23979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23981 if (!SWIG_IsOK(res1
)) {
23982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23984 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23986 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23987 if (!SWIG_IsOK(res2
)) {
23988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23990 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23994 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23995 wxPyEndAllowThreads(__tstate
);
23996 if (PyErr_Occurred()) SWIG_fail
;
23999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24007 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24008 PyObject
*resultobj
= 0;
24009 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24013 PyObject
*swig_obj
[1] ;
24015 if (!args
) SWIG_fail
;
24016 swig_obj
[0] = args
;
24017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24018 if (!SWIG_IsOK(res1
)) {
24019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24021 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 result
= (bool)(arg1
)->EndDrawingOnTop();
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24037 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24040 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24041 return SWIG_Py_Void();
24044 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24045 return SWIG_Python_InitShadowInstance(args
);
24048 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
= 0;
24050 wxWindow
*arg1
= (wxWindow
*) 0 ;
24051 wxClientDC
*result
= 0 ;
24054 PyObject
* obj0
= 0 ;
24055 char * kwnames
[] = {
24056 (char *) "win", NULL
24059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24061 if (!SWIG_IsOK(res1
)) {
24062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24064 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24066 if (!wxPyCheckForApp()) SWIG_fail
;
24067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 result
= (wxClientDC
*)new wxClientDC(arg1
);
24069 wxPyEndAllowThreads(__tstate
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24079 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24081 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24082 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24083 return SWIG_Py_Void();
24086 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24087 return SWIG_Python_InitShadowInstance(args
);
24090 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24091 PyObject
*resultobj
= 0;
24092 wxWindow
*arg1
= (wxWindow
*) 0 ;
24093 wxPaintDC
*result
= 0 ;
24096 PyObject
* obj0
= 0 ;
24097 char * kwnames
[] = {
24098 (char *) "win", NULL
24101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24103 if (!SWIG_IsOK(res1
)) {
24104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24106 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24108 if (!wxPyCheckForApp()) SWIG_fail
;
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24121 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24124 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24125 return SWIG_Py_Void();
24128 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24129 return SWIG_Python_InitShadowInstance(args
);
24132 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24133 PyObject
*resultobj
= 0;
24134 wxWindow
*arg1
= (wxWindow
*) 0 ;
24135 wxWindowDC
*result
= 0 ;
24138 PyObject
* obj0
= 0 ;
24139 char * kwnames
[] = {
24140 (char *) "win", NULL
24143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24145 if (!SWIG_IsOK(res1
)) {
24146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24148 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24150 if (!wxPyCheckForApp()) SWIG_fail
;
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24163 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24165 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24166 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24167 return SWIG_Py_Void();
24170 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24171 return SWIG_Python_InitShadowInstance(args
);
24174 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24175 PyObject
*resultobj
= 0;
24178 wxMirrorDC
*result
= 0 ;
24183 PyObject
* obj0
= 0 ;
24184 PyObject
* obj1
= 0 ;
24185 char * kwnames
[] = {
24186 (char *) "dc",(char *) "mirror", NULL
24189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24190 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24191 if (!SWIG_IsOK(res1
)) {
24192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24197 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24198 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24199 if (!SWIG_IsOK(ecode2
)) {
24200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24202 arg2
= static_cast< bool >(val2
);
24204 if (!wxPyCheckForApp()) SWIG_fail
;
24205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24206 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24207 wxPyEndAllowThreads(__tstate
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24217 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24220 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24221 return SWIG_Py_Void();
24224 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24225 return SWIG_Python_InitShadowInstance(args
);
24228 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24229 PyObject
*resultobj
= 0;
24230 wxPrintData
*arg1
= 0 ;
24231 wxPostScriptDC
*result
= 0 ;
24234 PyObject
* obj0
= 0 ;
24235 char * kwnames
[] = {
24236 (char *) "printData", NULL
24239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24240 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24241 if (!SWIG_IsOK(res1
)) {
24242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24247 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24249 if (!wxPyCheckForApp()) SWIG_fail
;
24250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24251 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24262 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24263 PyObject
*resultobj
= 0;
24264 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24265 wxPrintData
*result
= 0 ;
24268 PyObject
*swig_obj
[1] ;
24270 if (!args
) SWIG_fail
;
24271 swig_obj
[0] = args
;
24272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24273 if (!SWIG_IsOK(res1
)) {
24274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24276 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24281 result
= (wxPrintData
*) &_result_ref
;
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24293 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24294 PyObject
*resultobj
= 0;
24295 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24296 wxPrintData
*arg2
= 0 ;
24301 PyObject
* obj0
= 0 ;
24302 PyObject
* obj1
= 0 ;
24303 char * kwnames
[] = {
24304 (char *) "self",(char *) "data", NULL
24307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24309 if (!SWIG_IsOK(res1
)) {
24310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24312 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24313 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24314 if (!SWIG_IsOK(res2
)) {
24315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24320 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24327 resultobj
= SWIG_Py_Void();
24334 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
= 0;
24339 PyObject
* obj0
= 0 ;
24340 char * kwnames
[] = {
24341 (char *) "ppi", NULL
24344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24345 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24346 if (!SWIG_IsOK(ecode1
)) {
24347 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24349 arg1
= static_cast< int >(val1
);
24351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24352 wxPostScriptDC::SetResolution(arg1
);
24353 wxPyEndAllowThreads(__tstate
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24356 resultobj
= SWIG_Py_Void();
24363 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24364 PyObject
*resultobj
= 0;
24367 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24370 result
= (int)wxPostScriptDC::GetResolution();
24371 wxPyEndAllowThreads(__tstate
);
24372 if (PyErr_Occurred()) SWIG_fail
;
24374 resultobj
= SWIG_From_int(static_cast< int >(result
));
24381 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24383 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24384 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24385 return SWIG_Py_Void();
24388 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24389 return SWIG_Python_InitShadowInstance(args
);
24392 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24393 PyObject
*resultobj
= 0;
24394 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24395 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24396 wxMetaFile
*result
= 0 ;
24397 bool temp1
= false ;
24398 PyObject
* obj0
= 0 ;
24399 char * kwnames
[] = {
24400 (char *) "filename", NULL
24403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24406 arg1
= wxString_in_helper(obj0
);
24407 if (arg1
== NULL
) SWIG_fail
;
24412 if (!wxPyCheckForApp()) SWIG_fail
;
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24414 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24415 wxPyEndAllowThreads(__tstate
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24433 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24434 PyObject
*resultobj
= 0;
24435 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24438 PyObject
*swig_obj
[1] ;
24440 if (!args
) SWIG_fail
;
24441 swig_obj
[0] = args
;
24442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24443 if (!SWIG_IsOK(res1
)) {
24444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24446 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24451 wxPyEndAllowThreads(__tstate
);
24452 if (PyErr_Occurred()) SWIG_fail
;
24454 resultobj
= SWIG_Py_Void();
24461 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24462 PyObject
*resultobj
= 0;
24463 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24467 PyObject
*swig_obj
[1] ;
24469 if (!args
) SWIG_fail
;
24470 swig_obj
[0] = args
;
24471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24472 if (!SWIG_IsOK(res1
)) {
24473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24475 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 result
= (bool)(arg1
)->Ok();
24479 wxPyEndAllowThreads(__tstate
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24491 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24492 PyObject
*resultobj
= 0;
24493 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24494 int arg2
= (int) 0 ;
24495 int arg3
= (int) 0 ;
24503 PyObject
* obj0
= 0 ;
24504 PyObject
* obj1
= 0 ;
24505 PyObject
* obj2
= 0 ;
24506 char * kwnames
[] = {
24507 (char *) "self",(char *) "width",(char *) "height", NULL
24510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24512 if (!SWIG_IsOK(res1
)) {
24513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24515 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24518 if (!SWIG_IsOK(ecode2
)) {
24519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
24521 arg2
= static_cast< int >(val2
);
24524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24525 if (!SWIG_IsOK(ecode3
)) {
24526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
24528 arg3
= static_cast< int >(val3
);
24531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24532 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24545 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24546 PyObject
*resultobj
= 0;
24547 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24551 PyObject
*swig_obj
[1] ;
24553 if (!args
) SWIG_fail
;
24554 swig_obj
[0] = args
;
24555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24556 if (!SWIG_IsOK(res1
)) {
24557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24559 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 result
= (arg1
)->GetSize();
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24573 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24574 PyObject
*resultobj
= 0;
24575 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24579 PyObject
*swig_obj
[1] ;
24581 if (!args
) SWIG_fail
;
24582 swig_obj
[0] = args
;
24583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24584 if (!SWIG_IsOK(res1
)) {
24585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24587 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 result
= (int)(arg1
)->GetWidth();
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24594 resultobj
= SWIG_From_int(static_cast< int >(result
));
24601 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24602 PyObject
*resultobj
= 0;
24603 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24607 PyObject
*swig_obj
[1] ;
24609 if (!args
) SWIG_fail
;
24610 swig_obj
[0] = args
;
24611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24612 if (!SWIG_IsOK(res1
)) {
24613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24615 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24618 result
= (int)(arg1
)->GetHeight();
24619 wxPyEndAllowThreads(__tstate
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24622 resultobj
= SWIG_From_int(static_cast< int >(result
));
24629 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24630 PyObject
*resultobj
= 0;
24631 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24632 wxString
*result
= 0 ;
24635 PyObject
*swig_obj
[1] ;
24637 if (!args
) SWIG_fail
;
24638 swig_obj
[0] = args
;
24639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24640 if (!SWIG_IsOK(res1
)) {
24641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
24643 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
24648 result
= (wxString
*) &_result_ref
;
24650 wxPyEndAllowThreads(__tstate
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24655 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24657 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24666 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24668 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24669 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24670 return SWIG_Py_Void();
24673 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24674 return SWIG_Python_InitShadowInstance(args
);
24677 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24678 PyObject
*resultobj
= 0;
24679 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24680 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24681 int arg2
= (int) 0 ;
24682 int arg3
= (int) 0 ;
24683 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24684 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24685 wxMetaFileDC
*result
= 0 ;
24686 bool temp1
= false ;
24691 bool temp4
= false ;
24692 PyObject
* obj0
= 0 ;
24693 PyObject
* obj1
= 0 ;
24694 PyObject
* obj2
= 0 ;
24695 PyObject
* obj3
= 0 ;
24696 char * kwnames
[] = {
24697 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24703 arg1
= wxString_in_helper(obj0
);
24704 if (arg1
== NULL
) SWIG_fail
;
24709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24710 if (!SWIG_IsOK(ecode2
)) {
24711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24713 arg2
= static_cast< int >(val2
);
24716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24717 if (!SWIG_IsOK(ecode3
)) {
24718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24720 arg3
= static_cast< int >(val3
);
24724 arg4
= wxString_in_helper(obj3
);
24725 if (arg4
== NULL
) SWIG_fail
;
24730 if (!wxPyCheckForApp()) SWIG_fail
;
24731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24732 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24733 wxPyEndAllowThreads(__tstate
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24759 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24760 PyObject
*resultobj
= 0;
24761 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
24762 wxMetaFile
*result
= 0 ;
24765 PyObject
*swig_obj
[1] ;
24767 if (!args
) SWIG_fail
;
24768 swig_obj
[0] = args
;
24769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
24770 if (!SWIG_IsOK(res1
)) {
24771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
24773 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
24775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24776 result
= (wxMetaFile
*)(arg1
)->Close();
24777 wxPyEndAllowThreads(__tstate
);
24778 if (PyErr_Occurred()) SWIG_fail
;
24780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24787 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24789 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24790 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24791 return SWIG_Py_Void();
24794 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24795 return SWIG_Python_InitShadowInstance(args
);
24798 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24799 PyObject
*resultobj
= 0;
24800 wxPrintData
*arg1
= 0 ;
24801 wxPrinterDC
*result
= 0 ;
24804 PyObject
* obj0
= 0 ;
24805 char * kwnames
[] = {
24806 (char *) "printData", NULL
24809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24810 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24811 if (!SWIG_IsOK(res1
)) {
24812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24817 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24819 if (!wxPyCheckForApp()) SWIG_fail
;
24820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24821 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24822 wxPyEndAllowThreads(__tstate
);
24823 if (PyErr_Occurred()) SWIG_fail
;
24825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24832 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24835 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24836 return SWIG_Py_Void();
24839 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24840 return SWIG_Python_InitShadowInstance(args
);
24843 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
= 0;
24847 int arg3
= (int) true ;
24848 int arg4
= (int) 1 ;
24849 wxImageList
*result
= 0 ;
24858 PyObject
* obj0
= 0 ;
24859 PyObject
* obj1
= 0 ;
24860 PyObject
* obj2
= 0 ;
24861 PyObject
* obj3
= 0 ;
24862 char * kwnames
[] = {
24863 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
24866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24867 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24868 if (!SWIG_IsOK(ecode1
)) {
24869 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
24871 arg1
= static_cast< int >(val1
);
24872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24873 if (!SWIG_IsOK(ecode2
)) {
24874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
24876 arg2
= static_cast< int >(val2
);
24878 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24879 if (!SWIG_IsOK(ecode3
)) {
24880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
24882 arg3
= static_cast< int >(val3
);
24885 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24886 if (!SWIG_IsOK(ecode4
)) {
24887 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
24889 arg4
= static_cast< int >(val4
);
24892 if (!wxPyCheckForApp()) SWIG_fail
;
24893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24894 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
24895 wxPyEndAllowThreads(__tstate
);
24896 if (PyErr_Occurred()) SWIG_fail
;
24899 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
24907 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24908 PyObject
*resultobj
= 0;
24909 wxImageList
*arg1
= (wxImageList
*) 0 ;
24912 PyObject
*swig_obj
[1] ;
24914 if (!args
) SWIG_fail
;
24915 swig_obj
[0] = args
;
24916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
24917 if (!SWIG_IsOK(res1
)) {
24918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
24920 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24925 wxPyEndAllowThreads(__tstate
);
24926 if (PyErr_Occurred()) SWIG_fail
;
24928 resultobj
= SWIG_Py_Void();
24935 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24936 PyObject
*resultobj
= 0;
24937 wxImageList
*arg1
= (wxImageList
*) 0 ;
24938 wxBitmap
*arg2
= 0 ;
24939 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
24940 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
24948 PyObject
* obj0
= 0 ;
24949 PyObject
* obj1
= 0 ;
24950 PyObject
* obj2
= 0 ;
24951 char * kwnames
[] = {
24952 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
24955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24957 if (!SWIG_IsOK(res1
)) {
24958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
24960 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24962 if (!SWIG_IsOK(res2
)) {
24963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24968 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24970 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24971 if (!SWIG_IsOK(res3
)) {
24972 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24977 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
24980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24981 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
24982 wxPyEndAllowThreads(__tstate
);
24983 if (PyErr_Occurred()) SWIG_fail
;
24985 resultobj
= SWIG_From_int(static_cast< int >(result
));
24992 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24993 PyObject
*resultobj
= 0;
24994 wxImageList
*arg1
= (wxImageList
*) 0 ;
24995 wxBitmap
*arg2
= 0 ;
24996 wxColour
*arg3
= 0 ;
25003 PyObject
* obj0
= 0 ;
25004 PyObject
* obj1
= 0 ;
25005 PyObject
* obj2
= 0 ;
25006 char * kwnames
[] = {
25007 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
25010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25012 if (!SWIG_IsOK(res1
)) {
25013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
25015 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25016 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25017 if (!SWIG_IsOK(res2
)) {
25018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25023 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25026 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25030 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
25031 wxPyEndAllowThreads(__tstate
);
25032 if (PyErr_Occurred()) SWIG_fail
;
25034 resultobj
= SWIG_From_int(static_cast< int >(result
));
25041 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25042 PyObject
*resultobj
= 0;
25043 wxImageList
*arg1
= (wxImageList
*) 0 ;
25050 PyObject
* obj0
= 0 ;
25051 PyObject
* obj1
= 0 ;
25052 char * kwnames
[] = {
25053 (char *) "self",(char *) "icon", NULL
25056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25058 if (!SWIG_IsOK(res1
)) {
25059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
25061 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25062 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
25063 if (!SWIG_IsOK(res2
)) {
25064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
25067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
25069 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
25071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25072 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
25073 wxPyEndAllowThreads(__tstate
);
25074 if (PyErr_Occurred()) SWIG_fail
;
25076 resultobj
= SWIG_From_int(static_cast< int >(result
));
25083 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25084 PyObject
*resultobj
= 0;
25085 wxImageList
*arg1
= (wxImageList
*) 0 ;
25087 SwigValueWrapper
<wxBitmap
> result
;
25092 PyObject
* obj0
= 0 ;
25093 PyObject
* obj1
= 0 ;
25094 char * kwnames
[] = {
25095 (char *) "self",(char *) "index", NULL
25098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25100 if (!SWIG_IsOK(res1
)) {
25101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
25103 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25105 if (!SWIG_IsOK(ecode2
)) {
25106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
25108 arg2
= static_cast< int >(val2
);
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
25112 wxPyEndAllowThreads(__tstate
);
25113 if (PyErr_Occurred()) SWIG_fail
;
25115 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
25122 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25123 PyObject
*resultobj
= 0;
25124 wxImageList
*arg1
= (wxImageList
*) 0 ;
25131 PyObject
* obj0
= 0 ;
25132 PyObject
* obj1
= 0 ;
25133 char * kwnames
[] = {
25134 (char *) "self",(char *) "index", NULL
25137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25139 if (!SWIG_IsOK(res1
)) {
25140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
25142 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25144 if (!SWIG_IsOK(ecode2
)) {
25145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
25147 arg2
= static_cast< int >(val2
);
25149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25150 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
25151 wxPyEndAllowThreads(__tstate
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25154 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
25161 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25162 PyObject
*resultobj
= 0;
25163 wxImageList
*arg1
= (wxImageList
*) 0 ;
25165 wxBitmap
*arg3
= 0 ;
25166 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
25167 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
25177 PyObject
* obj0
= 0 ;
25178 PyObject
* obj1
= 0 ;
25179 PyObject
* obj2
= 0 ;
25180 PyObject
* obj3
= 0 ;
25181 char * kwnames
[] = {
25182 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
25185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25187 if (!SWIG_IsOK(res1
)) {
25188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
25190 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25192 if (!SWIG_IsOK(ecode2
)) {
25193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
25195 arg2
= static_cast< int >(val2
);
25196 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25197 if (!SWIG_IsOK(res3
)) {
25198 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
25201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
25203 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
25205 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25206 if (!SWIG_IsOK(res4
)) {
25207 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
25210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
25212 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25229 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25230 PyObject
*resultobj
= 0;
25231 wxImageList
*arg1
= (wxImageList
*) 0 ;
25236 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
25237 bool arg7
= (bool) (bool)false ;
25253 PyObject
* obj0
= 0 ;
25254 PyObject
* obj1
= 0 ;
25255 PyObject
* obj2
= 0 ;
25256 PyObject
* obj3
= 0 ;
25257 PyObject
* obj4
= 0 ;
25258 PyObject
* obj5
= 0 ;
25259 PyObject
* obj6
= 0 ;
25260 char * kwnames
[] = {
25261 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
25264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25266 if (!SWIG_IsOK(res1
)) {
25267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
25269 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25271 if (!SWIG_IsOK(ecode2
)) {
25272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
25274 arg2
= static_cast< int >(val2
);
25275 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25276 if (!SWIG_IsOK(res3
)) {
25277 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
25280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
25282 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25283 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25284 if (!SWIG_IsOK(ecode4
)) {
25285 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
25287 arg4
= static_cast< int >(val4
);
25288 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25289 if (!SWIG_IsOK(ecode5
)) {
25290 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
25292 arg5
= static_cast< int >(val5
);
25294 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
25295 if (!SWIG_IsOK(ecode6
)) {
25296 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
25298 arg6
= static_cast< int >(val6
);
25301 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
25302 if (!SWIG_IsOK(ecode7
)) {
25303 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
25305 arg7
= static_cast< bool >(val7
);
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
25310 wxPyEndAllowThreads(__tstate
);
25311 if (PyErr_Occurred()) SWIG_fail
;
25314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25322 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25323 PyObject
*resultobj
= 0;
25324 wxImageList
*arg1
= (wxImageList
*) 0 ;
25328 PyObject
*swig_obj
[1] ;
25330 if (!args
) SWIG_fail
;
25331 swig_obj
[0] = args
;
25332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25333 if (!SWIG_IsOK(res1
)) {
25334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
25336 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25339 result
= (int)(arg1
)->GetImageCount();
25340 wxPyEndAllowThreads(__tstate
);
25341 if (PyErr_Occurred()) SWIG_fail
;
25343 resultobj
= SWIG_From_int(static_cast< int >(result
));
25350 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25351 PyObject
*resultobj
= 0;
25352 wxImageList
*arg1
= (wxImageList
*) 0 ;
25359 PyObject
* obj0
= 0 ;
25360 PyObject
* obj1
= 0 ;
25361 char * kwnames
[] = {
25362 (char *) "self",(char *) "index", NULL
25365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25367 if (!SWIG_IsOK(res1
)) {
25368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
25370 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25372 if (!SWIG_IsOK(ecode2
)) {
25373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
25375 arg2
= static_cast< int >(val2
);
25377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25378 result
= (bool)(arg1
)->Remove(arg2
);
25379 wxPyEndAllowThreads(__tstate
);
25380 if (PyErr_Occurred()) SWIG_fail
;
25383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25391 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25392 PyObject
*resultobj
= 0;
25393 wxImageList
*arg1
= (wxImageList
*) 0 ;
25397 PyObject
*swig_obj
[1] ;
25399 if (!args
) SWIG_fail
;
25400 swig_obj
[0] = args
;
25401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25402 if (!SWIG_IsOK(res1
)) {
25403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
25405 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25408 result
= (bool)(arg1
)->RemoveAll();
25409 wxPyEndAllowThreads(__tstate
);
25410 if (PyErr_Occurred()) SWIG_fail
;
25413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25421 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25422 PyObject
*resultobj
= 0;
25423 wxImageList
*arg1
= (wxImageList
*) 0 ;
25432 int res3
= SWIG_TMPOBJ
;
25434 int res4
= SWIG_TMPOBJ
;
25435 PyObject
* obj0
= 0 ;
25436 PyObject
* obj1
= 0 ;
25437 char * kwnames
[] = {
25438 (char *) "self",(char *) "index", NULL
25443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25445 if (!SWIG_IsOK(res1
)) {
25446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
25448 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25450 if (!SWIG_IsOK(ecode2
)) {
25451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
25453 arg2
= static_cast< int >(val2
);
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25460 resultobj
= SWIG_Py_Void();
25461 if (SWIG_IsTmpObj(res3
)) {
25462 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25464 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25465 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25467 if (SWIG_IsTmpObj(res4
)) {
25468 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
25470 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25471 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
25479 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25481 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25482 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
25483 return SWIG_Py_Void();
25486 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25487 return SWIG_Python_InitShadowInstance(args
);
25490 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25491 PyObject
*resultobj
= 0;
25492 wxStockGDI
*result
= 0 ;
25494 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
25496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25497 result
= (wxStockGDI
*)new wxStockGDI();
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
25508 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25509 PyObject
*resultobj
= 0;
25510 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
25513 PyObject
*swig_obj
[1] ;
25515 if (!args
) SWIG_fail
;
25516 swig_obj
[0] = args
;
25517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
25518 if (!SWIG_IsOK(res1
)) {
25519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
25521 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
25523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25526 wxPyEndAllowThreads(__tstate
);
25527 if (PyErr_Occurred()) SWIG_fail
;
25529 resultobj
= SWIG_Py_Void();
25536 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25537 PyObject
*resultobj
= 0;
25539 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
25541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25542 wxStockGDI::DeleteAll();
25543 wxPyEndAllowThreads(__tstate
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25546 resultobj
= SWIG_Py_Void();
25553 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25554 PyObject
*resultobj
= 0;
25555 wxStockGDI
*result
= 0 ;
25557 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
25559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 wxStockGDI
&_result_ref
= wxStockGDI::instance();
25562 result
= (wxStockGDI
*) &_result_ref
;
25564 wxPyEndAllowThreads(__tstate
);
25565 if (PyErr_Occurred()) SWIG_fail
;
25567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
25574 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25575 PyObject
*resultobj
= 0;
25576 wxStockGDI::Item arg1
;
25577 wxBrush
*result
= 0 ;
25580 PyObject
* obj0
= 0 ;
25581 char * kwnames
[] = {
25582 (char *) "item", NULL
25585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
25586 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25587 if (!SWIG_IsOK(ecode1
)) {
25588 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
25590 arg1
= static_cast< wxStockGDI::Item
>(val1
);
25592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25593 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
25604 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25605 PyObject
*resultobj
= 0;
25606 wxStockGDI::Item arg1
;
25607 wxColour
*result
= 0 ;
25610 PyObject
* obj0
= 0 ;
25611 char * kwnames
[] = {
25612 (char *) "item", NULL
25615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
25616 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25617 if (!SWIG_IsOK(ecode1
)) {
25618 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
25620 arg1
= static_cast< wxStockGDI::Item
>(val1
);
25622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25623 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
25624 wxPyEndAllowThreads(__tstate
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
25634 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25635 PyObject
*resultobj
= 0;
25636 wxStockGDI::Item arg1
;
25637 wxCursor
*result
= 0 ;
25640 PyObject
* obj0
= 0 ;
25641 char * kwnames
[] = {
25642 (char *) "item", NULL
25645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
25646 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25647 if (!SWIG_IsOK(ecode1
)) {
25648 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
25650 arg1
= static_cast< wxStockGDI::Item
>(val1
);
25652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25653 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
25664 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25665 PyObject
*resultobj
= 0;
25666 wxStockGDI::Item arg1
;
25667 wxPen
*result
= 0 ;
25670 PyObject
* obj0
= 0 ;
25671 char * kwnames
[] = {
25672 (char *) "item", NULL
25675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
25676 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25677 if (!SWIG_IsOK(ecode1
)) {
25678 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
25680 arg1
= static_cast< wxStockGDI::Item
>(val1
);
25682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25683 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
25684 wxPyEndAllowThreads(__tstate
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
25694 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25695 PyObject
*resultobj
= 0;
25696 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
25697 wxStockGDI::Item arg2
;
25698 wxFont
*result
= 0 ;
25703 PyObject
* obj0
= 0 ;
25704 PyObject
* obj1
= 0 ;
25705 char * kwnames
[] = {
25706 (char *) "self",(char *) "item", NULL
25709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
25711 if (!SWIG_IsOK(res1
)) {
25712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
25714 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
25715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25716 if (!SWIG_IsOK(ecode2
)) {
25717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
25719 arg2
= static_cast< wxStockGDI::Item
>(val2
);
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25722 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
25733 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25735 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25736 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
25737 return SWIG_Py_Void();
25740 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25741 return SWIG_Python_InitShadowInstance(args
);
25744 SWIGINTERN
int NullBitmap_set(PyObject
*) {
25745 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
25750 SWIGINTERN PyObject
*NullBitmap_get(void) {
25751 PyObject
*pyobj
= 0;
25753 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
25758 SWIGINTERN
int NullIcon_set(PyObject
*) {
25759 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
25764 SWIGINTERN PyObject
*NullIcon_get(void) {
25765 PyObject
*pyobj
= 0;
25767 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
25772 SWIGINTERN
int NullCursor_set(PyObject
*) {
25773 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
25778 SWIGINTERN PyObject
*NullCursor_get(void) {
25779 PyObject
*pyobj
= 0;
25781 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
25786 SWIGINTERN
int NullPen_set(PyObject
*) {
25787 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
25792 SWIGINTERN PyObject
*NullPen_get(void) {
25793 PyObject
*pyobj
= 0;
25795 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
25800 SWIGINTERN
int NullBrush_set(PyObject
*) {
25801 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
25806 SWIGINTERN PyObject
*NullBrush_get(void) {
25807 PyObject
*pyobj
= 0;
25809 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
25814 SWIGINTERN
int NullPalette_set(PyObject
*) {
25815 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
25820 SWIGINTERN PyObject
*NullPalette_get(void) {
25821 PyObject
*pyobj
= 0;
25823 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
25828 SWIGINTERN
int NullFont_set(PyObject
*) {
25829 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
25834 SWIGINTERN PyObject
*NullFont_get(void) {
25835 PyObject
*pyobj
= 0;
25837 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
25842 SWIGINTERN
int NullColour_set(PyObject
*) {
25843 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
25848 SWIGINTERN PyObject
*NullColour_get(void) {
25849 PyObject
*pyobj
= 0;
25851 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
25856 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25857 PyObject
*resultobj
= 0;
25858 wxGDIObjListBase
*result
= 0 ;
25860 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
25862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25863 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
25874 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25875 PyObject
*resultobj
= 0;
25876 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
25879 PyObject
*swig_obj
[1] ;
25881 if (!args
) SWIG_fail
;
25882 swig_obj
[0] = args
;
25883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
25884 if (!SWIG_IsOK(res1
)) {
25885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
25887 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
25889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25892 wxPyEndAllowThreads(__tstate
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25895 resultobj
= SWIG_Py_Void();
25902 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25904 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25905 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
25906 return SWIG_Py_Void();
25909 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25910 return SWIG_Python_InitShadowInstance(args
);
25913 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25914 PyObject
*resultobj
= 0;
25915 wxPenList
*arg1
= (wxPenList
*) 0 ;
25916 wxColour
*arg2
= 0 ;
25919 wxPen
*result
= 0 ;
25927 PyObject
* obj0
= 0 ;
25928 PyObject
* obj1
= 0 ;
25929 PyObject
* obj2
= 0 ;
25930 PyObject
* obj3
= 0 ;
25931 char * kwnames
[] = {
25932 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
25935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25937 if (!SWIG_IsOK(res1
)) {
25938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25940 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25943 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25946 if (!SWIG_IsOK(ecode3
)) {
25947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
25949 arg3
= static_cast< int >(val3
);
25950 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25951 if (!SWIG_IsOK(ecode4
)) {
25952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
25954 arg4
= static_cast< int >(val4
);
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25957 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
25958 wxPyEndAllowThreads(__tstate
);
25959 if (PyErr_Occurred()) SWIG_fail
;
25961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
25968 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25969 PyObject
*resultobj
= 0;
25970 wxPenList
*arg1
= (wxPenList
*) 0 ;
25971 wxPen
*arg2
= (wxPen
*) 0 ;
25976 PyObject
* obj0
= 0 ;
25977 PyObject
* obj1
= 0 ;
25978 char * kwnames
[] = {
25979 (char *) "self",(char *) "pen", NULL
25982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25984 if (!SWIG_IsOK(res1
)) {
25985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
25987 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25988 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25989 if (!SWIG_IsOK(res2
)) {
25990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
25992 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25995 (arg1
)->AddPen(arg2
);
25996 wxPyEndAllowThreads(__tstate
);
25997 if (PyErr_Occurred()) SWIG_fail
;
25999 resultobj
= SWIG_Py_Void();
26006 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26007 PyObject
*resultobj
= 0;
26008 wxPenList
*arg1
= (wxPenList
*) 0 ;
26009 wxPen
*arg2
= (wxPen
*) 0 ;
26014 PyObject
* obj0
= 0 ;
26015 PyObject
* obj1
= 0 ;
26016 char * kwnames
[] = {
26017 (char *) "self",(char *) "pen", NULL
26020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
26022 if (!SWIG_IsOK(res1
)) {
26023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
26025 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
26026 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
26027 if (!SWIG_IsOK(res2
)) {
26028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
26030 arg2
= reinterpret_cast< wxPen
* >(argp2
);
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 (arg1
)->RemovePen(arg2
);
26034 wxPyEndAllowThreads(__tstate
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26037 resultobj
= SWIG_Py_Void();
26044 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26047 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
26048 return SWIG_Py_Void();
26051 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26052 PyObject
*resultobj
= 0;
26053 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
26054 wxColour
*arg2
= 0 ;
26055 int arg3
= (int) wxSOLID
;
26056 wxBrush
*result
= 0 ;
26062 PyObject
* obj0
= 0 ;
26063 PyObject
* obj1
= 0 ;
26064 PyObject
* obj2
= 0 ;
26065 char * kwnames
[] = {
26066 (char *) "self",(char *) "colour",(char *) "style", NULL
26069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
26071 if (!SWIG_IsOK(res1
)) {
26072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
26074 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
26077 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26081 if (!SWIG_IsOK(ecode3
)) {
26082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
26084 arg3
= static_cast< int >(val3
);
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
26089 wxPyEndAllowThreads(__tstate
);
26090 if (PyErr_Occurred()) SWIG_fail
;
26092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
26099 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26100 PyObject
*resultobj
= 0;
26101 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
26102 wxBrush
*arg2
= (wxBrush
*) 0 ;
26107 PyObject
* obj0
= 0 ;
26108 PyObject
* obj1
= 0 ;
26109 char * kwnames
[] = {
26110 (char *) "self",(char *) "brush", NULL
26113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) 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_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
26118 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
26119 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
26120 if (!SWIG_IsOK(res2
)) {
26121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
26123 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
26125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26126 (arg1
)->AddBrush(arg2
);
26127 wxPyEndAllowThreads(__tstate
);
26128 if (PyErr_Occurred()) SWIG_fail
;
26130 resultobj
= SWIG_Py_Void();
26137 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26138 PyObject
*resultobj
= 0;
26139 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
26140 wxBrush
*arg2
= (wxBrush
*) 0 ;
26145 PyObject
* obj0
= 0 ;
26146 PyObject
* obj1
= 0 ;
26147 char * kwnames
[] = {
26148 (char *) "self",(char *) "brush", NULL
26151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
26153 if (!SWIG_IsOK(res1
)) {
26154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
26156 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
26157 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
26158 if (!SWIG_IsOK(res2
)) {
26159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
26161 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
26163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26164 (arg1
)->RemoveBrush(arg2
);
26165 wxPyEndAllowThreads(__tstate
);
26166 if (PyErr_Occurred()) SWIG_fail
;
26168 resultobj
= SWIG_Py_Void();
26175 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26177 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26178 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
26179 return SWIG_Py_Void();
26182 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26183 PyObject
*resultobj
= 0;
26184 wxFontList
*arg1
= (wxFontList
*) 0 ;
26189 bool arg6
= (bool) false ;
26190 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26191 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26192 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
26193 wxFont
*result
= 0 ;
26206 bool temp7
= false ;
26209 PyObject
* obj0
= 0 ;
26210 PyObject
* obj1
= 0 ;
26211 PyObject
* obj2
= 0 ;
26212 PyObject
* obj3
= 0 ;
26213 PyObject
* obj4
= 0 ;
26214 PyObject
* obj5
= 0 ;
26215 PyObject
* obj6
= 0 ;
26216 PyObject
* obj7
= 0 ;
26217 char * kwnames
[] = {
26218 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
26221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
26222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
26223 if (!SWIG_IsOK(res1
)) {
26224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
26226 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
26227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26228 if (!SWIG_IsOK(ecode2
)) {
26229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
26231 arg2
= static_cast< int >(val2
);
26232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26233 if (!SWIG_IsOK(ecode3
)) {
26234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
26236 arg3
= static_cast< int >(val3
);
26237 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26238 if (!SWIG_IsOK(ecode4
)) {
26239 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
26241 arg4
= static_cast< int >(val4
);
26242 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26243 if (!SWIG_IsOK(ecode5
)) {
26244 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
26246 arg5
= static_cast< int >(val5
);
26248 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
26249 if (!SWIG_IsOK(ecode6
)) {
26250 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
26252 arg6
= static_cast< bool >(val6
);
26256 arg7
= wxString_in_helper(obj6
);
26257 if (arg7
== NULL
) SWIG_fail
;
26262 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
26263 if (!SWIG_IsOK(ecode8
)) {
26264 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
26266 arg8
= static_cast< wxFontEncoding
>(val8
);
26269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26270 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
26271 wxPyEndAllowThreads(__tstate
);
26272 if (PyErr_Occurred()) SWIG_fail
;
26274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
26289 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26290 PyObject
*resultobj
= 0;
26291 wxFontList
*arg1
= (wxFontList
*) 0 ;
26292 wxFont
*arg2
= (wxFont
*) 0 ;
26297 PyObject
* obj0
= 0 ;
26298 PyObject
* obj1
= 0 ;
26299 char * kwnames
[] = {
26300 (char *) "self",(char *) "font", NULL
26303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
26305 if (!SWIG_IsOK(res1
)) {
26306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
26308 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
26309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
26310 if (!SWIG_IsOK(res2
)) {
26311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
26313 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26316 (arg1
)->AddFont(arg2
);
26317 wxPyEndAllowThreads(__tstate
);
26318 if (PyErr_Occurred()) SWIG_fail
;
26320 resultobj
= SWIG_Py_Void();
26327 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26328 PyObject
*resultobj
= 0;
26329 wxFontList
*arg1
= (wxFontList
*) 0 ;
26330 wxFont
*arg2
= (wxFont
*) 0 ;
26335 PyObject
* obj0
= 0 ;
26336 PyObject
* obj1
= 0 ;
26337 char * kwnames
[] = {
26338 (char *) "self",(char *) "font", NULL
26341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
26343 if (!SWIG_IsOK(res1
)) {
26344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
26346 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
26347 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
26348 if (!SWIG_IsOK(res2
)) {
26349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
26351 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26354 (arg1
)->RemoveFont(arg2
);
26355 wxPyEndAllowThreads(__tstate
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26358 resultobj
= SWIG_Py_Void();
26365 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26367 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26368 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
26369 return SWIG_Py_Void();
26372 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26373 PyObject
*resultobj
= 0;
26374 wxColourDatabase
*result
= 0 ;
26376 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
26378 if (!wxPyCheckForApp()) SWIG_fail
;
26379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26380 result
= (wxColourDatabase
*)new wxColourDatabase();
26381 wxPyEndAllowThreads(__tstate
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
26391 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26392 PyObject
*resultobj
= 0;
26393 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26396 PyObject
*swig_obj
[1] ;
26398 if (!args
) SWIG_fail
;
26399 swig_obj
[0] = args
;
26400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
26401 if (!SWIG_IsOK(res1
)) {
26402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
26404 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26409 wxPyEndAllowThreads(__tstate
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26412 resultobj
= SWIG_Py_Void();
26419 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26420 PyObject
*resultobj
= 0;
26421 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26422 wxString
*arg2
= 0 ;
26426 bool temp2
= false ;
26427 PyObject
* obj0
= 0 ;
26428 PyObject
* obj1
= 0 ;
26429 char * kwnames
[] = {
26430 (char *) "self",(char *) "name", NULL
26433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26435 if (!SWIG_IsOK(res1
)) {
26436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
26438 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26440 arg2
= wxString_in_helper(obj1
);
26441 if (arg2
== NULL
) SWIG_fail
;
26445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26446 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26465 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26466 PyObject
*resultobj
= 0;
26467 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26468 wxColour
*arg2
= 0 ;
26473 PyObject
* obj0
= 0 ;
26474 PyObject
* obj1
= 0 ;
26475 char * kwnames
[] = {
26476 (char *) "self",(char *) "colour", NULL
26479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26481 if (!SWIG_IsOK(res1
)) {
26482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
26484 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26487 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26491 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
26492 wxPyEndAllowThreads(__tstate
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26508 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26509 PyObject
*resultobj
= 0;
26510 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26511 wxString
*arg2
= 0 ;
26512 wxColour
*arg3
= 0 ;
26515 bool temp2
= false ;
26517 PyObject
* obj0
= 0 ;
26518 PyObject
* obj1
= 0 ;
26519 PyObject
* obj2
= 0 ;
26520 char * kwnames
[] = {
26521 (char *) "self",(char *) "name",(char *) "colour", NULL
26524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26526 if (!SWIG_IsOK(res1
)) {
26527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
26529 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26531 arg2
= wxString_in_helper(obj1
);
26532 if (arg2
== NULL
) SWIG_fail
;
26537 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26541 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
26542 wxPyEndAllowThreads(__tstate
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26545 resultobj
= SWIG_Py_Void();
26560 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
= 0;
26562 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26563 wxString
*arg2
= 0 ;
26569 bool temp2
= false ;
26576 PyObject
* obj0
= 0 ;
26577 PyObject
* obj1
= 0 ;
26578 PyObject
* obj2
= 0 ;
26579 PyObject
* obj3
= 0 ;
26580 PyObject
* obj4
= 0 ;
26581 char * kwnames
[] = {
26582 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
26585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26587 if (!SWIG_IsOK(res1
)) {
26588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
26590 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26592 arg2
= wxString_in_helper(obj1
);
26593 if (arg2
== NULL
) SWIG_fail
;
26596 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26597 if (!SWIG_IsOK(ecode3
)) {
26598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
26600 arg3
= static_cast< int >(val3
);
26601 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26602 if (!SWIG_IsOK(ecode4
)) {
26603 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
26605 arg4
= static_cast< int >(val4
);
26606 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26607 if (!SWIG_IsOK(ecode5
)) {
26608 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
26610 arg5
= static_cast< int >(val5
);
26612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26613 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26614 wxPyEndAllowThreads(__tstate
);
26615 if (PyErr_Occurred()) SWIG_fail
;
26617 resultobj
= SWIG_Py_Void();
26632 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26635 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
26636 return SWIG_Py_Void();
26639 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26640 return SWIG_Python_InitShadowInstance(args
);
26643 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26644 PyObject
*resultobj
= 0;
26645 wxFontList
*result
= 0 ;
26647 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
26649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26650 result
= (wxFontList
*)_wxPyInitTheFontList();
26651 wxPyEndAllowThreads(__tstate
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
26661 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26662 PyObject
*resultobj
= 0;
26663 wxPenList
*result
= 0 ;
26665 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
26667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26668 result
= (wxPenList
*)_wxPyInitThePenList();
26669 wxPyEndAllowThreads(__tstate
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
26679 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26680 PyObject
*resultobj
= 0;
26681 wxBrushList
*result
= 0 ;
26683 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
26685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26686 result
= (wxBrushList
*)_wxPyInitTheBrushList();
26687 wxPyEndAllowThreads(__tstate
);
26688 if (PyErr_Occurred()) SWIG_fail
;
26690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
26697 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26698 PyObject
*resultobj
= 0;
26699 wxColourDatabase
*result
= 0 ;
26701 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
26703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26704 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
26705 wxPyEndAllowThreads(__tstate
);
26706 if (PyErr_Occurred()) SWIG_fail
;
26708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26715 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26716 PyObject
*resultobj
= 0;
26717 wxEffects
*result
= 0 ;
26719 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
26721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26722 result
= (wxEffects
*)new wxEffects();
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
26733 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26734 PyObject
*resultobj
= 0;
26735 wxEffects
*arg1
= (wxEffects
*) 0 ;
26739 PyObject
*swig_obj
[1] ;
26741 if (!args
) SWIG_fail
;
26742 swig_obj
[0] = args
;
26743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26744 if (!SWIG_IsOK(res1
)) {
26745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
26747 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
26751 wxPyEndAllowThreads(__tstate
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26754 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26761 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26762 PyObject
*resultobj
= 0;
26763 wxEffects
*arg1
= (wxEffects
*) 0 ;
26767 PyObject
*swig_obj
[1] ;
26769 if (!args
) SWIG_fail
;
26770 swig_obj
[0] = args
;
26771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26772 if (!SWIG_IsOK(res1
)) {
26773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26775 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26778 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
26779 wxPyEndAllowThreads(__tstate
);
26780 if (PyErr_Occurred()) SWIG_fail
;
26782 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26789 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26790 PyObject
*resultobj
= 0;
26791 wxEffects
*arg1
= (wxEffects
*) 0 ;
26795 PyObject
*swig_obj
[1] ;
26797 if (!args
) SWIG_fail
;
26798 swig_obj
[0] = args
;
26799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26800 if (!SWIG_IsOK(res1
)) {
26801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
26803 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26806 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26810 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26817 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26818 PyObject
*resultobj
= 0;
26819 wxEffects
*arg1
= (wxEffects
*) 0 ;
26823 PyObject
*swig_obj
[1] ;
26825 if (!args
) SWIG_fail
;
26826 swig_obj
[0] = args
;
26827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26828 if (!SWIG_IsOK(res1
)) {
26829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26831 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26834 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
26835 wxPyEndAllowThreads(__tstate
);
26836 if (PyErr_Occurred()) SWIG_fail
;
26838 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26845 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26846 PyObject
*resultobj
= 0;
26847 wxEffects
*arg1
= (wxEffects
*) 0 ;
26851 PyObject
*swig_obj
[1] ;
26853 if (!args
) SWIG_fail
;
26854 swig_obj
[0] = args
;
26855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26856 if (!SWIG_IsOK(res1
)) {
26857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26859 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
26863 wxPyEndAllowThreads(__tstate
);
26864 if (PyErr_Occurred()) SWIG_fail
;
26866 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26873 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26874 PyObject
*resultobj
= 0;
26875 wxEffects
*arg1
= (wxEffects
*) 0 ;
26876 wxColour
*arg2
= 0 ;
26880 PyObject
* obj0
= 0 ;
26881 PyObject
* obj1
= 0 ;
26882 char * kwnames
[] = {
26883 (char *) "self",(char *) "c", NULL
26886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26888 if (!SWIG_IsOK(res1
)) {
26889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26891 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26894 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26898 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
26899 wxPyEndAllowThreads(__tstate
);
26900 if (PyErr_Occurred()) SWIG_fail
;
26902 resultobj
= SWIG_Py_Void();
26909 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26910 PyObject
*resultobj
= 0;
26911 wxEffects
*arg1
= (wxEffects
*) 0 ;
26912 wxColour
*arg2
= 0 ;
26916 PyObject
* obj0
= 0 ;
26917 PyObject
* obj1
= 0 ;
26918 char * kwnames
[] = {
26919 (char *) "self",(char *) "c", NULL
26922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26924 if (!SWIG_IsOK(res1
)) {
26925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26927 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26930 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26934 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
26935 wxPyEndAllowThreads(__tstate
);
26936 if (PyErr_Occurred()) SWIG_fail
;
26938 resultobj
= SWIG_Py_Void();
26945 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26946 PyObject
*resultobj
= 0;
26947 wxEffects
*arg1
= (wxEffects
*) 0 ;
26948 wxColour
*arg2
= 0 ;
26952 PyObject
* obj0
= 0 ;
26953 PyObject
* obj1
= 0 ;
26954 char * kwnames
[] = {
26955 (char *) "self",(char *) "c", NULL
26958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26960 if (!SWIG_IsOK(res1
)) {
26961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26963 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26966 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26970 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26974 resultobj
= SWIG_Py_Void();
26981 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26982 PyObject
*resultobj
= 0;
26983 wxEffects
*arg1
= (wxEffects
*) 0 ;
26984 wxColour
*arg2
= 0 ;
26988 PyObject
* obj0
= 0 ;
26989 PyObject
* obj1
= 0 ;
26990 char * kwnames
[] = {
26991 (char *) "self",(char *) "c", NULL
26994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26996 if (!SWIG_IsOK(res1
)) {
26997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26999 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27002 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27006 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
27007 wxPyEndAllowThreads(__tstate
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27010 resultobj
= SWIG_Py_Void();
27017 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27018 PyObject
*resultobj
= 0;
27019 wxEffects
*arg1
= (wxEffects
*) 0 ;
27020 wxColour
*arg2
= 0 ;
27024 PyObject
* obj0
= 0 ;
27025 PyObject
* obj1
= 0 ;
27026 char * kwnames
[] = {
27027 (char *) "self",(char *) "c", NULL
27030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
27032 if (!SWIG_IsOK(res1
)) {
27033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
27035 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27038 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27042 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
27043 wxPyEndAllowThreads(__tstate
);
27044 if (PyErr_Occurred()) SWIG_fail
;
27046 resultobj
= SWIG_Py_Void();
27053 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27054 PyObject
*resultobj
= 0;
27055 wxEffects
*arg1
= (wxEffects
*) 0 ;
27056 wxColour
*arg2
= 0 ;
27057 wxColour
*arg3
= 0 ;
27058 wxColour
*arg4
= 0 ;
27059 wxColour
*arg5
= 0 ;
27060 wxColour
*arg6
= 0 ;
27068 PyObject
* obj0
= 0 ;
27069 PyObject
* obj1
= 0 ;
27070 PyObject
* obj2
= 0 ;
27071 PyObject
* obj3
= 0 ;
27072 PyObject
* obj4
= 0 ;
27073 PyObject
* obj5
= 0 ;
27074 char * kwnames
[] = {
27075 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
27078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
27080 if (!SWIG_IsOK(res1
)) {
27081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
27083 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27086 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27090 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27094 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
27098 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
27102 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27106 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
27107 wxPyEndAllowThreads(__tstate
);
27108 if (PyErr_Occurred()) SWIG_fail
;
27110 resultobj
= SWIG_Py_Void();
27117 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27118 PyObject
*resultobj
= 0;
27119 wxEffects
*arg1
= (wxEffects
*) 0 ;
27122 int arg4
= (int) 1 ;
27130 PyObject
* obj0
= 0 ;
27131 PyObject
* obj1
= 0 ;
27132 PyObject
* obj2
= 0 ;
27133 PyObject
* obj3
= 0 ;
27134 char * kwnames
[] = {
27135 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
27138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
27140 if (!SWIG_IsOK(res1
)) {
27141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
27143 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27144 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
27145 if (!SWIG_IsOK(res2
)) {
27146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
27149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
27151 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27154 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
27157 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27158 if (!SWIG_IsOK(ecode4
)) {
27159 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
27161 arg4
= static_cast< int >(val4
);
27164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27165 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
27166 wxPyEndAllowThreads(__tstate
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27169 resultobj
= SWIG_Py_Void();
27176 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27177 PyObject
*resultobj
= 0;
27178 wxEffects
*arg1
= (wxEffects
*) 0 ;
27181 wxBitmap
*arg4
= 0 ;
27190 PyObject
* obj0
= 0 ;
27191 PyObject
* obj1
= 0 ;
27192 PyObject
* obj2
= 0 ;
27193 PyObject
* obj3
= 0 ;
27194 char * kwnames
[] = {
27195 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
27198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
27200 if (!SWIG_IsOK(res1
)) {
27201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
27203 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27206 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
27208 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27209 if (!SWIG_IsOK(res3
)) {
27210 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
27213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
27215 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27216 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
27217 if (!SWIG_IsOK(res4
)) {
27218 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
27221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
27223 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
27225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27226 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
27227 wxPyEndAllowThreads(__tstate
);
27228 if (PyErr_Occurred()) SWIG_fail
;
27231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27239 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27241 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27242 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
27243 return SWIG_Py_Void();
27246 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27247 return SWIG_Python_InitShadowInstance(args
);
27250 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27251 PyObject
*resultobj
= 0;
27255 wxSplitterRenderParams
*result
= 0 ;
27262 PyObject
* obj0
= 0 ;
27263 PyObject
* obj1
= 0 ;
27264 PyObject
* obj2
= 0 ;
27265 char * kwnames
[] = {
27266 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
27269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27270 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27271 if (!SWIG_IsOK(ecode1
)) {
27272 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
27274 arg1
= static_cast< int >(val1
);
27275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27276 if (!SWIG_IsOK(ecode2
)) {
27277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
27279 arg2
= static_cast< int >(val2
);
27280 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
27281 if (!SWIG_IsOK(ecode3
)) {
27282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
27284 arg3
= static_cast< bool >(val3
);
27286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27287 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
27288 wxPyEndAllowThreads(__tstate
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
27298 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27299 PyObject
*resultobj
= 0;
27300 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
27303 PyObject
*swig_obj
[1] ;
27305 if (!args
) SWIG_fail
;
27306 swig_obj
[0] = args
;
27307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
27308 if (!SWIG_IsOK(res1
)) {
27309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
27311 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
27313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27316 wxPyEndAllowThreads(__tstate
);
27317 if (PyErr_Occurred()) SWIG_fail
;
27319 resultobj
= SWIG_Py_Void();
27326 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27327 PyObject
*resultobj
= 0;
27328 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
27332 PyObject
*swig_obj
[1] ;
27334 if (!args
) SWIG_fail
;
27335 swig_obj
[0] = args
;
27336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
27337 if (!SWIG_IsOK(res1
)) {
27338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
27340 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
27341 result
= (int)(int) ((arg1
)->widthSash
);
27342 resultobj
= SWIG_From_int(static_cast< int >(result
));
27349 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27350 PyObject
*resultobj
= 0;
27351 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
27355 PyObject
*swig_obj
[1] ;
27357 if (!args
) SWIG_fail
;
27358 swig_obj
[0] = args
;
27359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
27360 if (!SWIG_IsOK(res1
)) {
27361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
27363 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
27364 result
= (int)(int) ((arg1
)->border
);
27365 resultobj
= SWIG_From_int(static_cast< int >(result
));
27372 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27373 PyObject
*resultobj
= 0;
27374 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
27378 PyObject
*swig_obj
[1] ;
27380 if (!args
) SWIG_fail
;
27381 swig_obj
[0] = args
;
27382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
27383 if (!SWIG_IsOK(res1
)) {
27384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
27386 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
27387 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
27388 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
27395 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27398 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
27399 return SWIG_Py_Void();
27402 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27403 return SWIG_Python_InitShadowInstance(args
);
27406 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27407 PyObject
*resultobj
= 0;
27408 wxHeaderButtonParams
*result
= 0 ;
27410 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
27412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27413 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
27424 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27425 PyObject
*resultobj
= 0;
27426 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27429 PyObject
*swig_obj
[1] ;
27431 if (!args
) SWIG_fail
;
27432 swig_obj
[0] = args
;
27433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
27434 if (!SWIG_IsOK(res1
)) {
27435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27437 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27445 resultobj
= SWIG_Py_Void();
27452 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27453 PyObject
*resultobj
= 0;
27454 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27455 wxColour
*arg2
= (wxColour
*) 0 ;
27459 PyObject
*swig_obj
[2] ;
27461 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
27462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27463 if (!SWIG_IsOK(res1
)) {
27464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27466 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27469 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27471 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
27473 resultobj
= SWIG_Py_Void();
27480 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27481 PyObject
*resultobj
= 0;
27482 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27483 wxColour
*result
= 0 ;
27486 PyObject
*swig_obj
[1] ;
27488 if (!args
) SWIG_fail
;
27489 swig_obj
[0] = args
;
27490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27491 if (!SWIG_IsOK(res1
)) {
27492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27494 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27495 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
27496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
27503 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27504 PyObject
*resultobj
= 0;
27505 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27506 wxColour
*arg2
= (wxColour
*) 0 ;
27510 PyObject
*swig_obj
[2] ;
27512 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
27513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27514 if (!SWIG_IsOK(res1
)) {
27515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27517 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27520 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27522 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
27524 resultobj
= SWIG_Py_Void();
27531 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27532 PyObject
*resultobj
= 0;
27533 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27534 wxColour
*result
= 0 ;
27537 PyObject
*swig_obj
[1] ;
27539 if (!args
) SWIG_fail
;
27540 swig_obj
[0] = args
;
27541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27542 if (!SWIG_IsOK(res1
)) {
27543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27545 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27546 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
27547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
27554 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27555 PyObject
*resultobj
= 0;
27556 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27557 wxString
*arg2
= (wxString
*) 0 ;
27560 bool temp2
= false ;
27561 PyObject
*swig_obj
[2] ;
27563 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
27564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27565 if (!SWIG_IsOK(res1
)) {
27566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27568 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27570 arg2
= wxString_in_helper(swig_obj
[1]);
27571 if (arg2
== NULL
) SWIG_fail
;
27574 if (arg1
) (arg1
)->m_labelText
= *arg2
;
27576 resultobj
= SWIG_Py_Void();
27591 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27592 PyObject
*resultobj
= 0;
27593 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27594 wxString
*result
= 0 ;
27597 PyObject
*swig_obj
[1] ;
27599 if (!args
) SWIG_fail
;
27600 swig_obj
[0] = args
;
27601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27602 if (!SWIG_IsOK(res1
)) {
27603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27605 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27606 result
= (wxString
*)& ((arg1
)->m_labelText
);
27609 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27611 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27620 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27621 PyObject
*resultobj
= 0;
27622 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27623 wxFont
*arg2
= (wxFont
*) 0 ;
27628 PyObject
*swig_obj
[2] ;
27630 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
27631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27632 if (!SWIG_IsOK(res1
)) {
27633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27635 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27636 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
27637 if (!SWIG_IsOK(res2
)) {
27638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
27640 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27641 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
27643 resultobj
= SWIG_Py_Void();
27650 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27651 PyObject
*resultobj
= 0;
27652 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27653 wxFont
*result
= 0 ;
27656 PyObject
*swig_obj
[1] ;
27658 if (!args
) SWIG_fail
;
27659 swig_obj
[0] = args
;
27660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27661 if (!SWIG_IsOK(res1
)) {
27662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27664 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27665 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
27666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
27673 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27674 PyObject
*resultobj
= 0;
27675 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27676 wxColour
*arg2
= (wxColour
*) 0 ;
27680 PyObject
*swig_obj
[2] ;
27682 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
27683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27684 if (!SWIG_IsOK(res1
)) {
27685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27687 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27690 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27692 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
27694 resultobj
= SWIG_Py_Void();
27701 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27702 PyObject
*resultobj
= 0;
27703 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27704 wxColour
*result
= 0 ;
27707 PyObject
*swig_obj
[1] ;
27709 if (!args
) SWIG_fail
;
27710 swig_obj
[0] = args
;
27711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27712 if (!SWIG_IsOK(res1
)) {
27713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27715 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27716 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
27717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
27724 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27725 PyObject
*resultobj
= 0;
27726 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27727 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
27732 PyObject
*swig_obj
[2] ;
27734 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
27735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27736 if (!SWIG_IsOK(res1
)) {
27737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27739 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27740 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
27741 if (!SWIG_IsOK(res2
)) {
27742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
27744 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27745 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
27747 resultobj
= SWIG_Py_Void();
27754 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27755 PyObject
*resultobj
= 0;
27756 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27757 wxBitmap
*result
= 0 ;
27760 PyObject
*swig_obj
[1] ;
27762 if (!args
) SWIG_fail
;
27763 swig_obj
[0] = args
;
27764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27765 if (!SWIG_IsOK(res1
)) {
27766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27768 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27769 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
27770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
27777 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27778 PyObject
*resultobj
= 0;
27779 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27785 PyObject
*swig_obj
[2] ;
27787 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
27788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27789 if (!SWIG_IsOK(res1
)) {
27790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27792 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27793 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27794 if (!SWIG_IsOK(ecode2
)) {
27795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
27797 arg2
= static_cast< int >(val2
);
27798 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
27800 resultobj
= SWIG_Py_Void();
27807 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27808 PyObject
*resultobj
= 0;
27809 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27813 PyObject
*swig_obj
[1] ;
27815 if (!args
) SWIG_fail
;
27816 swig_obj
[0] = args
;
27817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27818 if (!SWIG_IsOK(res1
)) {
27819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27821 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27822 result
= (int) ((arg1
)->m_labelAlignment
);
27823 resultobj
= SWIG_From_int(static_cast< int >(result
));
27830 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27833 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
27834 return SWIG_Py_Void();
27837 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27838 return SWIG_Python_InitShadowInstance(args
);
27841 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27842 PyObject
*resultobj
= 0;
27845 wxRendererVersion
*result
= 0 ;
27850 PyObject
* obj0
= 0 ;
27851 PyObject
* obj1
= 0 ;
27852 char * kwnames
[] = {
27853 (char *) "version_",(char *) "age_", NULL
27856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27857 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27858 if (!SWIG_IsOK(ecode1
)) {
27859 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
27861 arg1
= static_cast< int >(val1
);
27862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27863 if (!SWIG_IsOK(ecode2
)) {
27864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
27866 arg2
= static_cast< int >(val2
);
27868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27869 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
27870 wxPyEndAllowThreads(__tstate
);
27871 if (PyErr_Occurred()) SWIG_fail
;
27873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
27880 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27881 PyObject
*resultobj
= 0;
27882 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27885 PyObject
*swig_obj
[1] ;
27887 if (!args
) SWIG_fail
;
27888 swig_obj
[0] = args
;
27889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
27890 if (!SWIG_IsOK(res1
)) {
27891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27893 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27898 wxPyEndAllowThreads(__tstate
);
27899 if (PyErr_Occurred()) SWIG_fail
;
27901 resultobj
= SWIG_Py_Void();
27908 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27909 PyObject
*resultobj
= 0;
27910 wxRendererVersion
*arg1
= 0 ;
27914 PyObject
* obj0
= 0 ;
27915 char * kwnames
[] = {
27916 (char *) "ver", NULL
27919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
27920 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
27921 if (!SWIG_IsOK(res1
)) {
27922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
27925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
27927 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27930 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
27931 wxPyEndAllowThreads(__tstate
);
27932 if (PyErr_Occurred()) SWIG_fail
;
27935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27943 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27944 PyObject
*resultobj
= 0;
27945 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27949 PyObject
*swig_obj
[1] ;
27951 if (!args
) SWIG_fail
;
27952 swig_obj
[0] = args
;
27953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
27954 if (!SWIG_IsOK(res1
)) {
27955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27957 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27958 result
= (int)(int) ((arg1
)->version
);
27959 resultobj
= SWIG_From_int(static_cast< int >(result
));
27966 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27967 PyObject
*resultobj
= 0;
27968 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27972 PyObject
*swig_obj
[1] ;
27974 if (!args
) SWIG_fail
;
27975 swig_obj
[0] = args
;
27976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
27977 if (!SWIG_IsOK(res1
)) {
27978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27980 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27981 result
= (int)(int) ((arg1
)->age
);
27982 resultobj
= SWIG_From_int(static_cast< int >(result
));
27989 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27991 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27992 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
27993 return SWIG_Py_Void();
27996 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27997 return SWIG_Python_InitShadowInstance(args
);
28000 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28001 PyObject
*resultobj
= 0;
28002 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28003 wxWindow
*arg2
= (wxWindow
*) 0 ;
28006 int arg5
= (int) 0 ;
28007 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
28008 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
28022 PyObject
* obj0
= 0 ;
28023 PyObject
* obj1
= 0 ;
28024 PyObject
* obj2
= 0 ;
28025 PyObject
* obj3
= 0 ;
28026 PyObject
* obj4
= 0 ;
28027 PyObject
* obj5
= 0 ;
28028 PyObject
* obj6
= 0 ;
28029 char * kwnames
[] = {
28030 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
28033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28035 if (!SWIG_IsOK(res1
)) {
28036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28038 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28039 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28040 if (!SWIG_IsOK(res2
)) {
28041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
28043 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28044 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28045 if (!SWIG_IsOK(res3
)) {
28046 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
28049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
28051 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28054 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28057 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28058 if (!SWIG_IsOK(ecode5
)) {
28059 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
28061 arg5
= static_cast< int >(val5
);
28064 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28065 if (!SWIG_IsOK(ecode6
)) {
28066 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
28068 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
28071 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
28072 if (!SWIG_IsOK(res7
)) {
28073 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
28075 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
28078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28079 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
28080 wxPyEndAllowThreads(__tstate
);
28081 if (PyErr_Occurred()) SWIG_fail
;
28083 resultobj
= SWIG_Py_Void();
28090 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28091 PyObject
*resultobj
= 0;
28092 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28093 wxWindow
*arg2
= (wxWindow
*) 0 ;
28096 int arg5
= (int) 0 ;
28097 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
28098 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
28112 PyObject
* obj0
= 0 ;
28113 PyObject
* obj1
= 0 ;
28114 PyObject
* obj2
= 0 ;
28115 PyObject
* obj3
= 0 ;
28116 PyObject
* obj4
= 0 ;
28117 PyObject
* obj5
= 0 ;
28118 PyObject
* obj6
= 0 ;
28119 char * kwnames
[] = {
28120 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
28123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28125 if (!SWIG_IsOK(res1
)) {
28126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28128 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28129 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28130 if (!SWIG_IsOK(res2
)) {
28131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
28133 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28134 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28135 if (!SWIG_IsOK(res3
)) {
28136 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
28139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
28141 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28144 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28147 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28148 if (!SWIG_IsOK(ecode5
)) {
28149 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
28151 arg5
= static_cast< int >(val5
);
28154 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28155 if (!SWIG_IsOK(ecode6
)) {
28156 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
28158 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
28161 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
28162 if (!SWIG_IsOK(res7
)) {
28163 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
28165 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
28168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28169 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
28170 wxPyEndAllowThreads(__tstate
);
28171 if (PyErr_Occurred()) SWIG_fail
;
28173 resultobj
= SWIG_Py_Void();
28180 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28181 PyObject
*resultobj
= 0;
28182 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28183 wxWindow
*arg2
= (wxWindow
*) 0 ;
28189 PyObject
* obj0
= 0 ;
28190 PyObject
* obj1
= 0 ;
28191 char * kwnames
[] = {
28192 (char *) "self",(char *) "win", NULL
28195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28197 if (!SWIG_IsOK(res1
)) {
28198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28200 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28201 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28202 if (!SWIG_IsOK(res2
)) {
28203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
28205 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28208 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
28209 wxPyEndAllowThreads(__tstate
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28212 resultobj
= SWIG_From_int(static_cast< int >(result
));
28219 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28220 PyObject
*resultobj
= 0;
28221 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28222 wxWindow
*arg2
= (wxWindow
*) 0 ;
28225 int arg5
= (int) 0 ;
28235 PyObject
* obj0
= 0 ;
28236 PyObject
* obj1
= 0 ;
28237 PyObject
* obj2
= 0 ;
28238 PyObject
* obj3
= 0 ;
28239 PyObject
* obj4
= 0 ;
28240 char * kwnames
[] = {
28241 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28246 if (!SWIG_IsOK(res1
)) {
28247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28249 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28250 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28251 if (!SWIG_IsOK(res2
)) {
28252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
28254 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28255 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28256 if (!SWIG_IsOK(res3
)) {
28257 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
28260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
28262 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28265 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28268 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28269 if (!SWIG_IsOK(ecode5
)) {
28270 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
28272 arg5
= static_cast< int >(val5
);
28275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28276 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28277 wxPyEndAllowThreads(__tstate
);
28278 if (PyErr_Occurred()) SWIG_fail
;
28280 resultobj
= SWIG_Py_Void();
28287 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28288 PyObject
*resultobj
= 0;
28289 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28290 wxWindow
*arg2
= (wxWindow
*) 0 ;
28293 int arg5
= (int) 0 ;
28303 PyObject
* obj0
= 0 ;
28304 PyObject
* obj1
= 0 ;
28305 PyObject
* obj2
= 0 ;
28306 PyObject
* obj3
= 0 ;
28307 PyObject
* obj4
= 0 ;
28308 char * kwnames
[] = {
28309 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28314 if (!SWIG_IsOK(res1
)) {
28315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28317 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28318 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28319 if (!SWIG_IsOK(res2
)) {
28320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
28322 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28323 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28324 if (!SWIG_IsOK(res3
)) {
28325 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
28328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
28330 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28333 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28336 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28337 if (!SWIG_IsOK(ecode5
)) {
28338 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
28340 arg5
= static_cast< int >(val5
);
28343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28344 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28345 wxPyEndAllowThreads(__tstate
);
28346 if (PyErr_Occurred()) SWIG_fail
;
28348 resultobj
= SWIG_Py_Void();
28355 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28356 PyObject
*resultobj
= 0;
28357 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28358 wxWindow
*arg2
= (wxWindow
*) 0 ;
28362 wxOrientation arg6
;
28363 int arg7
= (int) 0 ;
28377 PyObject
* obj0
= 0 ;
28378 PyObject
* obj1
= 0 ;
28379 PyObject
* obj2
= 0 ;
28380 PyObject
* obj3
= 0 ;
28381 PyObject
* obj4
= 0 ;
28382 PyObject
* obj5
= 0 ;
28383 PyObject
* obj6
= 0 ;
28384 char * kwnames
[] = {
28385 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
28388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28390 if (!SWIG_IsOK(res1
)) {
28391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28393 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28394 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28395 if (!SWIG_IsOK(res2
)) {
28396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
28398 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28399 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28400 if (!SWIG_IsOK(res3
)) {
28401 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
28404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
28406 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28409 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28411 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28412 if (!SWIG_IsOK(ecode5
)) {
28413 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
28415 arg5
= static_cast< int >(val5
);
28416 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28417 if (!SWIG_IsOK(ecode6
)) {
28418 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
28420 arg6
= static_cast< wxOrientation
>(val6
);
28422 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
28423 if (!SWIG_IsOK(ecode7
)) {
28424 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
28426 arg7
= static_cast< int >(val7
);
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
28431 wxPyEndAllowThreads(__tstate
);
28432 if (PyErr_Occurred()) SWIG_fail
;
28434 resultobj
= SWIG_Py_Void();
28441 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28442 PyObject
*resultobj
= 0;
28443 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28444 wxWindow
*arg2
= (wxWindow
*) 0 ;
28447 int arg5
= (int) 0 ;
28457 PyObject
* obj0
= 0 ;
28458 PyObject
* obj1
= 0 ;
28459 PyObject
* obj2
= 0 ;
28460 PyObject
* obj3
= 0 ;
28461 PyObject
* obj4
= 0 ;
28462 char * kwnames
[] = {
28463 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28468 if (!SWIG_IsOK(res1
)) {
28469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28471 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28472 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28473 if (!SWIG_IsOK(res2
)) {
28474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
28476 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28477 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28478 if (!SWIG_IsOK(res3
)) {
28479 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
28482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
28484 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28487 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28490 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28491 if (!SWIG_IsOK(ecode5
)) {
28492 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
28494 arg5
= static_cast< int >(val5
);
28497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28498 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28499 wxPyEndAllowThreads(__tstate
);
28500 if (PyErr_Occurred()) SWIG_fail
;
28502 resultobj
= SWIG_Py_Void();
28509 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28510 PyObject
*resultobj
= 0;
28511 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28512 wxWindow
*arg2
= (wxWindow
*) 0 ;
28515 int arg5
= (int) 0 ;
28525 PyObject
* obj0
= 0 ;
28526 PyObject
* obj1
= 0 ;
28527 PyObject
* obj2
= 0 ;
28528 PyObject
* obj3
= 0 ;
28529 PyObject
* obj4
= 0 ;
28530 char * kwnames
[] = {
28531 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28536 if (!SWIG_IsOK(res1
)) {
28537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28539 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28540 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28541 if (!SWIG_IsOK(res2
)) {
28542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
28544 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28545 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28546 if (!SWIG_IsOK(res3
)) {
28547 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
28550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
28552 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28555 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28558 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28559 if (!SWIG_IsOK(ecode5
)) {
28560 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
28562 arg5
= static_cast< int >(val5
);
28565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28566 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28567 wxPyEndAllowThreads(__tstate
);
28568 if (PyErr_Occurred()) SWIG_fail
;
28570 resultobj
= SWIG_Py_Void();
28577 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28578 PyObject
*resultobj
= 0;
28579 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28580 wxWindow
*arg2
= (wxWindow
*) 0 ;
28583 int arg5
= (int) 0 ;
28593 PyObject
* obj0
= 0 ;
28594 PyObject
* obj1
= 0 ;
28595 PyObject
* obj2
= 0 ;
28596 PyObject
* obj3
= 0 ;
28597 PyObject
* obj4
= 0 ;
28598 char * kwnames
[] = {
28599 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28604 if (!SWIG_IsOK(res1
)) {
28605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28607 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28608 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28609 if (!SWIG_IsOK(res2
)) {
28610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
28612 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28613 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28614 if (!SWIG_IsOK(res3
)) {
28615 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
28618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
28620 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28623 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28626 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28627 if (!SWIG_IsOK(ecode5
)) {
28628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
28630 arg5
= static_cast< int >(val5
);
28633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28634 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28635 wxPyEndAllowThreads(__tstate
);
28636 if (PyErr_Occurred()) SWIG_fail
;
28638 resultobj
= SWIG_Py_Void();
28645 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28646 PyObject
*resultobj
= 0;
28647 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28648 wxWindow
*arg2
= (wxWindow
*) 0 ;
28651 int arg5
= (int) 0 ;
28661 PyObject
* obj0
= 0 ;
28662 PyObject
* obj1
= 0 ;
28663 PyObject
* obj2
= 0 ;
28664 PyObject
* obj3
= 0 ;
28665 PyObject
* obj4
= 0 ;
28666 char * kwnames
[] = {
28667 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28672 if (!SWIG_IsOK(res1
)) {
28673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28675 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28676 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28677 if (!SWIG_IsOK(res2
)) {
28678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
28680 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28681 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28682 if (!SWIG_IsOK(res3
)) {
28683 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
28686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
28688 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28691 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28694 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28695 if (!SWIG_IsOK(ecode5
)) {
28696 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
28698 arg5
= static_cast< int >(val5
);
28701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28702 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28703 wxPyEndAllowThreads(__tstate
);
28704 if (PyErr_Occurred()) SWIG_fail
;
28706 resultobj
= SWIG_Py_Void();
28713 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28714 PyObject
*resultobj
= 0;
28715 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28716 wxWindow
*arg2
= (wxWindow
*) 0 ;
28719 int arg5
= (int) 0 ;
28729 PyObject
* obj0
= 0 ;
28730 PyObject
* obj1
= 0 ;
28731 PyObject
* obj2
= 0 ;
28732 PyObject
* obj3
= 0 ;
28733 PyObject
* obj4
= 0 ;
28734 char * kwnames
[] = {
28735 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28740 if (!SWIG_IsOK(res1
)) {
28741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28743 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28744 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28745 if (!SWIG_IsOK(res2
)) {
28746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
28748 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28749 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28750 if (!SWIG_IsOK(res3
)) {
28751 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
28754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
28756 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28759 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28762 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28763 if (!SWIG_IsOK(ecode5
)) {
28764 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
28766 arg5
= static_cast< int >(val5
);
28769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28770 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28771 wxPyEndAllowThreads(__tstate
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28774 resultobj
= SWIG_Py_Void();
28781 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28782 PyObject
*resultobj
= 0;
28783 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28784 wxWindow
*arg2
= (wxWindow
*) 0 ;
28785 SwigValueWrapper
<wxSplitterRenderParams
> result
;
28790 PyObject
* obj0
= 0 ;
28791 PyObject
* obj1
= 0 ;
28792 char * kwnames
[] = {
28793 (char *) "self",(char *) "win", NULL
28796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28798 if (!SWIG_IsOK(res1
)) {
28799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28801 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28802 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28803 if (!SWIG_IsOK(res2
)) {
28804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
28806 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28809 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28813 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
28820 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28821 PyObject
*resultobj
= 0;
28822 wxRendererNative
*result
= 0 ;
28824 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
28826 if (!wxPyCheckForApp()) SWIG_fail
;
28827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28829 wxRendererNative
&_result_ref
= wxRendererNative::Get();
28830 result
= (wxRendererNative
*) &_result_ref
;
28832 wxPyEndAllowThreads(__tstate
);
28833 if (PyErr_Occurred()) SWIG_fail
;
28835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28842 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28843 PyObject
*resultobj
= 0;
28844 wxRendererNative
*result
= 0 ;
28846 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
28848 if (!wxPyCheckForApp()) SWIG_fail
;
28849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28851 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
28852 result
= (wxRendererNative
*) &_result_ref
;
28854 wxPyEndAllowThreads(__tstate
);
28855 if (PyErr_Occurred()) SWIG_fail
;
28857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28864 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28865 PyObject
*resultobj
= 0;
28866 wxRendererNative
*result
= 0 ;
28868 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
28870 if (!wxPyCheckForApp()) SWIG_fail
;
28871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28873 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
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_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28887 PyObject
*resultobj
= 0;
28888 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28889 wxRendererNative
*result
= 0 ;
28892 PyObject
* obj0
= 0 ;
28893 char * kwnames
[] = {
28894 (char *) "renderer", NULL
28897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
28898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28899 if (!SWIG_IsOK(res1
)) {
28900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28902 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28904 if (!wxPyCheckForApp()) SWIG_fail
;
28905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28906 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
28907 wxPyEndAllowThreads(__tstate
);
28908 if (PyErr_Occurred()) SWIG_fail
;
28910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28917 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28918 PyObject
*resultobj
= 0;
28919 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28920 SwigValueWrapper
<wxRendererVersion
> result
;
28923 PyObject
*swig_obj
[1] ;
28925 if (!args
) SWIG_fail
;
28926 swig_obj
[0] = args
;
28927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28928 if (!SWIG_IsOK(res1
)) {
28929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
28931 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28934 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
28935 wxPyEndAllowThreads(__tstate
);
28936 if (PyErr_Occurred()) SWIG_fail
;
28938 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
28945 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28947 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28948 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
28949 return SWIG_Py_Void();
28952 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28953 PyObject
*resultobj
= 0;
28954 wxPseudoDC
*result
= 0 ;
28956 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
28958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28959 result
= (wxPseudoDC
*)new wxPseudoDC();
28960 wxPyEndAllowThreads(__tstate
);
28961 if (PyErr_Occurred()) SWIG_fail
;
28963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
28970 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28971 PyObject
*resultobj
= 0;
28972 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28975 PyObject
*swig_obj
[1] ;
28977 if (!args
) SWIG_fail
;
28978 swig_obj
[0] = args
;
28979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28980 if (!SWIG_IsOK(res1
)) {
28981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28983 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28986 (arg1
)->BeginDrawing();
28987 wxPyEndAllowThreads(__tstate
);
28988 if (PyErr_Occurred()) SWIG_fail
;
28990 resultobj
= SWIG_Py_Void();
28997 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28998 PyObject
*resultobj
= 0;
28999 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29002 PyObject
*swig_obj
[1] ;
29004 if (!args
) SWIG_fail
;
29005 swig_obj
[0] = args
;
29006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29007 if (!SWIG_IsOK(res1
)) {
29008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29010 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29013 (arg1
)->EndDrawing();
29014 wxPyEndAllowThreads(__tstate
);
29015 if (PyErr_Occurred()) SWIG_fail
;
29017 resultobj
= SWIG_Py_Void();
29024 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29025 PyObject
*resultobj
= 0;
29026 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29029 PyObject
*swig_obj
[1] ;
29031 if (!args
) SWIG_fail
;
29032 swig_obj
[0] = args
;
29033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
29034 if (!SWIG_IsOK(res1
)) {
29035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29037 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29042 wxPyEndAllowThreads(__tstate
);
29043 if (PyErr_Occurred()) SWIG_fail
;
29045 resultobj
= SWIG_Py_Void();
29052 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29053 PyObject
*resultobj
= 0;
29054 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29057 PyObject
*swig_obj
[1] ;
29059 if (!args
) SWIG_fail
;
29060 swig_obj
[0] = args
;
29061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29062 if (!SWIG_IsOK(res1
)) {
29063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29065 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29068 (arg1
)->RemoveAll();
29069 wxPyEndAllowThreads(__tstate
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29072 resultobj
= SWIG_Py_Void();
29079 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29080 PyObject
*resultobj
= 0;
29081 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29085 PyObject
*swig_obj
[1] ;
29087 if (!args
) SWIG_fail
;
29088 swig_obj
[0] = args
;
29089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29090 if (!SWIG_IsOK(res1
)) {
29091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29093 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29096 result
= (int)(arg1
)->GetLen();
29097 wxPyEndAllowThreads(__tstate
);
29098 if (PyErr_Occurred()) SWIG_fail
;
29100 resultobj
= SWIG_From_int(static_cast< int >(result
));
29107 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29108 PyObject
*resultobj
= 0;
29109 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29115 PyObject
* obj0
= 0 ;
29116 PyObject
* obj1
= 0 ;
29117 char * kwnames
[] = {
29118 (char *) "self",(char *) "id", NULL
29121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29123 if (!SWIG_IsOK(res1
)) {
29124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29126 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29128 if (!SWIG_IsOK(ecode2
)) {
29129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
29131 arg2
= static_cast< int >(val2
);
29133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29134 (arg1
)->SetId(arg2
);
29135 wxPyEndAllowThreads(__tstate
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29138 resultobj
= SWIG_Py_Void();
29145 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29146 PyObject
*resultobj
= 0;
29147 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29153 PyObject
* obj0
= 0 ;
29154 PyObject
* obj1
= 0 ;
29155 char * kwnames
[] = {
29156 (char *) "self",(char *) "id", NULL
29159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29161 if (!SWIG_IsOK(res1
)) {
29162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29164 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29166 if (!SWIG_IsOK(ecode2
)) {
29167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
29169 arg2
= static_cast< int >(val2
);
29171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29172 (arg1
)->ClearId(arg2
);
29173 wxPyEndAllowThreads(__tstate
);
29174 if (PyErr_Occurred()) SWIG_fail
;
29176 resultobj
= SWIG_Py_Void();
29183 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29184 PyObject
*resultobj
= 0;
29185 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29191 PyObject
* obj0
= 0 ;
29192 PyObject
* obj1
= 0 ;
29193 char * kwnames
[] = {
29194 (char *) "self",(char *) "id", NULL
29197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29199 if (!SWIG_IsOK(res1
)) {
29200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29202 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29204 if (!SWIG_IsOK(ecode2
)) {
29205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
29207 arg2
= static_cast< int >(val2
);
29209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29210 (arg1
)->RemoveId(arg2
);
29211 wxPyEndAllowThreads(__tstate
);
29212 if (PyErr_Occurred()) SWIG_fail
;
29214 resultobj
= SWIG_Py_Void();
29221 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29222 PyObject
*resultobj
= 0;
29223 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29235 PyObject
* obj0
= 0 ;
29236 PyObject
* obj1
= 0 ;
29237 PyObject
* obj2
= 0 ;
29238 PyObject
* obj3
= 0 ;
29239 char * kwnames
[] = {
29240 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
29243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29245 if (!SWIG_IsOK(res1
)) {
29246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29248 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29250 if (!SWIG_IsOK(ecode2
)) {
29251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
29253 arg2
= static_cast< int >(val2
);
29254 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29255 if (!SWIG_IsOK(ecode3
)) {
29256 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
29258 arg3
= static_cast< int >(val3
);
29259 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29260 if (!SWIG_IsOK(ecode4
)) {
29261 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
29263 arg4
= static_cast< int >(val4
);
29265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29266 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
29267 wxPyEndAllowThreads(__tstate
);
29268 if (PyErr_Occurred()) SWIG_fail
;
29270 resultobj
= SWIG_Py_Void();
29277 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29278 PyObject
*resultobj
= 0;
29279 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29281 wxDC
*arg3
= (wxDC
*) 0 ;
29288 PyObject
* obj0
= 0 ;
29289 PyObject
* obj1
= 0 ;
29290 PyObject
* obj2
= 0 ;
29291 char * kwnames
[] = {
29292 (char *) "self",(char *) "id",(char *) "dc", NULL
29295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29297 if (!SWIG_IsOK(res1
)) {
29298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29300 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29302 if (!SWIG_IsOK(ecode2
)) {
29303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
29305 arg2
= static_cast< int >(val2
);
29306 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
29307 if (!SWIG_IsOK(res3
)) {
29308 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
29310 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 (arg1
)->DrawIdToDC(arg2
,arg3
);
29314 wxPyEndAllowThreads(__tstate
);
29315 if (PyErr_Occurred()) SWIG_fail
;
29317 resultobj
= SWIG_Py_Void();
29324 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29325 PyObject
*resultobj
= 0;
29326 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29334 PyObject
* obj0
= 0 ;
29335 PyObject
* obj1
= 0 ;
29336 PyObject
* obj2
= 0 ;
29337 char * kwnames
[] = {
29338 (char *) "self",(char *) "id",(char *) "rect", NULL
29341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29343 if (!SWIG_IsOK(res1
)) {
29344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29346 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29348 if (!SWIG_IsOK(ecode2
)) {
29349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
29351 arg2
= static_cast< int >(val2
);
29354 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29358 (arg1
)->SetIdBounds(arg2
,*arg3
);
29359 wxPyEndAllowThreads(__tstate
);
29360 if (PyErr_Occurred()) SWIG_fail
;
29362 resultobj
= SWIG_Py_Void();
29369 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29370 PyObject
*resultobj
= 0;
29371 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29378 PyObject
* obj0
= 0 ;
29379 PyObject
* obj1
= 0 ;
29380 char * kwnames
[] = {
29381 (char *) "self",(char *) "id", NULL
29384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29386 if (!SWIG_IsOK(res1
)) {
29387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29389 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29391 if (!SWIG_IsOK(ecode2
)) {
29392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
29394 arg2
= static_cast< int >(val2
);
29396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29397 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
29398 wxPyEndAllowThreads(__tstate
);
29399 if (PyErr_Occurred()) SWIG_fail
;
29401 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29408 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29409 PyObject
*resultobj
= 0;
29410 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29411 wxDC
*arg2
= (wxDC
*) 0 ;
29418 PyObject
* obj0
= 0 ;
29419 PyObject
* obj1
= 0 ;
29420 PyObject
* obj2
= 0 ;
29421 char * kwnames
[] = {
29422 (char *) "self",(char *) "dc",(char *) "rect", NULL
29425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29427 if (!SWIG_IsOK(res1
)) {
29428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29430 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29431 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
29432 if (!SWIG_IsOK(res2
)) {
29433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
29435 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29438 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29442 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 resultobj
= SWIG_Py_Void();
29453 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29454 PyObject
*resultobj
= 0;
29455 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29456 wxDC
*arg2
= (wxDC
*) 0 ;
29457 wxRegion
*arg3
= 0 ;
29464 PyObject
* obj0
= 0 ;
29465 PyObject
* obj1
= 0 ;
29466 PyObject
* obj2
= 0 ;
29467 char * kwnames
[] = {
29468 (char *) "self",(char *) "dc",(char *) "region", NULL
29471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29473 if (!SWIG_IsOK(res1
)) {
29474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29476 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29477 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
29478 if (!SWIG_IsOK(res2
)) {
29479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
29481 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29482 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
29483 if (!SWIG_IsOK(res3
)) {
29484 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
29487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
29489 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
29491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29492 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
29493 wxPyEndAllowThreads(__tstate
);
29494 if (PyErr_Occurred()) SWIG_fail
;
29496 resultobj
= SWIG_Py_Void();
29503 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29504 PyObject
*resultobj
= 0;
29505 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29506 wxDC
*arg2
= (wxDC
*) 0 ;
29511 PyObject
* obj0
= 0 ;
29512 PyObject
* obj1
= 0 ;
29513 char * kwnames
[] = {
29514 (char *) "self",(char *) "dc", NULL
29517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29519 if (!SWIG_IsOK(res1
)) {
29520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29522 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29523 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
29524 if (!SWIG_IsOK(res2
)) {
29525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
29527 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29530 (arg1
)->DrawToDC(arg2
);
29531 wxPyEndAllowThreads(__tstate
);
29532 if (PyErr_Occurred()) SWIG_fail
;
29534 resultobj
= SWIG_Py_Void();
29541 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29542 PyObject
*resultobj
= 0;
29543 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29546 wxColour
*arg4
= 0 ;
29547 int arg5
= (int) wxFLOOD_SURFACE
;
29557 PyObject
* obj0
= 0 ;
29558 PyObject
* obj1
= 0 ;
29559 PyObject
* obj2
= 0 ;
29560 PyObject
* obj3
= 0 ;
29561 PyObject
* obj4
= 0 ;
29562 char * kwnames
[] = {
29563 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
29566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29568 if (!SWIG_IsOK(res1
)) {
29569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29571 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29573 if (!SWIG_IsOK(ecode2
)) {
29574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
29576 arg2
= static_cast< int >(val2
);
29577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29578 if (!SWIG_IsOK(ecode3
)) {
29579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
29581 arg3
= static_cast< int >(val3
);
29584 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
29587 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29588 if (!SWIG_IsOK(ecode5
)) {
29589 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
29591 arg5
= static_cast< int >(val5
);
29594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29595 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
29596 wxPyEndAllowThreads(__tstate
);
29597 if (PyErr_Occurred()) SWIG_fail
;
29599 resultobj
= SWIG_Py_Void();
29606 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29607 PyObject
*resultobj
= 0;
29608 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29609 wxPoint
*arg2
= 0 ;
29610 wxColour
*arg3
= 0 ;
29611 int arg4
= (int) wxFLOOD_SURFACE
;
29618 PyObject
* obj0
= 0 ;
29619 PyObject
* obj1
= 0 ;
29620 PyObject
* obj2
= 0 ;
29621 PyObject
* obj3
= 0 ;
29622 char * kwnames
[] = {
29623 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
29626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29628 if (!SWIG_IsOK(res1
)) {
29629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29631 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29634 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29638 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29641 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29642 if (!SWIG_IsOK(ecode4
)) {
29643 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
29645 arg4
= static_cast< int >(val4
);
29648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29649 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
29650 wxPyEndAllowThreads(__tstate
);
29651 if (PyErr_Occurred()) SWIG_fail
;
29653 resultobj
= SWIG_Py_Void();
29660 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29661 PyObject
*resultobj
= 0;
29662 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29677 PyObject
* obj0
= 0 ;
29678 PyObject
* obj1
= 0 ;
29679 PyObject
* obj2
= 0 ;
29680 PyObject
* obj3
= 0 ;
29681 PyObject
* obj4
= 0 ;
29682 char * kwnames
[] = {
29683 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29688 if (!SWIG_IsOK(res1
)) {
29689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29691 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29693 if (!SWIG_IsOK(ecode2
)) {
29694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
29696 arg2
= static_cast< int >(val2
);
29697 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29698 if (!SWIG_IsOK(ecode3
)) {
29699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
29701 arg3
= static_cast< int >(val3
);
29702 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29703 if (!SWIG_IsOK(ecode4
)) {
29704 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
29706 arg4
= static_cast< int >(val4
);
29707 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29708 if (!SWIG_IsOK(ecode5
)) {
29709 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
29711 arg5
= static_cast< int >(val5
);
29713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29714 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
29715 wxPyEndAllowThreads(__tstate
);
29716 if (PyErr_Occurred()) SWIG_fail
;
29718 resultobj
= SWIG_Py_Void();
29725 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29726 PyObject
*resultobj
= 0;
29727 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29728 wxPoint
*arg2
= 0 ;
29729 wxPoint
*arg3
= 0 ;
29734 PyObject
* obj0
= 0 ;
29735 PyObject
* obj1
= 0 ;
29736 PyObject
* obj2
= 0 ;
29737 char * kwnames
[] = {
29738 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
29741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29743 if (!SWIG_IsOK(res1
)) {
29744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29746 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29749 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29753 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29757 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
29758 wxPyEndAllowThreads(__tstate
);
29759 if (PyErr_Occurred()) SWIG_fail
;
29761 resultobj
= SWIG_Py_Void();
29768 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29769 PyObject
*resultobj
= 0;
29770 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29779 PyObject
* obj0
= 0 ;
29780 PyObject
* obj1
= 0 ;
29781 PyObject
* obj2
= 0 ;
29782 char * kwnames
[] = {
29783 (char *) "self",(char *) "x",(char *) "y", NULL
29786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29788 if (!SWIG_IsOK(res1
)) {
29789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29791 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29793 if (!SWIG_IsOK(ecode2
)) {
29794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
29796 arg2
= static_cast< int >(val2
);
29797 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29798 if (!SWIG_IsOK(ecode3
)) {
29799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
29801 arg3
= static_cast< int >(val3
);
29803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29804 (arg1
)->CrossHair(arg2
,arg3
);
29805 wxPyEndAllowThreads(__tstate
);
29806 if (PyErr_Occurred()) SWIG_fail
;
29808 resultobj
= SWIG_Py_Void();
29815 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29816 PyObject
*resultobj
= 0;
29817 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29818 wxPoint
*arg2
= 0 ;
29822 PyObject
* obj0
= 0 ;
29823 PyObject
* obj1
= 0 ;
29824 char * kwnames
[] = {
29825 (char *) "self",(char *) "pt", NULL
29828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29830 if (!SWIG_IsOK(res1
)) {
29831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29833 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29836 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29840 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
29841 wxPyEndAllowThreads(__tstate
);
29842 if (PyErr_Occurred()) SWIG_fail
;
29844 resultobj
= SWIG_Py_Void();
29851 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29852 PyObject
*resultobj
= 0;
29853 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29874 PyObject
* obj0
= 0 ;
29875 PyObject
* obj1
= 0 ;
29876 PyObject
* obj2
= 0 ;
29877 PyObject
* obj3
= 0 ;
29878 PyObject
* obj4
= 0 ;
29879 PyObject
* obj5
= 0 ;
29880 PyObject
* obj6
= 0 ;
29881 char * kwnames
[] = {
29882 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
29885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29887 if (!SWIG_IsOK(res1
)) {
29888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29890 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29892 if (!SWIG_IsOK(ecode2
)) {
29893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
29895 arg2
= static_cast< int >(val2
);
29896 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29897 if (!SWIG_IsOK(ecode3
)) {
29898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
29900 arg3
= static_cast< int >(val3
);
29901 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29902 if (!SWIG_IsOK(ecode4
)) {
29903 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
29905 arg4
= static_cast< int >(val4
);
29906 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29907 if (!SWIG_IsOK(ecode5
)) {
29908 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
29910 arg5
= static_cast< int >(val5
);
29911 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
29912 if (!SWIG_IsOK(ecode6
)) {
29913 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
29915 arg6
= static_cast< int >(val6
);
29916 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
29917 if (!SWIG_IsOK(ecode7
)) {
29918 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
29920 arg7
= static_cast< int >(val7
);
29922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29923 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29924 wxPyEndAllowThreads(__tstate
);
29925 if (PyErr_Occurred()) SWIG_fail
;
29927 resultobj
= SWIG_Py_Void();
29934 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29935 PyObject
*resultobj
= 0;
29936 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29937 wxPoint
*arg2
= 0 ;
29938 wxPoint
*arg3
= 0 ;
29939 wxPoint
*arg4
= 0 ;
29945 PyObject
* obj0
= 0 ;
29946 PyObject
* obj1
= 0 ;
29947 PyObject
* obj2
= 0 ;
29948 PyObject
* obj3
= 0 ;
29949 char * kwnames
[] = {
29950 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
29953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29955 if (!SWIG_IsOK(res1
)) {
29956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29958 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29961 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29965 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29969 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29973 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
29974 wxPyEndAllowThreads(__tstate
);
29975 if (PyErr_Occurred()) SWIG_fail
;
29977 resultobj
= SWIG_Py_Void();
29984 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29985 PyObject
*resultobj
= 0;
29986 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30001 PyObject
* obj0
= 0 ;
30002 PyObject
* obj1
= 0 ;
30003 PyObject
* obj2
= 0 ;
30004 PyObject
* obj3
= 0 ;
30005 PyObject
* obj4
= 0 ;
30006 char * kwnames
[] = {
30007 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30012 if (!SWIG_IsOK(res1
)) {
30013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30015 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30017 if (!SWIG_IsOK(ecode2
)) {
30018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
30020 arg2
= static_cast< int >(val2
);
30021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30022 if (!SWIG_IsOK(ecode3
)) {
30023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
30025 arg3
= static_cast< int >(val3
);
30026 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30027 if (!SWIG_IsOK(ecode4
)) {
30028 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
30030 arg4
= static_cast< int >(val4
);
30031 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30032 if (!SWIG_IsOK(ecode5
)) {
30033 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
30035 arg5
= static_cast< int >(val5
);
30037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30038 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
30039 wxPyEndAllowThreads(__tstate
);
30040 if (PyErr_Occurred()) SWIG_fail
;
30042 resultobj
= SWIG_Py_Void();
30049 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30050 PyObject
*resultobj
= 0;
30051 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30056 PyObject
* obj0
= 0 ;
30057 PyObject
* obj1
= 0 ;
30058 char * kwnames
[] = {
30059 (char *) "self",(char *) "rect", NULL
30062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30064 if (!SWIG_IsOK(res1
)) {
30065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30067 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30070 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30074 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
30075 wxPyEndAllowThreads(__tstate
);
30076 if (PyErr_Occurred()) SWIG_fail
;
30078 resultobj
= SWIG_Py_Void();
30085 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30086 PyObject
*resultobj
= 0;
30087 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30108 PyObject
* obj0
= 0 ;
30109 PyObject
* obj1
= 0 ;
30110 PyObject
* obj2
= 0 ;
30111 PyObject
* obj3
= 0 ;
30112 PyObject
* obj4
= 0 ;
30113 PyObject
* obj5
= 0 ;
30114 PyObject
* obj6
= 0 ;
30115 char * kwnames
[] = {
30116 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
30119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30121 if (!SWIG_IsOK(res1
)) {
30122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30124 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30126 if (!SWIG_IsOK(ecode2
)) {
30127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
30129 arg2
= static_cast< int >(val2
);
30130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30131 if (!SWIG_IsOK(ecode3
)) {
30132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
30134 arg3
= static_cast< int >(val3
);
30135 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30136 if (!SWIG_IsOK(ecode4
)) {
30137 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
30139 arg4
= static_cast< int >(val4
);
30140 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30141 if (!SWIG_IsOK(ecode5
)) {
30142 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
30144 arg5
= static_cast< int >(val5
);
30145 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30146 if (!SWIG_IsOK(ecode6
)) {
30147 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
30149 arg6
= static_cast< double >(val6
);
30150 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30151 if (!SWIG_IsOK(ecode7
)) {
30152 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
30154 arg7
= static_cast< double >(val7
);
30156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30157 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30158 wxPyEndAllowThreads(__tstate
);
30159 if (PyErr_Occurred()) SWIG_fail
;
30161 resultobj
= SWIG_Py_Void();
30168 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30169 PyObject
*resultobj
= 0;
30170 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30171 wxPoint
*arg2
= 0 ;
30183 PyObject
* obj0
= 0 ;
30184 PyObject
* obj1
= 0 ;
30185 PyObject
* obj2
= 0 ;
30186 PyObject
* obj3
= 0 ;
30187 PyObject
* obj4
= 0 ;
30188 char * kwnames
[] = {
30189 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
30192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30194 if (!SWIG_IsOK(res1
)) {
30195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30197 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30200 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30204 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
30206 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30207 if (!SWIG_IsOK(ecode4
)) {
30208 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
30210 arg4
= static_cast< double >(val4
);
30211 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30212 if (!SWIG_IsOK(ecode5
)) {
30213 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
30215 arg5
= static_cast< double >(val5
);
30217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30218 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
30219 wxPyEndAllowThreads(__tstate
);
30220 if (PyErr_Occurred()) SWIG_fail
;
30222 resultobj
= SWIG_Py_Void();
30229 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30230 PyObject
*resultobj
= 0;
30231 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30240 PyObject
* obj0
= 0 ;
30241 PyObject
* obj1
= 0 ;
30242 PyObject
* obj2
= 0 ;
30243 char * kwnames
[] = {
30244 (char *) "self",(char *) "x",(char *) "y", NULL
30247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30249 if (!SWIG_IsOK(res1
)) {
30250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30252 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30254 if (!SWIG_IsOK(ecode2
)) {
30255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
30257 arg2
= static_cast< int >(val2
);
30258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30259 if (!SWIG_IsOK(ecode3
)) {
30260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
30262 arg3
= static_cast< int >(val3
);
30264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30265 (arg1
)->DrawPoint(arg2
,arg3
);
30266 wxPyEndAllowThreads(__tstate
);
30267 if (PyErr_Occurred()) SWIG_fail
;
30269 resultobj
= SWIG_Py_Void();
30276 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30277 PyObject
*resultobj
= 0;
30278 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30279 wxPoint
*arg2
= 0 ;
30283 PyObject
* obj0
= 0 ;
30284 PyObject
* obj1
= 0 ;
30285 char * kwnames
[] = {
30286 (char *) "self",(char *) "pt", NULL
30289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30291 if (!SWIG_IsOK(res1
)) {
30292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30294 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30297 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30301 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
30302 wxPyEndAllowThreads(__tstate
);
30303 if (PyErr_Occurred()) SWIG_fail
;
30305 resultobj
= SWIG_Py_Void();
30312 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30313 PyObject
*resultobj
= 0;
30314 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30329 PyObject
* obj0
= 0 ;
30330 PyObject
* obj1
= 0 ;
30331 PyObject
* obj2
= 0 ;
30332 PyObject
* obj3
= 0 ;
30333 PyObject
* obj4
= 0 ;
30334 char * kwnames
[] = {
30335 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30340 if (!SWIG_IsOK(res1
)) {
30341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30343 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30345 if (!SWIG_IsOK(ecode2
)) {
30346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
30348 arg2
= static_cast< int >(val2
);
30349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30350 if (!SWIG_IsOK(ecode3
)) {
30351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
30353 arg3
= static_cast< int >(val3
);
30354 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30355 if (!SWIG_IsOK(ecode4
)) {
30356 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
30358 arg4
= static_cast< int >(val4
);
30359 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30360 if (!SWIG_IsOK(ecode5
)) {
30361 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
30363 arg5
= static_cast< int >(val5
);
30365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30366 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30367 wxPyEndAllowThreads(__tstate
);
30368 if (PyErr_Occurred()) SWIG_fail
;
30370 resultobj
= SWIG_Py_Void();
30377 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30378 PyObject
*resultobj
= 0;
30379 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30384 PyObject
* obj0
= 0 ;
30385 PyObject
* obj1
= 0 ;
30386 char * kwnames
[] = {
30387 (char *) "self",(char *) "rect", NULL
30390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30392 if (!SWIG_IsOK(res1
)) {
30393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30395 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30398 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30402 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
30403 wxPyEndAllowThreads(__tstate
);
30404 if (PyErr_Occurred()) SWIG_fail
;
30406 resultobj
= SWIG_Py_Void();
30413 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30414 PyObject
*resultobj
= 0;
30415 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30416 wxPoint
*arg2
= 0 ;
30422 PyObject
* obj0
= 0 ;
30423 PyObject
* obj1
= 0 ;
30424 PyObject
* obj2
= 0 ;
30425 char * kwnames
[] = {
30426 (char *) "self",(char *) "pt",(char *) "sz", NULL
30429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30431 if (!SWIG_IsOK(res1
)) {
30432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30434 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30437 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30441 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
30444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30445 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
30446 wxPyEndAllowThreads(__tstate
);
30447 if (PyErr_Occurred()) SWIG_fail
;
30449 resultobj
= SWIG_Py_Void();
30456 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30457 PyObject
*resultobj
= 0;
30458 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30476 PyObject
* obj0
= 0 ;
30477 PyObject
* obj1
= 0 ;
30478 PyObject
* obj2
= 0 ;
30479 PyObject
* obj3
= 0 ;
30480 PyObject
* obj4
= 0 ;
30481 PyObject
* obj5
= 0 ;
30482 char * kwnames
[] = {
30483 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
30486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30488 if (!SWIG_IsOK(res1
)) {
30489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30491 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30493 if (!SWIG_IsOK(ecode2
)) {
30494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
30496 arg2
= static_cast< int >(val2
);
30497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30498 if (!SWIG_IsOK(ecode3
)) {
30499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
30501 arg3
= static_cast< int >(val3
);
30502 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30503 if (!SWIG_IsOK(ecode4
)) {
30504 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
30506 arg4
= static_cast< int >(val4
);
30507 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30508 if (!SWIG_IsOK(ecode5
)) {
30509 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
30511 arg5
= static_cast< int >(val5
);
30512 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30513 if (!SWIG_IsOK(ecode6
)) {
30514 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
30516 arg6
= static_cast< double >(val6
);
30518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30519 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30520 wxPyEndAllowThreads(__tstate
);
30521 if (PyErr_Occurred()) SWIG_fail
;
30523 resultobj
= SWIG_Py_Void();
30530 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30531 PyObject
*resultobj
= 0;
30532 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30540 PyObject
* obj0
= 0 ;
30541 PyObject
* obj1
= 0 ;
30542 PyObject
* obj2
= 0 ;
30543 char * kwnames
[] = {
30544 (char *) "self",(char *) "r",(char *) "radius", NULL
30547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30549 if (!SWIG_IsOK(res1
)) {
30550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30552 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30555 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30557 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30558 if (!SWIG_IsOK(ecode3
)) {
30559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
30561 arg3
= static_cast< double >(val3
);
30563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30564 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
30565 wxPyEndAllowThreads(__tstate
);
30566 if (PyErr_Occurred()) SWIG_fail
;
30568 resultobj
= SWIG_Py_Void();
30575 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30576 PyObject
*resultobj
= 0;
30577 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30578 wxPoint
*arg2
= 0 ;
30587 PyObject
* obj0
= 0 ;
30588 PyObject
* obj1
= 0 ;
30589 PyObject
* obj2
= 0 ;
30590 PyObject
* obj3
= 0 ;
30591 char * kwnames
[] = {
30592 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
30595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30597 if (!SWIG_IsOK(res1
)) {
30598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30600 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30603 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30607 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
30609 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30610 if (!SWIG_IsOK(ecode4
)) {
30611 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
30613 arg4
= static_cast< double >(val4
);
30615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30616 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
30617 wxPyEndAllowThreads(__tstate
);
30618 if (PyErr_Occurred()) SWIG_fail
;
30620 resultobj
= SWIG_Py_Void();
30627 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30628 PyObject
*resultobj
= 0;
30629 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30641 PyObject
* obj0
= 0 ;
30642 PyObject
* obj1
= 0 ;
30643 PyObject
* obj2
= 0 ;
30644 PyObject
* obj3
= 0 ;
30645 char * kwnames
[] = {
30646 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
30649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30651 if (!SWIG_IsOK(res1
)) {
30652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30654 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30656 if (!SWIG_IsOK(ecode2
)) {
30657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
30659 arg2
= static_cast< int >(val2
);
30660 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30661 if (!SWIG_IsOK(ecode3
)) {
30662 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
30664 arg3
= static_cast< int >(val3
);
30665 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30666 if (!SWIG_IsOK(ecode4
)) {
30667 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
30669 arg4
= static_cast< int >(val4
);
30671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30672 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
30673 wxPyEndAllowThreads(__tstate
);
30674 if (PyErr_Occurred()) SWIG_fail
;
30676 resultobj
= SWIG_Py_Void();
30683 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30684 PyObject
*resultobj
= 0;
30685 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30686 wxPoint
*arg2
= 0 ;
30693 PyObject
* obj0
= 0 ;
30694 PyObject
* obj1
= 0 ;
30695 PyObject
* obj2
= 0 ;
30696 char * kwnames
[] = {
30697 (char *) "self",(char *) "pt",(char *) "radius", NULL
30700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30702 if (!SWIG_IsOK(res1
)) {
30703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30705 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30708 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30710 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30711 if (!SWIG_IsOK(ecode3
)) {
30712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
30714 arg3
= static_cast< int >(val3
);
30716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30717 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
30718 wxPyEndAllowThreads(__tstate
);
30719 if (PyErr_Occurred()) SWIG_fail
;
30721 resultobj
= SWIG_Py_Void();
30728 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30729 PyObject
*resultobj
= 0;
30730 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30745 PyObject
* obj0
= 0 ;
30746 PyObject
* obj1
= 0 ;
30747 PyObject
* obj2
= 0 ;
30748 PyObject
* obj3
= 0 ;
30749 PyObject
* obj4
= 0 ;
30750 char * kwnames
[] = {
30751 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30756 if (!SWIG_IsOK(res1
)) {
30757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30759 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30761 if (!SWIG_IsOK(ecode2
)) {
30762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
30764 arg2
= static_cast< int >(val2
);
30765 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30766 if (!SWIG_IsOK(ecode3
)) {
30767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
30769 arg3
= static_cast< int >(val3
);
30770 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30771 if (!SWIG_IsOK(ecode4
)) {
30772 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
30774 arg4
= static_cast< int >(val4
);
30775 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30776 if (!SWIG_IsOK(ecode5
)) {
30777 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
30779 arg5
= static_cast< int >(val5
);
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30783 wxPyEndAllowThreads(__tstate
);
30784 if (PyErr_Occurred()) SWIG_fail
;
30786 resultobj
= SWIG_Py_Void();
30793 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30794 PyObject
*resultobj
= 0;
30795 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30800 PyObject
* obj0
= 0 ;
30801 PyObject
* obj1
= 0 ;
30802 char * kwnames
[] = {
30803 (char *) "self",(char *) "rect", NULL
30806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30808 if (!SWIG_IsOK(res1
)) {
30809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30811 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30814 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30818 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
30819 wxPyEndAllowThreads(__tstate
);
30820 if (PyErr_Occurred()) SWIG_fail
;
30822 resultobj
= SWIG_Py_Void();
30829 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30830 PyObject
*resultobj
= 0;
30831 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30832 wxPoint
*arg2
= 0 ;
30838 PyObject
* obj0
= 0 ;
30839 PyObject
* obj1
= 0 ;
30840 PyObject
* obj2
= 0 ;
30841 char * kwnames
[] = {
30842 (char *) "self",(char *) "pt",(char *) "sz", NULL
30845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30847 if (!SWIG_IsOK(res1
)) {
30848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30850 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30853 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30857 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
30860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30861 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
30862 wxPyEndAllowThreads(__tstate
);
30863 if (PyErr_Occurred()) SWIG_fail
;
30865 resultobj
= SWIG_Py_Void();
30872 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30873 PyObject
*resultobj
= 0;
30874 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30886 PyObject
* obj0
= 0 ;
30887 PyObject
* obj1
= 0 ;
30888 PyObject
* obj2
= 0 ;
30889 PyObject
* obj3
= 0 ;
30890 char * kwnames
[] = {
30891 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
30894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30896 if (!SWIG_IsOK(res1
)) {
30897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30899 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30900 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30901 if (!SWIG_IsOK(res2
)) {
30902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30907 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30909 if (!SWIG_IsOK(ecode3
)) {
30910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
30912 arg3
= static_cast< int >(val3
);
30913 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30914 if (!SWIG_IsOK(ecode4
)) {
30915 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
30917 arg4
= static_cast< int >(val4
);
30919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30920 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
30921 wxPyEndAllowThreads(__tstate
);
30922 if (PyErr_Occurred()) SWIG_fail
;
30924 resultobj
= SWIG_Py_Void();
30931 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30932 PyObject
*resultobj
= 0;
30933 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30935 wxPoint
*arg3
= 0 ;
30941 PyObject
* obj0
= 0 ;
30942 PyObject
* obj1
= 0 ;
30943 PyObject
* obj2
= 0 ;
30944 char * kwnames
[] = {
30945 (char *) "self",(char *) "icon",(char *) "pt", NULL
30948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30950 if (!SWIG_IsOK(res1
)) {
30951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30953 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30954 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30955 if (!SWIG_IsOK(res2
)) {
30956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
30959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
30961 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30964 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30968 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
30969 wxPyEndAllowThreads(__tstate
);
30970 if (PyErr_Occurred()) SWIG_fail
;
30972 resultobj
= SWIG_Py_Void();
30979 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30980 PyObject
*resultobj
= 0;
30981 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30982 wxBitmap
*arg2
= 0 ;
30985 bool arg5
= (bool) false ;
30996 PyObject
* obj0
= 0 ;
30997 PyObject
* obj1
= 0 ;
30998 PyObject
* obj2
= 0 ;
30999 PyObject
* obj3
= 0 ;
31000 PyObject
* obj4
= 0 ;
31001 char * kwnames
[] = {
31002 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
31005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31007 if (!SWIG_IsOK(res1
)) {
31008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31010 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31011 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31012 if (!SWIG_IsOK(res2
)) {
31013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31018 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31020 if (!SWIG_IsOK(ecode3
)) {
31021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
31023 arg3
= static_cast< int >(val3
);
31024 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31025 if (!SWIG_IsOK(ecode4
)) {
31026 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
31028 arg4
= static_cast< int >(val4
);
31030 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
31031 if (!SWIG_IsOK(ecode5
)) {
31032 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
31034 arg5
= static_cast< bool >(val5
);
31037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31038 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
31039 wxPyEndAllowThreads(__tstate
);
31040 if (PyErr_Occurred()) SWIG_fail
;
31042 resultobj
= SWIG_Py_Void();
31049 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31050 PyObject
*resultobj
= 0;
31051 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31052 wxBitmap
*arg2
= 0 ;
31053 wxPoint
*arg3
= 0 ;
31054 bool arg4
= (bool) false ;
31062 PyObject
* obj0
= 0 ;
31063 PyObject
* obj1
= 0 ;
31064 PyObject
* obj2
= 0 ;
31065 PyObject
* obj3
= 0 ;
31066 char * kwnames
[] = {
31067 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
31070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31072 if (!SWIG_IsOK(res1
)) {
31073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31075 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31076 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31077 if (!SWIG_IsOK(res2
)) {
31078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31083 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31086 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31089 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31090 if (!SWIG_IsOK(ecode4
)) {
31091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
31093 arg4
= static_cast< bool >(val4
);
31096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31097 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
31098 wxPyEndAllowThreads(__tstate
);
31099 if (PyErr_Occurred()) SWIG_fail
;
31101 resultobj
= SWIG_Py_Void();
31108 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31109 PyObject
*resultobj
= 0;
31110 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31111 wxString
*arg2
= 0 ;
31116 bool temp2
= false ;
31121 PyObject
* obj0
= 0 ;
31122 PyObject
* obj1
= 0 ;
31123 PyObject
* obj2
= 0 ;
31124 PyObject
* obj3
= 0 ;
31125 char * kwnames
[] = {
31126 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
31129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31131 if (!SWIG_IsOK(res1
)) {
31132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31134 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31136 arg2
= wxString_in_helper(obj1
);
31137 if (arg2
== NULL
) SWIG_fail
;
31140 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31141 if (!SWIG_IsOK(ecode3
)) {
31142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
31144 arg3
= static_cast< int >(val3
);
31145 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31146 if (!SWIG_IsOK(ecode4
)) {
31147 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
31149 arg4
= static_cast< int >(val4
);
31151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31152 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
31153 wxPyEndAllowThreads(__tstate
);
31154 if (PyErr_Occurred()) SWIG_fail
;
31156 resultobj
= SWIG_Py_Void();
31171 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31172 PyObject
*resultobj
= 0;
31173 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31174 wxString
*arg2
= 0 ;
31175 wxPoint
*arg3
= 0 ;
31178 bool temp2
= false ;
31180 PyObject
* obj0
= 0 ;
31181 PyObject
* obj1
= 0 ;
31182 PyObject
* obj2
= 0 ;
31183 char * kwnames
[] = {
31184 (char *) "self",(char *) "text",(char *) "pt", NULL
31187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31189 if (!SWIG_IsOK(res1
)) {
31190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31192 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31194 arg2
= wxString_in_helper(obj1
);
31195 if (arg2
== NULL
) SWIG_fail
;
31200 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31204 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
31205 wxPyEndAllowThreads(__tstate
);
31206 if (PyErr_Occurred()) SWIG_fail
;
31208 resultobj
= SWIG_Py_Void();
31223 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31224 PyObject
*resultobj
= 0;
31225 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31226 wxString
*arg2
= 0 ;
31232 bool temp2
= false ;
31239 PyObject
* obj0
= 0 ;
31240 PyObject
* obj1
= 0 ;
31241 PyObject
* obj2
= 0 ;
31242 PyObject
* obj3
= 0 ;
31243 PyObject
* obj4
= 0 ;
31244 char * kwnames
[] = {
31245 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
31248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31250 if (!SWIG_IsOK(res1
)) {
31251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31253 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31255 arg2
= wxString_in_helper(obj1
);
31256 if (arg2
== NULL
) SWIG_fail
;
31259 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31260 if (!SWIG_IsOK(ecode3
)) {
31261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
31263 arg3
= static_cast< int >(val3
);
31264 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31265 if (!SWIG_IsOK(ecode4
)) {
31266 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
31268 arg4
= static_cast< int >(val4
);
31269 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31270 if (!SWIG_IsOK(ecode5
)) {
31271 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
31273 arg5
= static_cast< double >(val5
);
31275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31276 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
31277 wxPyEndAllowThreads(__tstate
);
31278 if (PyErr_Occurred()) SWIG_fail
;
31280 resultobj
= SWIG_Py_Void();
31295 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31296 PyObject
*resultobj
= 0;
31297 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31298 wxString
*arg2
= 0 ;
31299 wxPoint
*arg3
= 0 ;
31303 bool temp2
= false ;
31307 PyObject
* obj0
= 0 ;
31308 PyObject
* obj1
= 0 ;
31309 PyObject
* obj2
= 0 ;
31310 PyObject
* obj3
= 0 ;
31311 char * kwnames
[] = {
31312 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
31315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31317 if (!SWIG_IsOK(res1
)) {
31318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31320 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31322 arg2
= wxString_in_helper(obj1
);
31323 if (arg2
== NULL
) SWIG_fail
;
31328 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31330 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31331 if (!SWIG_IsOK(ecode4
)) {
31332 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
31334 arg4
= static_cast< double >(val4
);
31336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31337 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
31338 wxPyEndAllowThreads(__tstate
);
31339 if (PyErr_Occurred()) SWIG_fail
;
31341 resultobj
= SWIG_Py_Void();
31356 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31357 PyObject
*resultobj
= 0;
31358 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31360 wxPoint
*arg3
= (wxPoint
*) 0 ;
31361 int arg4
= (int) 0 ;
31362 int arg5
= (int) 0 ;
31369 PyObject
* obj0
= 0 ;
31370 PyObject
* obj1
= 0 ;
31371 PyObject
* obj2
= 0 ;
31372 PyObject
* obj3
= 0 ;
31373 char * kwnames
[] = {
31374 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
31377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31379 if (!SWIG_IsOK(res1
)) {
31380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31382 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31384 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
31385 if (arg3
== NULL
) SWIG_fail
;
31388 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
31389 if (!SWIG_IsOK(ecode4
)) {
31390 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
31392 arg4
= static_cast< int >(val4
);
31395 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
31396 if (!SWIG_IsOK(ecode5
)) {
31397 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
31399 arg5
= static_cast< int >(val5
);
31402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31403 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
31404 wxPyEndAllowThreads(__tstate
);
31405 if (PyErr_Occurred()) SWIG_fail
;
31407 resultobj
= SWIG_Py_Void();
31409 if (arg3
) delete [] arg3
;
31414 if (arg3
) delete [] arg3
;
31420 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31421 PyObject
*resultobj
= 0;
31422 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31424 wxPoint
*arg3
= (wxPoint
*) 0 ;
31425 int arg4
= (int) 0 ;
31426 int arg5
= (int) 0 ;
31427 int arg6
= (int) wxODDEVEN_RULE
;
31436 PyObject
* obj0
= 0 ;
31437 PyObject
* obj1
= 0 ;
31438 PyObject
* obj2
= 0 ;
31439 PyObject
* obj3
= 0 ;
31440 PyObject
* obj4
= 0 ;
31441 char * kwnames
[] = {
31442 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
31445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31447 if (!SWIG_IsOK(res1
)) {
31448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31450 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31452 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
31453 if (arg3
== NULL
) SWIG_fail
;
31456 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
31457 if (!SWIG_IsOK(ecode4
)) {
31458 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
31460 arg4
= static_cast< int >(val4
);
31463 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
31464 if (!SWIG_IsOK(ecode5
)) {
31465 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
31467 arg5
= static_cast< int >(val5
);
31470 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
31471 if (!SWIG_IsOK(ecode6
)) {
31472 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
31474 arg6
= static_cast< int >(val6
);
31477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31478 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
31479 wxPyEndAllowThreads(__tstate
);
31480 if (PyErr_Occurred()) SWIG_fail
;
31482 resultobj
= SWIG_Py_Void();
31484 if (arg3
) delete [] arg3
;
31489 if (arg3
) delete [] arg3
;
31495 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31496 PyObject
*resultobj
= 0;
31497 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31498 wxString
*arg2
= 0 ;
31500 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
31501 int arg5
= (int) -1 ;
31504 bool temp2
= false ;
31510 PyObject
* obj0
= 0 ;
31511 PyObject
* obj1
= 0 ;
31512 PyObject
* obj2
= 0 ;
31513 PyObject
* obj3
= 0 ;
31514 PyObject
* obj4
= 0 ;
31515 char * kwnames
[] = {
31516 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
31519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31521 if (!SWIG_IsOK(res1
)) {
31522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31524 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31526 arg2
= wxString_in_helper(obj1
);
31527 if (arg2
== NULL
) SWIG_fail
;
31532 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31535 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31536 if (!SWIG_IsOK(ecode4
)) {
31537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
31539 arg4
= static_cast< int >(val4
);
31542 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31543 if (!SWIG_IsOK(ecode5
)) {
31544 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
31546 arg5
= static_cast< int >(val5
);
31549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31550 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
31551 wxPyEndAllowThreads(__tstate
);
31552 if (PyErr_Occurred()) SWIG_fail
;
31554 resultobj
= SWIG_Py_Void();
31569 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31570 PyObject
*resultobj
= 0;
31571 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31572 wxString
*arg2
= 0 ;
31573 wxBitmap
*arg3
= 0 ;
31575 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
31576 int arg6
= (int) -1 ;
31579 bool temp2
= false ;
31587 PyObject
* obj0
= 0 ;
31588 PyObject
* obj1
= 0 ;
31589 PyObject
* obj2
= 0 ;
31590 PyObject
* obj3
= 0 ;
31591 PyObject
* obj4
= 0 ;
31592 PyObject
* obj5
= 0 ;
31593 char * kwnames
[] = {
31594 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
31597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
31598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31599 if (!SWIG_IsOK(res1
)) {
31600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31602 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31604 arg2
= wxString_in_helper(obj1
);
31605 if (arg2
== NULL
) SWIG_fail
;
31608 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31609 if (!SWIG_IsOK(res3
)) {
31610 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31615 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31618 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31621 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31622 if (!SWIG_IsOK(ecode5
)) {
31623 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
31625 arg5
= static_cast< int >(val5
);
31628 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31629 if (!SWIG_IsOK(ecode6
)) {
31630 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
31632 arg6
= static_cast< int >(val6
);
31635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31636 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
31637 wxPyEndAllowThreads(__tstate
);
31638 if (PyErr_Occurred()) SWIG_fail
;
31640 resultobj
= SWIG_Py_Void();
31655 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31656 PyObject
*resultobj
= 0;
31657 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31659 wxPoint
*arg3
= (wxPoint
*) 0 ;
31662 PyObject
* obj0
= 0 ;
31663 PyObject
* obj1
= 0 ;
31664 char * kwnames
[] = {
31665 (char *) "self",(char *) "points", NULL
31668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31670 if (!SWIG_IsOK(res1
)) {
31671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31673 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31675 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
31676 if (arg3
== NULL
) SWIG_fail
;
31679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31680 (arg1
)->DrawSpline(arg2
,arg3
);
31681 wxPyEndAllowThreads(__tstate
);
31682 if (PyErr_Occurred()) SWIG_fail
;
31684 resultobj
= SWIG_Py_Void();
31686 if (arg3
) delete [] arg3
;
31691 if (arg3
) delete [] arg3
;
31697 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31698 PyObject
*resultobj
= 0;
31699 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31702 PyObject
*swig_obj
[1] ;
31704 if (!args
) SWIG_fail
;
31705 swig_obj
[0] = args
;
31706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31707 if (!SWIG_IsOK(res1
)) {
31708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31710 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31714 wxPyEndAllowThreads(__tstate
);
31715 if (PyErr_Occurred()) SWIG_fail
;
31717 resultobj
= SWIG_Py_Void();
31724 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31725 PyObject
*resultobj
= 0;
31726 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31732 PyObject
* obj0
= 0 ;
31733 PyObject
* obj1
= 0 ;
31734 char * kwnames
[] = {
31735 (char *) "self",(char *) "font", NULL
31738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31740 if (!SWIG_IsOK(res1
)) {
31741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31743 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31744 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31745 if (!SWIG_IsOK(res2
)) {
31746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31751 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31754 (arg1
)->SetFont((wxFont
const &)*arg2
);
31755 wxPyEndAllowThreads(__tstate
);
31756 if (PyErr_Occurred()) SWIG_fail
;
31758 resultobj
= SWIG_Py_Void();
31765 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31766 PyObject
*resultobj
= 0;
31767 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31773 PyObject
* obj0
= 0 ;
31774 PyObject
* obj1
= 0 ;
31775 char * kwnames
[] = {
31776 (char *) "self",(char *) "pen", NULL
31779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31781 if (!SWIG_IsOK(res1
)) {
31782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31784 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31785 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
31786 if (!SWIG_IsOK(res2
)) {
31787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
31790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
31792 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31795 (arg1
)->SetPen((wxPen
const &)*arg2
);
31796 wxPyEndAllowThreads(__tstate
);
31797 if (PyErr_Occurred()) SWIG_fail
;
31799 resultobj
= SWIG_Py_Void();
31806 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31807 PyObject
*resultobj
= 0;
31808 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31809 wxBrush
*arg2
= 0 ;
31814 PyObject
* obj0
= 0 ;
31815 PyObject
* obj1
= 0 ;
31816 char * kwnames
[] = {
31817 (char *) "self",(char *) "brush", NULL
31820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31822 if (!SWIG_IsOK(res1
)) {
31823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31825 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31826 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31827 if (!SWIG_IsOK(res2
)) {
31828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31833 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31836 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
31837 wxPyEndAllowThreads(__tstate
);
31838 if (PyErr_Occurred()) SWIG_fail
;
31840 resultobj
= SWIG_Py_Void();
31847 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31848 PyObject
*resultobj
= 0;
31849 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31850 wxBrush
*arg2
= 0 ;
31855 PyObject
* obj0
= 0 ;
31856 PyObject
* obj1
= 0 ;
31857 char * kwnames
[] = {
31858 (char *) "self",(char *) "brush", NULL
31861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31863 if (!SWIG_IsOK(res1
)) {
31864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31866 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31867 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31868 if (!SWIG_IsOK(res2
)) {
31869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
31872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
31874 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31877 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
31878 wxPyEndAllowThreads(__tstate
);
31879 if (PyErr_Occurred()) SWIG_fail
;
31881 resultobj
= SWIG_Py_Void();
31888 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31889 PyObject
*resultobj
= 0;
31890 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31896 PyObject
* obj0
= 0 ;
31897 PyObject
* obj1
= 0 ;
31898 char * kwnames
[] = {
31899 (char *) "self",(char *) "mode", NULL
31902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31904 if (!SWIG_IsOK(res1
)) {
31905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31907 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31909 if (!SWIG_IsOK(ecode2
)) {
31910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
31912 arg2
= static_cast< int >(val2
);
31914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31915 (arg1
)->SetBackgroundMode(arg2
);
31916 wxPyEndAllowThreads(__tstate
);
31917 if (PyErr_Occurred()) SWIG_fail
;
31919 resultobj
= SWIG_Py_Void();
31926 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31927 PyObject
*resultobj
= 0;
31928 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31929 wxPalette
*arg2
= 0 ;
31934 PyObject
* obj0
= 0 ;
31935 PyObject
* obj1
= 0 ;
31936 char * kwnames
[] = {
31937 (char *) "self",(char *) "palette", NULL
31940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31942 if (!SWIG_IsOK(res1
)) {
31943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31945 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31946 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
31947 if (!SWIG_IsOK(res2
)) {
31948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
31951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
31953 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
31955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31956 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
31957 wxPyEndAllowThreads(__tstate
);
31958 if (PyErr_Occurred()) SWIG_fail
;
31960 resultobj
= SWIG_Py_Void();
31967 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31968 PyObject
*resultobj
= 0;
31969 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31970 wxColour
*arg2
= 0 ;
31974 PyObject
* obj0
= 0 ;
31975 PyObject
* obj1
= 0 ;
31976 char * kwnames
[] = {
31977 (char *) "self",(char *) "colour", NULL
31980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31982 if (!SWIG_IsOK(res1
)) {
31983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31985 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31988 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31992 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
31993 wxPyEndAllowThreads(__tstate
);
31994 if (PyErr_Occurred()) SWIG_fail
;
31996 resultobj
= SWIG_Py_Void();
32003 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32004 PyObject
*resultobj
= 0;
32005 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32006 wxColour
*arg2
= 0 ;
32010 PyObject
* obj0
= 0 ;
32011 PyObject
* obj1
= 0 ;
32012 char * kwnames
[] = {
32013 (char *) "self",(char *) "colour", NULL
32016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32018 if (!SWIG_IsOK(res1
)) {
32019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32021 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32024 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32028 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
32029 wxPyEndAllowThreads(__tstate
);
32030 if (PyErr_Occurred()) SWIG_fail
;
32032 resultobj
= SWIG_Py_Void();
32039 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32040 PyObject
*resultobj
= 0;
32041 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32047 PyObject
* obj0
= 0 ;
32048 PyObject
* obj1
= 0 ;
32049 char * kwnames
[] = {
32050 (char *) "self",(char *) "function", NULL
32053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32055 if (!SWIG_IsOK(res1
)) {
32056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32058 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32060 if (!SWIG_IsOK(ecode2
)) {
32061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
32063 arg2
= static_cast< int >(val2
);
32065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32066 (arg1
)->SetLogicalFunction(arg2
);
32067 wxPyEndAllowThreads(__tstate
);
32068 if (PyErr_Occurred()) SWIG_fail
;
32070 resultobj
= SWIG_Py_Void();
32077 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32079 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32080 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
32081 return SWIG_Py_Void();
32084 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32085 return SWIG_Python_InitShadowInstance(args
);
32088 static PyMethodDef SwigMethods
[] = {
32089 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
32090 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
32091 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
32092 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
32093 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
32094 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
32098 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
32099 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
32100 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
32101 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
32102 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
32103 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
32108 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
32112 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
32113 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
32114 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
32116 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
32119 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
32120 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
32121 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
32122 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
32124 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
32125 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
32126 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
32127 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
32128 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
32129 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
32130 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
32137 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
32139 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
32140 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
32144 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
32145 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
32148 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
32152 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
32153 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
32154 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
32155 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
32156 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
32157 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
32158 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
32160 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
32166 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
32168 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
32169 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
32170 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
32171 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
32172 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
32173 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
32174 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
32180 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
32190 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
32191 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
32195 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
32196 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
32197 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
32198 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
32199 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
32200 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
32201 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
32202 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
32203 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
32204 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
32205 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
32206 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
32207 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
32208 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
32209 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
32211 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
32212 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
32218 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
32219 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
32220 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
32221 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
32222 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
32223 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
32224 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
32225 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
32226 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
32227 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
32228 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
32229 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
32231 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
32232 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
32238 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
32239 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
32240 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
32242 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
32243 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
32244 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
32246 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
32247 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
32252 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
32254 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
32255 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
32256 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
32257 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
32263 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
32264 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
32266 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
32267 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
32269 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
32271 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
32272 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
32273 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
32274 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
32277 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
32281 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
32282 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
32284 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
32287 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
32289 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
32290 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
32291 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
32292 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
32297 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
32298 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
32303 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
32304 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32309 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
32310 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
32314 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
32324 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
32327 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
32328 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
32330 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
32331 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
32332 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
32333 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
32334 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
32335 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
32336 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
32337 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
32338 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
32339 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
32340 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
32341 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
32342 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
32343 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
32344 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
32345 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
32346 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
32348 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
32349 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
32350 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
32351 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
32352 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
32353 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
32354 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
32355 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
32365 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
32366 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
32368 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
32369 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
32370 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
32371 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
32372 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
32373 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
32374 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
32375 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
32376 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
32378 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
32379 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
32380 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32381 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
32383 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
32384 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
32385 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32386 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32387 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
32388 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32390 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32392 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
32394 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
32399 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
32400 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
32402 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32403 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32405 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
32408 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32409 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32410 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
32411 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
32412 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
32413 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
32414 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
32415 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
32416 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
32417 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
32418 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
32419 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
32420 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
32421 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
32422 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
32423 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32424 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32430 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32433 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
32435 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
32436 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
32437 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32438 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
32439 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
32440 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
32442 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
32443 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
32444 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
32445 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32446 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32447 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32448 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
32449 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
32450 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32451 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
32452 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
32453 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
32454 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
32455 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
32456 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
32457 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
32458 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
32459 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
32460 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32461 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
32462 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32463 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32464 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
32465 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
32466 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
32467 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
32468 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
32469 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
32470 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
32471 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
32472 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32473 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32474 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32475 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32476 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32477 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32478 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32479 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32480 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32481 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
32482 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
32483 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
32484 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32485 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
32486 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32487 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32488 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32489 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
32490 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
32491 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
32492 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
32493 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
32494 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
32495 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32496 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32497 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32498 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32499 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32500 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
32501 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
32502 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
32503 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32504 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32505 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32506 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32507 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32508 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32509 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32510 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32511 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32512 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32513 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32514 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32515 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32516 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32517 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32518 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32519 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32520 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32521 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32522 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32523 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32524 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32525 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32526 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32527 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32528 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32529 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32530 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32531 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32532 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32533 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32534 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32535 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32536 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32537 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32538 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32539 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32540 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32541 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32542 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32543 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32544 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32545 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32546 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32547 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32548 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32549 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32550 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32551 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
32552 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32553 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
32554 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
32555 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
32556 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32557 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32558 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32559 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32560 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32561 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32562 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
32563 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
32564 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
32565 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
32566 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
32567 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32568 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32569 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32570 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32571 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
32572 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
32573 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
32574 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
32575 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32576 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32577 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32578 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32579 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32580 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32581 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32582 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32583 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
32584 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
32585 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
32586 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
32587 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
32588 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
32589 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
32590 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
32591 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
32592 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
32593 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
32594 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
32595 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32596 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32597 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
32598 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32599 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
32600 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32601 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
32602 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32603 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
32604 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
32605 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32606 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32607 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
32608 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
32609 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32610 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32611 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32612 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
32613 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32614 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
32615 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32616 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32617 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
32618 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
32619 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
32620 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
32621 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
32622 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
32623 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
32624 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32625 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32626 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32627 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32628 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32629 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32630 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
32631 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
32632 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32633 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32634 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
32635 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
32636 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
32637 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
32638 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
32639 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
32640 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
32641 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32642 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
32643 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
32644 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
32645 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32646 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32647 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
32648 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
32649 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
32650 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32651 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
32652 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
32653 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32654 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
32655 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
32656 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32657 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
32658 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
32659 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32660 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
32661 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
32662 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32663 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
32664 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32665 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32666 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
32667 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
32668 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
32669 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32670 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
32671 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
32672 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32673 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
32674 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
32675 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
32676 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
32677 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
32678 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
32679 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32680 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
32681 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
32682 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
32683 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32684 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
32685 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
32686 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32687 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
32688 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32689 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32690 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32691 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32692 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32693 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32694 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32695 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
32696 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32697 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
32698 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32699 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
32700 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
32701 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
32702 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
32703 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
32704 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
32705 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32706 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32707 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32708 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32709 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32710 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
32711 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
32712 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
32713 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
32714 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
32715 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
32716 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32717 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32718 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32719 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
32720 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32721 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32722 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32723 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
32724 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32725 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32726 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32727 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
32728 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
32729 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
32730 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32731 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32732 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32733 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32734 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
32735 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
32736 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
32737 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
32738 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
32739 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
32740 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
32741 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
32742 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
32743 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
32744 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
32745 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
32746 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32747 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32748 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32749 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32750 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32751 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32752 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32753 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32754 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
32755 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
32756 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32757 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
32758 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
32759 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
32760 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
32761 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
32762 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
32763 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
32764 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
32765 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
32766 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
32767 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
32768 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
32769 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
32770 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
32771 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
32772 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
32773 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
32774 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
32775 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
32776 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
32777 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
32778 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
32779 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
32780 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
32781 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32782 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
32783 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32784 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
32785 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
32786 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
32787 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
32788 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32789 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32790 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32791 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32792 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32793 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32794 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32795 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32796 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32797 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32798 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32799 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32800 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
32801 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
32802 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
32803 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32804 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
32805 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
32806 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
32807 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
32808 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
32809 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
32810 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
32811 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
32812 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32813 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32814 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32815 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32816 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32817 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32818 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32819 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32820 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32821 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32822 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32823 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32824 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32825 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32826 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32827 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32828 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32829 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32830 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32831 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32832 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32833 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32834 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32835 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32836 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32837 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32838 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32839 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32840 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32841 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32842 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32843 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32844 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32845 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32846 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32847 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32848 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32849 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32850 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32851 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32852 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32853 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32854 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32855 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32856 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32857 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32858 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32859 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32860 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
32861 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32862 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32863 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32864 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32865 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32866 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32867 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32868 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32869 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32870 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
32871 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
32872 { NULL
, NULL
, 0, NULL
}
32876 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32878 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
32879 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
32881 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
32882 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32884 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
32885 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
32887 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
32888 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
32890 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
32891 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
32893 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
32894 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
32896 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
32897 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
32899 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
32900 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
32902 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
32903 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
32905 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
32906 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
32908 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
32909 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
32911 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
32912 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
32914 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
32915 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
32917 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
32918 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
32920 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
32921 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
32923 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
32924 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
32926 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
32927 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
32929 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
32930 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32932 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
32933 return (void *)((wxDC
*) ((wxClientDC
*) x
));
32935 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
32936 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
32938 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
32939 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
32941 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
32942 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
32944 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
32945 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
32947 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
32948 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
32950 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
32951 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
32953 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
32954 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32956 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32957 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32959 static void *_p_wxPenTo_p_wxObject(void *x
) {
32960 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
32962 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
32963 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
32965 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32966 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32968 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32969 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32971 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32972 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32974 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32975 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32977 static void *_p_wxIconTo_p_wxObject(void *x
) {
32978 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
32980 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32981 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32983 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32984 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32986 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32987 return (void *)((wxObject
*) ((wxSizer
*) x
));
32989 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32990 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32992 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32993 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32995 static void *_p_wxEventTo_p_wxObject(void *x
) {
32996 return (void *)((wxObject
*) ((wxEvent
*) x
));
32998 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32999 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33001 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33002 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33004 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33005 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33007 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
33008 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
33010 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
33011 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33013 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33014 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33016 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33017 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33019 static void *_p_wxDCTo_p_wxObject(void *x
) {
33020 return (void *)((wxObject
*) ((wxDC
*) x
));
33022 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33023 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33025 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33026 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33028 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33029 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33031 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33032 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33034 static void *_p_wxControlTo_p_wxObject(void *x
) {
33035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33037 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33038 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33040 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
33041 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
33043 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33044 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33046 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
33047 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
33049 static void *_p_wxRegionTo_p_wxObject(void *x
) {
33050 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
33052 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33053 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33055 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
33056 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
33058 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
33059 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
33061 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
33062 return (void *)((wxObject
*) ((wxEffects
*) x
));
33064 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33065 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33067 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33068 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33070 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
33071 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
33073 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33074 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33076 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33077 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33079 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
33080 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
33082 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33083 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33085 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33086 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33088 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33089 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33091 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33092 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33094 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33095 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33097 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33098 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33100 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33101 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33103 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33104 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33106 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33107 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33109 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33110 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33112 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33113 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33115 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33116 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33118 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33119 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33121 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33122 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33124 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33125 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33127 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33128 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33130 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33131 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33133 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
33134 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
33136 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33137 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33139 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33140 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33142 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33143 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33145 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33146 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33148 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
33149 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
33151 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
33152 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
33154 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
33155 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
33157 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
33158 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
33160 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
33161 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
33163 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
33164 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
33166 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33167 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33169 static void *_p_wxImageTo_p_wxObject(void *x
) {
33170 return (void *)((wxObject
*) ((wxImage
*) x
));
33172 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33173 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33175 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
33176 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
33178 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
33179 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
33181 static void *_p_wxImageListTo_p_wxObject(void *x
) {
33182 return (void *)((wxObject
*) ((wxImageList
*) x
));
33184 static void *_p_wxCursorTo_p_wxObject(void *x
) {
33185 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
33187 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
33188 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
33190 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
33191 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
33193 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33194 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33196 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33197 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33199 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33200 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33202 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33203 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33205 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33206 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33208 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33211 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
33212 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
33214 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33215 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33217 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
33218 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
33220 static void *_p_wxMaskTo_p_wxObject(void *x
) {
33221 return (void *)((wxObject
*) ((wxMask
*) x
));
33223 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33224 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33226 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33227 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33229 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33230 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33232 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33233 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33235 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33236 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33238 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33239 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33241 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33242 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33244 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33245 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33247 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33248 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33250 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33251 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33253 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33254 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33256 static void *_p_wxFontTo_p_wxObject(void *x
) {
33257 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
33259 static void *_p_wxBrushTo_p_wxObject(void *x
) {
33260 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
33262 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
33263 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
33265 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33266 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33268 static void *_p_wxColourTo_p_wxObject(void *x
) {
33269 return (void *)((wxObject
*) ((wxColour
*) x
));
33271 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33274 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33275 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33277 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33278 return (void *)((wxWindow
*) ((wxControl
*) x
));
33280 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33281 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33283 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33284 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33286 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
33287 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
33289 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
33290 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
33292 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
33293 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33294 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
33295 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};
33296 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33297 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33298 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33299 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33300 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
33301 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
33302 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33303 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
33304 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
33305 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
33306 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
33307 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
33308 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
33309 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33310 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
33311 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
33312 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33313 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
33314 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33315 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
33316 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
33317 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33318 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
33319 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
33320 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
33321 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
33322 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
33323 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33324 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33325 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
33326 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
33327 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
33328 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
33329 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
33330 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
33331 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
33332 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
33333 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
33334 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
33335 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
33336 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
33337 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
33338 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
33339 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33340 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33341 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33342 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33343 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33344 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33345 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33346 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33347 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33348 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33349 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33350 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
33351 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
33352 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33353 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33354 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33355 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33356 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33357 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33358 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33359 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33360 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33361 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33362 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33363 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33364 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33365 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33366 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33367 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
33368 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33369 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33370 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33371 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33372 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33373 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33374 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33375 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33376 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33377 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33378 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33379 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33380 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33381 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33382 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33383 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33384 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33385 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33386 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33387 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
33388 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33389 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33390 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33391 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33392 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33393 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33394 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
33395 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33396 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
33397 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33398 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33399 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33400 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
33401 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
33402 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33403 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33404 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33405 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33406 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33407 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33408 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33409 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
33410 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33411 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33412 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33413 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33414 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33415 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
33416 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
33417 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
33418 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33419 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
33420 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
33421 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
33422 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33423 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
33424 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33425 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
33426 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
33427 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
33428 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
33429 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33430 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33431 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
33432 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
33433 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
33434 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
33435 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33436 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
33437 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
33438 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33439 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33440 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
33442 static swig_type_info
*swig_type_initial
[] = {
33446 &_swigt__p_form_ops_t
,
33448 &_swigt__p_unsigned_char
,
33449 &_swigt__p_unsigned_int
,
33450 &_swigt__p_unsigned_long
,
33451 &_swigt__p_wxANIHandler
,
33452 &_swigt__p_wxAcceleratorTable
,
33453 &_swigt__p_wxActivateEvent
,
33454 &_swigt__p_wxAlphaPixelData
,
33455 &_swigt__p_wxAlphaPixelData_Accessor
,
33456 &_swigt__p_wxBMPHandler
,
33457 &_swigt__p_wxBitmap
,
33458 &_swigt__p_wxBoxSizer
,
33459 &_swigt__p_wxBrush
,
33460 &_swigt__p_wxBrushList
,
33461 &_swigt__p_wxBufferedDC
,
33462 &_swigt__p_wxBufferedPaintDC
,
33463 &_swigt__p_wxCURHandler
,
33465 &_swigt__p_wxChildFocusEvent
,
33466 &_swigt__p_wxClientDC
,
33467 &_swigt__p_wxClipboardTextEvent
,
33468 &_swigt__p_wxCloseEvent
,
33469 &_swigt__p_wxColour
,
33470 &_swigt__p_wxColourDatabase
,
33471 &_swigt__p_wxCommandEvent
,
33472 &_swigt__p_wxContextMenuEvent
,
33473 &_swigt__p_wxControl
,
33474 &_swigt__p_wxControlWithItems
,
33475 &_swigt__p_wxCursor
,
33478 &_swigt__p_wxDateEvent
,
33479 &_swigt__p_wxDisplayChangedEvent
,
33480 &_swigt__p_wxDropFilesEvent
,
33481 &_swigt__p_wxDuplexMode
,
33482 &_swigt__p_wxEffects
,
33483 &_swigt__p_wxEncodingConverter
,
33484 &_swigt__p_wxEraseEvent
,
33485 &_swigt__p_wxEvent
,
33486 &_swigt__p_wxEvtHandler
,
33487 &_swigt__p_wxFSFile
,
33488 &_swigt__p_wxFileSystem
,
33489 &_swigt__p_wxFlexGridSizer
,
33490 &_swigt__p_wxFocusEvent
,
33492 &_swigt__p_wxFontList
,
33493 &_swigt__p_wxFontMapper
,
33494 &_swigt__p_wxGBSizerItem
,
33495 &_swigt__p_wxGDIObjListBase
,
33496 &_swigt__p_wxGDIObject
,
33497 &_swigt__p_wxGIFHandler
,
33498 &_swigt__p_wxGridBagSizer
,
33499 &_swigt__p_wxGridSizer
,
33500 &_swigt__p_wxHeaderButtonParams
,
33501 &_swigt__p_wxICOHandler
,
33503 &_swigt__p_wxIconBundle
,
33504 &_swigt__p_wxIconLocation
,
33505 &_swigt__p_wxIconizeEvent
,
33506 &_swigt__p_wxIdleEvent
,
33507 &_swigt__p_wxImage
,
33508 &_swigt__p_wxImageHandler
,
33509 &_swigt__p_wxImageList
,
33510 &_swigt__p_wxIndividualLayoutConstraint
,
33511 &_swigt__p_wxInitDialogEvent
,
33512 &_swigt__p_wxJPEGHandler
,
33513 &_swigt__p_wxKeyEvent
,
33514 &_swigt__p_wxLanguageInfo
,
33515 &_swigt__p_wxLayoutConstraints
,
33516 &_swigt__p_wxLocale
,
33518 &_swigt__p_wxMaximizeEvent
,
33519 &_swigt__p_wxMemoryDC
,
33521 &_swigt__p_wxMenuBar
,
33522 &_swigt__p_wxMenuEvent
,
33523 &_swigt__p_wxMenuItem
,
33524 &_swigt__p_wxMetaFile
,
33525 &_swigt__p_wxMetaFileDC
,
33526 &_swigt__p_wxMirrorDC
,
33527 &_swigt__p_wxMouseCaptureChangedEvent
,
33528 &_swigt__p_wxMouseCaptureLostEvent
,
33529 &_swigt__p_wxMouseEvent
,
33530 &_swigt__p_wxMoveEvent
,
33531 &_swigt__p_wxNativeEncodingInfo
,
33532 &_swigt__p_wxNativeFontInfo
,
33533 &_swigt__p_wxNativePixelData
,
33534 &_swigt__p_wxNativePixelData_Accessor
,
33535 &_swigt__p_wxNavigationKeyEvent
,
33536 &_swigt__p_wxNcPaintEvent
,
33537 &_swigt__p_wxNotifyEvent
,
33538 &_swigt__p_wxObject
,
33539 &_swigt__p_wxPCXHandler
,
33540 &_swigt__p_wxPNGHandler
,
33541 &_swigt__p_wxPNMHandler
,
33542 &_swigt__p_wxPaintDC
,
33543 &_swigt__p_wxPaintEvent
,
33544 &_swigt__p_wxPalette
,
33545 &_swigt__p_wxPaletteChangedEvent
,
33546 &_swigt__p_wxPaperSize
,
33548 &_swigt__p_wxPenList
,
33549 &_swigt__p_wxPixelDataBase
,
33550 &_swigt__p_wxPoint
,
33551 &_swigt__p_wxPostScriptDC
,
33552 &_swigt__p_wxPrintData
,
33553 &_swigt__p_wxPrinterDC
,
33554 &_swigt__p_wxPseudoDC
,
33555 &_swigt__p_wxPyApp
,
33556 &_swigt__p_wxPyCommandEvent
,
33557 &_swigt__p_wxPyEvent
,
33558 &_swigt__p_wxPyFontEnumerator
,
33559 &_swigt__p_wxPyImageHandler
,
33560 &_swigt__p_wxPyLocale
,
33561 &_swigt__p_wxPySizer
,
33562 &_swigt__p_wxPyValidator
,
33563 &_swigt__p_wxQueryNewPaletteEvent
,
33565 &_swigt__p_wxRegion
,
33566 &_swigt__p_wxRegionIterator
,
33567 &_swigt__p_wxRendererNative
,
33568 &_swigt__p_wxRendererVersion
,
33569 &_swigt__p_wxScreenDC
,
33570 &_swigt__p_wxScrollEvent
,
33571 &_swigt__p_wxScrollWinEvent
,
33572 &_swigt__p_wxSetCursorEvent
,
33573 &_swigt__p_wxShowEvent
,
33575 &_swigt__p_wxSizeEvent
,
33576 &_swigt__p_wxSizer
,
33577 &_swigt__p_wxSizerItem
,
33578 &_swigt__p_wxSplitterRenderParams
,
33579 &_swigt__p_wxStaticBoxSizer
,
33580 &_swigt__p_wxStdDialogButtonSizer
,
33581 &_swigt__p_wxStockGDI
,
33582 &_swigt__p_wxString
,
33583 &_swigt__p_wxSysColourChangedEvent
,
33584 &_swigt__p_wxTIFFHandler
,
33585 &_swigt__p_wxUpdateUIEvent
,
33586 &_swigt__p_wxValidator
,
33587 &_swigt__p_wxWindow
,
33588 &_swigt__p_wxWindowCreateEvent
,
33589 &_swigt__p_wxWindowDC
,
33590 &_swigt__p_wxWindowDestroyEvent
,
33591 &_swigt__p_wxXPMHandler
,
33594 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
33595 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33596 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
33597 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33598 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33599 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33600 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33601 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33602 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
33603 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
33604 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33605 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
33606 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
33607 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}};
33608 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
33609 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
33610 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
33611 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33612 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
33613 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
33614 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}};
33615 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
33616 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33617 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
33618 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
33619 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33620 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
33621 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
33622 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}};
33623 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}};
33624 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
33625 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33626 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33627 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
33628 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33629 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
33630 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
33631 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}};
33632 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
33633 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}};
33634 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
33635 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
33636 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
33637 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
33638 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
33639 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
33640 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
33641 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33642 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33643 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33644 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33645 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33646 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33647 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33648 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33649 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33650 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33651 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33652 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
33653 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33654 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33655 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33656 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33657 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33658 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33659 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33660 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33661 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33662 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33663 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33664 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33665 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33666 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33667 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33668 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33669 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33670 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33671 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33672 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33673 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33674 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33675 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33676 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33677 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33678 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33679 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33680 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33681 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33682 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33683 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33684 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33685 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33686 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33687 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33688 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
33689 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33690 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33691 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33692 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33693 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33694 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33695 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33696 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33697 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33698 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33699 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33700 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33701 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33702 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33703 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33704 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33705 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33706 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33707 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33708 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33709 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33710 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33711 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33712 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33713 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33714 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33715 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33716 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33717 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}};
33718 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
33719 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
33720 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33721 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
33722 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
33723 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}};
33724 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33725 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
33726 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33727 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
33728 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
33729 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
33730 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
33731 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33732 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33733 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
33734 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
33735 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
33736 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
33737 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33738 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
33739 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
33740 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33741 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}};
33742 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
33744 static swig_cast_info
*swig_cast_initial
[] = {
33748 _swigc__p_form_ops_t
,
33750 _swigc__p_unsigned_char
,
33751 _swigc__p_unsigned_int
,
33752 _swigc__p_unsigned_long
,
33753 _swigc__p_wxANIHandler
,
33754 _swigc__p_wxAcceleratorTable
,
33755 _swigc__p_wxActivateEvent
,
33756 _swigc__p_wxAlphaPixelData
,
33757 _swigc__p_wxAlphaPixelData_Accessor
,
33758 _swigc__p_wxBMPHandler
,
33759 _swigc__p_wxBitmap
,
33760 _swigc__p_wxBoxSizer
,
33762 _swigc__p_wxBrushList
,
33763 _swigc__p_wxBufferedDC
,
33764 _swigc__p_wxBufferedPaintDC
,
33765 _swigc__p_wxCURHandler
,
33767 _swigc__p_wxChildFocusEvent
,
33768 _swigc__p_wxClientDC
,
33769 _swigc__p_wxClipboardTextEvent
,
33770 _swigc__p_wxCloseEvent
,
33771 _swigc__p_wxColour
,
33772 _swigc__p_wxColourDatabase
,
33773 _swigc__p_wxCommandEvent
,
33774 _swigc__p_wxContextMenuEvent
,
33775 _swigc__p_wxControl
,
33776 _swigc__p_wxControlWithItems
,
33777 _swigc__p_wxCursor
,
33780 _swigc__p_wxDateEvent
,
33781 _swigc__p_wxDisplayChangedEvent
,
33782 _swigc__p_wxDropFilesEvent
,
33783 _swigc__p_wxDuplexMode
,
33784 _swigc__p_wxEffects
,
33785 _swigc__p_wxEncodingConverter
,
33786 _swigc__p_wxEraseEvent
,
33788 _swigc__p_wxEvtHandler
,
33789 _swigc__p_wxFSFile
,
33790 _swigc__p_wxFileSystem
,
33791 _swigc__p_wxFlexGridSizer
,
33792 _swigc__p_wxFocusEvent
,
33794 _swigc__p_wxFontList
,
33795 _swigc__p_wxFontMapper
,
33796 _swigc__p_wxGBSizerItem
,
33797 _swigc__p_wxGDIObjListBase
,
33798 _swigc__p_wxGDIObject
,
33799 _swigc__p_wxGIFHandler
,
33800 _swigc__p_wxGridBagSizer
,
33801 _swigc__p_wxGridSizer
,
33802 _swigc__p_wxHeaderButtonParams
,
33803 _swigc__p_wxICOHandler
,
33805 _swigc__p_wxIconBundle
,
33806 _swigc__p_wxIconLocation
,
33807 _swigc__p_wxIconizeEvent
,
33808 _swigc__p_wxIdleEvent
,
33810 _swigc__p_wxImageHandler
,
33811 _swigc__p_wxImageList
,
33812 _swigc__p_wxIndividualLayoutConstraint
,
33813 _swigc__p_wxInitDialogEvent
,
33814 _swigc__p_wxJPEGHandler
,
33815 _swigc__p_wxKeyEvent
,
33816 _swigc__p_wxLanguageInfo
,
33817 _swigc__p_wxLayoutConstraints
,
33818 _swigc__p_wxLocale
,
33820 _swigc__p_wxMaximizeEvent
,
33821 _swigc__p_wxMemoryDC
,
33823 _swigc__p_wxMenuBar
,
33824 _swigc__p_wxMenuEvent
,
33825 _swigc__p_wxMenuItem
,
33826 _swigc__p_wxMetaFile
,
33827 _swigc__p_wxMetaFileDC
,
33828 _swigc__p_wxMirrorDC
,
33829 _swigc__p_wxMouseCaptureChangedEvent
,
33830 _swigc__p_wxMouseCaptureLostEvent
,
33831 _swigc__p_wxMouseEvent
,
33832 _swigc__p_wxMoveEvent
,
33833 _swigc__p_wxNativeEncodingInfo
,
33834 _swigc__p_wxNativeFontInfo
,
33835 _swigc__p_wxNativePixelData
,
33836 _swigc__p_wxNativePixelData_Accessor
,
33837 _swigc__p_wxNavigationKeyEvent
,
33838 _swigc__p_wxNcPaintEvent
,
33839 _swigc__p_wxNotifyEvent
,
33840 _swigc__p_wxObject
,
33841 _swigc__p_wxPCXHandler
,
33842 _swigc__p_wxPNGHandler
,
33843 _swigc__p_wxPNMHandler
,
33844 _swigc__p_wxPaintDC
,
33845 _swigc__p_wxPaintEvent
,
33846 _swigc__p_wxPalette
,
33847 _swigc__p_wxPaletteChangedEvent
,
33848 _swigc__p_wxPaperSize
,
33850 _swigc__p_wxPenList
,
33851 _swigc__p_wxPixelDataBase
,
33853 _swigc__p_wxPostScriptDC
,
33854 _swigc__p_wxPrintData
,
33855 _swigc__p_wxPrinterDC
,
33856 _swigc__p_wxPseudoDC
,
33858 _swigc__p_wxPyCommandEvent
,
33859 _swigc__p_wxPyEvent
,
33860 _swigc__p_wxPyFontEnumerator
,
33861 _swigc__p_wxPyImageHandler
,
33862 _swigc__p_wxPyLocale
,
33863 _swigc__p_wxPySizer
,
33864 _swigc__p_wxPyValidator
,
33865 _swigc__p_wxQueryNewPaletteEvent
,
33867 _swigc__p_wxRegion
,
33868 _swigc__p_wxRegionIterator
,
33869 _swigc__p_wxRendererNative
,
33870 _swigc__p_wxRendererVersion
,
33871 _swigc__p_wxScreenDC
,
33872 _swigc__p_wxScrollEvent
,
33873 _swigc__p_wxScrollWinEvent
,
33874 _swigc__p_wxSetCursorEvent
,
33875 _swigc__p_wxShowEvent
,
33877 _swigc__p_wxSizeEvent
,
33879 _swigc__p_wxSizerItem
,
33880 _swigc__p_wxSplitterRenderParams
,
33881 _swigc__p_wxStaticBoxSizer
,
33882 _swigc__p_wxStdDialogButtonSizer
,
33883 _swigc__p_wxStockGDI
,
33884 _swigc__p_wxString
,
33885 _swigc__p_wxSysColourChangedEvent
,
33886 _swigc__p_wxTIFFHandler
,
33887 _swigc__p_wxUpdateUIEvent
,
33888 _swigc__p_wxValidator
,
33889 _swigc__p_wxWindow
,
33890 _swigc__p_wxWindowCreateEvent
,
33891 _swigc__p_wxWindowDC
,
33892 _swigc__p_wxWindowDestroyEvent
,
33893 _swigc__p_wxXPMHandler
,
33897 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33899 static swig_const_info swig_const_table
[] = {
33900 {0, 0, 0, 0.0, 0, 0}};
33905 /* -----------------------------------------------------------------------------
33906 * Type initialization:
33907 * This problem is tough by the requirement that no dynamic
33908 * memory is used. Also, since swig_type_info structures store pointers to
33909 * swig_cast_info structures and swig_cast_info structures store pointers back
33910 * to swig_type_info structures, we need some lookup code at initialization.
33911 * The idea is that swig generates all the structures that are needed.
33912 * The runtime then collects these partially filled structures.
33913 * The SWIG_InitializeModule function takes these initial arrays out of
33914 * swig_module, and does all the lookup, filling in the swig_module.types
33915 * array with the correct data and linking the correct swig_cast_info
33916 * structures together.
33918 * The generated swig_type_info structures are assigned staticly to an initial
33919 * array. We just loop though that array, and handle each type individually.
33920 * First we lookup if this type has been already loaded, and if so, use the
33921 * loaded structure instead of the generated one. Then we have to fill in the
33922 * cast linked list. The cast data is initially stored in something like a
33923 * two-dimensional array. Each row corresponds to a type (there are the same
33924 * number of rows as there are in the swig_type_initial array). Each entry in
33925 * a column is one of the swig_cast_info structures for that type.
33926 * The cast_initial array is actually an array of arrays, because each row has
33927 * a variable number of columns. So to actually build the cast linked list,
33928 * we find the array of casts associated with the type, and loop through it
33929 * adding the casts to the list. The one last trick we need to do is making
33930 * sure the type pointer in the swig_cast_info struct is correct.
33932 * First off, we lookup the cast->type name to see if it is already loaded.
33933 * There are three cases to handle:
33934 * 1) If the cast->type has already been loaded AND the type we are adding
33935 * casting info to has not been loaded (it is in this module), THEN we
33936 * replace the cast->type pointer with the type pointer that has already
33938 * 2) If BOTH types (the one we are adding casting info to, and the
33939 * cast->type) are loaded, THEN the cast info has already been loaded by
33940 * the previous module so we just ignore it.
33941 * 3) Finally, if cast->type has not already been loaded, then we add that
33942 * swig_cast_info to the linked list (because the cast->type) pointer will
33944 * ----------------------------------------------------------------------------- */
33954 #define SWIGRUNTIME_DEBUG
33958 SWIG_InitializeModule(void *clientdata
) {
33960 swig_module_info
*module_head
;
33961 static int init_run
= 0;
33963 clientdata
= clientdata
;
33965 if (init_run
) return;
33968 /* Initialize the swig_module */
33969 swig_module
.type_initial
= swig_type_initial
;
33970 swig_module
.cast_initial
= swig_cast_initial
;
33972 /* Try and load any already created modules */
33973 module_head
= SWIG_GetModule(clientdata
);
33975 swig_module
.next
= module_head
->next
;
33976 module_head
->next
= &swig_module
;
33978 /* This is the first module loaded */
33979 swig_module
.next
= &swig_module
;
33980 SWIG_SetModule(clientdata
, &swig_module
);
33983 /* Now work on filling in swig_module.types */
33984 #ifdef SWIGRUNTIME_DEBUG
33985 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33987 for (i
= 0; i
< swig_module
.size
; ++i
) {
33988 swig_type_info
*type
= 0;
33989 swig_type_info
*ret
;
33990 swig_cast_info
*cast
;
33992 #ifdef SWIGRUNTIME_DEBUG
33993 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33996 /* if there is another module already loaded */
33997 if (swig_module
.next
!= &swig_module
) {
33998 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34001 /* Overwrite clientdata field */
34002 #ifdef SWIGRUNTIME_DEBUG
34003 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34005 if (swig_module
.type_initial
[i
]->clientdata
) {
34006 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34007 #ifdef SWIGRUNTIME_DEBUG
34008 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34012 type
= swig_module
.type_initial
[i
];
34015 /* Insert casting types */
34016 cast
= swig_module
.cast_initial
[i
];
34017 while (cast
->type
) {
34018 /* Don't need to add information already in the list */
34020 #ifdef SWIGRUNTIME_DEBUG
34021 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34023 if (swig_module
.next
!= &swig_module
) {
34024 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34025 #ifdef SWIGRUNTIME_DEBUG
34026 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34030 if (type
== swig_module
.type_initial
[i
]) {
34031 #ifdef SWIGRUNTIME_DEBUG
34032 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34037 /* Check for casting already in the list */
34038 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34039 #ifdef SWIGRUNTIME_DEBUG
34040 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34042 if (!ocast
) ret
= 0;
34047 #ifdef SWIGRUNTIME_DEBUG
34048 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34051 type
->cast
->prev
= cast
;
34052 cast
->next
= type
->cast
;
34058 /* Set entry in modules->types array equal to the type */
34059 swig_module
.types
[i
] = type
;
34061 swig_module
.types
[i
] = 0;
34063 #ifdef SWIGRUNTIME_DEBUG
34064 printf("**** SWIG_InitializeModule: Cast List ******\n");
34065 for (i
= 0; i
< swig_module
.size
; ++i
) {
34067 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34068 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34069 while (cast
->type
) {
34070 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34074 printf("---- Total casts: %d\n",j
);
34076 printf("**** SWIG_InitializeModule: Cast List ******\n");
34080 /* This function will propagate the clientdata field of type to
34081 * any new swig_type_info structures that have been added into the list
34082 * of equivalent types. It is like calling
34083 * SWIG_TypeClientData(type, clientdata) a second time.
34086 SWIG_PropagateClientData(void) {
34088 swig_cast_info
*equiv
;
34089 static int init_run
= 0;
34091 if (init_run
) return;
34094 for (i
= 0; i
< swig_module
.size
; i
++) {
34095 if (swig_module
.types
[i
]->clientdata
) {
34096 equiv
= swig_module
.types
[i
]->cast
;
34098 if (!equiv
->converter
) {
34099 if (equiv
->type
&& !equiv
->type
->clientdata
)
34100 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34102 equiv
= equiv
->next
;
34122 /* Python-specific SWIG API */
34123 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34124 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34125 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34127 /* -----------------------------------------------------------------------------
34128 * global variable support code.
34129 * ----------------------------------------------------------------------------- */
34131 typedef struct swig_globalvar
{
34132 char *name
; /* Name of global variable */
34133 PyObject
*(*get_attr
)(void); /* Return the current value */
34134 int (*set_attr
)(PyObject
*); /* Set the value */
34135 struct swig_globalvar
*next
;
34138 typedef struct swig_varlinkobject
{
34140 swig_globalvar
*vars
;
34141 } swig_varlinkobject
;
34143 SWIGINTERN PyObject
*
34144 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34145 return PyString_FromString("<Swig global variables>");
34148 SWIGINTERN PyObject
*
34149 swig_varlink_str(swig_varlinkobject
*v
) {
34150 PyObject
*str
= PyString_FromString("(");
34151 swig_globalvar
*var
;
34152 for (var
= v
->vars
; var
; var
=var
->next
) {
34153 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34154 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34156 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34161 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34162 PyObject
*str
= swig_varlink_str(v
);
34163 fprintf(fp
,"Swig global variables ");
34164 fprintf(fp
,"%s\n", PyString_AsString(str
));
34170 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34171 swig_globalvar
*var
= v
->vars
;
34173 swig_globalvar
*n
= var
->next
;
34180 SWIGINTERN PyObject
*
34181 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34182 PyObject
*res
= NULL
;
34183 swig_globalvar
*var
= v
->vars
;
34185 if (strcmp(var
->name
,n
) == 0) {
34186 res
= (*var
->get_attr
)();
34191 if (res
== NULL
&& !PyErr_Occurred()) {
34192 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34198 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34200 swig_globalvar
*var
= v
->vars
;
34202 if (strcmp(var
->name
,n
) == 0) {
34203 res
= (*var
->set_attr
)(p
);
34208 if (res
== 1 && !PyErr_Occurred()) {
34209 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34214 SWIGINTERN PyTypeObject
*
34215 swig_varlink_type(void) {
34216 static char varlink__doc__
[] = "Swig var link object";
34217 static PyTypeObject varlink_type
;
34218 static int type_init
= 0;
34220 const PyTypeObject tmp
34222 PyObject_HEAD_INIT(NULL
)
34223 0, /* Number of items in variable part (ob_size) */
34224 (char *)"swigvarlink", /* Type name (tp_name) */
34225 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34226 0, /* Itemsize (tp_itemsize) */
34227 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34228 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34229 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34230 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34231 0, /* tp_compare */
34232 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34233 0, /* tp_as_number */
34234 0, /* tp_as_sequence */
34235 0, /* tp_as_mapping */
34238 (reprfunc
)swig_varlink_str
, /* tp_str */
34239 0, /* tp_getattro */
34240 0, /* tp_setattro */
34241 0, /* tp_as_buffer */
34243 varlink__doc__
, /* tp_doc */
34244 0, /* tp_traverse */
34246 0, /* tp_richcompare */
34247 0, /* tp_weaklistoffset */
34248 #if PY_VERSION_HEX >= 0x02020000
34249 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34251 #if PY_VERSION_HEX >= 0x02030000
34254 #ifdef COUNT_ALLOCS
34255 0,0,0,0 /* tp_alloc -> tp_next */
34258 varlink_type
= tmp
;
34259 varlink_type
.ob_type
= &PyType_Type
;
34262 return &varlink_type
;
34265 /* Create a variable linking object for use later */
34266 SWIGINTERN PyObject
*
34267 SWIG_Python_newvarlink(void) {
34268 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34272 return ((PyObject
*) result
);
34276 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34277 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34278 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34280 size_t size
= strlen(name
)+1;
34281 gv
->name
= (char *)malloc(size
);
34283 strncpy(gv
->name
,name
,size
);
34284 gv
->get_attr
= get_attr
;
34285 gv
->set_attr
= set_attr
;
34286 gv
->next
= v
->vars
;
34292 SWIGINTERN PyObject
*
34294 static PyObject
*_SWIG_globals
= 0;
34295 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34296 return _SWIG_globals
;
34299 /* -----------------------------------------------------------------------------
34300 * constants/methods manipulation
34301 * ----------------------------------------------------------------------------- */
34303 /* Install Constants */
34305 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34308 for (i
= 0; constants
[i
].type
; ++i
) {
34309 switch(constants
[i
].type
) {
34310 case SWIG_PY_POINTER
:
34311 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34313 case SWIG_PY_BINARY
:
34314 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34321 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34327 /* -----------------------------------------------------------------------------*/
34328 /* Fix SwigMethods to carry the callback ptrs when needed */
34329 /* -----------------------------------------------------------------------------*/
34332 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34333 swig_const_info
*const_table
,
34334 swig_type_info
**types
,
34335 swig_type_info
**types_initial
) {
34337 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34338 const char *c
= methods
[i
].ml_doc
;
34339 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34341 swig_const_info
*ci
= 0;
34342 const char *name
= c
+ 10;
34343 for (j
= 0; const_table
[j
].type
; ++j
) {
34344 if (strncmp(const_table
[j
].name
, name
,
34345 strlen(const_table
[j
].name
)) == 0) {
34346 ci
= &(const_table
[j
]);
34351 size_t shift
= (ci
->ptype
) - types
;
34352 swig_type_info
*ty
= types_initial
[shift
];
34353 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34354 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34355 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34358 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34360 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34362 strncpy(buff
, "swig_ptr: ", 10);
34364 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34365 methods
[i
].ml_doc
= ndoc
;
34377 /* -----------------------------------------------------------------------------*
34378 * Partial Init method
34379 * -----------------------------------------------------------------------------*/
34384 SWIGEXPORT
void SWIG_init(void) {
34387 /* Fix SwigMethods to carry the callback ptrs when needed */
34388 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34390 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34391 d
= PyModule_GetDict(m
);
34393 SWIG_InitializeModule(0);
34394 SWIG_InstallConstants(d
,swig_const_table
);
34397 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
34398 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
34399 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
34400 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
34401 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
34402 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
34403 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
34404 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
34405 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
34406 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
34407 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
34408 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
34409 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
34410 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
34411 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
34412 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
34413 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
34414 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
34415 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
34416 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
34417 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
34418 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
34419 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
34420 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
34421 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
34422 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
34423 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
34424 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
34425 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
34426 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
34427 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
34428 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
34429 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
34430 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
34431 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
34432 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
34433 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
34434 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
34435 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
34436 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
34437 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
34438 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
34439 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
34440 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
34441 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
34442 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
34443 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
34444 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
34445 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
34446 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
34447 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
34448 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
34449 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
34450 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
34451 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
34452 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
34453 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
34454 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
34455 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
34456 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
34457 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
34458 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
34459 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
34460 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
34461 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
34462 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
34463 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
34464 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
34465 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
34466 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
34467 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
34468 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
34469 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
34470 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
34471 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
34472 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
34473 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
34474 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
34475 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
34476 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
34477 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
34478 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
34479 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
34480 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
34481 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
34482 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
34483 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
34484 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
34485 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
34486 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
34487 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
34488 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
34489 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
34490 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
34491 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
34492 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
34493 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
34494 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
34495 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
34496 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
34497 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
34498 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
34499 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
34500 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
34501 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
34502 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
34503 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
34504 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
34505 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
34506 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
34507 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
34508 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
34509 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
34510 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
34511 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
34512 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
34513 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
34514 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
34515 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
34516 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
34517 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
34518 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
34519 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
34520 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
34521 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
34522 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
34523 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
34524 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
34525 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
34526 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
34527 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
34528 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
34530 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
34532 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
34533 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
34534 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
34535 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
34536 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
34537 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
34538 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
34539 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
34540 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
34541 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
34542 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
34543 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
34544 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
34545 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
34546 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
34547 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
34548 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
34549 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
34550 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
34551 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
34552 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
34553 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
34554 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
34555 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
34556 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
34557 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
34558 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
34559 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
34560 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
34561 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
34562 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
34563 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
34564 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
34565 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
34566 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
34567 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
34568 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
34569 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
34570 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
34571 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
34572 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
34573 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
34574 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
34575 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
34576 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
34577 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
34578 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
34579 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
34580 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
34581 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
34582 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
34583 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
34584 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
34585 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
34586 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
34587 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
34588 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
34589 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
34590 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
34591 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
34592 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
34593 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
34594 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
34595 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
34596 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
34597 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
34598 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
34599 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
34600 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
34601 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
34602 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
34603 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
34604 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
34605 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
34606 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
34607 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
34608 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
34609 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
34610 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
34611 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
34612 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
34613 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
34614 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
34615 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
34616 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
34617 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
34618 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
34619 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
34620 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
34621 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
34622 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
34623 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
34624 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
34625 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
34626 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
34627 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
34628 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
34629 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
34630 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
34631 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
34632 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
34633 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
34634 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
34635 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
34636 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
34637 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
34638 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
34639 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
34640 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
34641 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
34642 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
34643 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
34644 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
34645 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
34646 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
34647 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
34648 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
34649 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
34650 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
34651 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
34652 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
34653 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
34654 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
34655 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
34656 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
34657 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
34658 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
34659 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
34660 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
34661 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
34662 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
34663 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
34664 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
34665 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
34666 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
34667 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
34668 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
34669 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
34670 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
34671 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
34672 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
34673 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
34674 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
34675 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
34676 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
34677 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
34678 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
34679 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
34680 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
34681 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
34682 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
34683 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
34684 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
34685 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
34686 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
34687 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
34688 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
34689 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
34690 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
34691 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
34692 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
34693 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
34694 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
34695 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
34696 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
34697 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
34698 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
34699 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
34700 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
34701 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
34702 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
34703 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
34704 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
34705 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
34706 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
34707 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
34708 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
34709 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
34710 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
34711 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
34712 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
34713 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
34714 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
34715 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
34716 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
34717 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
34718 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
34719 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
34720 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
34721 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
34722 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
34723 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
34724 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
34725 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
34726 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
34727 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
34728 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
34729 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
34730 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
34731 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
34732 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
34733 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
34734 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
34735 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
34736 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
34737 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
34738 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
34739 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
34740 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
34741 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
34742 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
34743 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
34744 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
34745 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
34746 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
34747 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
34748 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
34749 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
34750 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
34751 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
34752 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
34753 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
34754 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
34755 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
34756 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
34757 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
34758 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
34759 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
34760 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
34761 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
34762 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
34763 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
34764 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
34765 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
34766 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
34767 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
34768 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
34769 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
34770 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
34771 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
34772 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
34773 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
34774 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
34775 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
34776 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
34777 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
34778 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
34779 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
34780 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
34781 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
34782 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
34783 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
34784 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
34785 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
34786 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
34787 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
34788 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
34789 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
34790 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
34791 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
34792 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
34793 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
34794 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
34795 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
34796 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
34797 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
34798 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
34799 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
34800 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
34801 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
34802 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
34803 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
34804 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
34805 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
34806 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
34807 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
34808 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
34809 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
34810 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
34811 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
34812 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
34813 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
34814 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
34815 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
34816 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
34817 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
34818 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
34819 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
34820 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
34821 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
34822 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34823 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
34824 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
34825 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
34826 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
34827 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
34828 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
34829 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
34830 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
34831 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
34832 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
34833 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
34834 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
34835 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
34836 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
34837 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
34838 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
34839 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
34840 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
34841 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
34842 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
34843 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
34844 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
34845 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
34846 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
34847 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
34848 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
34849 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
34850 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
34852 // Work around a chicken/egg problem in drawlist.cpp
34853 wxPyDrawList_SetAPIPtr();