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 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2947 wxSize
size(self
->GetWidth(), self
->GetHeight());
2950 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2951 wxMask
*mask
= new wxMask(*self
, colour
);
2952 self
->SetMask(mask
);
2954 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2955 self
->SetWidth(size
.x
);
2956 self
->SetHeight(size
.y
);
2958 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2959 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2961 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2962 // appears to me that the other platforms are already doing it, so I'll just
2963 // automatically do it for wxMSW here.
2965 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2966 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2968 #define wxPy_premultiply(p, a) (p)
2969 #define wxPy_unpremultiply(p, a) (p)
2973 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2974 buffer data
, int DATASIZE
,
2975 buffer alpha
, int ALPHASIZE
)
2977 if (DATASIZE
!= width
*height
*3) {
2978 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2982 if (ALPHASIZE
!= width
*height
) {
2983 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2987 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
2988 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
2990 // raise an exception...
2991 wxPyErr_SetString(PyExc_RuntimeError
,
2992 "Failed to gain raw access to bitmap data.");
2997 wxAlphaPixelData::Iterator
p(pixData
);
2998 for (int y
=0; y
<height
; y
++) {
2999 wxAlphaPixelData::Iterator rowStart
= p
;
3000 for (int x
=0; x
<width
; x
++) {
3001 byte a
= *(alpha
++);
3002 p
.Red() = wxPy_premultiply(*(data
++), a
);
3003 p
.Green() = wxPy_premultiply(*(data
++), a
);
3004 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3009 p
.OffsetY(pixData
, 1);
3014 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3016 if (DATASIZE
!= width
*height
*3) {
3017 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3021 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3022 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3024 // raise an exception...
3025 wxPyErr_SetString(PyExc_RuntimeError
,
3026 "Failed to gain raw access to bitmap data.");
3030 wxNativePixelData::Iterator
p(pixData
);
3031 for (int y
=0; y
<height
; y
++) {
3032 wxNativePixelData::Iterator rowStart
= p
;
3033 for (int x
=0; x
<width
; x
++) {
3034 p
.Red() = *(data
++);
3035 p
.Green() = *(data
++);
3036 p
.Blue() = *(data
++);
3040 p
.OffsetY(pixData
, 1);
3046 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3048 if (DATASIZE
!= width
*height
*4) {
3049 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3053 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3054 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3056 // raise an exception...
3057 wxPyErr_SetString(PyExc_RuntimeError
,
3058 "Failed to gain raw access to bitmap data.");
3063 wxAlphaPixelData::Iterator
p(pixData
);
3064 for (int y
=0; y
<height
; y
++) {
3065 wxAlphaPixelData::Iterator rowStart
= p
;
3066 for (int x
=0; x
<width
; x
++) {
3068 p
.Red() = wxPy_premultiply(*(data
++), a
);
3069 p
.Green() = wxPy_premultiply(*(data
++), a
);
3070 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3071 p
.Alpha() = a
; data
++;
3075 p
.OffsetY(pixData
, 1);
3081 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3083 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3084 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3085 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3087 self
->Green() = green
;
3088 self
->Blue() = blue
;
3090 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3091 PyObject
* rv
= PyTuple_New(3);
3092 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3093 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3094 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3098 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3100 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3101 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3102 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3103 self
->Red() = wxPy_premultiply(red
, alpha
);
3104 self
->Green() = wxPy_premultiply(green
, alpha
);
3105 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3106 self
->Alpha() = alpha
;
3108 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3109 PyObject
* rv
= PyTuple_New(4);
3110 int red
= self
->Red();
3111 int green
= self
->Green();
3112 int blue
= self
->Blue();
3113 int alpha
= self
->Alpha();
3115 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3116 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3117 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3118 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3121 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3123 return new wxMask(bitmap
, *wxBLACK
);
3125 return new wxMask(bitmap
, colour
);
3128 #include <wx/iconbndl.h>
3130 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3131 wxIcon
* icon
= new wxIcon();
3132 icon
->CopyFromBitmap(bmp
);
3135 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3136 char** cArray
= NULL
;
3139 cArray
= ConvertListOfStrings(listOfStrings
);
3142 icon
= new wxIcon(cArray
);
3146 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3150 return new wxIconLocation(*filename
);
3153 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3160 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3167 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3169 wxImage
img(cursorName
, type
);
3170 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3171 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3172 return new wxCursor(img
);
3174 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3179 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3182 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3183 return self
->operator bool();
3186 #include <wx/fontutil.h>
3187 #include <wx/fontmap.h>
3188 #include <wx/fontenum.h>
3190 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3191 return self
->ToString();
3194 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3195 static wxNativeEncodingInfo info
;
3196 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3203 SWIGINTERNINLINE PyObject
*
3204 SWIG_From_size_t (size_t value
)
3206 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3210 SWIGINTERNINLINE
int
3211 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3214 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3215 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3219 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3220 wxFontEncoding alt_enc
;
3221 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3222 return PyInt_FromLong(alt_enc
);
3228 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3229 wxNativeFontInfo nfi
;
3230 nfi
.FromString(info
);
3231 return new wxFont(nfi
);
3233 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3234 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3236 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3237 return wxFontBase::New(pixelSize
, family
,
3238 style
, weight
, underlined
,
3241 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3242 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3244 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3245 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3247 class wxPyFontEnumerator
: public wxFontEnumerator
{
3249 wxPyFontEnumerator() {}
3250 ~wxPyFontEnumerator() {}
3252 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3253 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3258 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3259 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3262 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3264 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3265 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3266 ret
= wxArrayString2PyList_helper(arr
);
3267 wxPyEndBlockThreads(blocked
);
3270 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3272 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3273 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3274 ret
= wxArrayString2PyList_helper(arr
);
3275 wxPyEndBlockThreads(blocked
);
3281 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3284 loc
= new wxLocale();
3286 loc
= new wxLocale(language
, flags
);
3287 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3288 // for the floating point conversions and such to work right.
3289 #if PY_VERSION_HEX < 0x02040000
3290 setlocale(LC_NUMERIC
, "C");
3294 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3295 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3296 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3297 // for the floating point conversions and such to work right.
3298 #if PY_VERSION_HEX < 0x02040000
3299 setlocale(LC_NUMERIC
, "C");
3303 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3304 bool rc
= self
->Init(language
, flags
);
3305 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3306 // for the floating point conversions and such to work right.
3307 #if PY_VERSION_HEX < 0x02040000
3308 setlocale(LC_NUMERIC
, "C");
3313 class wxPyLocale
: public wxLocale
3318 wxPyLocale(const wxChar
*szName
, // name (for messages)
3319 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3320 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3321 bool bLoadDefault
= true, // preload wxstd.mo?
3322 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3324 wxPyLocale(int language
, // wxLanguage id or custom language
3325 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3329 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3330 const wxChar
*szDomain
= NULL
) const;
3331 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3332 const wxChar
*szOrigString2
, size_t n
,
3333 const wxChar
*szDomain
= NULL
) const;
3335 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3336 const wxChar
*szDomain
= NULL
) const;
3337 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3338 const wxChar
*szOrigString2
, size_t n
,
3339 const wxChar
*szDomain
= NULL
) const;
3343 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3346 wxPyLocale::wxPyLocale() : wxLocale()
3350 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3351 const wxChar
*szShort
, // dir prefix (for msg files)
3352 const wxChar
*szLocale
, // locale (for setlocale)
3353 bool bLoadDefault
, // preload wxstd.mo?
3354 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3355 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3359 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3360 int flags
) : wxLocale(language
, flags
)
3364 wxPyLocale::~wxPyLocale()
3368 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3369 const wxChar
*szDomain
) const
3371 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3372 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3375 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3376 const wxChar
*szOrigString2
, size_t n
,
3377 const wxChar
*szDomain
) const
3379 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3380 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3383 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3384 const wxChar
*szDomain
) const
3387 static wxString str
;
3388 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.
3389 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3390 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3391 PyObject
* param1
= wx2PyString(szOrigString
);
3392 PyObject
* param2
= wx2PyString(szDomain
);
3393 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3397 str
= Py2wxString(ret
);
3401 wxPyEndBlockThreads(blocked
);
3402 return (found
? (wxChar
*)str
.c_str() : NULL
);
3405 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3406 const wxChar
*szOrigString2
, size_t n
,
3407 const wxChar
*szDomain
) const
3410 static wxString str
;
3411 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.
3412 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3413 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3414 PyObject
* param1
= wx2PyString(szOrigString
);
3415 PyObject
* param2
= wx2PyString(szOrigString2
);
3416 PyObject
* param4
= wx2PyString(szDomain
);
3417 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3422 str
= Py2wxString(ret
);
3426 wxPyEndBlockThreads(blocked
);
3427 return (found
? (wxChar
*)str
.c_str() : NULL
);
3430 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3433 loc
= new wxPyLocale();
3435 loc
= new wxPyLocale(language
, flags
);
3436 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3437 // for the floating point conversions and such to work right.
3438 #if PY_VERSION_HEX < 0x02040000
3439 setlocale(LC_NUMERIC
, "C");
3444 #include "wx/wxPython/pydrawxxx.h"
3446 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3448 self
->GetPixel(x
, y
, &col
);
3451 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3453 self
->GetPixel(pt
, &col
);
3458 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3460 if (PyNumber_Check(obj
)) {
3461 if (val
) *val
= PyFloat_AsDouble(obj
);
3464 return SWIG_TypeError
;
3467 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3469 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3472 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3474 self
->GetClippingBox(rect
);
3477 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3479 self
->GetPartialTextExtents(text
, widths
);
3483 #define SWIG_From_double PyFloat_FromDouble
3485 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3486 self
->SetLogicalOrigin(point
.x
, point
.y
);
3488 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3489 self
->SetDeviceOrigin(point
.x
, point
.y
);
3491 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3492 self
->CalcBoundingBox(point
.x
, point
.y
);
3494 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3495 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3497 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3498 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3500 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3501 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3503 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3504 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3506 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3507 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3509 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3510 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3513 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3521 #include <wx/dcbuffer.h>
3524 #include <wx/dcps.h>
3527 class wxMetaFile
: public wxObject
{
3529 wxMetaFile(const wxString
&)
3530 { wxPyRaiseNotImplemented(); }
3533 class wxMetaFileDC
: public wxClientDC
{
3535 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3536 { wxPyRaiseNotImplemented(); }
3541 class wxPrinterDC
: public wxClientDC
{
3543 wxPrinterDC(const wxPrintData
&)
3544 { wxPyRaiseNotImplemented(); }
3550 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3551 self
->AddColour(name
, wxColour(red
, green
, blue
));
3554 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3555 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3556 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3557 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3560 #include <wx/effects.h>
3563 #include "wx/renderer.h"
3566 SWIGINTERNINLINE PyObject
*
3567 SWIG_From_bool (bool value
)
3569 return PyBool_FromLong(value
? 1 : 0);
3573 #include "wx/wxPython/pseudodc.h"
3575 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3577 self
->GetIdBounds(id
, rect
);
3583 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3584 PyObject
*resultobj
= 0;
3585 wxGDIObject
*result
= 0 ;
3587 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3589 if (!wxPyCheckForApp()) SWIG_fail
;
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 result
= (wxGDIObject
*)new wxGDIObject();
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3602 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3603 PyObject
*resultobj
= 0;
3604 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3607 PyObject
*swig_obj
[1] ;
3609 if (!args
) SWIG_fail
;
3611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3612 if (!SWIG_IsOK(res1
)) {
3613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3615 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) SWIG_fail
;
3623 resultobj
= SWIG_Py_Void();
3630 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3631 PyObject
*resultobj
= 0;
3632 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3636 PyObject
*swig_obj
[1] ;
3638 if (!args
) SWIG_fail
;
3640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3641 if (!SWIG_IsOK(res1
)) {
3642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3644 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3647 result
= (bool)(arg1
)->IsNull();
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3660 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3663 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3664 return SWIG_Py_Void();
3667 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3668 return SWIG_Python_InitShadowInstance(args
);
3671 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
*resultobj
= 0;
3673 byte arg1
= (byte
) 0 ;
3674 byte arg2
= (byte
) 0 ;
3675 byte arg3
= (byte
) 0 ;
3676 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3677 wxColour
*result
= 0 ;
3678 unsigned char val1
;
3680 unsigned char val2
;
3682 unsigned char val3
;
3684 unsigned char val4
;
3686 PyObject
* obj0
= 0 ;
3687 PyObject
* obj1
= 0 ;
3688 PyObject
* obj2
= 0 ;
3689 PyObject
* obj3
= 0 ;
3690 char * kwnames
[] = {
3691 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3696 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3697 if (!SWIG_IsOK(ecode1
)) {
3698 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3700 arg1
= static_cast< byte
>(val1
);
3703 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3704 if (!SWIG_IsOK(ecode2
)) {
3705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3707 arg2
= static_cast< byte
>(val2
);
3710 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3711 if (!SWIG_IsOK(ecode3
)) {
3712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3714 arg3
= static_cast< byte
>(val3
);
3717 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3718 if (!SWIG_IsOK(ecode4
)) {
3719 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3721 arg4
= static_cast< byte
>(val4
);
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3736 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
*resultobj
= 0;
3738 wxString
*arg1
= 0 ;
3739 wxColour
*result
= 0 ;
3740 bool temp1
= false ;
3741 PyObject
* obj0
= 0 ;
3742 char * kwnames
[] = {
3743 (char *) "colorName", NULL
3746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3748 arg1
= wxString_in_helper(obj0
);
3749 if (arg1
== NULL
) SWIG_fail
;
3753 if (!wxPyCheckForApp()) SWIG_fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3774 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
= 0;
3776 unsigned long arg1
;
3777 wxColour
*result
= 0 ;
3778 unsigned long val1
;
3780 PyObject
* obj0
= 0 ;
3781 char * kwnames
[] = {
3782 (char *) "colRGB", NULL
3785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3786 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3787 if (!SWIG_IsOK(ecode1
)) {
3788 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3790 arg1
= static_cast< unsigned long >(val1
);
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 result
= (wxColour
*)new wxColour(arg1
);
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3804 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3805 PyObject
*resultobj
= 0;
3806 wxColour
*arg1
= (wxColour
*) 0 ;
3809 PyObject
*swig_obj
[1] ;
3811 if (!args
) SWIG_fail
;
3813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3814 if (!SWIG_IsOK(res1
)) {
3815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3817 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3825 resultobj
= SWIG_Py_Void();
3832 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3833 PyObject
*resultobj
= 0;
3834 wxColour
*arg1
= (wxColour
*) 0 ;
3838 PyObject
*swig_obj
[1] ;
3840 if (!args
) SWIG_fail
;
3842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3843 if (!SWIG_IsOK(res1
)) {
3844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3846 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 result
= (byte
)(arg1
)->Red();
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3853 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3860 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3861 PyObject
*resultobj
= 0;
3862 wxColour
*arg1
= (wxColour
*) 0 ;
3866 PyObject
*swig_obj
[1] ;
3868 if (!args
) SWIG_fail
;
3870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3871 if (!SWIG_IsOK(res1
)) {
3872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3874 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 result
= (byte
)(arg1
)->Green();
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3881 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3888 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3889 PyObject
*resultobj
= 0;
3890 wxColour
*arg1
= (wxColour
*) 0 ;
3894 PyObject
*swig_obj
[1] ;
3896 if (!args
) SWIG_fail
;
3898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3899 if (!SWIG_IsOK(res1
)) {
3900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3902 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 result
= (byte
)(arg1
)->Blue();
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3909 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3916 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3917 PyObject
*resultobj
= 0;
3918 wxColour
*arg1
= (wxColour
*) 0 ;
3922 PyObject
*swig_obj
[1] ;
3924 if (!args
) SWIG_fail
;
3926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3927 if (!SWIG_IsOK(res1
)) {
3928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
3930 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 result
= (byte
)(arg1
)->Alpha();
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3937 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3944 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3945 PyObject
*resultobj
= 0;
3946 wxColour
*arg1
= (wxColour
*) 0 ;
3950 PyObject
*swig_obj
[1] ;
3952 if (!args
) SWIG_fail
;
3954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3955 if (!SWIG_IsOK(res1
)) {
3956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3958 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 result
= (bool)(arg1
)->Ok();
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3974 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
*resultobj
= 0;
3976 wxColour
*arg1
= (wxColour
*) 0 ;
3980 byte arg5
= (byte
) wxALPHA_OPAQUE
;
3983 unsigned char val2
;
3985 unsigned char val3
;
3987 unsigned char val4
;
3989 unsigned char val5
;
3991 PyObject
* obj0
= 0 ;
3992 PyObject
* obj1
= 0 ;
3993 PyObject
* obj2
= 0 ;
3994 PyObject
* obj3
= 0 ;
3995 PyObject
* obj4
= 0 ;
3996 char * kwnames
[] = {
3997 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4002 if (!SWIG_IsOK(res1
)) {
4003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4005 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4006 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4007 if (!SWIG_IsOK(ecode2
)) {
4008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4010 arg2
= static_cast< byte
>(val2
);
4011 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4012 if (!SWIG_IsOK(ecode3
)) {
4013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4015 arg3
= static_cast< byte
>(val3
);
4016 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4017 if (!SWIG_IsOK(ecode4
)) {
4018 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4020 arg4
= static_cast< byte
>(val4
);
4022 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4023 if (!SWIG_IsOK(ecode5
)) {
4024 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4026 arg5
= static_cast< byte
>(val5
);
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4034 resultobj
= SWIG_Py_Void();
4041 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
*resultobj
= 0;
4043 wxColour
*arg1
= (wxColour
*) 0 ;
4044 unsigned long arg2
;
4047 unsigned long val2
;
4049 PyObject
* obj0
= 0 ;
4050 PyObject
* obj1
= 0 ;
4051 char * kwnames
[] = {
4052 (char *) "self",(char *) "colRGB", NULL
4055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4057 if (!SWIG_IsOK(res1
)) {
4058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4060 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4061 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4062 if (!SWIG_IsOK(ecode2
)) {
4063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4065 arg2
= static_cast< unsigned long >(val2
);
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 resultobj
= SWIG_Py_Void();
4079 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
= 0;
4081 wxColour
*arg1
= (wxColour
*) 0 ;
4082 wxString
*arg2
= 0 ;
4085 bool temp2
= false ;
4086 PyObject
* obj0
= 0 ;
4087 PyObject
* obj1
= 0 ;
4088 char * kwnames
[] = {
4089 (char *) "self",(char *) "colourName", NULL
4092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4094 if (!SWIG_IsOK(res1
)) {
4095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4097 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4099 arg2
= wxString_in_helper(obj1
);
4100 if (arg2
== NULL
) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 (arg1
)->InitFromName((wxString
const &)*arg2
);
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= SWIG_Py_Void();
4124 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
= 0;
4126 wxColour
*arg1
= (wxColour
*) 0 ;
4127 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4133 PyObject
* obj0
= 0 ;
4134 PyObject
* obj1
= 0 ;
4135 char * kwnames
[] = {
4136 (char *) "self",(char *) "flags", NULL
4139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4141 if (!SWIG_IsOK(res1
)) {
4142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4144 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4146 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4147 if (!SWIG_IsOK(ecode2
)) {
4148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4150 arg2
= static_cast< long >(val2
);
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4171 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4172 PyObject
*resultobj
= 0;
4173 wxColour
*arg1
= (wxColour
*) 0 ;
4177 PyObject
*swig_obj
[1] ;
4179 if (!args
) SWIG_fail
;
4181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4182 if (!SWIG_IsOK(res1
)) {
4183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4185 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 resultobj
= SWIG_From_long(static_cast< long >(result
));
4199 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
= 0;
4201 wxColour
*arg1
= (wxColour
*) 0 ;
4202 PyObject
*arg2
= (PyObject
*) 0 ;
4206 PyObject
* obj0
= 0 ;
4207 PyObject
* obj1
= 0 ;
4208 char * kwnames
[] = {
4209 (char *) "self",(char *) "other", NULL
4212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4214 if (!SWIG_IsOK(res1
)) {
4215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4217 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4220 result
= (bool)wxColour___eq__(arg1
,arg2
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4232 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
= 0;
4234 wxColour
*arg1
= (wxColour
*) 0 ;
4235 PyObject
*arg2
= (PyObject
*) 0 ;
4239 PyObject
* obj0
= 0 ;
4240 PyObject
* obj1
= 0 ;
4241 char * kwnames
[] = {
4242 (char *) "self",(char *) "other", NULL
4245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4247 if (!SWIG_IsOK(res1
)) {
4248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4250 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4253 result
= (bool)wxColour___ne__(arg1
,arg2
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4265 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
*resultobj
= 0;
4267 wxColour
*arg1
= (wxColour
*) 0 ;
4268 bool arg2
= (bool) false ;
4269 PyObject
*result
= 0 ;
4274 PyObject
* obj0
= 0 ;
4275 PyObject
* obj1
= 0 ;
4276 char * kwnames
[] = {
4277 (char *) "self",(char *) "includeAlpha", NULL
4280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4282 if (!SWIG_IsOK(res1
)) {
4283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4285 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4287 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4288 if (!SWIG_IsOK(ecode2
)) {
4289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4291 arg2
= static_cast< bool >(val2
);
4294 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4304 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4305 PyObject
*resultobj
= 0;
4306 wxColour
*arg1
= (wxColour
*) 0 ;
4307 unsigned long result
;
4310 PyObject
*swig_obj
[1] ;
4312 if (!args
) SWIG_fail
;
4314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4315 if (!SWIG_IsOK(res1
)) {
4316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4318 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4320 result
= (unsigned long)wxColour_GetRGB(arg1
);
4321 if (PyErr_Occurred()) SWIG_fail
;
4323 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4330 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4332 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4333 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4334 return SWIG_Py_Void();
4337 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4338 return SWIG_Python_InitShadowInstance(args
);
4341 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
= 0;
4344 unsigned char *arg2
= (unsigned char *) 0 ;
4345 unsigned char *arg3
= (unsigned char *) 0 ;
4346 unsigned char *arg4
= (unsigned char *) 0 ;
4347 wxPalette
*result
= 0 ;
4356 PyObject
* obj0
= 0 ;
4357 PyObject
* obj1
= 0 ;
4358 PyObject
* obj2
= 0 ;
4359 PyObject
* obj3
= 0 ;
4360 char * kwnames
[] = {
4361 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4365 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4366 if (!SWIG_IsOK(ecode1
)) {
4367 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4369 arg1
= static_cast< int >(val1
);
4370 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4371 if (!SWIG_IsOK(res2
)) {
4372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4374 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4375 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4376 if (!SWIG_IsOK(res3
)) {
4377 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4379 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4380 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4381 if (!SWIG_IsOK(res4
)) {
4382 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4384 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4386 if (!wxPyCheckForApp()) SWIG_fail
;
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4388 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4389 wxPyEndAllowThreads(__tstate
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4399 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4400 PyObject
*resultobj
= 0;
4401 wxPalette
*arg1
= (wxPalette
*) 0 ;
4404 PyObject
*swig_obj
[1] ;
4406 if (!args
) SWIG_fail
;
4408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4409 if (!SWIG_IsOK(res1
)) {
4410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4412 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4420 resultobj
= SWIG_Py_Void();
4427 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
*resultobj
= 0;
4429 wxPalette
*arg1
= (wxPalette
*) 0 ;
4436 unsigned char val2
;
4438 unsigned char val3
;
4440 unsigned char val4
;
4442 PyObject
* obj0
= 0 ;
4443 PyObject
* obj1
= 0 ;
4444 PyObject
* obj2
= 0 ;
4445 PyObject
* obj3
= 0 ;
4446 char * kwnames
[] = {
4447 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4452 if (!SWIG_IsOK(res1
)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4455 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4456 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4457 if (!SWIG_IsOK(ecode2
)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4460 arg2
= static_cast< byte
>(val2
);
4461 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4462 if (!SWIG_IsOK(ecode3
)) {
4463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4465 arg3
= static_cast< byte
>(val3
);
4466 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4467 if (!SWIG_IsOK(ecode4
)) {
4468 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4470 arg4
= static_cast< byte
>(val4
);
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4474 wxPyEndAllowThreads(__tstate
);
4475 if (PyErr_Occurred()) SWIG_fail
;
4477 resultobj
= SWIG_From_int(static_cast< int >(result
));
4484 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
= 0;
4486 wxPalette
*arg1
= (wxPalette
*) 0 ;
4488 byte
*arg3
= (byte
*) 0 ;
4489 byte
*arg4
= (byte
*) 0 ;
4490 byte
*arg5
= (byte
*) 0 ;
4497 int res3
= SWIG_TMPOBJ
;
4499 int res4
= SWIG_TMPOBJ
;
4501 int res5
= SWIG_TMPOBJ
;
4502 PyObject
* obj0
= 0 ;
4503 PyObject
* obj1
= 0 ;
4504 char * kwnames
[] = {
4505 (char *) "self",(char *) "pixel", NULL
4511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4513 if (!SWIG_IsOK(res1
)) {
4514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4516 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4518 if (!SWIG_IsOK(ecode2
)) {
4519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4521 arg2
= static_cast< int >(val2
);
4523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) SWIG_fail
;
4529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4531 if (SWIG_IsTmpObj(res3
)) {
4532 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4534 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4535 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4537 if (SWIG_IsTmpObj(res4
)) {
4538 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4540 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4541 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4543 if (SWIG_IsTmpObj(res5
)) {
4544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4546 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4555 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4556 PyObject
*resultobj
= 0;
4557 wxPalette
*arg1
= (wxPalette
*) 0 ;
4561 PyObject
*swig_obj
[1] ;
4563 if (!args
) SWIG_fail
;
4565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4566 if (!SWIG_IsOK(res1
)) {
4567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4569 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4573 wxPyEndAllowThreads(__tstate
);
4574 if (PyErr_Occurred()) SWIG_fail
;
4576 resultobj
= SWIG_From_int(static_cast< int >(result
));
4583 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4584 PyObject
*resultobj
= 0;
4585 wxPalette
*arg1
= (wxPalette
*) 0 ;
4589 PyObject
*swig_obj
[1] ;
4591 if (!args
) SWIG_fail
;
4593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4594 if (!SWIG_IsOK(res1
)) {
4595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4597 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 result
= (bool)(arg1
)->Ok();
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4613 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4616 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4617 return SWIG_Py_Void();
4620 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4621 return SWIG_Python_InitShadowInstance(args
);
4624 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
= 0;
4626 wxColour
*arg1
= 0 ;
4627 int arg2
= (int) 1 ;
4628 int arg3
= (int) wxSOLID
;
4635 PyObject
* obj0
= 0 ;
4636 PyObject
* obj1
= 0 ;
4637 PyObject
* obj2
= 0 ;
4638 char * kwnames
[] = {
4639 (char *) "colour",(char *) "width",(char *) "style", NULL
4642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4645 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4649 if (!SWIG_IsOK(ecode2
)) {
4650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4652 arg2
= static_cast< int >(val2
);
4655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4656 if (!SWIG_IsOK(ecode3
)) {
4657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4659 arg3
= static_cast< int >(val3
);
4662 if (!wxPyCheckForApp()) SWIG_fail
;
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4675 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4676 PyObject
*resultobj
= 0;
4677 wxPen
*arg1
= (wxPen
*) 0 ;
4680 PyObject
*swig_obj
[1] ;
4682 if (!args
) SWIG_fail
;
4684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4685 if (!SWIG_IsOK(res1
)) {
4686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4688 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4696 resultobj
= SWIG_Py_Void();
4703 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4704 PyObject
*resultobj
= 0;
4705 wxPen
*arg1
= (wxPen
*) 0 ;
4709 PyObject
*swig_obj
[1] ;
4711 if (!args
) SWIG_fail
;
4713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4714 if (!SWIG_IsOK(res1
)) {
4715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4717 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 result
= (int)(arg1
)->GetCap();
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4724 resultobj
= SWIG_From_int(static_cast< int >(result
));
4731 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4732 PyObject
*resultobj
= 0;
4733 wxPen
*arg1
= (wxPen
*) 0 ;
4737 PyObject
*swig_obj
[1] ;
4739 if (!args
) SWIG_fail
;
4741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4742 if (!SWIG_IsOK(res1
)) {
4743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4745 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 result
= (arg1
)->GetColour();
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4752 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4759 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4760 PyObject
*resultobj
= 0;
4761 wxPen
*arg1
= (wxPen
*) 0 ;
4765 PyObject
*swig_obj
[1] ;
4767 if (!args
) SWIG_fail
;
4769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4770 if (!SWIG_IsOK(res1
)) {
4771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4773 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4776 result
= (int)(arg1
)->GetJoin();
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4780 resultobj
= SWIG_From_int(static_cast< int >(result
));
4787 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4788 PyObject
*resultobj
= 0;
4789 wxPen
*arg1
= (wxPen
*) 0 ;
4793 PyObject
*swig_obj
[1] ;
4795 if (!args
) SWIG_fail
;
4797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4798 if (!SWIG_IsOK(res1
)) {
4799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4801 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 result
= (int)(arg1
)->GetStyle();
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4808 resultobj
= SWIG_From_int(static_cast< int >(result
));
4815 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4816 PyObject
*resultobj
= 0;
4817 wxPen
*arg1
= (wxPen
*) 0 ;
4821 PyObject
*swig_obj
[1] ;
4823 if (!args
) SWIG_fail
;
4825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4826 if (!SWIG_IsOK(res1
)) {
4827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4829 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 result
= (int)(arg1
)->GetWidth();
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4836 resultobj
= SWIG_From_int(static_cast< int >(result
));
4843 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4844 PyObject
*resultobj
= 0;
4845 wxPen
*arg1
= (wxPen
*) 0 ;
4849 PyObject
*swig_obj
[1] ;
4851 if (!args
) SWIG_fail
;
4853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4854 if (!SWIG_IsOK(res1
)) {
4855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4857 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 result
= (bool)(arg1
)->Ok();
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4873 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
*resultobj
= 0;
4875 wxPen
*arg1
= (wxPen
*) 0 ;
4881 PyObject
* obj0
= 0 ;
4882 PyObject
* obj1
= 0 ;
4883 char * kwnames
[] = {
4884 (char *) "self",(char *) "cap_style", NULL
4887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4889 if (!SWIG_IsOK(res1
)) {
4890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4892 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4894 if (!SWIG_IsOK(ecode2
)) {
4895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4897 arg2
= static_cast< int >(val2
);
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 (arg1
)->SetCap(arg2
);
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4904 resultobj
= SWIG_Py_Void();
4911 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
*resultobj
= 0;
4913 wxPen
*arg1
= (wxPen
*) 0 ;
4914 wxColour
*arg2
= 0 ;
4918 PyObject
* obj0
= 0 ;
4919 PyObject
* obj1
= 0 ;
4920 char * kwnames
[] = {
4921 (char *) "self",(char *) "colour", NULL
4924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4926 if (!SWIG_IsOK(res1
)) {
4927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4929 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4932 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 (arg1
)->SetColour(*arg2
);
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4940 resultobj
= SWIG_Py_Void();
4947 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
*resultobj
= 0;
4949 wxPen
*arg1
= (wxPen
*) 0 ;
4955 PyObject
* obj0
= 0 ;
4956 PyObject
* obj1
= 0 ;
4957 char * kwnames
[] = {
4958 (char *) "self",(char *) "join_style", NULL
4961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4963 if (!SWIG_IsOK(res1
)) {
4964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4966 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4968 if (!SWIG_IsOK(ecode2
)) {
4969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4971 arg2
= static_cast< int >(val2
);
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 (arg1
)->SetJoin(arg2
);
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4978 resultobj
= SWIG_Py_Void();
4985 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
*resultobj
= 0;
4987 wxPen
*arg1
= (wxPen
*) 0 ;
4993 PyObject
* obj0
= 0 ;
4994 PyObject
* obj1
= 0 ;
4995 char * kwnames
[] = {
4996 (char *) "self",(char *) "style", NULL
4999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5001 if (!SWIG_IsOK(res1
)) {
5002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5004 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5006 if (!SWIG_IsOK(ecode2
)) {
5007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5009 arg2
= static_cast< int >(val2
);
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 (arg1
)->SetStyle(arg2
);
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= SWIG_Py_Void();
5023 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
= 0;
5025 wxPen
*arg1
= (wxPen
*) 0 ;
5031 PyObject
* obj0
= 0 ;
5032 PyObject
* obj1
= 0 ;
5033 char * kwnames
[] = {
5034 (char *) "self",(char *) "width", NULL
5037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5039 if (!SWIG_IsOK(res1
)) {
5040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5042 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5044 if (!SWIG_IsOK(ecode2
)) {
5045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5047 arg2
= static_cast< int >(val2
);
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 (arg1
)->SetWidth(arg2
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 resultobj
= SWIG_Py_Void();
5061 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
= 0;
5063 wxPen
*arg1
= (wxPen
*) 0 ;
5065 wxDash
*arg3
= (wxDash
*) 0 ;
5068 PyObject
* obj0
= 0 ;
5069 PyObject
* obj1
= 0 ;
5070 char * kwnames
[] = {
5071 (char *) "self",(char *) "dashes", NULL
5074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5076 if (!SWIG_IsOK(res1
)) {
5077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5079 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5081 arg2
= PyList_Size(obj1
);
5082 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5083 if (arg3
== NULL
) SWIG_fail
;
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 (arg1
)->SetDashes(arg2
,arg3
);
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5091 resultobj
= SWIG_Py_Void();
5093 if (arg3
) delete [] arg3
;
5098 if (arg3
) delete [] arg3
;
5104 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5105 PyObject
*resultobj
= 0;
5106 wxPen
*arg1
= (wxPen
*) 0 ;
5107 PyObject
*result
= 0 ;
5110 PyObject
*swig_obj
[1] ;
5112 if (!args
) SWIG_fail
;
5114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5115 if (!SWIG_IsOK(res1
)) {
5116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5118 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5132 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
= 0;
5134 wxPen
*arg1
= (wxPen
*) 0 ;
5135 PyObject
*arg2
= (PyObject
*) 0 ;
5136 PyObject
*arg3
= (PyObject
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5141 PyObject
* obj2
= 0 ;
5142 char * kwnames
[] = {
5143 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5148 if (!SWIG_IsOK(res1
)) {
5149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5151 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 wxPen__SetDashes(arg1
,arg2
,arg3
);
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5160 resultobj
= SWIG_Py_Void();
5167 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5168 PyObject
*resultobj
= 0;
5169 wxPen
*arg1
= (wxPen
*) 0 ;
5173 PyObject
*swig_obj
[1] ;
5175 if (!args
) SWIG_fail
;
5177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5178 if (!SWIG_IsOK(res1
)) {
5179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5181 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 resultobj
= SWIG_From_int(static_cast< int >(result
));
5195 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
= 0;
5197 wxPen
*arg1
= (wxPen
*) 0 ;
5198 wxPen
*arg2
= (wxPen
*) 0 ;
5204 PyObject
* obj0
= 0 ;
5205 PyObject
* obj1
= 0 ;
5206 char * kwnames
[] = {
5207 (char *) "self",(char *) "other", NULL
5210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5212 if (!SWIG_IsOK(res1
)) {
5213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5215 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5216 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5217 if (!SWIG_IsOK(res2
)) {
5218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5220 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5236 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
*resultobj
= 0;
5238 wxPen
*arg1
= (wxPen
*) 0 ;
5239 wxPen
*arg2
= (wxPen
*) 0 ;
5245 PyObject
* obj0
= 0 ;
5246 PyObject
* obj1
= 0 ;
5247 char * kwnames
[] = {
5248 (char *) "self",(char *) "other", NULL
5251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5253 if (!SWIG_IsOK(res1
)) {
5254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5256 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5257 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5258 if (!SWIG_IsOK(res2
)) {
5259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5261 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5265 wxPyEndAllowThreads(__tstate
);
5266 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5277 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5279 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5280 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5281 return SWIG_Py_Void();
5284 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5285 return SWIG_Python_InitShadowInstance(args
);
5288 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
= 0;
5290 wxColour
*arg1
= 0 ;
5291 int arg2
= (int) wxSOLID
;
5292 wxBrush
*result
= 0 ;
5296 PyObject
* obj0
= 0 ;
5297 PyObject
* obj1
= 0 ;
5298 char * kwnames
[] = {
5299 (char *) "colour",(char *) "style", NULL
5302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5305 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5309 if (!SWIG_IsOK(ecode2
)) {
5310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5312 arg2
= static_cast< int >(val2
);
5315 if (!wxPyCheckForApp()) SWIG_fail
;
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5318 wxPyEndAllowThreads(__tstate
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5328 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5329 PyObject
*resultobj
= 0;
5330 wxBitmap
*arg1
= 0 ;
5331 wxBrush
*result
= 0 ;
5334 PyObject
* obj0
= 0 ;
5335 char * kwnames
[] = {
5336 (char *) "stippleBitmap", NULL
5339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5340 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5341 if (!SWIG_IsOK(res1
)) {
5342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5347 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5349 if (!wxPyCheckForApp()) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5352 wxPyEndAllowThreads(__tstate
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5362 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5363 PyObject
*resultobj
= 0;
5364 wxBrush
*arg1
= (wxBrush
*) 0 ;
5367 PyObject
*swig_obj
[1] ;
5369 if (!args
) SWIG_fail
;
5371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5372 if (!SWIG_IsOK(res1
)) {
5373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5375 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5383 resultobj
= SWIG_Py_Void();
5390 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
*resultobj
= 0;
5392 wxBrush
*arg1
= (wxBrush
*) 0 ;
5393 wxColour
*arg2
= 0 ;
5397 PyObject
* obj0
= 0 ;
5398 PyObject
* obj1
= 0 ;
5399 char * kwnames
[] = {
5400 (char *) "self",(char *) "col", NULL
5403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5405 if (!SWIG_IsOK(res1
)) {
5406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5408 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5411 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 (arg1
)->SetColour((wxColour
const &)*arg2
);
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5419 resultobj
= SWIG_Py_Void();
5426 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
*resultobj
= 0;
5428 wxBrush
*arg1
= (wxBrush
*) 0 ;
5434 PyObject
* obj0
= 0 ;
5435 PyObject
* obj1
= 0 ;
5436 char * kwnames
[] = {
5437 (char *) "self",(char *) "style", NULL
5440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5442 if (!SWIG_IsOK(res1
)) {
5443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5445 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5447 if (!SWIG_IsOK(ecode2
)) {
5448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5450 arg2
= static_cast< int >(val2
);
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 (arg1
)->SetStyle(arg2
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 resultobj
= SWIG_Py_Void();
5464 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
= 0;
5466 wxBrush
*arg1
= (wxBrush
*) 0 ;
5467 wxBitmap
*arg2
= 0 ;
5472 PyObject
* obj0
= 0 ;
5473 PyObject
* obj1
= 0 ;
5474 char * kwnames
[] = {
5475 (char *) "self",(char *) "stipple", NULL
5478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5480 if (!SWIG_IsOK(res1
)) {
5481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5483 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5484 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5485 if (!SWIG_IsOK(res2
)) {
5486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5491 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= SWIG_Py_Void();
5505 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5506 PyObject
*resultobj
= 0;
5507 wxBrush
*arg1
= (wxBrush
*) 0 ;
5511 PyObject
*swig_obj
[1] ;
5513 if (!args
) SWIG_fail
;
5515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5516 if (!SWIG_IsOK(res1
)) {
5517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5519 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 result
= ((wxBrush
const *)arg1
)->GetColour();
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5526 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5533 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5534 PyObject
*resultobj
= 0;
5535 wxBrush
*arg1
= (wxBrush
*) 0 ;
5539 PyObject
*swig_obj
[1] ;
5541 if (!args
) SWIG_fail
;
5543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5544 if (!SWIG_IsOK(res1
)) {
5545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5547 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5550 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5554 resultobj
= SWIG_From_int(static_cast< int >(result
));
5561 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5562 PyObject
*resultobj
= 0;
5563 wxBrush
*arg1
= (wxBrush
*) 0 ;
5564 wxBitmap
*result
= 0 ;
5567 PyObject
*swig_obj
[1] ;
5569 if (!args
) SWIG_fail
;
5571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5572 if (!SWIG_IsOK(res1
)) {
5573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5575 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5589 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5590 PyObject
*resultobj
= 0;
5591 wxBrush
*arg1
= (wxBrush
*) 0 ;
5595 PyObject
*swig_obj
[1] ;
5597 if (!args
) SWIG_fail
;
5599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5600 if (!SWIG_IsOK(res1
)) {
5601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5603 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5606 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5619 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5620 PyObject
*resultobj
= 0;
5621 wxBrush
*arg1
= (wxBrush
*) 0 ;
5625 PyObject
*swig_obj
[1] ;
5627 if (!args
) SWIG_fail
;
5629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5630 if (!SWIG_IsOK(res1
)) {
5631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5633 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 result
= (bool)(arg1
)->Ok();
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5649 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5652 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5653 return SWIG_Py_Void();
5656 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5657 return SWIG_Python_InitShadowInstance(args
);
5660 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
*resultobj
= 0;
5662 wxString
*arg1
= 0 ;
5663 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5664 wxBitmap
*result
= 0 ;
5665 bool temp1
= false ;
5668 PyObject
* obj0
= 0 ;
5669 PyObject
* obj1
= 0 ;
5670 char * kwnames
[] = {
5671 (char *) "name",(char *) "type", NULL
5674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5676 arg1
= wxString_in_helper(obj0
);
5677 if (arg1
== NULL
) SWIG_fail
;
5681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5682 if (!SWIG_IsOK(ecode2
)) {
5683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5685 arg2
= static_cast< wxBitmapType
>(val2
);
5688 if (!wxPyCheckForApp()) SWIG_fail
;
5689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5691 wxPyEndAllowThreads(__tstate
);
5692 if (PyErr_Occurred()) SWIG_fail
;
5694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5709 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5710 PyObject
*resultobj
= 0;
5711 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5714 PyObject
*swig_obj
[1] ;
5716 if (!args
) SWIG_fail
;
5718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5719 if (!SWIG_IsOK(res1
)) {
5720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5722 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= SWIG_Py_Void();
5735 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
= 0;
5739 int arg3
= (int) -1 ;
5740 wxBitmap
*result
= 0 ;
5747 PyObject
* obj0
= 0 ;
5748 PyObject
* obj1
= 0 ;
5749 PyObject
* obj2
= 0 ;
5750 char * kwnames
[] = {
5751 (char *) "width",(char *) "height",(char *) "depth", NULL
5754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5755 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5756 if (!SWIG_IsOK(ecode1
)) {
5757 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5759 arg1
= static_cast< int >(val1
);
5760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5761 if (!SWIG_IsOK(ecode2
)) {
5762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5764 arg2
= static_cast< int >(val2
);
5766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5767 if (!SWIG_IsOK(ecode3
)) {
5768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5770 arg3
= static_cast< int >(val3
);
5773 if (!wxPyCheckForApp()) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5786 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
*resultobj
= 0;
5789 wxBitmap
*result
= 0 ;
5792 PyObject
* obj0
= 0 ;
5793 char * kwnames
[] = {
5794 (char *) "icon", NULL
5797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5798 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5799 if (!SWIG_IsOK(res1
)) {
5800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5805 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5807 if (!wxPyCheckForApp()) SWIG_fail
;
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5820 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5821 PyObject
*resultobj
= 0;
5823 int arg2
= (int) -1 ;
5824 wxBitmap
*result
= 0 ;
5829 PyObject
* obj0
= 0 ;
5830 PyObject
* obj1
= 0 ;
5831 char * kwnames
[] = {
5832 (char *) "image",(char *) "depth", NULL
5835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5836 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5837 if (!SWIG_IsOK(res1
)) {
5838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5843 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5846 if (!SWIG_IsOK(ecode2
)) {
5847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5849 arg2
= static_cast< int >(val2
);
5852 if (!wxPyCheckForApp()) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5865 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
*resultobj
= 0;
5867 PyObject
*arg1
= (PyObject
*) 0 ;
5868 wxBitmap
*result
= 0 ;
5869 PyObject
* obj0
= 0 ;
5870 char * kwnames
[] = {
5871 (char *) "listOfStrings", NULL
5874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5877 if (!wxPyCheckForApp()) SWIG_fail
;
5878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5879 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5890 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
= 0;
5892 PyObject
*arg1
= (PyObject
*) 0 ;
5895 int arg4
= (int) 1 ;
5896 wxBitmap
*result
= 0 ;
5903 PyObject
* obj0
= 0 ;
5904 PyObject
* obj1
= 0 ;
5905 PyObject
* obj2
= 0 ;
5906 PyObject
* obj3
= 0 ;
5907 char * kwnames
[] = {
5908 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5914 if (!SWIG_IsOK(ecode2
)) {
5915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5917 arg2
= static_cast< int >(val2
);
5918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5919 if (!SWIG_IsOK(ecode3
)) {
5920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5922 arg3
= static_cast< int >(val3
);
5924 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5925 if (!SWIG_IsOK(ecode4
)) {
5926 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5928 arg4
= static_cast< int >(val4
);
5931 if (!wxPyCheckForApp()) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5944 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5945 PyObject
*resultobj
= 0;
5946 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5950 PyObject
*swig_obj
[1] ;
5952 if (!args
) SWIG_fail
;
5954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5955 if (!SWIG_IsOK(res1
)) {
5956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5958 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5960 result
= (bool)(arg1
)->Ok();
5961 if (PyErr_Occurred()) SWIG_fail
;
5964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5972 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5973 PyObject
*resultobj
= 0;
5974 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5978 PyObject
*swig_obj
[1] ;
5980 if (!args
) SWIG_fail
;
5982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5983 if (!SWIG_IsOK(res1
)) {
5984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5986 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5988 result
= (int)(arg1
)->GetWidth();
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= SWIG_From_int(static_cast< int >(result
));
5998 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5999 PyObject
*resultobj
= 0;
6000 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6004 PyObject
*swig_obj
[1] ;
6006 if (!args
) SWIG_fail
;
6008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6009 if (!SWIG_IsOK(res1
)) {
6010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6012 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6014 result
= (int)(arg1
)->GetHeight();
6015 if (PyErr_Occurred()) SWIG_fail
;
6017 resultobj
= SWIG_From_int(static_cast< int >(result
));
6024 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6025 PyObject
*resultobj
= 0;
6026 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6030 PyObject
*swig_obj
[1] ;
6032 if (!args
) SWIG_fail
;
6034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6035 if (!SWIG_IsOK(res1
)) {
6036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6038 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6040 result
= (int)(arg1
)->GetDepth();
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= SWIG_From_int(static_cast< int >(result
));
6050 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6051 PyObject
*resultobj
= 0;
6052 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6056 PyObject
*swig_obj
[1] ;
6058 if (!args
) SWIG_fail
;
6060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6061 if (!SWIG_IsOK(res1
)) {
6062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6064 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6066 result
= wxBitmap_GetSize(arg1
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6069 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6076 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6077 PyObject
*resultobj
= 0;
6078 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6079 SwigValueWrapper
<wxImage
> result
;
6082 PyObject
*swig_obj
[1] ;
6084 if (!args
) SWIG_fail
;
6086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6087 if (!SWIG_IsOK(res1
)) {
6088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6090 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6092 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6093 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6102 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6103 PyObject
*resultobj
= 0;
6104 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6105 wxMask
*result
= 0 ;
6108 PyObject
*swig_obj
[1] ;
6110 if (!args
) SWIG_fail
;
6112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6113 if (!SWIG_IsOK(res1
)) {
6114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6116 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6118 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6119 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6128 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
= 0;
6130 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6131 wxMask
*arg2
= (wxMask
*) 0 ;
6135 PyObject
* obj0
= 0 ;
6136 PyObject
* obj1
= 0 ;
6137 char * kwnames
[] = {
6138 (char *) "self",(char *) "mask", NULL
6141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6143 if (!SWIG_IsOK(res1
)) {
6144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6146 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6147 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6148 if (!SWIG_IsOK(res2
)) {
6149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6152 (arg1
)->SetMask(arg2
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= SWIG_Py_Void();
6162 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
= 0;
6164 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6165 wxColour
*arg2
= 0 ;
6169 PyObject
* obj0
= 0 ;
6170 PyObject
* obj1
= 0 ;
6171 char * kwnames
[] = {
6172 (char *) "self",(char *) "colour", NULL
6175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6177 if (!SWIG_IsOK(res1
)) {
6178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6180 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6183 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6186 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6187 if (PyErr_Occurred()) SWIG_fail
;
6189 resultobj
= SWIG_Py_Void();
6196 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
= 0;
6198 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6200 SwigValueWrapper
<wxBitmap
> result
;
6204 PyObject
* obj0
= 0 ;
6205 PyObject
* obj1
= 0 ;
6206 char * kwnames
[] = {
6207 (char *) "self",(char *) "rect", NULL
6210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6212 if (!SWIG_IsOK(res1
)) {
6213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6215 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6218 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6221 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6231 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
= 0;
6233 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6234 wxString
*arg2
= 0 ;
6236 wxPalette
*arg4
= (wxPalette
*) NULL
;
6240 bool temp2
= false ;
6245 PyObject
* obj0
= 0 ;
6246 PyObject
* obj1
= 0 ;
6247 PyObject
* obj2
= 0 ;
6248 PyObject
* obj3
= 0 ;
6249 char * kwnames
[] = {
6250 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6255 if (!SWIG_IsOK(res1
)) {
6256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6258 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6260 arg2
= wxString_in_helper(obj1
);
6261 if (arg2
== NULL
) SWIG_fail
;
6264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6265 if (!SWIG_IsOK(ecode3
)) {
6266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6268 arg3
= static_cast< wxBitmapType
>(val3
);
6270 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6271 if (!SWIG_IsOK(res4
)) {
6272 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6274 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6277 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6297 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
*resultobj
= 0;
6299 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6300 wxString
*arg2
= 0 ;
6305 bool temp2
= false ;
6308 PyObject
* obj0
= 0 ;
6309 PyObject
* obj1
= 0 ;
6310 PyObject
* obj2
= 0 ;
6311 char * kwnames
[] = {
6312 (char *) "self",(char *) "name",(char *) "type", NULL
6315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6317 if (!SWIG_IsOK(res1
)) {
6318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6320 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6322 arg2
= wxString_in_helper(obj1
);
6323 if (arg2
== NULL
) SWIG_fail
;
6326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6327 if (!SWIG_IsOK(ecode3
)) {
6328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6330 arg3
= static_cast< wxBitmapType
>(val3
);
6332 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6333 if (PyErr_Occurred()) SWIG_fail
;
6336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6352 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6353 PyObject
*resultobj
= 0;
6354 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6355 wxPalette
*result
= 0 ;
6358 PyObject
*swig_obj
[1] ;
6360 if (!args
) SWIG_fail
;
6362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6363 if (!SWIG_IsOK(res1
)) {
6364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6366 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6368 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6369 if (PyErr_Occurred()) SWIG_fail
;
6371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6378 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
*resultobj
= 0;
6380 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6387 PyObject
* obj0
= 0 ;
6388 PyObject
* obj1
= 0 ;
6389 char * kwnames
[] = {
6390 (char *) "self",(char *) "icon", NULL
6393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6395 if (!SWIG_IsOK(res1
)) {
6396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6398 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6399 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6400 if (!SWIG_IsOK(res2
)) {
6401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6406 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6408 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6420 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6421 PyObject
*resultobj
= 0;
6422 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6428 PyObject
* obj0
= 0 ;
6429 PyObject
* obj1
= 0 ;
6430 char * kwnames
[] = {
6431 (char *) "self",(char *) "height", NULL
6434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6436 if (!SWIG_IsOK(res1
)) {
6437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6439 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6441 if (!SWIG_IsOK(ecode2
)) {
6442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6444 arg2
= static_cast< int >(val2
);
6446 (arg1
)->SetHeight(arg2
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= SWIG_Py_Void();
6456 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
= 0;
6458 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6464 PyObject
* obj0
= 0 ;
6465 PyObject
* obj1
= 0 ;
6466 char * kwnames
[] = {
6467 (char *) "self",(char *) "width", NULL
6470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6472 if (!SWIG_IsOK(res1
)) {
6473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6475 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6477 if (!SWIG_IsOK(ecode2
)) {
6478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6480 arg2
= static_cast< int >(val2
);
6482 (arg1
)->SetWidth(arg2
);
6483 if (PyErr_Occurred()) SWIG_fail
;
6485 resultobj
= SWIG_Py_Void();
6492 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
*resultobj
= 0;
6494 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6500 PyObject
* obj0
= 0 ;
6501 PyObject
* obj1
= 0 ;
6502 char * kwnames
[] = {
6503 (char *) "self",(char *) "depth", NULL
6506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6508 if (!SWIG_IsOK(res1
)) {
6509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6511 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6513 if (!SWIG_IsOK(ecode2
)) {
6514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6516 arg2
= static_cast< int >(val2
);
6518 (arg1
)->SetDepth(arg2
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6521 resultobj
= SWIG_Py_Void();
6528 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
= 0;
6530 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6535 PyObject
* obj0
= 0 ;
6536 PyObject
* obj1
= 0 ;
6537 char * kwnames
[] = {
6538 (char *) "self",(char *) "size", NULL
6541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6543 if (!SWIG_IsOK(res1
)) {
6544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6546 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6549 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6552 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= SWIG_Py_Void();
6562 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
= 0;
6564 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6565 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6571 PyObject
* obj0
= 0 ;
6572 PyObject
* obj1
= 0 ;
6573 char * kwnames
[] = {
6574 (char *) "self",(char *) "other", NULL
6577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6579 if (!SWIG_IsOK(res1
)) {
6580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6582 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6584 if (!SWIG_IsOK(res2
)) {
6585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6587 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6589 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6601 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
*resultobj
= 0;
6603 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6604 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6611 PyObject
* obj1
= 0 ;
6612 char * kwnames
[] = {
6613 (char *) "self",(char *) "other", NULL
6616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6618 if (!SWIG_IsOK(res1
)) {
6619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6621 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6622 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6623 if (!SWIG_IsOK(res2
)) {
6624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6626 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6628 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6640 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6642 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6643 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6644 return SWIG_Py_Void();
6647 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6648 return SWIG_Python_InitShadowInstance(args
);
6651 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
= 0;
6659 wxBitmap
*result
= 0 ;
6666 PyObject
* obj0
= 0 ;
6667 PyObject
* obj1
= 0 ;
6668 PyObject
* obj2
= 0 ;
6669 PyObject
* obj3
= 0 ;
6670 char * kwnames
[] = {
6671 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6675 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6676 if (!SWIG_IsOK(ecode1
)) {
6677 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6679 arg1
= static_cast< int >(val1
);
6680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6681 if (!SWIG_IsOK(ecode2
)) {
6682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6684 arg2
= static_cast< int >(val2
);
6686 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6690 if (obj3
!= Py_None
) {
6691 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
6696 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6706 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
*resultobj
= 0;
6712 wxBitmap
*result
= 0 ;
6718 PyObject
* obj0
= 0 ;
6719 PyObject
* obj1
= 0 ;
6720 PyObject
* obj2
= 0 ;
6721 char * kwnames
[] = {
6722 (char *) "width",(char *) "height",(char *) "data", NULL
6725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6726 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6727 if (!SWIG_IsOK(ecode1
)) {
6728 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6730 arg1
= static_cast< int >(val1
);
6731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6732 if (!SWIG_IsOK(ecode2
)) {
6733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6735 arg2
= static_cast< int >(val2
);
6737 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6741 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6751 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
= 0;
6757 wxBitmap
*result
= 0 ;
6763 PyObject
* obj0
= 0 ;
6764 PyObject
* obj1
= 0 ;
6765 PyObject
* obj2
= 0 ;
6766 char * kwnames
[] = {
6767 (char *) "width",(char *) "height",(char *) "data", NULL
6770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6771 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6772 if (!SWIG_IsOK(ecode1
)) {
6773 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6775 arg1
= static_cast< int >(val1
);
6776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6777 if (!SWIG_IsOK(ecode2
)) {
6778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6780 arg2
= static_cast< int >(val2
);
6782 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6786 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6796 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6797 PyObject
*resultobj
= 0;
6798 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6802 PyObject
*swig_obj
[1] ;
6804 if (!args
) SWIG_fail
;
6806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6807 if (!SWIG_IsOK(res1
)) {
6808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6810 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6812 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
6813 if (PyErr_Occurred()) SWIG_fail
;
6815 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6822 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6823 PyObject
*resultobj
= 0;
6824 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6828 PyObject
*swig_obj
[1] ;
6830 if (!args
) SWIG_fail
;
6832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6833 if (!SWIG_IsOK(res1
)) {
6834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6836 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6838 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= SWIG_From_int(static_cast< int >(result
));
6848 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6849 PyObject
*resultobj
= 0;
6850 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6854 PyObject
*swig_obj
[1] ;
6856 if (!args
) SWIG_fail
;
6858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6859 if (!SWIG_IsOK(res1
)) {
6860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6862 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6864 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
6865 if (PyErr_Occurred()) SWIG_fail
;
6867 resultobj
= SWIG_From_int(static_cast< int >(result
));
6874 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6875 PyObject
*resultobj
= 0;
6876 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6880 PyObject
*swig_obj
[1] ;
6882 if (!args
) SWIG_fail
;
6884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6885 if (!SWIG_IsOK(res1
)) {
6886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6888 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6890 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
6891 if (PyErr_Occurred()) SWIG_fail
;
6893 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6900 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6901 PyObject
*resultobj
= 0;
6902 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6906 PyObject
*swig_obj
[1] ;
6908 if (!args
) SWIG_fail
;
6910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6911 if (!SWIG_IsOK(res1
)) {
6912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6914 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6916 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= SWIG_From_int(static_cast< int >(result
));
6926 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6928 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6929 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
6930 return SWIG_Py_Void();
6933 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
6934 PyObject
*resultobj
= 0;
6935 wxBitmap
*arg1
= 0 ;
6936 wxNativePixelData
*result
= 0 ;
6940 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
6941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
6942 if (!SWIG_IsOK(res1
)) {
6943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6948 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6950 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
6960 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
6961 PyObject
*resultobj
= 0;
6962 wxBitmap
*arg1
= 0 ;
6964 wxNativePixelData
*result
= 0 ;
6969 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
6970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
6971 if (!SWIG_IsOK(res1
)) {
6972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6977 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6980 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
6983 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
6993 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
6994 PyObject
*resultobj
= 0;
6995 wxBitmap
*arg1
= 0 ;
6998 wxNativePixelData
*result
= 0 ;
7004 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7006 if (!SWIG_IsOK(res1
)) {
7007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7012 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7015 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7019 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7022 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7032 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7036 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7039 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7042 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7045 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7049 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7054 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7055 PyObject
*resultobj
= 0;
7056 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7059 PyObject
*swig_obj
[1] ;
7061 if (!args
) SWIG_fail
;
7063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7064 if (!SWIG_IsOK(res1
)) {
7065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7067 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7073 resultobj
= SWIG_Py_Void();
7080 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7081 PyObject
*resultobj
= 0;
7082 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7083 wxNativePixelData_Accessor result
;
7086 PyObject
*swig_obj
[1] ;
7088 if (!args
) SWIG_fail
;
7090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7091 if (!SWIG_IsOK(res1
)) {
7092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7094 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7096 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7106 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7107 PyObject
*resultobj
= 0;
7108 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7111 PyObject
*swig_obj
[1] ;
7113 if (!args
) SWIG_fail
;
7115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7116 if (!SWIG_IsOK(res1
)) {
7117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7119 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7122 if (PyErr_Occurred()) SWIG_fail
;
7124 resultobj
= SWIG_Py_Void();
7131 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7132 PyObject
*resultobj
= 0;
7133 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7137 PyObject
*swig_obj
[1] ;
7139 if (!args
) SWIG_fail
;
7141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7142 if (!SWIG_IsOK(res1
)) {
7143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7145 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7147 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7159 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7161 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7162 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7163 return SWIG_Py_Void();
7166 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7167 return SWIG_Python_InitShadowInstance(args
);
7170 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7171 PyObject
*resultobj
= 0;
7172 wxNativePixelData
*arg1
= 0 ;
7173 wxNativePixelData_Accessor
*result
= 0 ;
7177 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7179 if (!SWIG_IsOK(res1
)) {
7180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7185 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7187 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7197 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7198 PyObject
*resultobj
= 0;
7199 wxBitmap
*arg1
= 0 ;
7200 wxNativePixelData
*arg2
= 0 ;
7201 wxNativePixelData_Accessor
*result
= 0 ;
7207 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7209 if (!SWIG_IsOK(res1
)) {
7210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7215 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7216 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7217 if (!SWIG_IsOK(res2
)) {
7218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7223 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7225 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7226 if (PyErr_Occurred()) SWIG_fail
;
7228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7235 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7236 PyObject
*resultobj
= 0;
7237 wxNativePixelData_Accessor
*result
= 0 ;
7239 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7241 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7251 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7255 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7258 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7261 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7264 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7268 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7273 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7274 PyObject
*resultobj
= 0;
7275 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7278 PyObject
*swig_obj
[1] ;
7280 if (!args
) SWIG_fail
;
7282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7283 if (!SWIG_IsOK(res1
)) {
7284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7286 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7292 resultobj
= SWIG_Py_Void();
7299 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
*resultobj
= 0;
7301 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7302 wxNativePixelData
*arg2
= 0 ;
7307 PyObject
* obj0
= 0 ;
7308 PyObject
* obj1
= 0 ;
7309 char * kwnames
[] = {
7310 (char *) "self",(char *) "data", NULL
7313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7315 if (!SWIG_IsOK(res1
)) {
7316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7318 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7320 if (!SWIG_IsOK(res2
)) {
7321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7326 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7328 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= SWIG_Py_Void();
7338 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7339 PyObject
*resultobj
= 0;
7340 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7344 PyObject
*swig_obj
[1] ;
7346 if (!args
) SWIG_fail
;
7348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7349 if (!SWIG_IsOK(res1
)) {
7350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7352 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7354 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7355 if (PyErr_Occurred()) SWIG_fail
;
7358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7366 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7367 PyObject
*resultobj
= 0;
7368 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7371 PyObject
*swig_obj
[1] ;
7373 if (!args
) SWIG_fail
;
7375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7376 if (!SWIG_IsOK(res1
)) {
7377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7379 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7381 wxNativePixelData_Accessor_nextPixel(arg1
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 resultobj
= SWIG_Py_Void();
7391 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
*resultobj
= 0;
7393 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7394 wxNativePixelData
*arg2
= 0 ;
7405 PyObject
* obj0
= 0 ;
7406 PyObject
* obj1
= 0 ;
7407 PyObject
* obj2
= 0 ;
7408 PyObject
* obj3
= 0 ;
7409 char * kwnames
[] = {
7410 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7415 if (!SWIG_IsOK(res1
)) {
7416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7418 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7419 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7420 if (!SWIG_IsOK(res2
)) {
7421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7426 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7428 if (!SWIG_IsOK(ecode3
)) {
7429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7431 arg3
= static_cast< int >(val3
);
7432 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7433 if (!SWIG_IsOK(ecode4
)) {
7434 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7436 arg4
= static_cast< int >(val4
);
7438 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 resultobj
= SWIG_Py_Void();
7448 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
= 0;
7450 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7451 wxNativePixelData
*arg2
= 0 ;
7459 PyObject
* obj0
= 0 ;
7460 PyObject
* obj1
= 0 ;
7461 PyObject
* obj2
= 0 ;
7462 char * kwnames
[] = {
7463 (char *) "self",(char *) "data",(char *) "x", NULL
7466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7468 if (!SWIG_IsOK(res1
)) {
7469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7471 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7472 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7473 if (!SWIG_IsOK(res2
)) {
7474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7479 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7480 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7481 if (!SWIG_IsOK(ecode3
)) {
7482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7484 arg3
= static_cast< int >(val3
);
7486 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= SWIG_Py_Void();
7496 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
= 0;
7498 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7499 wxNativePixelData
*arg2
= 0 ;
7507 PyObject
* obj0
= 0 ;
7508 PyObject
* obj1
= 0 ;
7509 PyObject
* obj2
= 0 ;
7510 char * kwnames
[] = {
7511 (char *) "self",(char *) "data",(char *) "y", NULL
7514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7516 if (!SWIG_IsOK(res1
)) {
7517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7519 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7520 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7521 if (!SWIG_IsOK(res2
)) {
7522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7527 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7528 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7529 if (!SWIG_IsOK(ecode3
)) {
7530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7532 arg3
= static_cast< int >(val3
);
7534 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7537 resultobj
= SWIG_Py_Void();
7544 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
*resultobj
= 0;
7546 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7547 wxNativePixelData
*arg2
= 0 ;
7558 PyObject
* obj0
= 0 ;
7559 PyObject
* obj1
= 0 ;
7560 PyObject
* obj2
= 0 ;
7561 PyObject
* obj3
= 0 ;
7562 char * kwnames
[] = {
7563 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7568 if (!SWIG_IsOK(res1
)) {
7569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7571 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7572 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7573 if (!SWIG_IsOK(res2
)) {
7574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7577 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7579 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7580 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7581 if (!SWIG_IsOK(ecode3
)) {
7582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7584 arg3
= static_cast< int >(val3
);
7585 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7586 if (!SWIG_IsOK(ecode4
)) {
7587 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7589 arg4
= static_cast< int >(val4
);
7591 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7594 resultobj
= SWIG_Py_Void();
7601 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
*resultobj
= 0;
7603 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7609 unsigned char val2
;
7611 unsigned char val3
;
7613 unsigned char val4
;
7615 PyObject
* obj0
= 0 ;
7616 PyObject
* obj1
= 0 ;
7617 PyObject
* obj2
= 0 ;
7618 PyObject
* obj3
= 0 ;
7619 char * kwnames
[] = {
7620 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7625 if (!SWIG_IsOK(res1
)) {
7626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7628 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7629 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7630 if (!SWIG_IsOK(ecode2
)) {
7631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7633 arg2
= static_cast< byte
>(val2
);
7634 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7635 if (!SWIG_IsOK(ecode3
)) {
7636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7638 arg3
= static_cast< byte
>(val3
);
7639 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7640 if (!SWIG_IsOK(ecode4
)) {
7641 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7643 arg4
= static_cast< byte
>(val4
);
7645 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7646 if (PyErr_Occurred()) SWIG_fail
;
7648 resultobj
= SWIG_Py_Void();
7655 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7656 PyObject
*resultobj
= 0;
7657 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7658 PyObject
*result
= 0 ;
7661 PyObject
*swig_obj
[1] ;
7663 if (!args
) SWIG_fail
;
7665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7666 if (!SWIG_IsOK(res1
)) {
7667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7669 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7671 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7681 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7683 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7684 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7685 return SWIG_Py_Void();
7688 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7689 return SWIG_Python_InitShadowInstance(args
);
7692 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7693 PyObject
*resultobj
= 0;
7694 wxBitmap
*arg1
= 0 ;
7695 wxAlphaPixelData
*result
= 0 ;
7699 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7701 if (!SWIG_IsOK(res1
)) {
7702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7707 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7709 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7712 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7719 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7720 PyObject
*resultobj
= 0;
7721 wxBitmap
*arg1
= 0 ;
7723 wxAlphaPixelData
*result
= 0 ;
7728 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7730 if (!SWIG_IsOK(res1
)) {
7731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7736 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7739 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7742 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7743 if (PyErr_Occurred()) SWIG_fail
;
7745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7752 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7753 PyObject
*resultobj
= 0;
7754 wxBitmap
*arg1
= 0 ;
7757 wxAlphaPixelData
*result
= 0 ;
7763 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7765 if (!SWIG_IsOK(res1
)) {
7766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7771 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7774 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7778 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7781 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7791 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7795 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7798 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7801 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7804 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7808 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
7813 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7814 PyObject
*resultobj
= 0;
7815 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7818 PyObject
*swig_obj
[1] ;
7820 if (!args
) SWIG_fail
;
7822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
7823 if (!SWIG_IsOK(res1
)) {
7824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7826 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= SWIG_Py_Void();
7839 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7840 PyObject
*resultobj
= 0;
7841 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7842 wxAlphaPixelData_Accessor result
;
7845 PyObject
*swig_obj
[1] ;
7847 if (!args
) SWIG_fail
;
7849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7850 if (!SWIG_IsOK(res1
)) {
7851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
7853 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7855 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7865 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7866 PyObject
*resultobj
= 0;
7867 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7870 PyObject
*swig_obj
[1] ;
7872 if (!args
) SWIG_fail
;
7874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7875 if (!SWIG_IsOK(res1
)) {
7876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7878 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 resultobj
= SWIG_Py_Void();
7890 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7891 PyObject
*resultobj
= 0;
7892 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7896 PyObject
*swig_obj
[1] ;
7898 if (!args
) SWIG_fail
;
7900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7901 if (!SWIG_IsOK(res1
)) {
7902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7904 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7906 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
7907 if (PyErr_Occurred()) SWIG_fail
;
7910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7918 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7920 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7921 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
7922 return SWIG_Py_Void();
7925 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7926 return SWIG_Python_InitShadowInstance(args
);
7929 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7930 PyObject
*resultobj
= 0;
7931 wxAlphaPixelData
*arg1
= 0 ;
7932 wxAlphaPixelData_Accessor
*result
= 0 ;
7936 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
7938 if (!SWIG_IsOK(res1
)) {
7939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
7942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
7944 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7946 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7956 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7957 PyObject
*resultobj
= 0;
7958 wxBitmap
*arg1
= 0 ;
7959 wxAlphaPixelData
*arg2
= 0 ;
7960 wxAlphaPixelData_Accessor
*result
= 0 ;
7966 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7968 if (!SWIG_IsOK(res1
)) {
7969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7974 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7975 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
7976 if (!SWIG_IsOK(res2
)) {
7977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
7980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
7982 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
7984 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7994 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7995 PyObject
*resultobj
= 0;
7996 wxAlphaPixelData_Accessor
*result
= 0 ;
7998 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8000 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8010 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8014 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8017 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8020 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8023 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8027 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8032 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8033 PyObject
*resultobj
= 0;
8034 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8037 PyObject
*swig_obj
[1] ;
8039 if (!args
) SWIG_fail
;
8041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8042 if (!SWIG_IsOK(res1
)) {
8043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8045 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= SWIG_Py_Void();
8058 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
= 0;
8060 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8061 wxAlphaPixelData
*arg2
= 0 ;
8066 PyObject
* obj0
= 0 ;
8067 PyObject
* obj1
= 0 ;
8068 char * kwnames
[] = {
8069 (char *) "self",(char *) "data", NULL
8072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8074 if (!SWIG_IsOK(res1
)) {
8075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8077 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8078 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8079 if (!SWIG_IsOK(res2
)) {
8080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8085 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8087 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8090 resultobj
= SWIG_Py_Void();
8097 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8098 PyObject
*resultobj
= 0;
8099 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8103 PyObject
*swig_obj
[1] ;
8105 if (!args
) SWIG_fail
;
8107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8108 if (!SWIG_IsOK(res1
)) {
8109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8111 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8113 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8114 if (PyErr_Occurred()) SWIG_fail
;
8117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8125 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8126 PyObject
*resultobj
= 0;
8127 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8130 PyObject
*swig_obj
[1] ;
8132 if (!args
) SWIG_fail
;
8134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8135 if (!SWIG_IsOK(res1
)) {
8136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8138 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8140 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8143 resultobj
= SWIG_Py_Void();
8150 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
= 0;
8152 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8153 wxAlphaPixelData
*arg2
= 0 ;
8164 PyObject
* obj0
= 0 ;
8165 PyObject
* obj1
= 0 ;
8166 PyObject
* obj2
= 0 ;
8167 PyObject
* obj3
= 0 ;
8168 char * kwnames
[] = {
8169 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8174 if (!SWIG_IsOK(res1
)) {
8175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8177 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8178 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8179 if (!SWIG_IsOK(res2
)) {
8180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8185 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8187 if (!SWIG_IsOK(ecode3
)) {
8188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8190 arg3
= static_cast< int >(val3
);
8191 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8192 if (!SWIG_IsOK(ecode4
)) {
8193 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8195 arg4
= static_cast< int >(val4
);
8197 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 resultobj
= SWIG_Py_Void();
8207 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
= 0;
8209 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8210 wxAlphaPixelData
*arg2
= 0 ;
8218 PyObject
* obj0
= 0 ;
8219 PyObject
* obj1
= 0 ;
8220 PyObject
* obj2
= 0 ;
8221 char * kwnames
[] = {
8222 (char *) "self",(char *) "data",(char *) "x", NULL
8225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8227 if (!SWIG_IsOK(res1
)) {
8228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8230 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8231 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8232 if (!SWIG_IsOK(res2
)) {
8233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8238 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8240 if (!SWIG_IsOK(ecode3
)) {
8241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8243 arg3
= static_cast< int >(val3
);
8245 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 resultobj
= SWIG_Py_Void();
8255 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
= 0;
8257 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8258 wxAlphaPixelData
*arg2
= 0 ;
8266 PyObject
* obj0
= 0 ;
8267 PyObject
* obj1
= 0 ;
8268 PyObject
* obj2
= 0 ;
8269 char * kwnames
[] = {
8270 (char *) "self",(char *) "data",(char *) "y", NULL
8273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8275 if (!SWIG_IsOK(res1
)) {
8276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8278 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8279 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8280 if (!SWIG_IsOK(res2
)) {
8281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8286 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8288 if (!SWIG_IsOK(ecode3
)) {
8289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8291 arg3
= static_cast< int >(val3
);
8293 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8296 resultobj
= SWIG_Py_Void();
8303 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
= 0;
8305 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8306 wxAlphaPixelData
*arg2
= 0 ;
8317 PyObject
* obj0
= 0 ;
8318 PyObject
* obj1
= 0 ;
8319 PyObject
* obj2
= 0 ;
8320 PyObject
* obj3
= 0 ;
8321 char * kwnames
[] = {
8322 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8327 if (!SWIG_IsOK(res1
)) {
8328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8330 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8331 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8332 if (!SWIG_IsOK(res2
)) {
8333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8338 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8339 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8340 if (!SWIG_IsOK(ecode3
)) {
8341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8343 arg3
= static_cast< int >(val3
);
8344 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8345 if (!SWIG_IsOK(ecode4
)) {
8346 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8348 arg4
= static_cast< int >(val4
);
8350 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 resultobj
= SWIG_Py_Void();
8360 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
*resultobj
= 0;
8362 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8369 unsigned char val2
;
8371 unsigned char val3
;
8373 unsigned char val4
;
8375 unsigned char val5
;
8377 PyObject
* obj0
= 0 ;
8378 PyObject
* obj1
= 0 ;
8379 PyObject
* obj2
= 0 ;
8380 PyObject
* obj3
= 0 ;
8381 PyObject
* obj4
= 0 ;
8382 char * kwnames
[] = {
8383 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8388 if (!SWIG_IsOK(res1
)) {
8389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8391 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8392 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8393 if (!SWIG_IsOK(ecode2
)) {
8394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8396 arg2
= static_cast< byte
>(val2
);
8397 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8398 if (!SWIG_IsOK(ecode3
)) {
8399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8401 arg3
= static_cast< byte
>(val3
);
8402 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8403 if (!SWIG_IsOK(ecode4
)) {
8404 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8406 arg4
= static_cast< byte
>(val4
);
8407 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8408 if (!SWIG_IsOK(ecode5
)) {
8409 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8411 arg5
= static_cast< byte
>(val5
);
8413 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 resultobj
= SWIG_Py_Void();
8423 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8424 PyObject
*resultobj
= 0;
8425 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8426 PyObject
*result
= 0 ;
8429 PyObject
*swig_obj
[1] ;
8431 if (!args
) SWIG_fail
;
8433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8434 if (!SWIG_IsOK(res1
)) {
8435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8437 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8439 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8449 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8451 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8452 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8453 return SWIG_Py_Void();
8456 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8457 return SWIG_Python_InitShadowInstance(args
);
8460 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
= 0;
8462 wxBitmap
*arg1
= 0 ;
8463 wxColour
const &arg2_defvalue
= wxNullColour
;
8464 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8465 wxMask
*result
= 0 ;
8469 PyObject
* obj0
= 0 ;
8470 PyObject
* obj1
= 0 ;
8471 char * kwnames
[] = {
8472 (char *) "bitmap",(char *) "colour", NULL
8475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8476 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8477 if (!SWIG_IsOK(res1
)) {
8478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8483 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8487 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8491 if (!wxPyCheckForApp()) SWIG_fail
;
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8504 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8505 PyObject
*resultobj
= 0;
8506 wxMask
*arg1
= (wxMask
*) 0 ;
8509 PyObject
*swig_obj
[1] ;
8511 if (!args
) SWIG_fail
;
8513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8514 if (!SWIG_IsOK(res1
)) {
8515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8517 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8523 resultobj
= SWIG_Py_Void();
8530 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8533 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8534 return SWIG_Py_Void();
8537 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8538 return SWIG_Python_InitShadowInstance(args
);
8541 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8542 PyObject
*resultobj
= 0;
8543 wxString
*arg1
= 0 ;
8545 int arg3
= (int) -1 ;
8546 int arg4
= (int) -1 ;
8547 wxIcon
*result
= 0 ;
8548 bool temp1
= false ;
8555 PyObject
* obj0
= 0 ;
8556 PyObject
* obj1
= 0 ;
8557 PyObject
* obj2
= 0 ;
8558 PyObject
* obj3
= 0 ;
8559 char * kwnames
[] = {
8560 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8565 arg1
= wxString_in_helper(obj0
);
8566 if (arg1
== NULL
) SWIG_fail
;
8569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8570 if (!SWIG_IsOK(ecode2
)) {
8571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8573 arg2
= static_cast< wxBitmapType
>(val2
);
8575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8576 if (!SWIG_IsOK(ecode3
)) {
8577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8579 arg3
= static_cast< int >(val3
);
8582 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8583 if (!SWIG_IsOK(ecode4
)) {
8584 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8586 arg4
= static_cast< int >(val4
);
8589 if (!wxPyCheckForApp()) SWIG_fail
;
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8610 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8611 PyObject
*resultobj
= 0;
8612 wxIcon
*arg1
= (wxIcon
*) 0 ;
8615 PyObject
*swig_obj
[1] ;
8617 if (!args
) SWIG_fail
;
8619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8620 if (!SWIG_IsOK(res1
)) {
8621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8623 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8631 resultobj
= SWIG_Py_Void();
8638 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8639 PyObject
*resultobj
= 0;
8640 wxIcon
*result
= 0 ;
8642 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8644 if (!wxPyCheckForApp()) SWIG_fail
;
8645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8646 result
= (wxIcon
*)new wxIcon();
8647 wxPyEndAllowThreads(__tstate
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8657 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
*resultobj
= 0;
8659 wxIconLocation
*arg1
= 0 ;
8660 wxIcon
*result
= 0 ;
8663 PyObject
* obj0
= 0 ;
8664 char * kwnames
[] = {
8665 (char *) "loc", NULL
8668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8669 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8670 if (!SWIG_IsOK(res1
)) {
8671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8676 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8678 if (!wxPyCheckForApp()) SWIG_fail
;
8679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8680 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8681 wxPyEndAllowThreads(__tstate
);
8682 if (PyErr_Occurred()) SWIG_fail
;
8684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8691 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8692 PyObject
*resultobj
= 0;
8693 wxBitmap
*arg1
= 0 ;
8694 wxIcon
*result
= 0 ;
8697 PyObject
* obj0
= 0 ;
8698 char * kwnames
[] = {
8699 (char *) "bmp", NULL
8702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8703 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8704 if (!SWIG_IsOK(res1
)) {
8705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8710 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8712 if (!wxPyCheckForApp()) SWIG_fail
;
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8714 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8725 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
= 0;
8727 PyObject
*arg1
= (PyObject
*) 0 ;
8728 wxIcon
*result
= 0 ;
8729 PyObject
* obj0
= 0 ;
8730 char * kwnames
[] = {
8731 (char *) "listOfStrings", NULL
8734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8737 if (!wxPyCheckForApp()) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 result
= (wxIcon
*)new_wxIcon(arg1
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8750 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
= 0;
8752 wxIcon
*arg1
= (wxIcon
*) 0 ;
8753 wxString
*arg2
= 0 ;
8758 bool temp2
= false ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8763 PyObject
* obj2
= 0 ;
8764 char * kwnames
[] = {
8765 (char *) "self",(char *) "name",(char *) "type", NULL
8768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8770 if (!SWIG_IsOK(res1
)) {
8771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
8773 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8775 arg2
= wxString_in_helper(obj1
);
8776 if (arg2
== NULL
) SWIG_fail
;
8779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8780 if (!SWIG_IsOK(ecode3
)) {
8781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
8783 arg3
= static_cast< wxBitmapType
>(val3
);
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
8787 wxPyEndAllowThreads(__tstate
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8807 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8808 PyObject
*resultobj
= 0;
8809 wxIcon
*arg1
= (wxIcon
*) 0 ;
8813 PyObject
*swig_obj
[1] ;
8815 if (!args
) SWIG_fail
;
8817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8818 if (!SWIG_IsOK(res1
)) {
8819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
8821 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 result
= (bool)(arg1
)->Ok();
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8837 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8838 PyObject
*resultobj
= 0;
8839 wxIcon
*arg1
= (wxIcon
*) 0 ;
8843 PyObject
*swig_obj
[1] ;
8845 if (!args
) SWIG_fail
;
8847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8848 if (!SWIG_IsOK(res1
)) {
8849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8851 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 result
= (int)(arg1
)->GetWidth();
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 resultobj
= SWIG_From_int(static_cast< int >(result
));
8865 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8866 PyObject
*resultobj
= 0;
8867 wxIcon
*arg1
= (wxIcon
*) 0 ;
8871 PyObject
*swig_obj
[1] ;
8873 if (!args
) SWIG_fail
;
8875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8876 if (!SWIG_IsOK(res1
)) {
8877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
8879 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8882 result
= (int)(arg1
)->GetHeight();
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8886 resultobj
= SWIG_From_int(static_cast< int >(result
));
8893 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8894 PyObject
*resultobj
= 0;
8895 wxIcon
*arg1
= (wxIcon
*) 0 ;
8899 PyObject
*swig_obj
[1] ;
8901 if (!args
) SWIG_fail
;
8903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8904 if (!SWIG_IsOK(res1
)) {
8905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
8907 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 result
= (int)(arg1
)->GetDepth();
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8914 resultobj
= SWIG_From_int(static_cast< int >(result
));
8921 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
*resultobj
= 0;
8923 wxIcon
*arg1
= (wxIcon
*) 0 ;
8929 PyObject
* obj0
= 0 ;
8930 PyObject
* obj1
= 0 ;
8931 char * kwnames
[] = {
8932 (char *) "self",(char *) "w", NULL
8935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8937 if (!SWIG_IsOK(res1
)) {
8938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8940 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8942 if (!SWIG_IsOK(ecode2
)) {
8943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
8945 arg2
= static_cast< int >(val2
);
8947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8948 (arg1
)->SetWidth(arg2
);
8949 wxPyEndAllowThreads(__tstate
);
8950 if (PyErr_Occurred()) SWIG_fail
;
8952 resultobj
= SWIG_Py_Void();
8959 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8960 PyObject
*resultobj
= 0;
8961 wxIcon
*arg1
= (wxIcon
*) 0 ;
8967 PyObject
* obj0
= 0 ;
8968 PyObject
* obj1
= 0 ;
8969 char * kwnames
[] = {
8970 (char *) "self",(char *) "h", NULL
8973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8975 if (!SWIG_IsOK(res1
)) {
8976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
8978 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8980 if (!SWIG_IsOK(ecode2
)) {
8981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
8983 arg2
= static_cast< int >(val2
);
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 (arg1
)->SetHeight(arg2
);
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= SWIG_Py_Void();
8997 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
= 0;
8999 wxIcon
*arg1
= (wxIcon
*) 0 ;
9005 PyObject
* obj0
= 0 ;
9006 PyObject
* obj1
= 0 ;
9007 char * kwnames
[] = {
9008 (char *) "self",(char *) "d", NULL
9011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9013 if (!SWIG_IsOK(res1
)) {
9014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9016 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9018 if (!SWIG_IsOK(ecode2
)) {
9019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9021 arg2
= static_cast< int >(val2
);
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 (arg1
)->SetDepth(arg2
);
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9028 resultobj
= SWIG_Py_Void();
9035 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
*resultobj
= 0;
9037 wxIcon
*arg1
= (wxIcon
*) 0 ;
9038 wxBitmap
*arg2
= 0 ;
9043 PyObject
* obj0
= 0 ;
9044 PyObject
* obj1
= 0 ;
9045 char * kwnames
[] = {
9046 (char *) "self",(char *) "bmp", NULL
9049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9051 if (!SWIG_IsOK(res1
)) {
9052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9054 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9055 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9056 if (!SWIG_IsOK(res2
)) {
9057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9062 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9066 wxPyEndAllowThreads(__tstate
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9069 resultobj
= SWIG_Py_Void();
9076 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9079 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9080 return SWIG_Py_Void();
9083 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9084 return SWIG_Python_InitShadowInstance(args
);
9087 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
= 0;
9089 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9090 int arg2
= (int) 0 ;
9091 wxIconLocation
*result
= 0 ;
9092 bool temp1
= false ;
9095 PyObject
* obj0
= 0 ;
9096 PyObject
* obj1
= 0 ;
9097 char * kwnames
[] = {
9098 (char *) "filename",(char *) "num", NULL
9101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9104 arg1
= wxString_in_helper(obj0
);
9105 if (arg1
== NULL
) SWIG_fail
;
9110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9111 if (!SWIG_IsOK(ecode2
)) {
9112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9114 arg2
= static_cast< int >(val2
);
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9137 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9138 PyObject
*resultobj
= 0;
9139 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9142 PyObject
*swig_obj
[1] ;
9144 if (!args
) SWIG_fail
;
9146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9147 if (!SWIG_IsOK(res1
)) {
9148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9150 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 resultobj
= SWIG_Py_Void();
9165 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9166 PyObject
*resultobj
= 0;
9167 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9171 PyObject
*swig_obj
[1] ;
9173 if (!args
) SWIG_fail
;
9175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9176 if (!SWIG_IsOK(res1
)) {
9177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9179 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9195 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
= 0;
9197 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9198 wxString
*arg2
= 0 ;
9201 bool temp2
= false ;
9202 PyObject
* obj0
= 0 ;
9203 PyObject
* obj1
= 0 ;
9204 char * kwnames
[] = {
9205 (char *) "self",(char *) "filename", NULL
9208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9210 if (!SWIG_IsOK(res1
)) {
9211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9213 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9215 arg2
= wxString_in_helper(obj1
);
9216 if (arg2
== NULL
) SWIG_fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 (arg1
)->SetFileName((wxString
const &)*arg2
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= SWIG_Py_Void();
9240 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9241 PyObject
*resultobj
= 0;
9242 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9243 wxString
*result
= 0 ;
9246 PyObject
*swig_obj
[1] ;
9248 if (!args
) SWIG_fail
;
9250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9251 if (!SWIG_IsOK(res1
)) {
9252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9254 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9259 result
= (wxString
*) &_result_ref
;
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9266 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9268 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9277 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
*resultobj
= 0;
9279 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9285 PyObject
* obj0
= 0 ;
9286 PyObject
* obj1
= 0 ;
9287 char * kwnames
[] = {
9288 (char *) "self",(char *) "num", NULL
9291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9293 if (!SWIG_IsOK(res1
)) {
9294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9296 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9298 if (!SWIG_IsOK(ecode2
)) {
9299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9301 arg2
= static_cast< int >(val2
);
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 wxIconLocation_SetIndex(arg1
,arg2
);
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= SWIG_Py_Void();
9315 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9316 PyObject
*resultobj
= 0;
9317 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9321 PyObject
*swig_obj
[1] ;
9323 if (!args
) SWIG_fail
;
9325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9326 if (!SWIG_IsOK(res1
)) {
9327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9329 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 result
= (int)wxIconLocation_GetIndex(arg1
);
9333 wxPyEndAllowThreads(__tstate
);
9334 if (PyErr_Occurred()) SWIG_fail
;
9336 resultobj
= SWIG_From_int(static_cast< int >(result
));
9343 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9345 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9346 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9347 return SWIG_Py_Void();
9350 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9351 return SWIG_Python_InitShadowInstance(args
);
9354 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9355 PyObject
*resultobj
= 0;
9356 wxIconBundle
*result
= 0 ;
9358 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 result
= (wxIconBundle
*)new wxIconBundle();
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9372 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
= 0;
9374 wxString
*arg1
= 0 ;
9376 wxIconBundle
*result
= 0 ;
9377 bool temp1
= false ;
9380 PyObject
* obj0
= 0 ;
9381 PyObject
* obj1
= 0 ;
9382 char * kwnames
[] = {
9383 (char *) "file",(char *) "type", NULL
9386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9388 arg1
= wxString_in_helper(obj0
);
9389 if (arg1
== NULL
) SWIG_fail
;
9392 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9393 if (!SWIG_IsOK(ecode2
)) {
9394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9396 arg2
= static_cast< long >(val2
);
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9400 wxPyEndAllowThreads(__tstate
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9418 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
= 0;
9421 wxIconBundle
*result
= 0 ;
9424 PyObject
* obj0
= 0 ;
9425 char * kwnames
[] = {
9426 (char *) "icon", NULL
9429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9430 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9431 if (!SWIG_IsOK(res1
)) {
9432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9437 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9451 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9452 PyObject
*resultobj
= 0;
9453 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9456 PyObject
*swig_obj
[1] ;
9458 if (!args
) SWIG_fail
;
9460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9461 if (!SWIG_IsOK(res1
)) {
9462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9464 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9472 resultobj
= SWIG_Py_Void();
9479 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
*resultobj
= 0;
9481 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9487 PyObject
* obj0
= 0 ;
9488 PyObject
* obj1
= 0 ;
9489 char * kwnames
[] = {
9490 (char *) "self",(char *) "icon", NULL
9493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9495 if (!SWIG_IsOK(res1
)) {
9496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9498 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9499 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9500 if (!SWIG_IsOK(res2
)) {
9501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9504 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9506 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9509 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9513 resultobj
= SWIG_Py_Void();
9520 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
= 0;
9522 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9523 wxString
*arg2
= 0 ;
9527 bool temp2
= false ;
9530 PyObject
* obj0
= 0 ;
9531 PyObject
* obj1
= 0 ;
9532 PyObject
* obj2
= 0 ;
9533 char * kwnames
[] = {
9534 (char *) "self",(char *) "file",(char *) "type", NULL
9537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9539 if (!SWIG_IsOK(res1
)) {
9540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9542 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9544 arg2
= wxString_in_helper(obj1
);
9545 if (arg2
== NULL
) SWIG_fail
;
9548 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9549 if (!SWIG_IsOK(ecode3
)) {
9550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9552 arg3
= static_cast< long >(val3
);
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9559 resultobj
= SWIG_Py_Void();
9574 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
*resultobj
= 0;
9576 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9578 wxIcon
*result
= 0 ;
9582 PyObject
* obj0
= 0 ;
9583 PyObject
* obj1
= 0 ;
9584 char * kwnames
[] = {
9585 (char *) "self",(char *) "size", NULL
9588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9590 if (!SWIG_IsOK(res1
)) {
9591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9593 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9596 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9602 result
= (wxIcon
*) &_result_ref
;
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9608 wxIcon
* resultptr
= new wxIcon(*result
);
9609 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9617 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9619 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9620 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9621 return SWIG_Py_Void();
9624 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9625 return SWIG_Python_InitShadowInstance(args
);
9628 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9629 PyObject
*resultobj
= 0;
9630 wxString
*arg1
= 0 ;
9632 int arg3
= (int) 0 ;
9633 int arg4
= (int) 0 ;
9634 wxCursor
*result
= 0 ;
9635 bool temp1
= false ;
9642 PyObject
* obj0
= 0 ;
9643 PyObject
* obj1
= 0 ;
9644 PyObject
* obj2
= 0 ;
9645 PyObject
* obj3
= 0 ;
9646 char * kwnames
[] = {
9647 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9652 arg1
= wxString_in_helper(obj0
);
9653 if (arg1
== NULL
) SWIG_fail
;
9656 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9657 if (!SWIG_IsOK(ecode2
)) {
9658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9660 arg2
= static_cast< long >(val2
);
9662 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9663 if (!SWIG_IsOK(ecode3
)) {
9664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9666 arg3
= static_cast< int >(val3
);
9669 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9670 if (!SWIG_IsOK(ecode4
)) {
9671 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9673 arg4
= static_cast< int >(val4
);
9676 if (!wxPyCheckForApp()) SWIG_fail
;
9677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9678 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9697 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9698 PyObject
*resultobj
= 0;
9699 wxCursor
*arg1
= (wxCursor
*) 0 ;
9702 PyObject
*swig_obj
[1] ;
9704 if (!args
) SWIG_fail
;
9706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9707 if (!SWIG_IsOK(res1
)) {
9708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9710 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9718 resultobj
= SWIG_Py_Void();
9725 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
*resultobj
= 0;
9728 wxCursor
*result
= 0 ;
9731 PyObject
* obj0
= 0 ;
9732 char * kwnames
[] = {
9736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9737 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9738 if (!SWIG_IsOK(ecode1
)) {
9739 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9741 arg1
= static_cast< int >(val1
);
9743 if (!wxPyCheckForApp()) SWIG_fail
;
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 result
= (wxCursor
*)new wxCursor(arg1
);
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9756 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9757 PyObject
*resultobj
= 0;
9759 wxCursor
*result
= 0 ;
9762 PyObject
* obj0
= 0 ;
9763 char * kwnames
[] = {
9764 (char *) "image", NULL
9767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9768 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9769 if (!SWIG_IsOK(res1
)) {
9770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9775 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9777 if (!wxPyCheckForApp()) SWIG_fail
;
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9779 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9790 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9791 PyObject
*resultobj
= 0;
9792 wxCursor
*arg1
= (wxCursor
*) 0 ;
9796 PyObject
*swig_obj
[1] ;
9798 if (!args
) SWIG_fail
;
9800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9801 if (!SWIG_IsOK(res1
)) {
9802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
9804 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 result
= (bool)(arg1
)->Ok();
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9820 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9823 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9824 return SWIG_Py_Void();
9827 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9828 return SWIG_Python_InitShadowInstance(args
);
9831 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
= 0;
9833 int arg1
= (int) 0 ;
9834 int arg2
= (int) 0 ;
9835 int arg3
= (int) 0 ;
9836 int arg4
= (int) 0 ;
9837 wxRegion
*result
= 0 ;
9846 PyObject
* obj0
= 0 ;
9847 PyObject
* obj1
= 0 ;
9848 PyObject
* obj2
= 0 ;
9849 PyObject
* obj3
= 0 ;
9850 char * kwnames
[] = {
9851 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9856 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9857 if (!SWIG_IsOK(ecode1
)) {
9858 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
9860 arg1
= static_cast< int >(val1
);
9863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9864 if (!SWIG_IsOK(ecode2
)) {
9865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
9867 arg2
= static_cast< int >(val2
);
9870 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9871 if (!SWIG_IsOK(ecode3
)) {
9872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
9874 arg3
= static_cast< int >(val3
);
9877 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9878 if (!SWIG_IsOK(ecode4
)) {
9879 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
9881 arg4
= static_cast< int >(val4
);
9884 if (!wxPyCheckForApp()) SWIG_fail
;
9885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9886 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
9897 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
= 0;
9899 wxBitmap
*arg1
= 0 ;
9900 wxRegion
*result
= 0 ;
9903 PyObject
* obj0
= 0 ;
9904 char * kwnames
[] = {
9905 (char *) "bmp", NULL
9908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9909 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9910 if (!SWIG_IsOK(res1
)) {
9911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9916 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9918 if (!wxPyCheckForApp()) SWIG_fail
;
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
9931 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9932 PyObject
*resultobj
= 0;
9933 wxBitmap
*arg1
= 0 ;
9934 wxColour
*arg2
= 0 ;
9935 int arg3
= (int) 0 ;
9936 wxRegion
*result
= 0 ;
9942 PyObject
* obj0
= 0 ;
9943 PyObject
* obj1
= 0 ;
9944 PyObject
* obj2
= 0 ;
9945 char * kwnames
[] = {
9946 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
9949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9950 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9951 if (!SWIG_IsOK(res1
)) {
9952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9957 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9960 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9963 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9964 if (!SWIG_IsOK(ecode3
)) {
9965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
9967 arg3
= static_cast< int >(val3
);
9970 if (!wxPyCheckForApp()) SWIG_fail
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
9983 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
= 0;
9986 wxPoint
*arg2
= (wxPoint
*) 0 ;
9987 int arg3
= (int) wxWINDING_RULE
;
9988 wxRegion
*result
= 0 ;
9991 PyObject
* obj0
= 0 ;
9992 PyObject
* obj1
= 0 ;
9993 char * kwnames
[] = {
9994 (char *) "points",(char *) "fillStyle", NULL
9997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9999 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10000 if (arg2
== NULL
) SWIG_fail
;
10003 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10004 if (!SWIG_IsOK(ecode3
)) {
10005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10007 arg3
= static_cast< int >(val3
);
10010 if (!wxPyCheckForApp()) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10018 if (arg2
) delete [] arg2
;
10023 if (arg2
) delete [] arg2
;
10029 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10030 PyObject
*resultobj
= 0;
10031 wxRegion
*arg1
= (wxRegion
*) 0 ;
10034 PyObject
*swig_obj
[1] ;
10036 if (!args
) SWIG_fail
;
10037 swig_obj
[0] = args
;
10038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10039 if (!SWIG_IsOK(res1
)) {
10040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10042 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= SWIG_Py_Void();
10057 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10058 PyObject
*resultobj
= 0;
10059 wxRegion
*arg1
= (wxRegion
*) 0 ;
10062 PyObject
*swig_obj
[1] ;
10064 if (!args
) SWIG_fail
;
10065 swig_obj
[0] = args
;
10066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10067 if (!SWIG_IsOK(res1
)) {
10068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10070 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10077 resultobj
= SWIG_Py_Void();
10084 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
= 0;
10086 wxRegion
*arg1
= (wxRegion
*) 0 ;
10096 PyObject
* obj0
= 0 ;
10097 PyObject
* obj1
= 0 ;
10098 PyObject
* obj2
= 0 ;
10099 char * kwnames
[] = {
10100 (char *) "self",(char *) "x",(char *) "y", NULL
10103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10105 if (!SWIG_IsOK(res1
)) {
10106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10108 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10110 if (!SWIG_IsOK(ecode2
)) {
10111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10113 arg2
= static_cast< int >(val2
);
10114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10115 if (!SWIG_IsOK(ecode3
)) {
10116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10118 arg3
= static_cast< int >(val3
);
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10121 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10134 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
= 0;
10136 wxRegion
*arg1
= (wxRegion
*) 0 ;
10139 wxRegionContain result
;
10146 PyObject
* obj0
= 0 ;
10147 PyObject
* obj1
= 0 ;
10148 PyObject
* obj2
= 0 ;
10149 char * kwnames
[] = {
10150 (char *) "self",(char *) "x",(char *) "y", NULL
10153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10155 if (!SWIG_IsOK(res1
)) {
10156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10158 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10160 if (!SWIG_IsOK(ecode2
)) {
10161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10163 arg2
= static_cast< int >(val2
);
10164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10165 if (!SWIG_IsOK(ecode3
)) {
10166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10168 arg3
= static_cast< int >(val3
);
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 resultobj
= SWIG_From_int(static_cast< int >(result
));
10182 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
= 0;
10184 wxRegion
*arg1
= (wxRegion
*) 0 ;
10185 wxPoint
*arg2
= 0 ;
10186 wxRegionContain result
;
10190 PyObject
* obj0
= 0 ;
10191 PyObject
* obj1
= 0 ;
10192 char * kwnames
[] = {
10193 (char *) "self",(char *) "pt", NULL
10196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10198 if (!SWIG_IsOK(res1
)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10201 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10204 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10212 resultobj
= SWIG_From_int(static_cast< int >(result
));
10219 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
= 0;
10221 wxRegion
*arg1
= (wxRegion
*) 0 ;
10223 wxRegionContain result
;
10227 PyObject
* obj0
= 0 ;
10228 PyObject
* obj1
= 0 ;
10229 char * kwnames
[] = {
10230 (char *) "self",(char *) "rect", NULL
10233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10235 if (!SWIG_IsOK(res1
)) {
10236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10238 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10241 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= SWIG_From_int(static_cast< int >(result
));
10256 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
= 0;
10258 wxRegion
*arg1
= (wxRegion
*) 0 ;
10263 wxRegionContain result
;
10274 PyObject
* obj0
= 0 ;
10275 PyObject
* obj1
= 0 ;
10276 PyObject
* obj2
= 0 ;
10277 PyObject
* obj3
= 0 ;
10278 PyObject
* obj4
= 0 ;
10279 char * kwnames
[] = {
10280 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10285 if (!SWIG_IsOK(res1
)) {
10286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10288 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10290 if (!SWIG_IsOK(ecode2
)) {
10291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10293 arg2
= static_cast< int >(val2
);
10294 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10295 if (!SWIG_IsOK(ecode3
)) {
10296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10298 arg3
= static_cast< int >(val3
);
10299 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10300 if (!SWIG_IsOK(ecode4
)) {
10301 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10303 arg4
= static_cast< int >(val4
);
10304 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10305 if (!SWIG_IsOK(ecode5
)) {
10306 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10308 arg5
= static_cast< int >(val5
);
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= SWIG_From_int(static_cast< int >(result
));
10322 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10323 PyObject
*resultobj
= 0;
10324 wxRegion
*arg1
= (wxRegion
*) 0 ;
10328 PyObject
*swig_obj
[1] ;
10330 if (!args
) SWIG_fail
;
10331 swig_obj
[0] = args
;
10332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10333 if (!SWIG_IsOK(res1
)) {
10334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10336 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 result
= (arg1
)->GetBox();
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10343 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10350 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
= 0;
10352 wxRegion
*arg1
= (wxRegion
*) 0 ;
10368 PyObject
* obj0
= 0 ;
10369 PyObject
* obj1
= 0 ;
10370 PyObject
* obj2
= 0 ;
10371 PyObject
* obj3
= 0 ;
10372 PyObject
* obj4
= 0 ;
10373 char * kwnames
[] = {
10374 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10379 if (!SWIG_IsOK(res1
)) {
10380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10382 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10384 if (!SWIG_IsOK(ecode2
)) {
10385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10387 arg2
= static_cast< int >(val2
);
10388 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10389 if (!SWIG_IsOK(ecode3
)) {
10390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10392 arg3
= static_cast< int >(val3
);
10393 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10394 if (!SWIG_IsOK(ecode4
)) {
10395 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10397 arg4
= static_cast< int >(val4
);
10398 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10399 if (!SWIG_IsOK(ecode5
)) {
10400 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10402 arg5
= static_cast< int >(val5
);
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10418 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
= 0;
10420 wxRegion
*arg1
= (wxRegion
*) 0 ;
10426 PyObject
* obj0
= 0 ;
10427 PyObject
* obj1
= 0 ;
10428 char * kwnames
[] = {
10429 (char *) "self",(char *) "rect", NULL
10432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10434 if (!SWIG_IsOK(res1
)) {
10435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10437 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10440 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10444 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10445 wxPyEndAllowThreads(__tstate
);
10446 if (PyErr_Occurred()) SWIG_fail
;
10449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10457 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
*resultobj
= 0;
10459 wxRegion
*arg1
= (wxRegion
*) 0 ;
10460 wxRegion
*arg2
= 0 ;
10466 PyObject
* obj0
= 0 ;
10467 PyObject
* obj1
= 0 ;
10468 char * kwnames
[] = {
10469 (char *) "self",(char *) "region", NULL
10472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10474 if (!SWIG_IsOK(res1
)) {
10475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10477 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10478 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10479 if (!SWIG_IsOK(res2
)) {
10480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10485 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10489 wxPyEndAllowThreads(__tstate
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10501 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10502 PyObject
*resultobj
= 0;
10503 wxRegion
*arg1
= (wxRegion
*) 0 ;
10507 PyObject
*swig_obj
[1] ;
10509 if (!args
) SWIG_fail
;
10510 swig_obj
[0] = args
;
10511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10512 if (!SWIG_IsOK(res1
)) {
10513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10515 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 result
= (bool)(arg1
)->IsEmpty();
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10531 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
= 0;
10533 wxRegion
*arg1
= (wxRegion
*) 0 ;
10534 wxRegion
*arg2
= 0 ;
10540 PyObject
* obj0
= 0 ;
10541 PyObject
* obj1
= 0 ;
10542 char * kwnames
[] = {
10543 (char *) "self",(char *) "region", NULL
10546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10548 if (!SWIG_IsOK(res1
)) {
10549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10551 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10552 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10553 if (!SWIG_IsOK(res2
)) {
10554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10559 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10575 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
= 0;
10577 wxRegion
*arg1
= (wxRegion
*) 0 ;
10593 PyObject
* obj0
= 0 ;
10594 PyObject
* obj1
= 0 ;
10595 PyObject
* obj2
= 0 ;
10596 PyObject
* obj3
= 0 ;
10597 PyObject
* obj4
= 0 ;
10598 char * kwnames
[] = {
10599 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10604 if (!SWIG_IsOK(res1
)) {
10605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10607 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10609 if (!SWIG_IsOK(ecode2
)) {
10610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10612 arg2
= static_cast< int >(val2
);
10613 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10614 if (!SWIG_IsOK(ecode3
)) {
10615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10617 arg3
= static_cast< int >(val3
);
10618 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10619 if (!SWIG_IsOK(ecode4
)) {
10620 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10622 arg4
= static_cast< int >(val4
);
10623 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10624 if (!SWIG_IsOK(ecode5
)) {
10625 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10627 arg5
= static_cast< int >(val5
);
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10631 wxPyEndAllowThreads(__tstate
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10643 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10644 PyObject
*resultobj
= 0;
10645 wxRegion
*arg1
= (wxRegion
*) 0 ;
10651 PyObject
* obj0
= 0 ;
10652 PyObject
* obj1
= 0 ;
10653 char * kwnames
[] = {
10654 (char *) "self",(char *) "rect", NULL
10657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10659 if (!SWIG_IsOK(res1
)) {
10660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10662 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10665 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10682 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
= 0;
10684 wxRegion
*arg1
= (wxRegion
*) 0 ;
10685 wxRegion
*arg2
= 0 ;
10691 PyObject
* obj0
= 0 ;
10692 PyObject
* obj1
= 0 ;
10693 char * kwnames
[] = {
10694 (char *) "self",(char *) "region", NULL
10697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10699 if (!SWIG_IsOK(res1
)) {
10700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10702 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10703 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10704 if (!SWIG_IsOK(res2
)) {
10705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10710 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10726 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10727 PyObject
*resultobj
= 0;
10728 wxRegion
*arg1
= (wxRegion
*) 0 ;
10744 PyObject
* obj0
= 0 ;
10745 PyObject
* obj1
= 0 ;
10746 PyObject
* obj2
= 0 ;
10747 PyObject
* obj3
= 0 ;
10748 PyObject
* obj4
= 0 ;
10749 char * kwnames
[] = {
10750 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10755 if (!SWIG_IsOK(res1
)) {
10756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10758 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10760 if (!SWIG_IsOK(ecode2
)) {
10761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10763 arg2
= static_cast< int >(val2
);
10764 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10765 if (!SWIG_IsOK(ecode3
)) {
10766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10768 arg3
= static_cast< int >(val3
);
10769 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10770 if (!SWIG_IsOK(ecode4
)) {
10771 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10773 arg4
= static_cast< int >(val4
);
10774 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10775 if (!SWIG_IsOK(ecode5
)) {
10776 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10778 arg5
= static_cast< int >(val5
);
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10782 wxPyEndAllowThreads(__tstate
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10794 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
= 0;
10796 wxRegion
*arg1
= (wxRegion
*) 0 ;
10802 PyObject
* obj0
= 0 ;
10803 PyObject
* obj1
= 0 ;
10804 char * kwnames
[] = {
10805 (char *) "self",(char *) "rect", NULL
10808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10810 if (!SWIG_IsOK(res1
)) {
10811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10813 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10816 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10820 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10821 wxPyEndAllowThreads(__tstate
);
10822 if (PyErr_Occurred()) SWIG_fail
;
10825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10833 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
= 0;
10835 wxRegion
*arg1
= (wxRegion
*) 0 ;
10836 wxRegion
*arg2
= 0 ;
10842 PyObject
* obj0
= 0 ;
10843 PyObject
* obj1
= 0 ;
10844 char * kwnames
[] = {
10845 (char *) "self",(char *) "region", NULL
10848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10850 if (!SWIG_IsOK(res1
)) {
10851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10853 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10854 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10855 if (!SWIG_IsOK(res2
)) {
10856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10861 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10877 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10878 PyObject
*resultobj
= 0;
10879 wxRegion
*arg1
= (wxRegion
*) 0 ;
10895 PyObject
* obj0
= 0 ;
10896 PyObject
* obj1
= 0 ;
10897 PyObject
* obj2
= 0 ;
10898 PyObject
* obj3
= 0 ;
10899 PyObject
* obj4
= 0 ;
10900 char * kwnames
[] = {
10901 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10906 if (!SWIG_IsOK(res1
)) {
10907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
10909 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10911 if (!SWIG_IsOK(ecode2
)) {
10912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
10914 arg2
= static_cast< int >(val2
);
10915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10916 if (!SWIG_IsOK(ecode3
)) {
10917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
10919 arg3
= static_cast< int >(val3
);
10920 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10921 if (!SWIG_IsOK(ecode4
)) {
10922 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
10924 arg4
= static_cast< int >(val4
);
10925 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10926 if (!SWIG_IsOK(ecode5
)) {
10927 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
10929 arg5
= static_cast< int >(val5
);
10931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10945 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
*resultobj
= 0;
10947 wxRegion
*arg1
= (wxRegion
*) 0 ;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 char * kwnames
[] = {
10956 (char *) "self",(char *) "rect", NULL
10959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10961 if (!SWIG_IsOK(res1
)) {
10962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10964 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10967 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10984 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10985 PyObject
*resultobj
= 0;
10986 wxRegion
*arg1
= (wxRegion
*) 0 ;
10987 wxRegion
*arg2
= 0 ;
10993 PyObject
* obj0
= 0 ;
10994 PyObject
* obj1
= 0 ;
10995 char * kwnames
[] = {
10996 (char *) "self",(char *) "region", NULL
10999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11001 if (!SWIG_IsOK(res1
)) {
11002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11004 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11006 if (!SWIG_IsOK(res2
)) {
11007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11012 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11015 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11016 wxPyEndAllowThreads(__tstate
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11028 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11029 PyObject
*resultobj
= 0;
11030 wxRegion
*arg1
= (wxRegion
*) 0 ;
11031 SwigValueWrapper
<wxBitmap
> result
;
11034 PyObject
*swig_obj
[1] ;
11036 if (!args
) SWIG_fail
;
11037 swig_obj
[0] = args
;
11038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11039 if (!SWIG_IsOK(res1
)) {
11040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11042 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11045 result
= (arg1
)->ConvertToBitmap();
11046 wxPyEndAllowThreads(__tstate
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11049 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11056 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11057 PyObject
*resultobj
= 0;
11058 wxRegion
*arg1
= (wxRegion
*) 0 ;
11059 wxBitmap
*arg2
= 0 ;
11065 PyObject
* obj0
= 0 ;
11066 PyObject
* obj1
= 0 ;
11067 char * kwnames
[] = {
11068 (char *) "self",(char *) "bmp", NULL
11071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11073 if (!SWIG_IsOK(res1
)) {
11074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11076 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11077 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11078 if (!SWIG_IsOK(res2
)) {
11079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11084 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11100 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11101 PyObject
*resultobj
= 0;
11102 wxRegion
*arg1
= (wxRegion
*) 0 ;
11103 wxBitmap
*arg2
= 0 ;
11104 wxColour
*arg3
= 0 ;
11105 int arg4
= (int) 0 ;
11114 PyObject
* obj0
= 0 ;
11115 PyObject
* obj1
= 0 ;
11116 PyObject
* obj2
= 0 ;
11117 PyObject
* obj3
= 0 ;
11118 char * kwnames
[] = {
11119 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11124 if (!SWIG_IsOK(res1
)) {
11125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11127 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11128 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11129 if (!SWIG_IsOK(res2
)) {
11130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11135 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11138 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11141 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11142 if (!SWIG_IsOK(ecode4
)) {
11143 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11145 arg4
= static_cast< int >(val4
);
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11162 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11164 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11165 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11166 return SWIG_Py_Void();
11169 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11170 return SWIG_Python_InitShadowInstance(args
);
11173 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11174 PyObject
*resultobj
= 0;
11175 wxRegion
*arg1
= 0 ;
11176 wxRegionIterator
*result
= 0 ;
11179 PyObject
* obj0
= 0 ;
11180 char * kwnames
[] = {
11181 (char *) "region", NULL
11184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11185 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11186 if (!SWIG_IsOK(res1
)) {
11187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11192 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11194 if (!wxPyCheckForApp()) SWIG_fail
;
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11207 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11208 PyObject
*resultobj
= 0;
11209 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11212 PyObject
*swig_obj
[1] ;
11214 if (!args
) SWIG_fail
;
11215 swig_obj
[0] = args
;
11216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11217 if (!SWIG_IsOK(res1
)) {
11218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11220 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11228 resultobj
= SWIG_Py_Void();
11235 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11236 PyObject
*resultobj
= 0;
11237 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11241 PyObject
*swig_obj
[1] ;
11243 if (!args
) SWIG_fail
;
11244 swig_obj
[0] = args
;
11245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11246 if (!SWIG_IsOK(res1
)) {
11247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11249 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11252 result
= (int)(arg1
)->GetX();
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11256 resultobj
= SWIG_From_int(static_cast< int >(result
));
11263 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11264 PyObject
*resultobj
= 0;
11265 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11269 PyObject
*swig_obj
[1] ;
11271 if (!args
) SWIG_fail
;
11272 swig_obj
[0] = args
;
11273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11274 if (!SWIG_IsOK(res1
)) {
11275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11277 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= (int)(arg1
)->GetY();
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= SWIG_From_int(static_cast< int >(result
));
11291 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11292 PyObject
*resultobj
= 0;
11293 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11297 PyObject
*swig_obj
[1] ;
11299 if (!args
) SWIG_fail
;
11300 swig_obj
[0] = args
;
11301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11302 if (!SWIG_IsOK(res1
)) {
11303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11305 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 result
= (int)(arg1
)->GetW();
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 resultobj
= SWIG_From_int(static_cast< int >(result
));
11319 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11320 PyObject
*resultobj
= 0;
11321 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11325 PyObject
*swig_obj
[1] ;
11327 if (!args
) SWIG_fail
;
11328 swig_obj
[0] = args
;
11329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11330 if (!SWIG_IsOK(res1
)) {
11331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11333 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 result
= (int)(arg1
)->GetWidth();
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11340 resultobj
= SWIG_From_int(static_cast< int >(result
));
11347 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11348 PyObject
*resultobj
= 0;
11349 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11353 PyObject
*swig_obj
[1] ;
11355 if (!args
) SWIG_fail
;
11356 swig_obj
[0] = args
;
11357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11358 if (!SWIG_IsOK(res1
)) {
11359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11361 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= (int)(arg1
)->GetH();
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11368 resultobj
= SWIG_From_int(static_cast< int >(result
));
11375 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11376 PyObject
*resultobj
= 0;
11377 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11381 PyObject
*swig_obj
[1] ;
11383 if (!args
) SWIG_fail
;
11384 swig_obj
[0] = args
;
11385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11386 if (!SWIG_IsOK(res1
)) {
11387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11389 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (int)(arg1
)->GetHeight();
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11396 resultobj
= SWIG_From_int(static_cast< int >(result
));
11403 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11404 PyObject
*resultobj
= 0;
11405 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11409 PyObject
*swig_obj
[1] ;
11411 if (!args
) SWIG_fail
;
11412 swig_obj
[0] = args
;
11413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11414 if (!SWIG_IsOK(res1
)) {
11415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11417 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 result
= (arg1
)->GetRect();
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11424 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11431 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11432 PyObject
*resultobj
= 0;
11433 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11437 PyObject
*swig_obj
[1] ;
11439 if (!args
) SWIG_fail
;
11440 swig_obj
[0] = args
;
11441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11442 if (!SWIG_IsOK(res1
)) {
11443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11445 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 result
= (bool)(arg1
)->HaveRects();
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11461 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11462 PyObject
*resultobj
= 0;
11463 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11466 PyObject
*swig_obj
[1] ;
11468 if (!args
) SWIG_fail
;
11469 swig_obj
[0] = args
;
11470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11471 if (!SWIG_IsOK(res1
)) {
11472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11474 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11481 resultobj
= SWIG_Py_Void();
11488 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11489 PyObject
*resultobj
= 0;
11490 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11493 PyObject
*swig_obj
[1] ;
11495 if (!args
) SWIG_fail
;
11496 swig_obj
[0] = args
;
11497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11498 if (!SWIG_IsOK(res1
)) {
11499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11501 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 wxRegionIterator_Next(arg1
);
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11508 resultobj
= SWIG_Py_Void();
11515 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11516 PyObject
*resultobj
= 0;
11517 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11521 PyObject
*swig_obj
[1] ;
11523 if (!args
) SWIG_fail
;
11524 swig_obj
[0] = args
;
11525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11526 if (!SWIG_IsOK(res1
)) {
11527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11529 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11545 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11547 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11548 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11549 return SWIG_Py_Void();
11552 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11553 return SWIG_Python_InitShadowInstance(args
);
11556 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11557 PyObject
*resultobj
= 0;
11558 wxNativeFontInfo
*result
= 0 ;
11560 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11574 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11575 PyObject
*resultobj
= 0;
11576 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11579 PyObject
*swig_obj
[1] ;
11581 if (!args
) SWIG_fail
;
11582 swig_obj
[0] = args
;
11583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11584 if (!SWIG_IsOK(res1
)) {
11585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11587 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 resultobj
= SWIG_Py_Void();
11602 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11603 PyObject
*resultobj
= 0;
11604 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11607 PyObject
*swig_obj
[1] ;
11609 if (!args
) SWIG_fail
;
11610 swig_obj
[0] = args
;
11611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11612 if (!SWIG_IsOK(res1
)) {
11613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11615 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 resultobj
= SWIG_Py_Void();
11629 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
= 0;
11631 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11637 PyObject
* obj0
= 0 ;
11638 PyObject
* obj1
= 0 ;
11639 char * kwnames
[] = {
11640 (char *) "self",(char *) "font", NULL
11643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11645 if (!SWIG_IsOK(res1
)) {
11646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11648 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11649 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11650 if (!SWIG_IsOK(res2
)) {
11651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11656 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= SWIG_Py_Void();
11670 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11671 PyObject
*resultobj
= 0;
11672 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11676 PyObject
*swig_obj
[1] ;
11678 if (!args
) SWIG_fail
;
11679 swig_obj
[0] = args
;
11680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11681 if (!SWIG_IsOK(res1
)) {
11682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11684 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11688 wxPyEndAllowThreads(__tstate
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11691 resultobj
= SWIG_From_int(static_cast< int >(result
));
11698 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11699 PyObject
*resultobj
= 0;
11700 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11701 wxFontStyle result
;
11704 PyObject
*swig_obj
[1] ;
11706 if (!args
) SWIG_fail
;
11707 swig_obj
[0] = args
;
11708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11709 if (!SWIG_IsOK(res1
)) {
11710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11712 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11715 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 resultobj
= SWIG_From_int(static_cast< int >(result
));
11726 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11727 PyObject
*resultobj
= 0;
11728 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11729 wxFontWeight result
;
11732 PyObject
*swig_obj
[1] ;
11734 if (!args
) SWIG_fail
;
11735 swig_obj
[0] = args
;
11736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11737 if (!SWIG_IsOK(res1
)) {
11738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11740 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= SWIG_From_int(static_cast< int >(result
));
11754 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11755 PyObject
*resultobj
= 0;
11756 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11760 PyObject
*swig_obj
[1] ;
11762 if (!args
) SWIG_fail
;
11763 swig_obj
[0] = args
;
11764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11765 if (!SWIG_IsOK(res1
)) {
11766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11768 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11771 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11784 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11785 PyObject
*resultobj
= 0;
11786 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11790 PyObject
*swig_obj
[1] ;
11792 if (!args
) SWIG_fail
;
11793 swig_obj
[0] = args
;
11794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11795 if (!SWIG_IsOK(res1
)) {
11796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11798 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11801 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11818 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11819 PyObject
*resultobj
= 0;
11820 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11821 wxFontFamily result
;
11824 PyObject
*swig_obj
[1] ;
11826 if (!args
) SWIG_fail
;
11827 swig_obj
[0] = args
;
11828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11829 if (!SWIG_IsOK(res1
)) {
11830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11832 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11839 resultobj
= SWIG_From_int(static_cast< int >(result
));
11846 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11847 PyObject
*resultobj
= 0;
11848 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11849 wxFontEncoding result
;
11852 PyObject
*swig_obj
[1] ;
11854 if (!args
) SWIG_fail
;
11855 swig_obj
[0] = args
;
11856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11857 if (!SWIG_IsOK(res1
)) {
11858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11860 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11863 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11867 resultobj
= SWIG_From_int(static_cast< int >(result
));
11874 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11875 PyObject
*resultobj
= 0;
11876 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11882 PyObject
* obj0
= 0 ;
11883 PyObject
* obj1
= 0 ;
11884 char * kwnames
[] = {
11885 (char *) "self",(char *) "pointsize", NULL
11888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11890 if (!SWIG_IsOK(res1
)) {
11891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11893 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11895 if (!SWIG_IsOK(ecode2
)) {
11896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
11898 arg2
= static_cast< int >(val2
);
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 (arg1
)->SetPointSize(arg2
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= SWIG_Py_Void();
11912 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
*resultobj
= 0;
11914 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11920 PyObject
* obj0
= 0 ;
11921 PyObject
* obj1
= 0 ;
11922 char * kwnames
[] = {
11923 (char *) "self",(char *) "style", NULL
11926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11928 if (!SWIG_IsOK(res1
)) {
11929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11931 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11933 if (!SWIG_IsOK(ecode2
)) {
11934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
11936 arg2
= static_cast< wxFontStyle
>(val2
);
11938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11939 (arg1
)->SetStyle(arg2
);
11940 wxPyEndAllowThreads(__tstate
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11943 resultobj
= SWIG_Py_Void();
11950 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11951 PyObject
*resultobj
= 0;
11952 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11953 wxFontWeight arg2
;
11958 PyObject
* obj0
= 0 ;
11959 PyObject
* obj1
= 0 ;
11960 char * kwnames
[] = {
11961 (char *) "self",(char *) "weight", NULL
11964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11966 if (!SWIG_IsOK(res1
)) {
11967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11969 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11971 if (!SWIG_IsOK(ecode2
)) {
11972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
11974 arg2
= static_cast< wxFontWeight
>(val2
);
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 (arg1
)->SetWeight(arg2
);
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11981 resultobj
= SWIG_Py_Void();
11988 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
= 0;
11990 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11996 PyObject
* obj0
= 0 ;
11997 PyObject
* obj1
= 0 ;
11998 char * kwnames
[] = {
11999 (char *) "self",(char *) "underlined", NULL
12002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12004 if (!SWIG_IsOK(res1
)) {
12005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12007 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12008 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12009 if (!SWIG_IsOK(ecode2
)) {
12010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12012 arg2
= static_cast< bool >(val2
);
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12015 (arg1
)->SetUnderlined(arg2
);
12016 wxPyEndAllowThreads(__tstate
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12019 resultobj
= SWIG_Py_Void();
12026 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12027 PyObject
*resultobj
= 0;
12028 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12033 PyObject
* obj0
= 0 ;
12034 PyObject
* obj1
= 0 ;
12035 char * kwnames
[] = {
12036 (char *) "self",(char *) "facename", NULL
12039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12041 if (!SWIG_IsOK(res1
)) {
12042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12044 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12046 wxString
* sptr
= wxString_in_helper(obj1
);
12047 if (sptr
== NULL
) SWIG_fail
;
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 result
= (bool)(arg1
)->SetFaceName(arg2
);
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12066 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
= 0;
12068 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12069 wxFontFamily arg2
;
12074 PyObject
* obj0
= 0 ;
12075 PyObject
* obj1
= 0 ;
12076 char * kwnames
[] = {
12077 (char *) "self",(char *) "family", NULL
12080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12082 if (!SWIG_IsOK(res1
)) {
12083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12085 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12087 if (!SWIG_IsOK(ecode2
)) {
12088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12090 arg2
= static_cast< wxFontFamily
>(val2
);
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 (arg1
)->SetFamily(arg2
);
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12097 resultobj
= SWIG_Py_Void();
12104 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12105 PyObject
*resultobj
= 0;
12106 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12107 wxFontEncoding arg2
;
12112 PyObject
* obj0
= 0 ;
12113 PyObject
* obj1
= 0 ;
12114 char * kwnames
[] = {
12115 (char *) "self",(char *) "encoding", NULL
12118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12120 if (!SWIG_IsOK(res1
)) {
12121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12123 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12125 if (!SWIG_IsOK(ecode2
)) {
12126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12128 arg2
= static_cast< wxFontEncoding
>(val2
);
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 (arg1
)->SetEncoding(arg2
);
12132 wxPyEndAllowThreads(__tstate
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12135 resultobj
= SWIG_Py_Void();
12142 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12143 PyObject
*resultobj
= 0;
12144 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12145 wxString
*arg2
= 0 ;
12149 bool temp2
= false ;
12150 PyObject
* obj0
= 0 ;
12151 PyObject
* obj1
= 0 ;
12152 char * kwnames
[] = {
12153 (char *) "self",(char *) "s", NULL
12156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12158 if (!SWIG_IsOK(res1
)) {
12159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12161 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12163 arg2
= wxString_in_helper(obj1
);
12164 if (arg2
== NULL
) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12170 wxPyEndAllowThreads(__tstate
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12190 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12191 PyObject
*resultobj
= 0;
12192 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12196 PyObject
*swig_obj
[1] ;
12198 if (!args
) SWIG_fail
;
12199 swig_obj
[0] = args
;
12200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12201 if (!SWIG_IsOK(res1
)) {
12202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12204 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12224 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12225 PyObject
*resultobj
= 0;
12226 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12230 PyObject
*swig_obj
[1] ;
12232 if (!args
) SWIG_fail
;
12233 swig_obj
[0] = args
;
12234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12235 if (!SWIG_IsOK(res1
)) {
12236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12238 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 result
= wxNativeFontInfo___str__(arg1
);
12242 wxPyEndAllowThreads(__tstate
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12258 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
= 0;
12260 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12261 wxString
*arg2
= 0 ;
12265 bool temp2
= false ;
12266 PyObject
* obj0
= 0 ;
12267 PyObject
* obj1
= 0 ;
12268 char * kwnames
[] = {
12269 (char *) "self",(char *) "s", NULL
12272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12274 if (!SWIG_IsOK(res1
)) {
12275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12277 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12279 arg2
= wxString_in_helper(obj1
);
12280 if (arg2
== NULL
) SWIG_fail
;
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12306 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12307 PyObject
*resultobj
= 0;
12308 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
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_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12320 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12329 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12331 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12340 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12342 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12343 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12344 return SWIG_Py_Void();
12347 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12348 return SWIG_Python_InitShadowInstance(args
);
12351 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12352 PyObject
*resultobj
= 0;
12353 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12354 wxString
*arg2
= (wxString
*) 0 ;
12357 bool temp2
= false ;
12358 PyObject
*swig_obj
[2] ;
12360 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12362 if (!SWIG_IsOK(res1
)) {
12363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12365 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12367 arg2
= wxString_in_helper(swig_obj
[1]);
12368 if (arg2
== NULL
) SWIG_fail
;
12371 if (arg1
) (arg1
)->facename
= *arg2
;
12373 resultobj
= SWIG_Py_Void();
12388 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12389 PyObject
*resultobj
= 0;
12390 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12391 wxString
*result
= 0 ;
12394 PyObject
*swig_obj
[1] ;
12396 if (!args
) SWIG_fail
;
12397 swig_obj
[0] = args
;
12398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12399 if (!SWIG_IsOK(res1
)) {
12400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12402 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12403 result
= (wxString
*)& ((arg1
)->facename
);
12406 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12408 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12417 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12418 PyObject
*resultobj
= 0;
12419 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12420 wxFontEncoding arg2
;
12425 PyObject
*swig_obj
[2] ;
12427 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12429 if (!SWIG_IsOK(res1
)) {
12430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12432 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12433 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12434 if (!SWIG_IsOK(ecode2
)) {
12435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12437 arg2
= static_cast< wxFontEncoding
>(val2
);
12438 if (arg1
) (arg1
)->encoding
= arg2
;
12440 resultobj
= SWIG_Py_Void();
12447 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12448 PyObject
*resultobj
= 0;
12449 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12450 wxFontEncoding result
;
12453 PyObject
*swig_obj
[1] ;
12455 if (!args
) SWIG_fail
;
12456 swig_obj
[0] = args
;
12457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12458 if (!SWIG_IsOK(res1
)) {
12459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12461 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12462 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12463 resultobj
= SWIG_From_int(static_cast< int >(result
));
12470 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12471 PyObject
*resultobj
= 0;
12472 wxNativeEncodingInfo
*result
= 0 ;
12474 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12477 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12478 wxPyEndAllowThreads(__tstate
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12488 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12489 PyObject
*resultobj
= 0;
12490 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12493 PyObject
*swig_obj
[1] ;
12495 if (!args
) SWIG_fail
;
12496 swig_obj
[0] = args
;
12497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12498 if (!SWIG_IsOK(res1
)) {
12499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12501 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 wxPyEndAllowThreads(__tstate
);
12507 if (PyErr_Occurred()) SWIG_fail
;
12509 resultobj
= SWIG_Py_Void();
12516 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
= 0;
12518 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12519 wxString
*arg2
= 0 ;
12523 bool temp2
= false ;
12524 PyObject
* obj0
= 0 ;
12525 PyObject
* obj1
= 0 ;
12526 char * kwnames
[] = {
12527 (char *) "self",(char *) "s", NULL
12530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12532 if (!SWIG_IsOK(res1
)) {
12533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12535 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12537 arg2
= wxString_in_helper(obj1
);
12538 if (arg2
== NULL
) SWIG_fail
;
12542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12543 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12564 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12565 PyObject
*resultobj
= 0;
12566 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12570 PyObject
*swig_obj
[1] ;
12572 if (!args
) SWIG_fail
;
12573 swig_obj
[0] = args
;
12574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12575 if (!SWIG_IsOK(res1
)) {
12576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12578 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12598 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12600 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12601 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12602 return SWIG_Py_Void();
12605 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12606 return SWIG_Python_InitShadowInstance(args
);
12609 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12610 PyObject
*resultobj
= 0;
12611 wxFontEncoding arg1
;
12612 wxNativeEncodingInfo
*result
= 0 ;
12615 PyObject
* obj0
= 0 ;
12616 char * kwnames
[] = {
12617 (char *) "encoding", NULL
12620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12621 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12622 if (!SWIG_IsOK(ecode1
)) {
12623 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12625 arg1
= static_cast< wxFontEncoding
>(val1
);
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12639 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
= 0;
12641 wxNativeEncodingInfo
*arg1
= 0 ;
12645 PyObject
* obj0
= 0 ;
12646 char * kwnames
[] = {
12647 (char *) "info", NULL
12650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12651 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12652 if (!SWIG_IsOK(res1
)) {
12653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12658 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12674 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12675 PyObject
*resultobj
= 0;
12676 wxFontMapper
*result
= 0 ;
12678 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 result
= (wxFontMapper
*)new wxFontMapper();
12682 wxPyEndAllowThreads(__tstate
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12692 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12693 PyObject
*resultobj
= 0;
12694 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12697 PyObject
*swig_obj
[1] ;
12699 if (!args
) SWIG_fail
;
12700 swig_obj
[0] = args
;
12701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12702 if (!SWIG_IsOK(res1
)) {
12703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12705 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= SWIG_Py_Void();
12720 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12721 PyObject
*resultobj
= 0;
12722 wxFontMapper
*result
= 0 ;
12724 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 result
= (wxFontMapper
*)wxFontMapper::Get();
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12738 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
= 0;
12740 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12741 wxFontMapper
*result
= 0 ;
12744 PyObject
* obj0
= 0 ;
12745 char * kwnames
[] = {
12746 (char *) "mapper", NULL
12749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12751 if (!SWIG_IsOK(res1
)) {
12752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12754 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12768 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
= 0;
12770 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12771 wxString
*arg2
= 0 ;
12772 bool arg3
= (bool) true ;
12773 wxFontEncoding result
;
12776 bool temp2
= false ;
12779 PyObject
* obj0
= 0 ;
12780 PyObject
* obj1
= 0 ;
12781 PyObject
* obj2
= 0 ;
12782 char * kwnames
[] = {
12783 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12788 if (!SWIG_IsOK(res1
)) {
12789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12791 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12793 arg2
= wxString_in_helper(obj1
);
12794 if (arg2
== NULL
) SWIG_fail
;
12798 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12799 if (!SWIG_IsOK(ecode3
)) {
12800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12802 arg3
= static_cast< bool >(val3
);
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12810 resultobj
= SWIG_From_int(static_cast< int >(result
));
12825 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12826 PyObject
*resultobj
= 0;
12829 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12832 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12836 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12843 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
= 0;
12846 wxFontEncoding result
;
12849 PyObject
* obj0
= 0 ;
12850 char * kwnames
[] = {
12854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
12855 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
12856 if (!SWIG_IsOK(ecode1
)) {
12857 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
12859 arg1
= static_cast< size_t >(val1
);
12861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12862 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12866 resultobj
= SWIG_From_int(static_cast< int >(result
));
12873 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12874 PyObject
*resultobj
= 0;
12875 wxFontEncoding arg1
;
12879 PyObject
* obj0
= 0 ;
12880 char * kwnames
[] = {
12881 (char *) "encoding", NULL
12884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
12885 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12886 if (!SWIG_IsOK(ecode1
)) {
12887 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12889 arg1
= static_cast< wxFontEncoding
>(val1
);
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12892 result
= wxFontMapper::GetEncodingName(arg1
);
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12909 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
= 0;
12911 wxFontEncoding arg1
;
12915 PyObject
* obj0
= 0 ;
12916 char * kwnames
[] = {
12917 (char *) "encoding", NULL
12920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
12921 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12922 if (!SWIG_IsOK(ecode1
)) {
12923 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12925 arg1
= static_cast< wxFontEncoding
>(val1
);
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= wxFontMapper::GetEncodingDescription(arg1
);
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12945 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12946 PyObject
*resultobj
= 0;
12947 wxString
*arg1
= 0 ;
12948 wxFontEncoding result
;
12949 bool temp1
= false ;
12950 PyObject
* obj0
= 0 ;
12951 char * kwnames
[] = {
12952 (char *) "name", NULL
12955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
12957 arg1
= wxString_in_helper(obj0
);
12958 if (arg1
== NULL
) SWIG_fail
;
12962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12963 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
12964 wxPyEndAllowThreads(__tstate
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12967 resultobj
= SWIG_From_int(static_cast< int >(result
));
12982 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12983 PyObject
*resultobj
= 0;
12984 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12985 wxString
*arg2
= 0 ;
12988 bool temp2
= false ;
12989 PyObject
* obj0
= 0 ;
12990 PyObject
* obj1
= 0 ;
12991 char * kwnames
[] = {
12992 (char *) "self",(char *) "prefix", NULL
12995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12997 if (!SWIG_IsOK(res1
)) {
12998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13000 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13002 arg2
= wxString_in_helper(obj1
);
13003 if (arg2
== NULL
) SWIG_fail
;
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 resultobj
= SWIG_Py_Void();
13027 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13028 PyObject
*resultobj
= 0;
13031 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13034 result
= wxFontMapper::GetDefaultConfigPath();
13035 wxPyEndAllowThreads(__tstate
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13051 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
= 0;
13053 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13054 wxFontEncoding arg2
;
13055 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13056 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13057 bool arg4
= (bool) true ;
13058 PyObject
*result
= 0 ;
13063 bool temp3
= false ;
13066 PyObject
* obj0
= 0 ;
13067 PyObject
* obj1
= 0 ;
13068 PyObject
* obj2
= 0 ;
13069 PyObject
* obj3
= 0 ;
13070 char * kwnames
[] = {
13071 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13076 if (!SWIG_IsOK(res1
)) {
13077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13079 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13081 if (!SWIG_IsOK(ecode2
)) {
13082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13084 arg2
= static_cast< wxFontEncoding
>(val2
);
13087 arg3
= wxString_in_helper(obj2
);
13088 if (arg3
== NULL
) SWIG_fail
;
13093 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13094 if (!SWIG_IsOK(ecode4
)) {
13095 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13097 arg4
= static_cast< bool >(val4
);
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13102 wxPyEndAllowThreads(__tstate
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13105 resultobj
= result
;
13120 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13121 PyObject
*resultobj
= 0;
13122 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13123 wxFontEncoding arg2
;
13124 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13125 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13131 bool temp3
= false ;
13132 PyObject
* obj0
= 0 ;
13133 PyObject
* obj1
= 0 ;
13134 PyObject
* obj2
= 0 ;
13135 char * kwnames
[] = {
13136 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13141 if (!SWIG_IsOK(res1
)) {
13142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13144 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13146 if (!SWIG_IsOK(ecode2
)) {
13147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13149 arg2
= static_cast< wxFontEncoding
>(val2
);
13152 arg3
= wxString_in_helper(obj2
);
13153 if (arg3
== NULL
) SWIG_fail
;
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13180 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13181 PyObject
*resultobj
= 0;
13182 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13183 wxWindow
*arg2
= (wxWindow
*) 0 ;
13188 PyObject
* obj0
= 0 ;
13189 PyObject
* obj1
= 0 ;
13190 char * kwnames
[] = {
13191 (char *) "self",(char *) "parent", NULL
13194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13196 if (!SWIG_IsOK(res1
)) {
13197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13199 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13200 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13201 if (!SWIG_IsOK(res2
)) {
13202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13204 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 (arg1
)->SetDialogParent(arg2
);
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13211 resultobj
= SWIG_Py_Void();
13218 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13219 PyObject
*resultobj
= 0;
13220 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13221 wxString
*arg2
= 0 ;
13224 bool temp2
= false ;
13225 PyObject
* obj0
= 0 ;
13226 PyObject
* obj1
= 0 ;
13227 char * kwnames
[] = {
13228 (char *) "self",(char *) "title", NULL
13231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13233 if (!SWIG_IsOK(res1
)) {
13234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13236 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13238 arg2
= wxString_in_helper(obj1
);
13239 if (arg2
== NULL
) SWIG_fail
;
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 resultobj
= SWIG_Py_Void();
13263 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13266 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13267 return SWIG_Py_Void();
13270 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13271 return SWIG_Python_InitShadowInstance(args
);
13274 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13275 PyObject
*resultobj
= 0;
13280 bool arg5
= (bool) false ;
13281 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13282 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13283 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13284 wxFont
*result
= 0 ;
13295 bool temp6
= false ;
13298 PyObject
* obj0
= 0 ;
13299 PyObject
* obj1
= 0 ;
13300 PyObject
* obj2
= 0 ;
13301 PyObject
* obj3
= 0 ;
13302 PyObject
* obj4
= 0 ;
13303 PyObject
* obj5
= 0 ;
13304 PyObject
* obj6
= 0 ;
13305 char * kwnames
[] = {
13306 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13310 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13311 if (!SWIG_IsOK(ecode1
)) {
13312 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13314 arg1
= static_cast< int >(val1
);
13315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13316 if (!SWIG_IsOK(ecode2
)) {
13317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13319 arg2
= static_cast< int >(val2
);
13320 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13321 if (!SWIG_IsOK(ecode3
)) {
13322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13324 arg3
= static_cast< int >(val3
);
13325 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13326 if (!SWIG_IsOK(ecode4
)) {
13327 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13329 arg4
= static_cast< int >(val4
);
13331 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13332 if (!SWIG_IsOK(ecode5
)) {
13333 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13335 arg5
= static_cast< bool >(val5
);
13339 arg6
= wxString_in_helper(obj5
);
13340 if (arg6
== NULL
) SWIG_fail
;
13345 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13346 if (!SWIG_IsOK(ecode7
)) {
13347 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13349 arg7
= static_cast< wxFontEncoding
>(val7
);
13352 if (!wxPyCheckForApp()) SWIG_fail
;
13353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13354 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13355 wxPyEndAllowThreads(__tstate
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13373 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13374 PyObject
*resultobj
= 0;
13375 wxFont
*arg1
= (wxFont
*) 0 ;
13378 PyObject
*swig_obj
[1] ;
13380 if (!args
) SWIG_fail
;
13381 swig_obj
[0] = args
;
13382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13383 if (!SWIG_IsOK(res1
)) {
13384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13386 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= SWIG_Py_Void();
13401 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13402 PyObject
*resultobj
= 0;
13403 wxNativeFontInfo
*arg1
= 0 ;
13404 wxFont
*result
= 0 ;
13407 PyObject
* obj0
= 0 ;
13408 char * kwnames
[] = {
13409 (char *) "info", NULL
13412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13413 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13414 if (!SWIG_IsOK(res1
)) {
13415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13420 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13422 if (!wxPyCheckForApp()) SWIG_fail
;
13423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13424 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13435 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13436 PyObject
*resultobj
= 0;
13437 wxString
*arg1
= 0 ;
13438 wxFont
*result
= 0 ;
13439 bool temp1
= false ;
13440 PyObject
* obj0
= 0 ;
13441 char * kwnames
[] = {
13442 (char *) "info", NULL
13445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13447 arg1
= wxString_in_helper(obj0
);
13448 if (arg1
== NULL
) SWIG_fail
;
13452 if (!wxPyCheckForApp()) SWIG_fail
;
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13455 wxPyEndAllowThreads(__tstate
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13473 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13474 PyObject
*resultobj
= 0;
13476 wxFontFamily arg2
;
13477 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13478 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13479 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13480 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13481 wxFont
*result
= 0 ;
13488 bool temp4
= false ;
13491 PyObject
* obj0
= 0 ;
13492 PyObject
* obj1
= 0 ;
13493 PyObject
* obj2
= 0 ;
13494 PyObject
* obj3
= 0 ;
13495 PyObject
* obj4
= 0 ;
13496 char * kwnames
[] = {
13497 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13501 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13502 if (!SWIG_IsOK(ecode1
)) {
13503 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13505 arg1
= static_cast< int >(val1
);
13506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13507 if (!SWIG_IsOK(ecode2
)) {
13508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13510 arg2
= static_cast< wxFontFamily
>(val2
);
13512 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13513 if (!SWIG_IsOK(ecode3
)) {
13514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13516 arg3
= static_cast< int >(val3
);
13520 arg4
= wxString_in_helper(obj3
);
13521 if (arg4
== NULL
) SWIG_fail
;
13526 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13527 if (!SWIG_IsOK(ecode5
)) {
13528 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13530 arg5
= static_cast< wxFontEncoding
>(val5
);
13533 if (!wxPyCheckForApp()) SWIG_fail
;
13534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13535 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13536 wxPyEndAllowThreads(__tstate
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13554 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13555 PyObject
*resultobj
= 0;
13560 bool arg5
= (bool) false ;
13561 wxString
const &arg6_defvalue
= wxEmptyString
;
13562 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13563 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13564 wxFont
*result
= 0 ;
13574 bool temp6
= false ;
13577 PyObject
* obj0
= 0 ;
13578 PyObject
* obj1
= 0 ;
13579 PyObject
* obj2
= 0 ;
13580 PyObject
* obj3
= 0 ;
13581 PyObject
* obj4
= 0 ;
13582 PyObject
* obj5
= 0 ;
13583 PyObject
* obj6
= 0 ;
13584 char * kwnames
[] = {
13585 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13591 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13594 if (!SWIG_IsOK(ecode2
)) {
13595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13597 arg2
= static_cast< int >(val2
);
13598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13599 if (!SWIG_IsOK(ecode3
)) {
13600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13602 arg3
= static_cast< int >(val3
);
13603 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13604 if (!SWIG_IsOK(ecode4
)) {
13605 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13607 arg4
= static_cast< int >(val4
);
13609 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13610 if (!SWIG_IsOK(ecode5
)) {
13611 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13613 arg5
= static_cast< bool >(val5
);
13617 arg6
= wxString_in_helper(obj5
);
13618 if (arg6
== NULL
) SWIG_fail
;
13623 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13624 if (!SWIG_IsOK(ecode7
)) {
13625 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13627 arg7
= static_cast< wxFontEncoding
>(val7
);
13630 if (!wxPyCheckForApp()) SWIG_fail
;
13631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13632 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13633 wxPyEndAllowThreads(__tstate
);
13634 if (PyErr_Occurred()) SWIG_fail
;
13636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13651 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
= 0;
13654 wxFontFamily arg2
;
13655 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13656 wxString
const &arg4_defvalue
= wxEmptyString
;
13657 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13658 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13659 wxFont
*result
= 0 ;
13665 bool temp4
= false ;
13668 PyObject
* obj0
= 0 ;
13669 PyObject
* obj1
= 0 ;
13670 PyObject
* obj2
= 0 ;
13671 PyObject
* obj3
= 0 ;
13672 PyObject
* obj4
= 0 ;
13673 char * kwnames
[] = {
13674 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13680 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13683 if (!SWIG_IsOK(ecode2
)) {
13684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13686 arg2
= static_cast< wxFontFamily
>(val2
);
13688 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13689 if (!SWIG_IsOK(ecode3
)) {
13690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13692 arg3
= static_cast< int >(val3
);
13696 arg4
= wxString_in_helper(obj3
);
13697 if (arg4
== NULL
) SWIG_fail
;
13702 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13703 if (!SWIG_IsOK(ecode5
)) {
13704 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13706 arg5
= static_cast< wxFontEncoding
>(val5
);
13709 if (!wxPyCheckForApp()) SWIG_fail
;
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13712 wxPyEndAllowThreads(__tstate
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13730 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13731 PyObject
*resultobj
= 0;
13732 wxFont
*arg1
= (wxFont
*) 0 ;
13736 PyObject
*swig_obj
[1] ;
13738 if (!args
) SWIG_fail
;
13739 swig_obj
[0] = args
;
13740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13741 if (!SWIG_IsOK(res1
)) {
13742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
13744 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13747 result
= (bool)((wxFont
const *)arg1
)->Ok();
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13760 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13761 PyObject
*resultobj
= 0;
13762 wxFont
*arg1
= (wxFont
*) 0 ;
13763 wxFont
*arg2
= (wxFont
*) 0 ;
13769 PyObject
* obj0
= 0 ;
13770 PyObject
* obj1
= 0 ;
13771 char * kwnames
[] = {
13772 (char *) "self",(char *) "other", NULL
13775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13777 if (!SWIG_IsOK(res1
)) {
13778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13780 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13781 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13782 if (!SWIG_IsOK(res2
)) {
13783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13785 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13789 wxPyEndAllowThreads(__tstate
);
13790 if (PyErr_Occurred()) SWIG_fail
;
13793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13801 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13802 PyObject
*resultobj
= 0;
13803 wxFont
*arg1
= (wxFont
*) 0 ;
13804 wxFont
*arg2
= (wxFont
*) 0 ;
13810 PyObject
* obj0
= 0 ;
13811 PyObject
* obj1
= 0 ;
13812 char * kwnames
[] = {
13813 (char *) "self",(char *) "other", NULL
13816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13818 if (!SWIG_IsOK(res1
)) {
13819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13821 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13822 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13823 if (!SWIG_IsOK(res2
)) {
13824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13826 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13842 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13843 PyObject
*resultobj
= 0;
13844 wxFont
*arg1
= (wxFont
*) 0 ;
13848 PyObject
*swig_obj
[1] ;
13850 if (!args
) SWIG_fail
;
13851 swig_obj
[0] = args
;
13852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13853 if (!SWIG_IsOK(res1
)) {
13854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13856 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
13860 wxPyEndAllowThreads(__tstate
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13863 resultobj
= SWIG_From_int(static_cast< int >(result
));
13870 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13871 PyObject
*resultobj
= 0;
13872 wxFont
*arg1
= (wxFont
*) 0 ;
13876 PyObject
*swig_obj
[1] ;
13878 if (!args
) SWIG_fail
;
13879 swig_obj
[0] = args
;
13880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13881 if (!SWIG_IsOK(res1
)) {
13882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13884 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13887 result
= ((wxFont
const *)arg1
)->GetPixelSize();
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
13898 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13899 PyObject
*resultobj
= 0;
13900 wxFont
*arg1
= (wxFont
*) 0 ;
13904 PyObject
*swig_obj
[1] ;
13906 if (!args
) SWIG_fail
;
13907 swig_obj
[0] = args
;
13908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13909 if (!SWIG_IsOK(res1
)) {
13910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
13912 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
13916 wxPyEndAllowThreads(__tstate
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13928 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13929 PyObject
*resultobj
= 0;
13930 wxFont
*arg1
= (wxFont
*) 0 ;
13934 PyObject
*swig_obj
[1] ;
13936 if (!args
) SWIG_fail
;
13937 swig_obj
[0] = args
;
13938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13939 if (!SWIG_IsOK(res1
)) {
13940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
13942 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 result
= (int)((wxFont
const *)arg1
)->GetFamily();
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13949 resultobj
= SWIG_From_int(static_cast< int >(result
));
13956 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13957 PyObject
*resultobj
= 0;
13958 wxFont
*arg1
= (wxFont
*) 0 ;
13962 PyObject
*swig_obj
[1] ;
13964 if (!args
) SWIG_fail
;
13965 swig_obj
[0] = args
;
13966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13967 if (!SWIG_IsOK(res1
)) {
13968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
13970 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 result
= (int)((wxFont
const *)arg1
)->GetStyle();
13974 wxPyEndAllowThreads(__tstate
);
13975 if (PyErr_Occurred()) SWIG_fail
;
13977 resultobj
= SWIG_From_int(static_cast< int >(result
));
13984 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13985 PyObject
*resultobj
= 0;
13986 wxFont
*arg1
= (wxFont
*) 0 ;
13990 PyObject
*swig_obj
[1] ;
13992 if (!args
) SWIG_fail
;
13993 swig_obj
[0] = args
;
13994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13995 if (!SWIG_IsOK(res1
)) {
13996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
13998 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= SWIG_From_int(static_cast< int >(result
));
14012 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14013 PyObject
*resultobj
= 0;
14014 wxFont
*arg1
= (wxFont
*) 0 ;
14018 PyObject
*swig_obj
[1] ;
14020 if (!args
) SWIG_fail
;
14021 swig_obj
[0] = args
;
14022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14023 if (!SWIG_IsOK(res1
)) {
14024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14026 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14042 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14043 PyObject
*resultobj
= 0;
14044 wxFont
*arg1
= (wxFont
*) 0 ;
14048 PyObject
*swig_obj
[1] ;
14050 if (!args
) SWIG_fail
;
14051 swig_obj
[0] = args
;
14052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14053 if (!SWIG_IsOK(res1
)) {
14054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14056 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14059 result
= ((wxFont
const *)arg1
)->GetFaceName();
14060 wxPyEndAllowThreads(__tstate
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14076 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14077 PyObject
*resultobj
= 0;
14078 wxFont
*arg1
= (wxFont
*) 0 ;
14079 wxFontEncoding result
;
14082 PyObject
*swig_obj
[1] ;
14084 if (!args
) SWIG_fail
;
14085 swig_obj
[0] = args
;
14086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14087 if (!SWIG_IsOK(res1
)) {
14088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14090 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14093 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14094 wxPyEndAllowThreads(__tstate
);
14095 if (PyErr_Occurred()) SWIG_fail
;
14097 resultobj
= SWIG_From_int(static_cast< int >(result
));
14104 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14105 PyObject
*resultobj
= 0;
14106 wxFont
*arg1
= (wxFont
*) 0 ;
14107 wxNativeFontInfo
*result
= 0 ;
14110 PyObject
*swig_obj
[1] ;
14112 if (!args
) SWIG_fail
;
14113 swig_obj
[0] = args
;
14114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14115 if (!SWIG_IsOK(res1
)) {
14116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14118 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14122 wxPyEndAllowThreads(__tstate
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14132 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14133 PyObject
*resultobj
= 0;
14134 wxFont
*arg1
= (wxFont
*) 0 ;
14138 PyObject
*swig_obj
[1] ;
14140 if (!args
) SWIG_fail
;
14141 swig_obj
[0] = args
;
14142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14143 if (!SWIG_IsOK(res1
)) {
14144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14146 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14162 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14163 PyObject
*resultobj
= 0;
14164 wxFont
*arg1
= (wxFont
*) 0 ;
14168 PyObject
*swig_obj
[1] ;
14170 if (!args
) SWIG_fail
;
14171 swig_obj
[0] = args
;
14172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14173 if (!SWIG_IsOK(res1
)) {
14174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14176 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14179 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14196 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14197 PyObject
*resultobj
= 0;
14198 wxFont
*arg1
= (wxFont
*) 0 ;
14202 PyObject
*swig_obj
[1] ;
14204 if (!args
) SWIG_fail
;
14205 swig_obj
[0] = args
;
14206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14207 if (!SWIG_IsOK(res1
)) {
14208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14210 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14213 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14230 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14231 PyObject
*resultobj
= 0;
14232 wxFont
*arg1
= (wxFont
*) 0 ;
14238 PyObject
* obj0
= 0 ;
14239 PyObject
* obj1
= 0 ;
14240 char * kwnames
[] = {
14241 (char *) "self",(char *) "pointSize", NULL
14244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14246 if (!SWIG_IsOK(res1
)) {
14247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14249 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14251 if (!SWIG_IsOK(ecode2
)) {
14252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14254 arg2
= static_cast< int >(val2
);
14256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14257 (arg1
)->SetPointSize(arg2
);
14258 wxPyEndAllowThreads(__tstate
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14261 resultobj
= SWIG_Py_Void();
14268 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14269 PyObject
*resultobj
= 0;
14270 wxFont
*arg1
= (wxFont
*) 0 ;
14275 PyObject
* obj0
= 0 ;
14276 PyObject
* obj1
= 0 ;
14277 char * kwnames
[] = {
14278 (char *) "self",(char *) "pixelSize", NULL
14281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14283 if (!SWIG_IsOK(res1
)) {
14284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14286 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14289 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14293 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= SWIG_Py_Void();
14304 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
= 0;
14306 wxFont
*arg1
= (wxFont
*) 0 ;
14312 PyObject
* obj0
= 0 ;
14313 PyObject
* obj1
= 0 ;
14314 char * kwnames
[] = {
14315 (char *) "self",(char *) "family", NULL
14318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14320 if (!SWIG_IsOK(res1
)) {
14321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14323 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14325 if (!SWIG_IsOK(ecode2
)) {
14326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14328 arg2
= static_cast< int >(val2
);
14330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14331 (arg1
)->SetFamily(arg2
);
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 resultobj
= SWIG_Py_Void();
14342 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14343 PyObject
*resultobj
= 0;
14344 wxFont
*arg1
= (wxFont
*) 0 ;
14350 PyObject
* obj0
= 0 ;
14351 PyObject
* obj1
= 0 ;
14352 char * kwnames
[] = {
14353 (char *) "self",(char *) "style", NULL
14356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14358 if (!SWIG_IsOK(res1
)) {
14359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14361 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14363 if (!SWIG_IsOK(ecode2
)) {
14364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14366 arg2
= static_cast< int >(val2
);
14368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14369 (arg1
)->SetStyle(arg2
);
14370 wxPyEndAllowThreads(__tstate
);
14371 if (PyErr_Occurred()) SWIG_fail
;
14373 resultobj
= SWIG_Py_Void();
14380 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14381 PyObject
*resultobj
= 0;
14382 wxFont
*arg1
= (wxFont
*) 0 ;
14388 PyObject
* obj0
= 0 ;
14389 PyObject
* obj1
= 0 ;
14390 char * kwnames
[] = {
14391 (char *) "self",(char *) "weight", NULL
14394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14396 if (!SWIG_IsOK(res1
)) {
14397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14399 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14401 if (!SWIG_IsOK(ecode2
)) {
14402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14404 arg2
= static_cast< int >(val2
);
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 (arg1
)->SetWeight(arg2
);
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14411 resultobj
= SWIG_Py_Void();
14418 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
= 0;
14420 wxFont
*arg1
= (wxFont
*) 0 ;
14421 wxString
*arg2
= 0 ;
14425 bool temp2
= false ;
14426 PyObject
* obj0
= 0 ;
14427 PyObject
* obj1
= 0 ;
14428 char * kwnames
[] = {
14429 (char *) "self",(char *) "faceName", NULL
14432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",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_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14437 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14439 arg2
= wxString_in_helper(obj1
);
14440 if (arg2
== NULL
) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14466 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
= 0;
14468 wxFont
*arg1
= (wxFont
*) 0 ;
14474 PyObject
* obj0
= 0 ;
14475 PyObject
* obj1
= 0 ;
14476 char * kwnames
[] = {
14477 (char *) "self",(char *) "underlined", NULL
14480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14482 if (!SWIG_IsOK(res1
)) {
14483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14485 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14486 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14487 if (!SWIG_IsOK(ecode2
)) {
14488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14490 arg2
= static_cast< bool >(val2
);
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 (arg1
)->SetUnderlined(arg2
);
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14497 resultobj
= SWIG_Py_Void();
14504 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14505 PyObject
*resultobj
= 0;
14506 wxFont
*arg1
= (wxFont
*) 0 ;
14507 wxFontEncoding arg2
;
14512 PyObject
* obj0
= 0 ;
14513 PyObject
* obj1
= 0 ;
14514 char * kwnames
[] = {
14515 (char *) "self",(char *) "encoding", NULL
14518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14520 if (!SWIG_IsOK(res1
)) {
14521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14523 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14525 if (!SWIG_IsOK(ecode2
)) {
14526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14528 arg2
= static_cast< wxFontEncoding
>(val2
);
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 (arg1
)->SetEncoding(arg2
);
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14535 resultobj
= SWIG_Py_Void();
14542 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14543 PyObject
*resultobj
= 0;
14544 wxFont
*arg1
= (wxFont
*) 0 ;
14545 wxNativeFontInfo
*arg2
= 0 ;
14550 PyObject
* obj0
= 0 ;
14551 PyObject
* obj1
= 0 ;
14552 char * kwnames
[] = {
14553 (char *) "self",(char *) "info", NULL
14556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14558 if (!SWIG_IsOK(res1
)) {
14559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14561 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14562 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14563 if (!SWIG_IsOK(res2
)) {
14564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14569 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14572 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14573 wxPyEndAllowThreads(__tstate
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14576 resultobj
= SWIG_Py_Void();
14583 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14584 PyObject
*resultobj
= 0;
14585 wxFont
*arg1
= (wxFont
*) 0 ;
14586 wxString
*arg2
= 0 ;
14590 bool temp2
= false ;
14591 PyObject
* obj0
= 0 ;
14592 PyObject
* obj1
= 0 ;
14593 char * kwnames
[] = {
14594 (char *) "self",(char *) "info", NULL
14597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14599 if (!SWIG_IsOK(res1
)) {
14600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14602 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14604 arg2
= wxString_in_helper(obj1
);
14605 if (arg2
== NULL
) SWIG_fail
;
14609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14610 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14611 wxPyEndAllowThreads(__tstate
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14631 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
= 0;
14633 wxFont
*arg1
= (wxFont
*) 0 ;
14634 wxString
*arg2
= 0 ;
14638 bool temp2
= false ;
14639 PyObject
* obj0
= 0 ;
14640 PyObject
* obj1
= 0 ;
14641 char * kwnames
[] = {
14642 (char *) "self",(char *) "info", NULL
14645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14647 if (!SWIG_IsOK(res1
)) {
14648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14650 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14652 arg2
= wxString_in_helper(obj1
);
14653 if (arg2
== NULL
) SWIG_fail
;
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14679 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14680 PyObject
*resultobj
= 0;
14681 wxFont
*arg1
= (wxFont
*) 0 ;
14685 PyObject
*swig_obj
[1] ;
14687 if (!args
) SWIG_fail
;
14688 swig_obj
[0] = args
;
14689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14690 if (!SWIG_IsOK(res1
)) {
14691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14693 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14696 result
= ((wxFont
const *)arg1
)->GetFamilyString();
14697 wxPyEndAllowThreads(__tstate
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14713 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14714 PyObject
*resultobj
= 0;
14715 wxFont
*arg1
= (wxFont
*) 0 ;
14719 PyObject
*swig_obj
[1] ;
14721 if (!args
) SWIG_fail
;
14722 swig_obj
[0] = args
;
14723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14724 if (!SWIG_IsOK(res1
)) {
14725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14727 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14730 result
= ((wxFont
const *)arg1
)->GetStyleString();
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14736 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14738 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14747 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14748 PyObject
*resultobj
= 0;
14749 wxFont
*arg1
= (wxFont
*) 0 ;
14753 PyObject
*swig_obj
[1] ;
14755 if (!args
) SWIG_fail
;
14756 swig_obj
[0] = args
;
14757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14758 if (!SWIG_IsOK(res1
)) {
14759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14761 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 result
= ((wxFont
const *)arg1
)->GetWeightString();
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14770 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14772 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14781 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14782 PyObject
*resultobj
= 0;
14783 wxFont
*arg1
= (wxFont
*) 0 ;
14784 bool arg2
= (bool) true ;
14789 PyObject
* obj0
= 0 ;
14790 PyObject
* obj1
= 0 ;
14791 char * kwnames
[] = {
14792 (char *) "self",(char *) "no", NULL
14795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14797 if (!SWIG_IsOK(res1
)) {
14798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14800 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14802 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14803 if (!SWIG_IsOK(ecode2
)) {
14804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14806 arg2
= static_cast< bool >(val2
);
14809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14810 (arg1
)->SetNoAntiAliasing(arg2
);
14811 wxPyEndAllowThreads(__tstate
);
14812 if (PyErr_Occurred()) SWIG_fail
;
14814 resultobj
= SWIG_Py_Void();
14821 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14822 PyObject
*resultobj
= 0;
14823 wxFont
*arg1
= (wxFont
*) 0 ;
14827 PyObject
*swig_obj
[1] ;
14829 if (!args
) SWIG_fail
;
14830 swig_obj
[0] = args
;
14831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14832 if (!SWIG_IsOK(res1
)) {
14833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14835 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14838 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14839 wxPyEndAllowThreads(__tstate
);
14840 if (PyErr_Occurred()) SWIG_fail
;
14843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14851 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14852 PyObject
*resultobj
= 0;
14853 wxFontEncoding result
;
14855 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
14857 if (!wxPyCheckForApp()) SWIG_fail
;
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14863 resultobj
= SWIG_From_int(static_cast< int >(result
));
14870 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
= 0;
14872 wxFontEncoding arg1
;
14875 PyObject
* obj0
= 0 ;
14876 char * kwnames
[] = {
14877 (char *) "encoding", NULL
14880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
14881 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14882 if (!SWIG_IsOK(ecode1
)) {
14883 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14885 arg1
= static_cast< wxFontEncoding
>(val1
);
14887 if (!wxPyCheckForApp()) SWIG_fail
;
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 wxFont::SetDefaultEncoding(arg1
);
14890 wxPyEndAllowThreads(__tstate
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14893 resultobj
= SWIG_Py_Void();
14900 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14903 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
14904 return SWIG_Py_Void();
14907 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14908 return SWIG_Python_InitShadowInstance(args
);
14911 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14912 PyObject
*resultobj
= 0;
14913 wxPyFontEnumerator
*result
= 0 ;
14915 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
14917 if (!wxPyCheckForApp()) SWIG_fail
;
14918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14919 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
14920 wxPyEndAllowThreads(__tstate
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
14930 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14931 PyObject
*resultobj
= 0;
14932 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14935 PyObject
*swig_obj
[1] ;
14937 if (!args
) SWIG_fail
;
14938 swig_obj
[0] = args
;
14939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
14940 if (!SWIG_IsOK(res1
)) {
14941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14943 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14951 resultobj
= SWIG_Py_Void();
14958 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
= 0;
14960 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14961 PyObject
*arg2
= (PyObject
*) 0 ;
14962 PyObject
*arg3
= (PyObject
*) 0 ;
14968 PyObject
* obj0
= 0 ;
14969 PyObject
* obj1
= 0 ;
14970 PyObject
* obj2
= 0 ;
14971 PyObject
* obj3
= 0 ;
14972 char * kwnames
[] = {
14973 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
14976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
14978 if (!SWIG_IsOK(res1
)) {
14979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14981 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14984 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14985 if (!SWIG_IsOK(ecode4
)) {
14986 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
14988 arg4
= static_cast< bool >(val4
);
14990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14991 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= SWIG_Py_Void();
15002 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15003 PyObject
*resultobj
= 0;
15004 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15005 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15006 bool arg3
= (bool) false ;
15014 PyObject
* obj0
= 0 ;
15015 PyObject
* obj1
= 0 ;
15016 PyObject
* obj2
= 0 ;
15017 char * kwnames
[] = {
15018 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15023 if (!SWIG_IsOK(res1
)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15026 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15029 if (!SWIG_IsOK(ecode2
)) {
15030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15032 arg2
= static_cast< wxFontEncoding
>(val2
);
15035 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15036 if (!SWIG_IsOK(ecode3
)) {
15037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15039 arg3
= static_cast< bool >(val3
);
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15056 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
= 0;
15058 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15059 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15060 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15064 bool temp2
= false ;
15065 PyObject
* obj0
= 0 ;
15066 PyObject
* obj1
= 0 ;
15067 char * kwnames
[] = {
15068 (char *) "self",(char *) "facename", NULL
15071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15073 if (!SWIG_IsOK(res1
)) {
15074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15076 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15079 arg2
= wxString_in_helper(obj1
);
15080 if (arg2
== NULL
) SWIG_fail
;
15085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15087 wxPyEndAllowThreads(__tstate
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15107 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15108 PyObject
*resultobj
= 0;
15109 PyObject
*result
= 0 ;
15111 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15115 wxPyEndAllowThreads(__tstate
);
15116 if (PyErr_Occurred()) SWIG_fail
;
15118 resultobj
= result
;
15125 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15126 PyObject
*resultobj
= 0;
15127 PyObject
*result
= 0 ;
15129 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15136 resultobj
= result
;
15143 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15144 PyObject
*resultobj
= 0;
15145 wxString
*arg1
= 0 ;
15147 bool temp1
= false ;
15148 PyObject
* obj0
= 0 ;
15149 char * kwnames
[] = {
15150 (char *) "str", NULL
15153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15155 arg1
= wxString_in_helper(obj0
);
15156 if (arg1
== NULL
) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15182 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15185 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15186 return SWIG_Py_Void();
15189 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15190 return SWIG_Python_InitShadowInstance(args
);
15193 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15194 PyObject
*resultobj
= 0;
15195 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15201 PyObject
*swig_obj
[2] ;
15203 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15205 if (!SWIG_IsOK(res1
)) {
15206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15208 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15209 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15210 if (!SWIG_IsOK(ecode2
)) {
15211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15213 arg2
= static_cast< int >(val2
);
15214 if (arg1
) (arg1
)->Language
= arg2
;
15216 resultobj
= SWIG_Py_Void();
15223 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15224 PyObject
*resultobj
= 0;
15225 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15229 PyObject
*swig_obj
[1] ;
15231 if (!args
) SWIG_fail
;
15232 swig_obj
[0] = args
;
15233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15234 if (!SWIG_IsOK(res1
)) {
15235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15237 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15238 result
= (int) ((arg1
)->Language
);
15239 resultobj
= SWIG_From_int(static_cast< int >(result
));
15246 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15247 PyObject
*resultobj
= 0;
15248 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15249 wxString
*arg2
= (wxString
*) 0 ;
15252 bool temp2
= false ;
15253 PyObject
*swig_obj
[2] ;
15255 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15257 if (!SWIG_IsOK(res1
)) {
15258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15260 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15262 arg2
= wxString_in_helper(swig_obj
[1]);
15263 if (arg2
== NULL
) SWIG_fail
;
15266 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15268 resultobj
= SWIG_Py_Void();
15283 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15284 PyObject
*resultobj
= 0;
15285 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15286 wxString
*result
= 0 ;
15289 PyObject
*swig_obj
[1] ;
15291 if (!args
) SWIG_fail
;
15292 swig_obj
[0] = args
;
15293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15294 if (!SWIG_IsOK(res1
)) {
15295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15297 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15298 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15301 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15303 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15312 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15313 PyObject
*resultobj
= 0;
15314 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15315 wxString
*arg2
= (wxString
*) 0 ;
15318 bool temp2
= false ;
15319 PyObject
*swig_obj
[2] ;
15321 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15323 if (!SWIG_IsOK(res1
)) {
15324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15326 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15328 arg2
= wxString_in_helper(swig_obj
[1]);
15329 if (arg2
== NULL
) SWIG_fail
;
15332 if (arg1
) (arg1
)->Description
= *arg2
;
15334 resultobj
= SWIG_Py_Void();
15349 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15350 PyObject
*resultobj
= 0;
15351 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15352 wxString
*result
= 0 ;
15355 PyObject
*swig_obj
[1] ;
15357 if (!args
) SWIG_fail
;
15358 swig_obj
[0] = args
;
15359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15360 if (!SWIG_IsOK(res1
)) {
15361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15363 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15364 result
= (wxString
*)& ((arg1
)->Description
);
15367 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15369 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15378 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15380 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15381 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15382 return SWIG_Py_Void();
15385 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
= 0;
15387 int arg1
= (int) -1 ;
15388 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15389 wxLocale
*result
= 0 ;
15394 PyObject
* obj0
= 0 ;
15395 PyObject
* obj1
= 0 ;
15396 char * kwnames
[] = {
15397 (char *) "language",(char *) "flags", NULL
15400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15402 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15403 if (!SWIG_IsOK(ecode1
)) {
15404 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15406 arg1
= static_cast< int >(val1
);
15409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15410 if (!SWIG_IsOK(ecode2
)) {
15411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15413 arg2
= static_cast< int >(val2
);
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15428 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15429 PyObject
*resultobj
= 0;
15430 wxLocale
*arg1
= (wxLocale
*) 0 ;
15433 PyObject
*swig_obj
[1] ;
15435 if (!args
) SWIG_fail
;
15436 swig_obj
[0] = args
;
15437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15438 if (!SWIG_IsOK(res1
)) {
15439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15441 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15449 resultobj
= SWIG_Py_Void();
15456 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15457 PyObject
*resultobj
= 0;
15458 wxLocale
*arg1
= (wxLocale
*) 0 ;
15459 wxString
*arg2
= 0 ;
15460 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15461 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15462 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15463 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15464 bool arg5
= (bool) true ;
15465 bool arg6
= (bool) false ;
15469 bool temp2
= false ;
15470 bool temp3
= false ;
15471 bool temp4
= false ;
15476 PyObject
* obj0
= 0 ;
15477 PyObject
* obj1
= 0 ;
15478 PyObject
* obj2
= 0 ;
15479 PyObject
* obj3
= 0 ;
15480 PyObject
* obj4
= 0 ;
15481 PyObject
* obj5
= 0 ;
15482 char * kwnames
[] = {
15483 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15488 if (!SWIG_IsOK(res1
)) {
15489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15491 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15493 arg2
= wxString_in_helper(obj1
);
15494 if (arg2
== NULL
) SWIG_fail
;
15499 arg3
= wxString_in_helper(obj2
);
15500 if (arg3
== NULL
) SWIG_fail
;
15506 arg4
= wxString_in_helper(obj3
);
15507 if (arg4
== NULL
) SWIG_fail
;
15512 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15513 if (!SWIG_IsOK(ecode5
)) {
15514 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15516 arg5
= static_cast< bool >(val5
);
15519 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15520 if (!SWIG_IsOK(ecode6
)) {
15521 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15523 arg6
= static_cast< bool >(val6
);
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15528 wxPyEndAllowThreads(__tstate
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15564 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15565 PyObject
*resultobj
= 0;
15566 wxLocale
*arg1
= (wxLocale
*) 0 ;
15567 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15568 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15576 PyObject
* obj0
= 0 ;
15577 PyObject
* obj1
= 0 ;
15578 PyObject
* obj2
= 0 ;
15579 char * kwnames
[] = {
15580 (char *) "self",(char *) "language",(char *) "flags", NULL
15583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15585 if (!SWIG_IsOK(res1
)) {
15586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15588 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15591 if (!SWIG_IsOK(ecode2
)) {
15592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15594 arg2
= static_cast< int >(val2
);
15597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15598 if (!SWIG_IsOK(ecode3
)) {
15599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15601 arg3
= static_cast< int >(val3
);
15604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15605 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15618 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15619 PyObject
*resultobj
= 0;
15622 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 result
= (int)wxLocale::GetSystemLanguage();
15626 wxPyEndAllowThreads(__tstate
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15629 resultobj
= SWIG_From_int(static_cast< int >(result
));
15636 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15637 PyObject
*resultobj
= 0;
15638 wxFontEncoding result
;
15640 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15643 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15644 wxPyEndAllowThreads(__tstate
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15647 resultobj
= SWIG_From_int(static_cast< int >(result
));
15654 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15655 PyObject
*resultobj
= 0;
15658 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 result
= wxLocale::GetSystemEncodingName();
15662 wxPyEndAllowThreads(__tstate
);
15663 if (PyErr_Occurred()) SWIG_fail
;
15667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15678 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15679 PyObject
*resultobj
= 0;
15680 wxLocale
*arg1
= (wxLocale
*) 0 ;
15684 PyObject
*swig_obj
[1] ;
15686 if (!args
) SWIG_fail
;
15687 swig_obj
[0] = args
;
15688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15689 if (!SWIG_IsOK(res1
)) {
15690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15692 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15708 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15709 PyObject
*resultobj
= 0;
15710 wxLocale
*arg1
= (wxLocale
*) 0 ;
15714 PyObject
*swig_obj
[1] ;
15716 if (!args
) SWIG_fail
;
15717 swig_obj
[0] = args
;
15718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15719 if (!SWIG_IsOK(res1
)) {
15720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15722 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15725 result
= ((wxLocale
const *)arg1
)->GetLocale();
15726 wxPyEndAllowThreads(__tstate
);
15727 if (PyErr_Occurred()) SWIG_fail
;
15731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15742 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15743 PyObject
*resultobj
= 0;
15744 wxLocale
*arg1
= (wxLocale
*) 0 ;
15748 PyObject
*swig_obj
[1] ;
15750 if (!args
) SWIG_fail
;
15751 swig_obj
[0] = args
;
15752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15753 if (!SWIG_IsOK(res1
)) {
15754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15756 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15763 resultobj
= SWIG_From_int(static_cast< int >(result
));
15770 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15771 PyObject
*resultobj
= 0;
15772 wxLocale
*arg1
= (wxLocale
*) 0 ;
15776 PyObject
*swig_obj
[1] ;
15778 if (!args
) SWIG_fail
;
15779 swig_obj
[0] = args
;
15780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15781 if (!SWIG_IsOK(res1
)) {
15782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15784 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 result
= ((wxLocale
const *)arg1
)->GetSysName();
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15804 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15805 PyObject
*resultobj
= 0;
15806 wxLocale
*arg1
= (wxLocale
*) 0 ;
15810 PyObject
*swig_obj
[1] ;
15812 if (!args
) SWIG_fail
;
15813 swig_obj
[0] = args
;
15814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15815 if (!SWIG_IsOK(res1
)) {
15816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15818 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15827 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15829 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15838 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
= 0;
15840 wxString
*arg1
= 0 ;
15841 bool temp1
= false ;
15842 PyObject
* obj0
= 0 ;
15843 char * kwnames
[] = {
15844 (char *) "prefix", NULL
15847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
15849 arg1
= wxString_in_helper(obj0
);
15850 if (arg1
== NULL
) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
15856 wxPyEndAllowThreads(__tstate
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15859 resultobj
= SWIG_Py_Void();
15874 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
= 0;
15876 wxLocale
*arg1
= (wxLocale
*) 0 ;
15877 wxString
*arg2
= 0 ;
15881 bool temp2
= false ;
15882 PyObject
* obj0
= 0 ;
15883 PyObject
* obj1
= 0 ;
15884 char * kwnames
[] = {
15885 (char *) "self",(char *) "szDomain", NULL
15888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15890 if (!SWIG_IsOK(res1
)) {
15891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
15893 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15895 arg2
= wxString_in_helper(obj1
);
15896 if (arg2
== NULL
) SWIG_fail
;
15900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15901 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
15902 wxPyEndAllowThreads(__tstate
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15922 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15923 PyObject
*resultobj
= 0;
15928 PyObject
* obj0
= 0 ;
15929 char * kwnames
[] = {
15930 (char *) "lang", NULL
15933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
15934 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15935 if (!SWIG_IsOK(ecode1
)) {
15936 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
15938 arg1
= static_cast< int >(val1
);
15940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15941 result
= (bool)wxLocale::IsAvailable(arg1
);
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15954 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
= 0;
15956 wxLocale
*arg1
= (wxLocale
*) 0 ;
15957 wxString
*arg2
= 0 ;
15961 bool temp2
= false ;
15962 PyObject
* obj0
= 0 ;
15963 PyObject
* obj1
= 0 ;
15964 char * kwnames
[] = {
15965 (char *) "self",(char *) "szDomain", NULL
15968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15970 if (!SWIG_IsOK(res1
)) {
15971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
15973 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15975 arg2
= wxString_in_helper(obj1
);
15976 if (arg2
== NULL
) SWIG_fail
;
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
15982 wxPyEndAllowThreads(__tstate
);
15983 if (PyErr_Occurred()) SWIG_fail
;
15986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16002 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16003 PyObject
*resultobj
= 0;
16005 wxLanguageInfo
*result
= 0 ;
16008 PyObject
* obj0
= 0 ;
16009 char * kwnames
[] = {
16010 (char *) "lang", NULL
16013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16014 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16015 if (!SWIG_IsOK(ecode1
)) {
16016 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16018 arg1
= static_cast< int >(val1
);
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16032 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
= 0;
16038 PyObject
* obj0
= 0 ;
16039 char * kwnames
[] = {
16040 (char *) "lang", NULL
16043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16044 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16045 if (!SWIG_IsOK(ecode1
)) {
16046 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16048 arg1
= static_cast< int >(val1
);
16050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16051 result
= wxLocale::GetLanguageName(arg1
);
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16068 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
= 0;
16070 wxString
*arg1
= 0 ;
16071 wxLanguageInfo
*result
= 0 ;
16072 bool temp1
= false ;
16073 PyObject
* obj0
= 0 ;
16074 char * kwnames
[] = {
16075 (char *) "locale", NULL
16078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16080 arg1
= wxString_in_helper(obj0
);
16081 if (arg1
== NULL
) SWIG_fail
;
16085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16086 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16087 wxPyEndAllowThreads(__tstate
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16105 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16106 PyObject
*resultobj
= 0;
16107 wxLanguageInfo
*arg1
= 0 ;
16110 PyObject
* obj0
= 0 ;
16111 char * kwnames
[] = {
16112 (char *) "info", NULL
16115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16116 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16117 if (!SWIG_IsOK(res1
)) {
16118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16123 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16127 wxPyEndAllowThreads(__tstate
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16130 resultobj
= SWIG_Py_Void();
16137 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16138 PyObject
*resultobj
= 0;
16139 wxLocale
*arg1
= (wxLocale
*) 0 ;
16140 wxString
*arg2
= 0 ;
16141 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16142 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16146 bool temp2
= false ;
16147 bool temp3
= false ;
16148 PyObject
* obj0
= 0 ;
16149 PyObject
* obj1
= 0 ;
16150 PyObject
* obj2
= 0 ;
16151 char * kwnames
[] = {
16152 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16157 if (!SWIG_IsOK(res1
)) {
16158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16160 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16162 arg2
= wxString_in_helper(obj1
);
16163 if (arg2
== NULL
) SWIG_fail
;
16168 arg3
= wxString_in_helper(obj2
);
16169 if (arg3
== NULL
) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16176 wxPyEndAllowThreads(__tstate
);
16177 if (PyErr_Occurred()) SWIG_fail
;
16181 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16183 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16208 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16209 PyObject
*resultobj
= 0;
16210 wxLocale
*arg1
= (wxLocale
*) 0 ;
16211 wxString
*result
= 0 ;
16214 PyObject
*swig_obj
[1] ;
16216 if (!args
) SWIG_fail
;
16217 swig_obj
[0] = args
;
16218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16219 if (!SWIG_IsOK(res1
)) {
16220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16222 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16227 result
= (wxString
*) &_result_ref
;
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16234 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16236 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16245 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16248 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16249 return SWIG_Py_Void();
16252 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16253 return SWIG_Python_InitShadowInstance(args
);
16256 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16257 PyObject
*resultobj
= 0;
16258 int arg1
= (int) -1 ;
16259 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16260 wxPyLocale
*result
= 0 ;
16265 PyObject
* obj0
= 0 ;
16266 PyObject
* obj1
= 0 ;
16267 char * kwnames
[] = {
16268 (char *) "language",(char *) "flags", NULL
16271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16273 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16274 if (!SWIG_IsOK(ecode1
)) {
16275 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16277 arg1
= static_cast< int >(val1
);
16280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16281 if (!SWIG_IsOK(ecode2
)) {
16282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16284 arg2
= static_cast< int >(val2
);
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16299 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16300 PyObject
*resultobj
= 0;
16301 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16304 PyObject
*swig_obj
[1] ;
16306 if (!args
) SWIG_fail
;
16307 swig_obj
[0] = args
;
16308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16309 if (!SWIG_IsOK(res1
)) {
16310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16312 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16320 resultobj
= SWIG_Py_Void();
16327 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
= 0;
16329 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16330 PyObject
*arg2
= (PyObject
*) 0 ;
16331 PyObject
*arg3
= (PyObject
*) 0 ;
16334 PyObject
* obj0
= 0 ;
16335 PyObject
* obj1
= 0 ;
16336 PyObject
* obj2
= 0 ;
16337 char * kwnames
[] = {
16338 (char *) "self",(char *) "self",(char *) "_class", NULL
16341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16343 if (!SWIG_IsOK(res1
)) {
16344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16346 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16351 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16352 wxPyEndAllowThreads(__tstate
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16355 resultobj
= SWIG_Py_Void();
16362 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16363 PyObject
*resultobj
= 0;
16364 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16365 wxChar
*arg2
= (wxChar
*) 0 ;
16366 wxChar
*arg3
= (wxChar
*) NULL
;
16367 wxChar
*result
= 0 ;
16374 PyObject
* obj0
= 0 ;
16375 PyObject
* obj1
= 0 ;
16376 PyObject
* obj2
= 0 ;
16377 char * kwnames
[] = {
16378 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16383 if (!SWIG_IsOK(res1
)) {
16384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16386 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16387 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16388 if (!SWIG_IsOK(res2
)) {
16389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16391 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16393 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16394 if (!SWIG_IsOK(res3
)) {
16395 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16397 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16412 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
= 0;
16414 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16415 wxChar
*arg2
= (wxChar
*) 0 ;
16416 wxChar
*arg3
= (wxChar
*) 0 ;
16418 wxChar
*arg5
= (wxChar
*) NULL
;
16419 wxChar
*result
= 0 ;
16430 PyObject
* obj0
= 0 ;
16431 PyObject
* obj1
= 0 ;
16432 PyObject
* obj2
= 0 ;
16433 PyObject
* obj3
= 0 ;
16434 PyObject
* obj4
= 0 ;
16435 char * kwnames
[] = {
16436 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16441 if (!SWIG_IsOK(res1
)) {
16442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16444 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16445 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16446 if (!SWIG_IsOK(res2
)) {
16447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16449 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16450 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16451 if (!SWIG_IsOK(res3
)) {
16452 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16454 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16455 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16456 if (!SWIG_IsOK(ecode4
)) {
16457 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16459 arg4
= static_cast< size_t >(val4
);
16461 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16462 if (!SWIG_IsOK(res5
)) {
16463 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16465 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16480 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16483 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16484 return SWIG_Py_Void();
16487 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16488 return SWIG_Python_InitShadowInstance(args
);
16491 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16492 PyObject
*resultobj
= 0;
16493 wxLocale
*result
= 0 ;
16495 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16498 result
= (wxLocale
*)wxGetLocale();
16499 wxPyEndAllowThreads(__tstate
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16509 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16510 PyObject
*resultobj
= 0;
16511 wxString
*arg1
= 0 ;
16513 bool temp1
= false ;
16515 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16517 arg1
= wxString_in_helper(swig_obj
[0]);
16518 if (arg1
== NULL
) SWIG_fail
;
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 result
= wxGetTranslation((wxString
const &)*arg1
);
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16548 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16549 PyObject
*resultobj
= 0;
16550 wxString
*arg1
= 0 ;
16551 wxString
*arg2
= 0 ;
16553 bool temp1
= false ;
16554 bool temp2
= false ;
16556 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16558 arg1
= wxString_in_helper(swig_obj
[0]);
16559 if (arg1
== NULL
) SWIG_fail
;
16563 arg2
= wxString_in_helper(swig_obj
[1]);
16564 if (arg2
== NULL
) SWIG_fail
;
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16602 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16603 PyObject
*resultobj
= 0;
16604 wxString
*arg1
= 0 ;
16605 wxString
*arg2
= 0 ;
16608 bool temp1
= false ;
16609 bool temp2
= false ;
16613 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16615 arg1
= wxString_in_helper(swig_obj
[0]);
16616 if (arg1
== NULL
) SWIG_fail
;
16620 arg2
= wxString_in_helper(swig_obj
[1]);
16621 if (arg2
== NULL
) SWIG_fail
;
16624 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16625 if (!SWIG_IsOK(ecode3
)) {
16626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16628 arg3
= static_cast< size_t >(val3
);
16630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16631 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16637 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16639 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16664 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16665 PyObject
*resultobj
= 0;
16666 wxString
*arg1
= 0 ;
16667 wxString
*arg2
= 0 ;
16669 wxString
*arg4
= 0 ;
16671 bool temp1
= false ;
16672 bool temp2
= false ;
16675 bool temp4
= false ;
16677 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16679 arg1
= wxString_in_helper(swig_obj
[0]);
16680 if (arg1
== NULL
) SWIG_fail
;
16684 arg2
= wxString_in_helper(swig_obj
[1]);
16685 if (arg2
== NULL
) SWIG_fail
;
16688 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16689 if (!SWIG_IsOK(ecode3
)) {
16690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16692 arg3
= static_cast< size_t >(val3
);
16694 arg4
= wxString_in_helper(swig_obj
[3]);
16695 if (arg4
== NULL
) SWIG_fail
;
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16700 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16741 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16745 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16748 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16751 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16754 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16757 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16761 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16766 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16767 PyObject
*resultobj
= 0;
16768 wxEncodingConverter
*result
= 0 ;
16770 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16773 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16784 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16785 PyObject
*resultobj
= 0;
16786 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16789 PyObject
*swig_obj
[1] ;
16791 if (!args
) SWIG_fail
;
16792 swig_obj
[0] = args
;
16793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16794 if (!SWIG_IsOK(res1
)) {
16795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16797 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16805 resultobj
= SWIG_Py_Void();
16812 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
= 0;
16814 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16815 wxFontEncoding arg2
;
16816 wxFontEncoding arg3
;
16817 int arg4
= (int) wxCONVERT_STRICT
;
16827 PyObject
* obj0
= 0 ;
16828 PyObject
* obj1
= 0 ;
16829 PyObject
* obj2
= 0 ;
16830 PyObject
* obj3
= 0 ;
16831 char * kwnames
[] = {
16832 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16837 if (!SWIG_IsOK(res1
)) {
16838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16840 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16842 if (!SWIG_IsOK(ecode2
)) {
16843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16845 arg2
= static_cast< wxFontEncoding
>(val2
);
16846 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16847 if (!SWIG_IsOK(ecode3
)) {
16848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
16850 arg3
= static_cast< wxFontEncoding
>(val3
);
16852 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16853 if (!SWIG_IsOK(ecode4
)) {
16854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
16856 arg4
= static_cast< int >(val4
);
16859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16860 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
16861 wxPyEndAllowThreads(__tstate
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16873 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
= 0;
16875 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16876 wxString
*arg2
= 0 ;
16880 bool temp2
= false ;
16881 PyObject
* obj0
= 0 ;
16882 PyObject
* obj1
= 0 ;
16883 char * kwnames
[] = {
16884 (char *) "self",(char *) "input", NULL
16887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16889 if (!SWIG_IsOK(res1
)) {
16890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16892 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16894 arg2
= wxString_in_helper(obj1
);
16895 if (arg2
== NULL
) SWIG_fail
;
16899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16900 result
= (arg1
)->Convert((wxString
const &)*arg2
);
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16925 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16926 PyObject
*resultobj
= 0;
16927 wxFontEncoding arg1
;
16928 int arg2
= (int) wxPLATFORM_CURRENT
;
16929 wxFontEncodingArray result
;
16934 PyObject
* obj0
= 0 ;
16935 PyObject
* obj1
= 0 ;
16936 char * kwnames
[] = {
16937 (char *) "enc",(char *) "platform", NULL
16940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16941 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16942 if (!SWIG_IsOK(ecode1
)) {
16943 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16945 arg1
= static_cast< wxFontEncoding
>(val1
);
16947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16948 if (!SWIG_IsOK(ecode2
)) {
16949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
16951 arg2
= static_cast< int >(val2
);
16954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16955 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
16956 wxPyEndAllowThreads(__tstate
);
16957 if (PyErr_Occurred()) SWIG_fail
;
16960 resultobj
= PyList_New(0);
16961 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
16962 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
16963 PyList_Append(resultobj
, number
);
16973 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16974 PyObject
*resultobj
= 0;
16975 wxFontEncoding arg1
;
16976 wxFontEncodingArray result
;
16979 PyObject
* obj0
= 0 ;
16980 char * kwnames
[] = {
16981 (char *) "enc", NULL
16984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
16985 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16986 if (!SWIG_IsOK(ecode1
)) {
16987 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16989 arg1
= static_cast< wxFontEncoding
>(val1
);
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
16993 wxPyEndAllowThreads(__tstate
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16997 resultobj
= PyList_New(0);
16998 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
16999 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17000 PyList_Append(resultobj
, number
);
17010 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17011 PyObject
*resultobj
= 0;
17012 wxFontEncoding arg1
;
17013 wxFontEncoding arg2
;
17019 PyObject
* obj0
= 0 ;
17020 PyObject
* obj1
= 0 ;
17021 char * kwnames
[] = {
17022 (char *) "encIn",(char *) "encOut", NULL
17025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17026 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17027 if (!SWIG_IsOK(ecode1
)) {
17028 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17030 arg1
= static_cast< wxFontEncoding
>(val1
);
17031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17032 if (!SWIG_IsOK(ecode2
)) {
17033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17035 arg2
= static_cast< wxFontEncoding
>(val2
);
17037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17038 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17051 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17054 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17055 return SWIG_Py_Void();
17058 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17059 return SWIG_Python_InitShadowInstance(args
);
17062 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17063 PyObject
*resultobj
= 0;
17064 wxDC
*arg1
= (wxDC
*) 0 ;
17067 PyObject
*swig_obj
[1] ;
17069 if (!args
) SWIG_fail
;
17070 swig_obj
[0] = args
;
17071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17072 if (!SWIG_IsOK(res1
)) {
17073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17075 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17080 wxPyEndAllowThreads(__tstate
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17083 resultobj
= SWIG_Py_Void();
17090 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17091 PyObject
*resultobj
= 0;
17092 wxDC
*arg1
= (wxDC
*) 0 ;
17095 wxColour
*arg4
= 0 ;
17096 int arg5
= (int) wxFLOOD_SURFACE
;
17107 PyObject
* obj0
= 0 ;
17108 PyObject
* obj1
= 0 ;
17109 PyObject
* obj2
= 0 ;
17110 PyObject
* obj3
= 0 ;
17111 PyObject
* obj4
= 0 ;
17112 char * kwnames
[] = {
17113 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17118 if (!SWIG_IsOK(res1
)) {
17119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17121 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17123 if (!SWIG_IsOK(ecode2
)) {
17124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17126 arg2
= static_cast< int >(val2
);
17127 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17128 if (!SWIG_IsOK(ecode3
)) {
17129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17131 arg3
= static_cast< int >(val3
);
17134 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17137 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17138 if (!SWIG_IsOK(ecode5
)) {
17139 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17141 arg5
= static_cast< int >(val5
);
17144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17145 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17146 wxPyEndAllowThreads(__tstate
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17158 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17159 PyObject
*resultobj
= 0;
17160 wxDC
*arg1
= (wxDC
*) 0 ;
17161 wxPoint
*arg2
= 0 ;
17162 wxColour
*arg3
= 0 ;
17163 int arg4
= (int) wxFLOOD_SURFACE
;
17171 PyObject
* obj0
= 0 ;
17172 PyObject
* obj1
= 0 ;
17173 PyObject
* obj2
= 0 ;
17174 PyObject
* obj3
= 0 ;
17175 char * kwnames
[] = {
17176 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17181 if (!SWIG_IsOK(res1
)) {
17182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17184 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17187 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17191 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17194 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17195 if (!SWIG_IsOK(ecode4
)) {
17196 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17198 arg4
= static_cast< int >(val4
);
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17215 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
= 0;
17217 wxDC
*arg1
= (wxDC
*) 0 ;
17219 wxColour
*arg3
= 0 ;
17220 wxColour
*arg4
= 0 ;
17221 wxPoint
*arg5
= 0 ;
17228 PyObject
* obj0
= 0 ;
17229 PyObject
* obj1
= 0 ;
17230 PyObject
* obj2
= 0 ;
17231 PyObject
* obj3
= 0 ;
17232 PyObject
* obj4
= 0 ;
17233 char * kwnames
[] = {
17234 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17239 if (!SWIG_IsOK(res1
)) {
17240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17242 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17245 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17249 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17253 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17257 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17261 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17262 wxPyEndAllowThreads(__tstate
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17265 resultobj
= SWIG_Py_Void();
17272 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17273 PyObject
*resultobj
= 0;
17274 wxDC
*arg1
= (wxDC
*) 0 ;
17276 wxColour
*arg3
= 0 ;
17277 wxColour
*arg4
= 0 ;
17278 wxDirection arg5
= (wxDirection
) wxEAST
;
17286 PyObject
* obj0
= 0 ;
17287 PyObject
* obj1
= 0 ;
17288 PyObject
* obj2
= 0 ;
17289 PyObject
* obj3
= 0 ;
17290 PyObject
* obj4
= 0 ;
17291 char * kwnames
[] = {
17292 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17297 if (!SWIG_IsOK(res1
)) {
17298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17300 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17303 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17307 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17311 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17314 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17315 if (!SWIG_IsOK(ecode5
)) {
17316 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17318 arg5
= static_cast< wxDirection
>(val5
);
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17326 resultobj
= SWIG_Py_Void();
17333 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
= 0;
17335 wxDC
*arg1
= (wxDC
*) 0 ;
17345 PyObject
* obj0
= 0 ;
17346 PyObject
* obj1
= 0 ;
17347 PyObject
* obj2
= 0 ;
17348 char * kwnames
[] = {
17349 (char *) "self",(char *) "x",(char *) "y", NULL
17352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17354 if (!SWIG_IsOK(res1
)) {
17355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17357 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17359 if (!SWIG_IsOK(ecode2
)) {
17360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17362 arg2
= static_cast< int >(val2
);
17363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17364 if (!SWIG_IsOK(ecode3
)) {
17365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17367 arg3
= static_cast< int >(val3
);
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17374 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17381 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17382 PyObject
*resultobj
= 0;
17383 wxDC
*arg1
= (wxDC
*) 0 ;
17384 wxPoint
*arg2
= 0 ;
17389 PyObject
* obj0
= 0 ;
17390 PyObject
* obj1
= 0 ;
17391 char * kwnames
[] = {
17392 (char *) "self",(char *) "pt", NULL
17395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17397 if (!SWIG_IsOK(res1
)) {
17398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17400 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17403 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17407 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17408 wxPyEndAllowThreads(__tstate
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17411 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17418 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
= 0;
17420 wxDC
*arg1
= (wxDC
*) 0 ;
17435 PyObject
* obj0
= 0 ;
17436 PyObject
* obj1
= 0 ;
17437 PyObject
* obj2
= 0 ;
17438 PyObject
* obj3
= 0 ;
17439 PyObject
* obj4
= 0 ;
17440 char * kwnames
[] = {
17441 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17446 if (!SWIG_IsOK(res1
)) {
17447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17449 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17451 if (!SWIG_IsOK(ecode2
)) {
17452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17454 arg2
= static_cast< int >(val2
);
17455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17456 if (!SWIG_IsOK(ecode3
)) {
17457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17459 arg3
= static_cast< int >(val3
);
17460 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17461 if (!SWIG_IsOK(ecode4
)) {
17462 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17464 arg4
= static_cast< int >(val4
);
17465 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17466 if (!SWIG_IsOK(ecode5
)) {
17467 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17469 arg5
= static_cast< int >(val5
);
17471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17472 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17476 resultobj
= SWIG_Py_Void();
17483 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
= 0;
17485 wxDC
*arg1
= (wxDC
*) 0 ;
17486 wxPoint
*arg2
= 0 ;
17487 wxPoint
*arg3
= 0 ;
17492 PyObject
* obj0
= 0 ;
17493 PyObject
* obj1
= 0 ;
17494 PyObject
* obj2
= 0 ;
17495 char * kwnames
[] = {
17496 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17501 if (!SWIG_IsOK(res1
)) {
17502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17504 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17507 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17511 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17519 resultobj
= SWIG_Py_Void();
17526 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17527 PyObject
*resultobj
= 0;
17528 wxDC
*arg1
= (wxDC
*) 0 ;
17537 PyObject
* obj0
= 0 ;
17538 PyObject
* obj1
= 0 ;
17539 PyObject
* obj2
= 0 ;
17540 char * kwnames
[] = {
17541 (char *) "self",(char *) "x",(char *) "y", NULL
17544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17546 if (!SWIG_IsOK(res1
)) {
17547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17549 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17551 if (!SWIG_IsOK(ecode2
)) {
17552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17554 arg2
= static_cast< int >(val2
);
17555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17556 if (!SWIG_IsOK(ecode3
)) {
17557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17559 arg3
= static_cast< int >(val3
);
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 (arg1
)->CrossHair(arg2
,arg3
);
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17566 resultobj
= SWIG_Py_Void();
17573 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17574 PyObject
*resultobj
= 0;
17575 wxDC
*arg1
= (wxDC
*) 0 ;
17576 wxPoint
*arg2
= 0 ;
17580 PyObject
* obj0
= 0 ;
17581 PyObject
* obj1
= 0 ;
17582 char * kwnames
[] = {
17583 (char *) "self",(char *) "pt", NULL
17586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17588 if (!SWIG_IsOK(res1
)) {
17589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17594 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 resultobj
= SWIG_Py_Void();
17609 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17610 PyObject
*resultobj
= 0;
17611 wxDC
*arg1
= (wxDC
*) 0 ;
17632 PyObject
* obj0
= 0 ;
17633 PyObject
* obj1
= 0 ;
17634 PyObject
* obj2
= 0 ;
17635 PyObject
* obj3
= 0 ;
17636 PyObject
* obj4
= 0 ;
17637 PyObject
* obj5
= 0 ;
17638 PyObject
* obj6
= 0 ;
17639 char * kwnames
[] = {
17640 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17645 if (!SWIG_IsOK(res1
)) {
17646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17648 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17650 if (!SWIG_IsOK(ecode2
)) {
17651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17653 arg2
= static_cast< int >(val2
);
17654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17655 if (!SWIG_IsOK(ecode3
)) {
17656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17658 arg3
= static_cast< int >(val3
);
17659 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17660 if (!SWIG_IsOK(ecode4
)) {
17661 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17663 arg4
= static_cast< int >(val4
);
17664 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17665 if (!SWIG_IsOK(ecode5
)) {
17666 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17668 arg5
= static_cast< int >(val5
);
17669 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17670 if (!SWIG_IsOK(ecode6
)) {
17671 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17673 arg6
= static_cast< int >(val6
);
17674 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17675 if (!SWIG_IsOK(ecode7
)) {
17676 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17678 arg7
= static_cast< int >(val7
);
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17681 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17682 wxPyEndAllowThreads(__tstate
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17685 resultobj
= SWIG_Py_Void();
17692 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17693 PyObject
*resultobj
= 0;
17694 wxDC
*arg1
= (wxDC
*) 0 ;
17695 wxPoint
*arg2
= 0 ;
17696 wxPoint
*arg3
= 0 ;
17697 wxPoint
*arg4
= 0 ;
17703 PyObject
* obj0
= 0 ;
17704 PyObject
* obj1
= 0 ;
17705 PyObject
* obj2
= 0 ;
17706 PyObject
* obj3
= 0 ;
17707 char * kwnames
[] = {
17708 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17713 if (!SWIG_IsOK(res1
)) {
17714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17716 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17719 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17723 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17727 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17731 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17732 wxPyEndAllowThreads(__tstate
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17735 resultobj
= SWIG_Py_Void();
17742 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17743 PyObject
*resultobj
= 0;
17744 wxDC
*arg1
= (wxDC
*) 0 ;
17759 PyObject
* obj0
= 0 ;
17760 PyObject
* obj1
= 0 ;
17761 PyObject
* obj2
= 0 ;
17762 PyObject
* obj3
= 0 ;
17763 PyObject
* obj4
= 0 ;
17764 char * kwnames
[] = {
17765 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17770 if (!SWIG_IsOK(res1
)) {
17771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17773 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17775 if (!SWIG_IsOK(ecode2
)) {
17776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17778 arg2
= static_cast< int >(val2
);
17779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17780 if (!SWIG_IsOK(ecode3
)) {
17781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17783 arg3
= static_cast< int >(val3
);
17784 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17785 if (!SWIG_IsOK(ecode4
)) {
17786 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17788 arg4
= static_cast< int >(val4
);
17789 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17790 if (!SWIG_IsOK(ecode5
)) {
17791 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17793 arg5
= static_cast< int >(val5
);
17795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17796 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17797 wxPyEndAllowThreads(__tstate
);
17798 if (PyErr_Occurred()) SWIG_fail
;
17800 resultobj
= SWIG_Py_Void();
17807 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17808 PyObject
*resultobj
= 0;
17809 wxDC
*arg1
= (wxDC
*) 0 ;
17814 PyObject
* obj0
= 0 ;
17815 PyObject
* obj1
= 0 ;
17816 char * kwnames
[] = {
17817 (char *) "self",(char *) "rect", NULL
17820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17822 if (!SWIG_IsOK(res1
)) {
17823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17825 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17828 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17836 resultobj
= SWIG_Py_Void();
17843 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17844 PyObject
*resultobj
= 0;
17845 wxDC
*arg1
= (wxDC
*) 0 ;
17866 PyObject
* obj0
= 0 ;
17867 PyObject
* obj1
= 0 ;
17868 PyObject
* obj2
= 0 ;
17869 PyObject
* obj3
= 0 ;
17870 PyObject
* obj4
= 0 ;
17871 PyObject
* obj5
= 0 ;
17872 PyObject
* obj6
= 0 ;
17873 char * kwnames
[] = {
17874 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
17877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17879 if (!SWIG_IsOK(res1
)) {
17880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
17882 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17884 if (!SWIG_IsOK(ecode2
)) {
17885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
17887 arg2
= static_cast< int >(val2
);
17888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17889 if (!SWIG_IsOK(ecode3
)) {
17890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
17892 arg3
= static_cast< int >(val3
);
17893 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17894 if (!SWIG_IsOK(ecode4
)) {
17895 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
17897 arg4
= static_cast< int >(val4
);
17898 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17899 if (!SWIG_IsOK(ecode5
)) {
17900 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
17902 arg5
= static_cast< int >(val5
);
17903 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
17904 if (!SWIG_IsOK(ecode6
)) {
17905 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
17907 arg6
= static_cast< double >(val6
);
17908 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
17909 if (!SWIG_IsOK(ecode7
)) {
17910 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
17912 arg7
= static_cast< double >(val7
);
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17916 wxPyEndAllowThreads(__tstate
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17919 resultobj
= SWIG_Py_Void();
17926 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17927 PyObject
*resultobj
= 0;
17928 wxDC
*arg1
= (wxDC
*) 0 ;
17929 wxPoint
*arg2
= 0 ;
17941 PyObject
* obj0
= 0 ;
17942 PyObject
* obj1
= 0 ;
17943 PyObject
* obj2
= 0 ;
17944 PyObject
* obj3
= 0 ;
17945 PyObject
* obj4
= 0 ;
17946 char * kwnames
[] = {
17947 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
17950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17952 if (!SWIG_IsOK(res1
)) {
17953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17955 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17958 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17962 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17964 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
17965 if (!SWIG_IsOK(ecode4
)) {
17966 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
17968 arg4
= static_cast< double >(val4
);
17969 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
17970 if (!SWIG_IsOK(ecode5
)) {
17971 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
17973 arg5
= static_cast< double >(val5
);
17975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17976 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17980 resultobj
= SWIG_Py_Void();
17987 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17988 PyObject
*resultobj
= 0;
17989 wxDC
*arg1
= (wxDC
*) 0 ;
17998 PyObject
* obj0
= 0 ;
17999 PyObject
* obj1
= 0 ;
18000 PyObject
* obj2
= 0 ;
18001 char * kwnames
[] = {
18002 (char *) "self",(char *) "x",(char *) "y", NULL
18005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18007 if (!SWIG_IsOK(res1
)) {
18008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18012 if (!SWIG_IsOK(ecode2
)) {
18013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18015 arg2
= static_cast< int >(val2
);
18016 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18017 if (!SWIG_IsOK(ecode3
)) {
18018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18020 arg3
= static_cast< int >(val3
);
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 (arg1
)->DrawPoint(arg2
,arg3
);
18024 wxPyEndAllowThreads(__tstate
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18027 resultobj
= SWIG_Py_Void();
18034 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18035 PyObject
*resultobj
= 0;
18036 wxDC
*arg1
= (wxDC
*) 0 ;
18037 wxPoint
*arg2
= 0 ;
18041 PyObject
* obj0
= 0 ;
18042 PyObject
* obj1
= 0 ;
18043 char * kwnames
[] = {
18044 (char *) "self",(char *) "pt", NULL
18047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18049 if (!SWIG_IsOK(res1
)) {
18050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18052 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18059 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18060 wxPyEndAllowThreads(__tstate
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18063 resultobj
= SWIG_Py_Void();
18070 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18071 PyObject
*resultobj
= 0;
18072 wxDC
*arg1
= (wxDC
*) 0 ;
18087 PyObject
* obj0
= 0 ;
18088 PyObject
* obj1
= 0 ;
18089 PyObject
* obj2
= 0 ;
18090 PyObject
* obj3
= 0 ;
18091 PyObject
* obj4
= 0 ;
18092 char * kwnames
[] = {
18093 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18098 if (!SWIG_IsOK(res1
)) {
18099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18103 if (!SWIG_IsOK(ecode2
)) {
18104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18106 arg2
= static_cast< int >(val2
);
18107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18108 if (!SWIG_IsOK(ecode3
)) {
18109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18111 arg3
= static_cast< int >(val3
);
18112 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18113 if (!SWIG_IsOK(ecode4
)) {
18114 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18116 arg4
= static_cast< int >(val4
);
18117 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18118 if (!SWIG_IsOK(ecode5
)) {
18119 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18121 arg5
= static_cast< int >(val5
);
18123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18124 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18128 resultobj
= SWIG_Py_Void();
18135 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
= 0;
18137 wxDC
*arg1
= (wxDC
*) 0 ;
18142 PyObject
* obj0
= 0 ;
18143 PyObject
* obj1
= 0 ;
18144 char * kwnames
[] = {
18145 (char *) "self",(char *) "rect", NULL
18148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18150 if (!SWIG_IsOK(res1
)) {
18151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18153 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18156 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 resultobj
= SWIG_Py_Void();
18171 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
= 0;
18173 wxDC
*arg1
= (wxDC
*) 0 ;
18174 wxPoint
*arg2
= 0 ;
18180 PyObject
* obj0
= 0 ;
18181 PyObject
* obj1
= 0 ;
18182 PyObject
* obj2
= 0 ;
18183 char * kwnames
[] = {
18184 (char *) "self",(char *) "pt",(char *) "sz", NULL
18187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18189 if (!SWIG_IsOK(res1
)) {
18190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18192 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18195 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18199 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= SWIG_Py_Void();
18214 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
= 0;
18216 wxDC
*arg1
= (wxDC
*) 0 ;
18234 PyObject
* obj0
= 0 ;
18235 PyObject
* obj1
= 0 ;
18236 PyObject
* obj2
= 0 ;
18237 PyObject
* obj3
= 0 ;
18238 PyObject
* obj4
= 0 ;
18239 PyObject
* obj5
= 0 ;
18240 char * kwnames
[] = {
18241 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18246 if (!SWIG_IsOK(res1
)) {
18247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18249 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18251 if (!SWIG_IsOK(ecode2
)) {
18252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18254 arg2
= static_cast< int >(val2
);
18255 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18256 if (!SWIG_IsOK(ecode3
)) {
18257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18259 arg3
= static_cast< int >(val3
);
18260 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18261 if (!SWIG_IsOK(ecode4
)) {
18262 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18264 arg4
= static_cast< int >(val4
);
18265 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18266 if (!SWIG_IsOK(ecode5
)) {
18267 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18269 arg5
= static_cast< int >(val5
);
18270 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18271 if (!SWIG_IsOK(ecode6
)) {
18272 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18274 arg6
= static_cast< double >(val6
);
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18278 wxPyEndAllowThreads(__tstate
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18281 resultobj
= SWIG_Py_Void();
18288 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18289 PyObject
*resultobj
= 0;
18290 wxDC
*arg1
= (wxDC
*) 0 ;
18298 PyObject
* obj0
= 0 ;
18299 PyObject
* obj1
= 0 ;
18300 PyObject
* obj2
= 0 ;
18301 char * kwnames
[] = {
18302 (char *) "self",(char *) "r",(char *) "radius", NULL
18305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18307 if (!SWIG_IsOK(res1
)) {
18308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18310 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18313 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18315 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18316 if (!SWIG_IsOK(ecode3
)) {
18317 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18319 arg3
= static_cast< double >(val3
);
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18323 wxPyEndAllowThreads(__tstate
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18326 resultobj
= SWIG_Py_Void();
18333 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18334 PyObject
*resultobj
= 0;
18335 wxDC
*arg1
= (wxDC
*) 0 ;
18336 wxPoint
*arg2
= 0 ;
18345 PyObject
* obj0
= 0 ;
18346 PyObject
* obj1
= 0 ;
18347 PyObject
* obj2
= 0 ;
18348 PyObject
* obj3
= 0 ;
18349 char * kwnames
[] = {
18350 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18355 if (!SWIG_IsOK(res1
)) {
18356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18358 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18361 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18365 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18367 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18368 if (!SWIG_IsOK(ecode4
)) {
18369 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18371 arg4
= static_cast< double >(val4
);
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18378 resultobj
= SWIG_Py_Void();
18385 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18386 PyObject
*resultobj
= 0;
18387 wxDC
*arg1
= (wxDC
*) 0 ;
18399 PyObject
* obj0
= 0 ;
18400 PyObject
* obj1
= 0 ;
18401 PyObject
* obj2
= 0 ;
18402 PyObject
* obj3
= 0 ;
18403 char * kwnames
[] = {
18404 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18409 if (!SWIG_IsOK(res1
)) {
18410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18412 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18414 if (!SWIG_IsOK(ecode2
)) {
18415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18417 arg2
= static_cast< int >(val2
);
18418 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18419 if (!SWIG_IsOK(ecode3
)) {
18420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18422 arg3
= static_cast< int >(val3
);
18423 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18424 if (!SWIG_IsOK(ecode4
)) {
18425 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18427 arg4
= static_cast< int >(val4
);
18429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18431 wxPyEndAllowThreads(__tstate
);
18432 if (PyErr_Occurred()) SWIG_fail
;
18434 resultobj
= SWIG_Py_Void();
18441 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18442 PyObject
*resultobj
= 0;
18443 wxDC
*arg1
= (wxDC
*) 0 ;
18444 wxPoint
*arg2
= 0 ;
18451 PyObject
* obj0
= 0 ;
18452 PyObject
* obj1
= 0 ;
18453 PyObject
* obj2
= 0 ;
18454 char * kwnames
[] = {
18455 (char *) "self",(char *) "pt",(char *) "radius", NULL
18458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18460 if (!SWIG_IsOK(res1
)) {
18461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18463 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18466 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18469 if (!SWIG_IsOK(ecode3
)) {
18470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18472 arg3
= static_cast< int >(val3
);
18474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18475 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18476 wxPyEndAllowThreads(__tstate
);
18477 if (PyErr_Occurred()) SWIG_fail
;
18479 resultobj
= SWIG_Py_Void();
18486 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18487 PyObject
*resultobj
= 0;
18488 wxDC
*arg1
= (wxDC
*) 0 ;
18503 PyObject
* obj0
= 0 ;
18504 PyObject
* obj1
= 0 ;
18505 PyObject
* obj2
= 0 ;
18506 PyObject
* obj3
= 0 ;
18507 PyObject
* obj4
= 0 ;
18508 char * kwnames
[] = {
18509 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18514 if (!SWIG_IsOK(res1
)) {
18515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18517 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18519 if (!SWIG_IsOK(ecode2
)) {
18520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18522 arg2
= static_cast< int >(val2
);
18523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18524 if (!SWIG_IsOK(ecode3
)) {
18525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18527 arg3
= static_cast< int >(val3
);
18528 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18529 if (!SWIG_IsOK(ecode4
)) {
18530 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18532 arg4
= static_cast< int >(val4
);
18533 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18534 if (!SWIG_IsOK(ecode5
)) {
18535 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18537 arg5
= static_cast< int >(val5
);
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18541 wxPyEndAllowThreads(__tstate
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18544 resultobj
= SWIG_Py_Void();
18551 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18552 PyObject
*resultobj
= 0;
18553 wxDC
*arg1
= (wxDC
*) 0 ;
18558 PyObject
* obj0
= 0 ;
18559 PyObject
* obj1
= 0 ;
18560 char * kwnames
[] = {
18561 (char *) "self",(char *) "rect", NULL
18564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18566 if (!SWIG_IsOK(res1
)) {
18567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18569 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18572 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18576 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18577 wxPyEndAllowThreads(__tstate
);
18578 if (PyErr_Occurred()) SWIG_fail
;
18580 resultobj
= SWIG_Py_Void();
18587 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18588 PyObject
*resultobj
= 0;
18589 wxDC
*arg1
= (wxDC
*) 0 ;
18590 wxPoint
*arg2
= 0 ;
18596 PyObject
* obj0
= 0 ;
18597 PyObject
* obj1
= 0 ;
18598 PyObject
* obj2
= 0 ;
18599 char * kwnames
[] = {
18600 (char *) "self",(char *) "pt",(char *) "sz", NULL
18603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18605 if (!SWIG_IsOK(res1
)) {
18606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18608 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18611 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18615 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18623 resultobj
= SWIG_Py_Void();
18630 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18631 PyObject
*resultobj
= 0;
18632 wxDC
*arg1
= (wxDC
*) 0 ;
18644 PyObject
* obj0
= 0 ;
18645 PyObject
* obj1
= 0 ;
18646 PyObject
* obj2
= 0 ;
18647 PyObject
* obj3
= 0 ;
18648 char * kwnames
[] = {
18649 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18654 if (!SWIG_IsOK(res1
)) {
18655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18657 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18658 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18659 if (!SWIG_IsOK(res2
)) {
18660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18665 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18667 if (!SWIG_IsOK(ecode3
)) {
18668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18670 arg3
= static_cast< int >(val3
);
18671 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18672 if (!SWIG_IsOK(ecode4
)) {
18673 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18675 arg4
= static_cast< int >(val4
);
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18679 wxPyEndAllowThreads(__tstate
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18682 resultobj
= SWIG_Py_Void();
18689 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
= 0;
18691 wxDC
*arg1
= (wxDC
*) 0 ;
18693 wxPoint
*arg3
= 0 ;
18699 PyObject
* obj0
= 0 ;
18700 PyObject
* obj1
= 0 ;
18701 PyObject
* obj2
= 0 ;
18702 char * kwnames
[] = {
18703 (char *) "self",(char *) "icon",(char *) "pt", NULL
18706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18708 if (!SWIG_IsOK(res1
)) {
18709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18711 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18712 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18713 if (!SWIG_IsOK(res2
)) {
18714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18719 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18722 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18726 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18730 resultobj
= SWIG_Py_Void();
18737 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
= 0;
18739 wxDC
*arg1
= (wxDC
*) 0 ;
18740 wxBitmap
*arg2
= 0 ;
18743 bool arg5
= (bool) false ;
18754 PyObject
* obj0
= 0 ;
18755 PyObject
* obj1
= 0 ;
18756 PyObject
* obj2
= 0 ;
18757 PyObject
* obj3
= 0 ;
18758 PyObject
* obj4
= 0 ;
18759 char * kwnames
[] = {
18760 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18765 if (!SWIG_IsOK(res1
)) {
18766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18768 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18769 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18770 if (!SWIG_IsOK(res2
)) {
18771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18774 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18776 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18778 if (!SWIG_IsOK(ecode3
)) {
18779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18781 arg3
= static_cast< int >(val3
);
18782 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18783 if (!SWIG_IsOK(ecode4
)) {
18784 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18786 arg4
= static_cast< int >(val4
);
18788 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18789 if (!SWIG_IsOK(ecode5
)) {
18790 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18792 arg5
= static_cast< bool >(val5
);
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18800 resultobj
= SWIG_Py_Void();
18807 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18808 PyObject
*resultobj
= 0;
18809 wxDC
*arg1
= (wxDC
*) 0 ;
18810 wxBitmap
*arg2
= 0 ;
18811 wxPoint
*arg3
= 0 ;
18812 bool arg4
= (bool) false ;
18820 PyObject
* obj0
= 0 ;
18821 PyObject
* obj1
= 0 ;
18822 PyObject
* obj2
= 0 ;
18823 PyObject
* obj3
= 0 ;
18824 char * kwnames
[] = {
18825 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18830 if (!SWIG_IsOK(res1
)) {
18831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18833 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18834 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18835 if (!SWIG_IsOK(res2
)) {
18836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18841 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18844 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18847 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18848 if (!SWIG_IsOK(ecode4
)) {
18849 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
18851 arg4
= static_cast< bool >(val4
);
18854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18855 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
18856 wxPyEndAllowThreads(__tstate
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18859 resultobj
= SWIG_Py_Void();
18866 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18867 PyObject
*resultobj
= 0;
18868 wxDC
*arg1
= (wxDC
*) 0 ;
18869 wxString
*arg2
= 0 ;
18874 bool temp2
= false ;
18879 PyObject
* obj0
= 0 ;
18880 PyObject
* obj1
= 0 ;
18881 PyObject
* obj2
= 0 ;
18882 PyObject
* obj3
= 0 ;
18883 char * kwnames
[] = {
18884 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
18887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18889 if (!SWIG_IsOK(res1
)) {
18890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
18892 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18894 arg2
= wxString_in_helper(obj1
);
18895 if (arg2
== NULL
) SWIG_fail
;
18898 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18899 if (!SWIG_IsOK(ecode3
)) {
18900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
18902 arg3
= static_cast< int >(val3
);
18903 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18904 if (!SWIG_IsOK(ecode4
)) {
18905 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
18907 arg4
= static_cast< int >(val4
);
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18910 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
18911 wxPyEndAllowThreads(__tstate
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18914 resultobj
= SWIG_Py_Void();
18929 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18930 PyObject
*resultobj
= 0;
18931 wxDC
*arg1
= (wxDC
*) 0 ;
18932 wxString
*arg2
= 0 ;
18933 wxPoint
*arg3
= 0 ;
18936 bool temp2
= false ;
18938 PyObject
* obj0
= 0 ;
18939 PyObject
* obj1
= 0 ;
18940 PyObject
* obj2
= 0 ;
18941 char * kwnames
[] = {
18942 (char *) "self",(char *) "text",(char *) "pt", NULL
18945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18947 if (!SWIG_IsOK(res1
)) {
18948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18950 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18952 arg2
= wxString_in_helper(obj1
);
18953 if (arg2
== NULL
) SWIG_fail
;
18958 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18966 resultobj
= SWIG_Py_Void();
18981 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
= 0;
18983 wxDC
*arg1
= (wxDC
*) 0 ;
18984 wxString
*arg2
= 0 ;
18990 bool temp2
= false ;
18997 PyObject
* obj0
= 0 ;
18998 PyObject
* obj1
= 0 ;
18999 PyObject
* obj2
= 0 ;
19000 PyObject
* obj3
= 0 ;
19001 PyObject
* obj4
= 0 ;
19002 char * kwnames
[] = {
19003 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19008 if (!SWIG_IsOK(res1
)) {
19009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19011 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19013 arg2
= wxString_in_helper(obj1
);
19014 if (arg2
== NULL
) SWIG_fail
;
19017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19018 if (!SWIG_IsOK(ecode3
)) {
19019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19021 arg3
= static_cast< int >(val3
);
19022 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19023 if (!SWIG_IsOK(ecode4
)) {
19024 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19026 arg4
= static_cast< int >(val4
);
19027 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19028 if (!SWIG_IsOK(ecode5
)) {
19029 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19031 arg5
= static_cast< double >(val5
);
19033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19035 wxPyEndAllowThreads(__tstate
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19038 resultobj
= SWIG_Py_Void();
19053 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19054 PyObject
*resultobj
= 0;
19055 wxDC
*arg1
= (wxDC
*) 0 ;
19056 wxString
*arg2
= 0 ;
19057 wxPoint
*arg3
= 0 ;
19061 bool temp2
= false ;
19065 PyObject
* obj0
= 0 ;
19066 PyObject
* obj1
= 0 ;
19067 PyObject
* obj2
= 0 ;
19068 PyObject
* obj3
= 0 ;
19069 char * kwnames
[] = {
19070 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19075 if (!SWIG_IsOK(res1
)) {
19076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19078 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19080 arg2
= wxString_in_helper(obj1
);
19081 if (arg2
== NULL
) SWIG_fail
;
19086 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19088 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19089 if (!SWIG_IsOK(ecode4
)) {
19090 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19092 arg4
= static_cast< double >(val4
);
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= SWIG_Py_Void();
19114 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19115 PyObject
*resultobj
= 0;
19116 wxDC
*arg1
= (wxDC
*) 0 ;
19121 wxDC
*arg6
= (wxDC
*) 0 ;
19124 int arg9
= (int) wxCOPY
;
19125 bool arg10
= (bool) false ;
19126 int arg11
= (int) -1 ;
19127 int arg12
= (int) -1 ;
19153 PyObject
* obj0
= 0 ;
19154 PyObject
* obj1
= 0 ;
19155 PyObject
* obj2
= 0 ;
19156 PyObject
* obj3
= 0 ;
19157 PyObject
* obj4
= 0 ;
19158 PyObject
* obj5
= 0 ;
19159 PyObject
* obj6
= 0 ;
19160 PyObject
* obj7
= 0 ;
19161 PyObject
* obj8
= 0 ;
19162 PyObject
* obj9
= 0 ;
19163 PyObject
* obj10
= 0 ;
19164 PyObject
* obj11
= 0 ;
19165 char * kwnames
[] = {
19166 (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
19169 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
;
19170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19171 if (!SWIG_IsOK(res1
)) {
19172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19176 if (!SWIG_IsOK(ecode2
)) {
19177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19179 arg2
= static_cast< int >(val2
);
19180 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19181 if (!SWIG_IsOK(ecode3
)) {
19182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19184 arg3
= static_cast< int >(val3
);
19185 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19186 if (!SWIG_IsOK(ecode4
)) {
19187 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19189 arg4
= static_cast< int >(val4
);
19190 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19191 if (!SWIG_IsOK(ecode5
)) {
19192 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19194 arg5
= static_cast< int >(val5
);
19195 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19196 if (!SWIG_IsOK(res6
)) {
19197 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19199 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19200 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19201 if (!SWIG_IsOK(ecode7
)) {
19202 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19204 arg7
= static_cast< int >(val7
);
19205 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19206 if (!SWIG_IsOK(ecode8
)) {
19207 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19209 arg8
= static_cast< int >(val8
);
19211 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19212 if (!SWIG_IsOK(ecode9
)) {
19213 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19215 arg9
= static_cast< int >(val9
);
19218 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19219 if (!SWIG_IsOK(ecode10
)) {
19220 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19222 arg10
= static_cast< bool >(val10
);
19225 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19226 if (!SWIG_IsOK(ecode11
)) {
19227 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19229 arg11
= static_cast< int >(val11
);
19232 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19233 if (!SWIG_IsOK(ecode12
)) {
19234 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19236 arg12
= static_cast< int >(val12
);
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19253 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
= 0;
19255 wxDC
*arg1
= (wxDC
*) 0 ;
19256 wxPoint
*arg2
= 0 ;
19258 wxDC
*arg4
= (wxDC
*) 0 ;
19259 wxPoint
*arg5
= 0 ;
19260 int arg6
= (int) wxCOPY
;
19261 bool arg7
= (bool) false ;
19262 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19263 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19277 PyObject
* obj0
= 0 ;
19278 PyObject
* obj1
= 0 ;
19279 PyObject
* obj2
= 0 ;
19280 PyObject
* obj3
= 0 ;
19281 PyObject
* obj4
= 0 ;
19282 PyObject
* obj5
= 0 ;
19283 PyObject
* obj6
= 0 ;
19284 PyObject
* obj7
= 0 ;
19285 char * kwnames
[] = {
19286 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19291 if (!SWIG_IsOK(res1
)) {
19292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19294 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19297 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19301 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19303 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19304 if (!SWIG_IsOK(res4
)) {
19305 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19307 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19310 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19313 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19314 if (!SWIG_IsOK(ecode6
)) {
19315 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19317 arg6
= static_cast< int >(val6
);
19320 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19321 if (!SWIG_IsOK(ecode7
)) {
19322 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19324 arg7
= static_cast< bool >(val7
);
19329 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19334 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19347 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
= 0;
19349 wxDC
*arg1
= (wxDC
*) 0 ;
19364 PyObject
* obj0
= 0 ;
19365 PyObject
* obj1
= 0 ;
19366 PyObject
* obj2
= 0 ;
19367 PyObject
* obj3
= 0 ;
19368 PyObject
* obj4
= 0 ;
19369 char * kwnames
[] = {
19370 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19375 if (!SWIG_IsOK(res1
)) {
19376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19378 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19380 if (!SWIG_IsOK(ecode2
)) {
19381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19383 arg2
= static_cast< int >(val2
);
19384 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19385 if (!SWIG_IsOK(ecode3
)) {
19386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19388 arg3
= static_cast< int >(val3
);
19389 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19390 if (!SWIG_IsOK(ecode4
)) {
19391 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19393 arg4
= static_cast< int >(val4
);
19394 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19395 if (!SWIG_IsOK(ecode5
)) {
19396 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19398 arg5
= static_cast< int >(val5
);
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19402 wxPyEndAllowThreads(__tstate
);
19403 if (PyErr_Occurred()) SWIG_fail
;
19405 resultobj
= SWIG_Py_Void();
19412 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19413 PyObject
*resultobj
= 0;
19414 wxDC
*arg1
= (wxDC
*) 0 ;
19415 wxPoint
*arg2
= 0 ;
19421 PyObject
* obj0
= 0 ;
19422 PyObject
* obj1
= 0 ;
19423 PyObject
* obj2
= 0 ;
19424 char * kwnames
[] = {
19425 (char *) "self",(char *) "pt",(char *) "sz", NULL
19428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19430 if (!SWIG_IsOK(res1
)) {
19431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19433 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19436 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19440 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19444 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19445 wxPyEndAllowThreads(__tstate
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19448 resultobj
= SWIG_Py_Void();
19455 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
= 0;
19457 wxDC
*arg1
= (wxDC
*) 0 ;
19458 wxRegion
*arg2
= 0 ;
19463 PyObject
* obj0
= 0 ;
19464 PyObject
* obj1
= 0 ;
19465 char * kwnames
[] = {
19466 (char *) "self",(char *) "region", NULL
19469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19471 if (!SWIG_IsOK(res1
)) {
19472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19474 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19475 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19476 if (!SWIG_IsOK(res2
)) {
19477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19482 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19486 wxPyEndAllowThreads(__tstate
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19489 resultobj
= SWIG_Py_Void();
19496 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19497 PyObject
*resultobj
= 0;
19498 wxDC
*arg1
= (wxDC
*) 0 ;
19503 PyObject
* obj0
= 0 ;
19504 PyObject
* obj1
= 0 ;
19505 char * kwnames
[] = {
19506 (char *) "self",(char *) "rect", NULL
19509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19511 if (!SWIG_IsOK(res1
)) {
19512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19514 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19517 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19522 wxPyEndAllowThreads(__tstate
);
19523 if (PyErr_Occurred()) SWIG_fail
;
19525 resultobj
= SWIG_Py_Void();
19532 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19533 PyObject
*resultobj
= 0;
19534 wxDC
*arg1
= (wxDC
*) 0 ;
19536 wxPoint
*arg3
= (wxPoint
*) 0 ;
19537 int arg4
= (int) 0 ;
19538 int arg5
= (int) 0 ;
19545 PyObject
* obj0
= 0 ;
19546 PyObject
* obj1
= 0 ;
19547 PyObject
* obj2
= 0 ;
19548 PyObject
* obj3
= 0 ;
19549 char * kwnames
[] = {
19550 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19555 if (!SWIG_IsOK(res1
)) {
19556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19558 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19560 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19561 if (arg3
== NULL
) SWIG_fail
;
19564 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19565 if (!SWIG_IsOK(ecode4
)) {
19566 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19568 arg4
= static_cast< int >(val4
);
19571 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19572 if (!SWIG_IsOK(ecode5
)) {
19573 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19575 arg5
= static_cast< int >(val5
);
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19580 wxPyEndAllowThreads(__tstate
);
19581 if (PyErr_Occurred()) SWIG_fail
;
19583 resultobj
= SWIG_Py_Void();
19585 if (arg3
) delete [] arg3
;
19590 if (arg3
) delete [] arg3
;
19596 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
= 0;
19598 wxDC
*arg1
= (wxDC
*) 0 ;
19600 wxPoint
*arg3
= (wxPoint
*) 0 ;
19601 int arg4
= (int) 0 ;
19602 int arg5
= (int) 0 ;
19603 int arg6
= (int) wxODDEVEN_RULE
;
19612 PyObject
* obj0
= 0 ;
19613 PyObject
* obj1
= 0 ;
19614 PyObject
* obj2
= 0 ;
19615 PyObject
* obj3
= 0 ;
19616 PyObject
* obj4
= 0 ;
19617 char * kwnames
[] = {
19618 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19623 if (!SWIG_IsOK(res1
)) {
19624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19626 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19628 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19629 if (arg3
== NULL
) SWIG_fail
;
19632 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19633 if (!SWIG_IsOK(ecode4
)) {
19634 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19636 arg4
= static_cast< int >(val4
);
19639 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19640 if (!SWIG_IsOK(ecode5
)) {
19641 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19643 arg5
= static_cast< int >(val5
);
19646 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19647 if (!SWIG_IsOK(ecode6
)) {
19648 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19650 arg6
= static_cast< int >(val6
);
19653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19654 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19655 wxPyEndAllowThreads(__tstate
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19658 resultobj
= SWIG_Py_Void();
19660 if (arg3
) delete [] arg3
;
19665 if (arg3
) delete [] arg3
;
19671 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19672 PyObject
*resultobj
= 0;
19673 wxDC
*arg1
= (wxDC
*) 0 ;
19674 wxString
*arg2
= 0 ;
19676 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19677 int arg5
= (int) -1 ;
19680 bool temp2
= false ;
19686 PyObject
* obj0
= 0 ;
19687 PyObject
* obj1
= 0 ;
19688 PyObject
* obj2
= 0 ;
19689 PyObject
* obj3
= 0 ;
19690 PyObject
* obj4
= 0 ;
19691 char * kwnames
[] = {
19692 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19697 if (!SWIG_IsOK(res1
)) {
19698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19700 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19702 arg2
= wxString_in_helper(obj1
);
19703 if (arg2
== NULL
) SWIG_fail
;
19708 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19711 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19712 if (!SWIG_IsOK(ecode4
)) {
19713 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19715 arg4
= static_cast< int >(val4
);
19718 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19719 if (!SWIG_IsOK(ecode5
)) {
19720 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19722 arg5
= static_cast< int >(val5
);
19725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19726 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19727 wxPyEndAllowThreads(__tstate
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= SWIG_Py_Void();
19745 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19746 PyObject
*resultobj
= 0;
19747 wxDC
*arg1
= (wxDC
*) 0 ;
19748 wxString
*arg2
= 0 ;
19749 wxBitmap
*arg3
= 0 ;
19751 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19752 int arg6
= (int) -1 ;
19756 bool temp2
= false ;
19764 PyObject
* obj0
= 0 ;
19765 PyObject
* obj1
= 0 ;
19766 PyObject
* obj2
= 0 ;
19767 PyObject
* obj3
= 0 ;
19768 PyObject
* obj4
= 0 ;
19769 PyObject
* obj5
= 0 ;
19770 char * kwnames
[] = {
19771 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19776 if (!SWIG_IsOK(res1
)) {
19777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19779 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19781 arg2
= wxString_in_helper(obj1
);
19782 if (arg2
== NULL
) SWIG_fail
;
19785 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19786 if (!SWIG_IsOK(res3
)) {
19787 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19792 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19795 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19798 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19799 if (!SWIG_IsOK(ecode5
)) {
19800 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19802 arg5
= static_cast< int >(val5
);
19805 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19806 if (!SWIG_IsOK(ecode6
)) {
19807 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19809 arg6
= static_cast< int >(val6
);
19812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19814 wxPyEndAllowThreads(__tstate
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19817 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19832 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19833 PyObject
*resultobj
= 0;
19834 wxDC
*arg1
= (wxDC
*) 0 ;
19836 wxPoint
*arg3
= (wxPoint
*) 0 ;
19839 PyObject
* obj0
= 0 ;
19840 PyObject
* obj1
= 0 ;
19841 char * kwnames
[] = {
19842 (char *) "self",(char *) "points", NULL
19845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19847 if (!SWIG_IsOK(res1
)) {
19848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
19850 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19852 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19853 if (arg3
== NULL
) SWIG_fail
;
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 (arg1
)->DrawSpline(arg2
,arg3
);
19858 wxPyEndAllowThreads(__tstate
);
19859 if (PyErr_Occurred()) SWIG_fail
;
19861 resultobj
= SWIG_Py_Void();
19863 if (arg3
) delete [] arg3
;
19868 if (arg3
) delete [] arg3
;
19874 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19875 PyObject
*resultobj
= 0;
19876 wxDC
*arg1
= (wxDC
*) 0 ;
19879 PyObject
*swig_obj
[1] ;
19881 if (!args
) SWIG_fail
;
19882 swig_obj
[0] = args
;
19883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19884 if (!SWIG_IsOK(res1
)) {
19885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
19887 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 wxPyEndAllowThreads(__tstate
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19894 resultobj
= SWIG_Py_Void();
19901 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19902 PyObject
*resultobj
= 0;
19903 wxDC
*arg1
= (wxDC
*) 0 ;
19904 wxString
*arg2
= 0 ;
19908 bool temp2
= false ;
19909 PyObject
* obj0
= 0 ;
19910 PyObject
* obj1
= 0 ;
19911 char * kwnames
[] = {
19912 (char *) "self",(char *) "message", NULL
19915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19917 if (!SWIG_IsOK(res1
)) {
19918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
19920 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19922 arg2
= wxString_in_helper(obj1
);
19923 if (arg2
== NULL
) SWIG_fail
;
19927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19949 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19950 PyObject
*resultobj
= 0;
19951 wxDC
*arg1
= (wxDC
*) 0 ;
19954 PyObject
*swig_obj
[1] ;
19956 if (!args
) SWIG_fail
;
19957 swig_obj
[0] = args
;
19958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19959 if (!SWIG_IsOK(res1
)) {
19960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
19962 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 wxPyEndAllowThreads(__tstate
);
19967 if (PyErr_Occurred()) SWIG_fail
;
19969 resultobj
= SWIG_Py_Void();
19976 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19977 PyObject
*resultobj
= 0;
19978 wxDC
*arg1
= (wxDC
*) 0 ;
19981 PyObject
*swig_obj
[1] ;
19983 if (!args
) SWIG_fail
;
19984 swig_obj
[0] = args
;
19985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19986 if (!SWIG_IsOK(res1
)) {
19987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
19989 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19992 (arg1
)->StartPage();
19993 wxPyEndAllowThreads(__tstate
);
19994 if (PyErr_Occurred()) SWIG_fail
;
19996 resultobj
= SWIG_Py_Void();
20003 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20004 PyObject
*resultobj
= 0;
20005 wxDC
*arg1
= (wxDC
*) 0 ;
20008 PyObject
*swig_obj
[1] ;
20010 if (!args
) SWIG_fail
;
20011 swig_obj
[0] = args
;
20012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20013 if (!SWIG_IsOK(res1
)) {
20014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20016 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 wxPyEndAllowThreads(__tstate
);
20021 if (PyErr_Occurred()) SWIG_fail
;
20023 resultobj
= SWIG_Py_Void();
20030 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20031 PyObject
*resultobj
= 0;
20032 wxDC
*arg1
= (wxDC
*) 0 ;
20038 PyObject
* obj0
= 0 ;
20039 PyObject
* obj1
= 0 ;
20040 char * kwnames
[] = {
20041 (char *) "self",(char *) "font", NULL
20044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) 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_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20049 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20050 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20051 if (!SWIG_IsOK(res2
)) {
20052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20057 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20060 (arg1
)->SetFont((wxFont
const &)*arg2
);
20061 wxPyEndAllowThreads(__tstate
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20064 resultobj
= SWIG_Py_Void();
20071 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20072 PyObject
*resultobj
= 0;
20073 wxDC
*arg1
= (wxDC
*) 0 ;
20079 PyObject
* obj0
= 0 ;
20080 PyObject
* obj1
= 0 ;
20081 char * kwnames
[] = {
20082 (char *) "self",(char *) "pen", NULL
20085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",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_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20090 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20091 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20092 if (!SWIG_IsOK(res2
)) {
20093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20098 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20101 (arg1
)->SetPen((wxPen
const &)*arg2
);
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20105 resultobj
= SWIG_Py_Void();
20112 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20113 PyObject
*resultobj
= 0;
20114 wxDC
*arg1
= (wxDC
*) 0 ;
20115 wxBrush
*arg2
= 0 ;
20120 PyObject
* obj0
= 0 ;
20121 PyObject
* obj1
= 0 ;
20122 char * kwnames
[] = {
20123 (char *) "self",(char *) "brush", NULL
20126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20128 if (!SWIG_IsOK(res1
)) {
20129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20131 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20132 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20133 if (!SWIG_IsOK(res2
)) {
20134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20137 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20139 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20142 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20143 wxPyEndAllowThreads(__tstate
);
20144 if (PyErr_Occurred()) SWIG_fail
;
20146 resultobj
= SWIG_Py_Void();
20153 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
= 0;
20155 wxDC
*arg1
= (wxDC
*) 0 ;
20156 wxBrush
*arg2
= 0 ;
20161 PyObject
* obj0
= 0 ;
20162 PyObject
* obj1
= 0 ;
20163 char * kwnames
[] = {
20164 (char *) "self",(char *) "brush", NULL
20167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20169 if (!SWIG_IsOK(res1
)) {
20170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20172 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20173 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20174 if (!SWIG_IsOK(res2
)) {
20175 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20180 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20183 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20184 wxPyEndAllowThreads(__tstate
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20187 resultobj
= SWIG_Py_Void();
20194 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20195 PyObject
*resultobj
= 0;
20196 wxDC
*arg1
= (wxDC
*) 0 ;
20202 PyObject
* obj0
= 0 ;
20203 PyObject
* obj1
= 0 ;
20204 char * kwnames
[] = {
20205 (char *) "self",(char *) "mode", NULL
20208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20210 if (!SWIG_IsOK(res1
)) {
20211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20213 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20215 if (!SWIG_IsOK(ecode2
)) {
20216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20218 arg2
= static_cast< int >(val2
);
20220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20221 (arg1
)->SetBackgroundMode(arg2
);
20222 wxPyEndAllowThreads(__tstate
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20225 resultobj
= SWIG_Py_Void();
20232 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
= 0;
20234 wxDC
*arg1
= (wxDC
*) 0 ;
20235 wxPalette
*arg2
= 0 ;
20240 PyObject
* obj0
= 0 ;
20241 PyObject
* obj1
= 0 ;
20242 char * kwnames
[] = {
20243 (char *) "self",(char *) "palette", NULL
20246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20248 if (!SWIG_IsOK(res1
)) {
20249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20251 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20253 if (!SWIG_IsOK(res2
)) {
20254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20259 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20263 wxPyEndAllowThreads(__tstate
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20266 resultobj
= SWIG_Py_Void();
20273 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20274 PyObject
*resultobj
= 0;
20275 wxDC
*arg1
= (wxDC
*) 0 ;
20278 PyObject
*swig_obj
[1] ;
20280 if (!args
) SWIG_fail
;
20281 swig_obj
[0] = args
;
20282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20283 if (!SWIG_IsOK(res1
)) {
20284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20289 (arg1
)->DestroyClippingRegion();
20290 wxPyEndAllowThreads(__tstate
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20293 resultobj
= SWIG_Py_Void();
20300 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20301 PyObject
*resultobj
= 0;
20302 wxDC
*arg1
= (wxDC
*) 0 ;
20303 int *arg2
= (int *) 0 ;
20304 int *arg3
= (int *) 0 ;
20305 int *arg4
= (int *) 0 ;
20306 int *arg5
= (int *) 0 ;
20310 int res2
= SWIG_TMPOBJ
;
20312 int res3
= SWIG_TMPOBJ
;
20314 int res4
= SWIG_TMPOBJ
;
20316 int res5
= SWIG_TMPOBJ
;
20317 PyObject
*swig_obj
[1] ;
20323 if (!args
) SWIG_fail
;
20324 swig_obj
[0] = args
;
20325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20326 if (!SWIG_IsOK(res1
)) {
20327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20329 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20336 resultobj
= SWIG_Py_Void();
20337 if (SWIG_IsTmpObj(res2
)) {
20338 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20340 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20341 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20343 if (SWIG_IsTmpObj(res3
)) {
20344 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20346 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20347 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20349 if (SWIG_IsTmpObj(res4
)) {
20350 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20352 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20353 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20355 if (SWIG_IsTmpObj(res5
)) {
20356 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20358 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20359 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20367 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20368 PyObject
*resultobj
= 0;
20369 wxDC
*arg1
= (wxDC
*) 0 ;
20373 PyObject
*swig_obj
[1] ;
20375 if (!args
) SWIG_fail
;
20376 swig_obj
[0] = args
;
20377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20378 if (!SWIG_IsOK(res1
)) {
20379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20381 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20384 result
= wxDC_GetClippingRect(arg1
);
20385 wxPyEndAllowThreads(__tstate
);
20386 if (PyErr_Occurred()) SWIG_fail
;
20388 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20395 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20396 PyObject
*resultobj
= 0;
20397 wxDC
*arg1
= (wxDC
*) 0 ;
20401 PyObject
*swig_obj
[1] ;
20403 if (!args
) SWIG_fail
;
20404 swig_obj
[0] = args
;
20405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20406 if (!SWIG_IsOK(res1
)) {
20407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20412 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 resultobj
= SWIG_From_int(static_cast< int >(result
));
20423 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20424 PyObject
*resultobj
= 0;
20425 wxDC
*arg1
= (wxDC
*) 0 ;
20429 PyObject
*swig_obj
[1] ;
20431 if (!args
) SWIG_fail
;
20432 swig_obj
[0] = args
;
20433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20434 if (!SWIG_IsOK(res1
)) {
20435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20437 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20440 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20441 wxPyEndAllowThreads(__tstate
);
20442 if (PyErr_Occurred()) SWIG_fail
;
20444 resultobj
= SWIG_From_int(static_cast< int >(result
));
20451 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20452 PyObject
*resultobj
= 0;
20453 wxDC
*arg1
= (wxDC
*) 0 ;
20454 wxString
*arg2
= 0 ;
20455 int *arg3
= (int *) 0 ;
20456 int *arg4
= (int *) 0 ;
20459 bool temp2
= false ;
20461 int res3
= SWIG_TMPOBJ
;
20463 int res4
= SWIG_TMPOBJ
;
20464 PyObject
* obj0
= 0 ;
20465 PyObject
* obj1
= 0 ;
20466 char * kwnames
[] = {
20467 (char *) "self",(char *) "string", NULL
20472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20474 if (!SWIG_IsOK(res1
)) {
20475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20477 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20479 arg2
= wxString_in_helper(obj1
);
20480 if (arg2
== NULL
) SWIG_fail
;
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20486 wxPyEndAllowThreads(__tstate
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20489 resultobj
= SWIG_Py_Void();
20490 if (SWIG_IsTmpObj(res3
)) {
20491 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20493 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20494 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20496 if (SWIG_IsTmpObj(res4
)) {
20497 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20499 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20516 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20517 PyObject
*resultobj
= 0;
20518 wxDC
*arg1
= (wxDC
*) 0 ;
20519 wxString
*arg2
= 0 ;
20520 int *arg3
= (int *) 0 ;
20521 int *arg4
= (int *) 0 ;
20522 int *arg5
= (int *) 0 ;
20523 int *arg6
= (int *) 0 ;
20524 wxFont
*arg7
= (wxFont
*) NULL
;
20527 bool temp2
= false ;
20529 int res3
= SWIG_TMPOBJ
;
20531 int res4
= SWIG_TMPOBJ
;
20533 int res5
= SWIG_TMPOBJ
;
20535 int res6
= SWIG_TMPOBJ
;
20538 PyObject
* obj0
= 0 ;
20539 PyObject
* obj1
= 0 ;
20540 PyObject
* obj2
= 0 ;
20541 char * kwnames
[] = {
20542 (char *) "self",(char *) "string",(char *) "font", NULL
20549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20551 if (!SWIG_IsOK(res1
)) {
20552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20554 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20556 arg2
= wxString_in_helper(obj1
);
20557 if (arg2
== NULL
) SWIG_fail
;
20561 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20562 if (!SWIG_IsOK(res7
)) {
20563 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20565 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20569 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20570 wxPyEndAllowThreads(__tstate
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20573 resultobj
= SWIG_Py_Void();
20574 if (SWIG_IsTmpObj(res3
)) {
20575 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20577 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20578 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20580 if (SWIG_IsTmpObj(res4
)) {
20581 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20583 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20584 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20586 if (SWIG_IsTmpObj(res5
)) {
20587 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20589 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20592 if (SWIG_IsTmpObj(res6
)) {
20593 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20595 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20596 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20612 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
= 0;
20614 wxDC
*arg1
= (wxDC
*) 0 ;
20615 wxString
*arg2
= 0 ;
20616 int *arg3
= (int *) 0 ;
20617 int *arg4
= (int *) 0 ;
20618 int *arg5
= (int *) 0 ;
20619 wxFont
*arg6
= (wxFont
*) NULL
;
20622 bool temp2
= false ;
20624 int res3
= SWIG_TMPOBJ
;
20626 int res4
= SWIG_TMPOBJ
;
20628 int res5
= SWIG_TMPOBJ
;
20631 PyObject
* obj0
= 0 ;
20632 PyObject
* obj1
= 0 ;
20633 PyObject
* obj2
= 0 ;
20634 char * kwnames
[] = {
20635 (char *) "self",(char *) "text",(char *) "font", NULL
20641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20643 if (!SWIG_IsOK(res1
)) {
20644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20646 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20648 arg2
= wxString_in_helper(obj1
);
20649 if (arg2
== NULL
) SWIG_fail
;
20653 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20654 if (!SWIG_IsOK(res6
)) {
20655 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20657 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20661 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20662 wxPyEndAllowThreads(__tstate
);
20663 if (PyErr_Occurred()) SWIG_fail
;
20665 resultobj
= SWIG_Py_Void();
20666 if (SWIG_IsTmpObj(res3
)) {
20667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20669 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20672 if (SWIG_IsTmpObj(res4
)) {
20673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20675 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20676 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20678 if (SWIG_IsTmpObj(res5
)) {
20679 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20681 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20682 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20698 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
= 0;
20700 wxDC
*arg1
= (wxDC
*) 0 ;
20701 wxString
*arg2
= 0 ;
20705 bool temp2
= false ;
20706 PyObject
* obj0
= 0 ;
20707 PyObject
* obj1
= 0 ;
20708 char * kwnames
[] = {
20709 (char *) "self",(char *) "text", NULL
20712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20714 if (!SWIG_IsOK(res1
)) {
20715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20717 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20719 arg2
= wxString_in_helper(obj1
);
20720 if (arg2
== NULL
) SWIG_fail
;
20724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20725 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20730 resultobj
= PyList_New(0);
20732 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
20733 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
20734 PyList_Append(resultobj
, val
);
20752 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20753 PyObject
*resultobj
= 0;
20754 wxDC
*arg1
= (wxDC
*) 0 ;
20758 PyObject
*swig_obj
[1] ;
20760 if (!args
) SWIG_fail
;
20761 swig_obj
[0] = args
;
20762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20763 if (!SWIG_IsOK(res1
)) {
20764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20766 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 result
= (arg1
)->GetSize();
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20780 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20781 PyObject
*resultobj
= 0;
20782 wxDC
*arg1
= (wxDC
*) 0 ;
20783 int *arg2
= (int *) 0 ;
20784 int *arg3
= (int *) 0 ;
20788 int res2
= SWIG_TMPOBJ
;
20790 int res3
= SWIG_TMPOBJ
;
20791 PyObject
*swig_obj
[1] ;
20795 if (!args
) SWIG_fail
;
20796 swig_obj
[0] = args
;
20797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20798 if (!SWIG_IsOK(res1
)) {
20799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20801 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20804 (arg1
)->GetSize(arg2
,arg3
);
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20808 resultobj
= SWIG_Py_Void();
20809 if (SWIG_IsTmpObj(res2
)) {
20810 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20812 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20813 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20815 if (SWIG_IsTmpObj(res3
)) {
20816 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20818 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20819 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20827 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20828 PyObject
*resultobj
= 0;
20829 wxDC
*arg1
= (wxDC
*) 0 ;
20833 PyObject
*swig_obj
[1] ;
20835 if (!args
) SWIG_fail
;
20836 swig_obj
[0] = args
;
20837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20838 if (!SWIG_IsOK(res1
)) {
20839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20841 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20844 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20855 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20856 PyObject
*resultobj
= 0;
20857 wxDC
*arg1
= (wxDC
*) 0 ;
20858 int *arg2
= (int *) 0 ;
20859 int *arg3
= (int *) 0 ;
20863 int res2
= SWIG_TMPOBJ
;
20865 int res3
= SWIG_TMPOBJ
;
20866 PyObject
*swig_obj
[1] ;
20870 if (!args
) SWIG_fail
;
20871 swig_obj
[0] = args
;
20872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20873 if (!SWIG_IsOK(res1
)) {
20874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20876 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 resultobj
= SWIG_Py_Void();
20884 if (SWIG_IsTmpObj(res2
)) {
20885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20887 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20890 if (SWIG_IsTmpObj(res3
)) {
20891 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20893 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20902 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20903 PyObject
*resultobj
= 0;
20904 wxDC
*arg1
= (wxDC
*) 0 ;
20911 PyObject
* obj0
= 0 ;
20912 PyObject
* obj1
= 0 ;
20913 char * kwnames
[] = {
20914 (char *) "self",(char *) "x", NULL
20917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20919 if (!SWIG_IsOK(res1
)) {
20920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
20922 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20924 if (!SWIG_IsOK(ecode2
)) {
20925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
20927 arg2
= static_cast< int >(val2
);
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
20931 wxPyEndAllowThreads(__tstate
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20934 resultobj
= SWIG_From_int(static_cast< int >(result
));
20941 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20942 PyObject
*resultobj
= 0;
20943 wxDC
*arg1
= (wxDC
*) 0 ;
20950 PyObject
* obj0
= 0 ;
20951 PyObject
* obj1
= 0 ;
20952 char * kwnames
[] = {
20953 (char *) "self",(char *) "y", NULL
20956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20958 if (!SWIG_IsOK(res1
)) {
20959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
20961 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20963 if (!SWIG_IsOK(ecode2
)) {
20964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
20966 arg2
= static_cast< int >(val2
);
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
20970 wxPyEndAllowThreads(__tstate
);
20971 if (PyErr_Occurred()) SWIG_fail
;
20973 resultobj
= SWIG_From_int(static_cast< int >(result
));
20980 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20981 PyObject
*resultobj
= 0;
20982 wxDC
*arg1
= (wxDC
*) 0 ;
20989 PyObject
* obj0
= 0 ;
20990 PyObject
* obj1
= 0 ;
20991 char * kwnames
[] = {
20992 (char *) "self",(char *) "x", NULL
20995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20997 if (!SWIG_IsOK(res1
)) {
20998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21000 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21002 if (!SWIG_IsOK(ecode2
)) {
21003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21005 arg2
= static_cast< int >(val2
);
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21008 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21009 wxPyEndAllowThreads(__tstate
);
21010 if (PyErr_Occurred()) SWIG_fail
;
21012 resultobj
= SWIG_From_int(static_cast< int >(result
));
21019 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21020 PyObject
*resultobj
= 0;
21021 wxDC
*arg1
= (wxDC
*) 0 ;
21028 PyObject
* obj0
= 0 ;
21029 PyObject
* obj1
= 0 ;
21030 char * kwnames
[] = {
21031 (char *) "self",(char *) "y", NULL
21034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21036 if (!SWIG_IsOK(res1
)) {
21037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21039 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21041 if (!SWIG_IsOK(ecode2
)) {
21042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21044 arg2
= static_cast< int >(val2
);
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21051 resultobj
= SWIG_From_int(static_cast< int >(result
));
21058 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21059 PyObject
*resultobj
= 0;
21060 wxDC
*arg1
= (wxDC
*) 0 ;
21067 PyObject
* obj0
= 0 ;
21068 PyObject
* obj1
= 0 ;
21069 char * kwnames
[] = {
21070 (char *) "self",(char *) "x", NULL
21073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21075 if (!SWIG_IsOK(res1
)) {
21076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21078 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21080 if (!SWIG_IsOK(ecode2
)) {
21081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21083 arg2
= static_cast< int >(val2
);
21085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21086 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21087 wxPyEndAllowThreads(__tstate
);
21088 if (PyErr_Occurred()) SWIG_fail
;
21090 resultobj
= SWIG_From_int(static_cast< int >(result
));
21097 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21098 PyObject
*resultobj
= 0;
21099 wxDC
*arg1
= (wxDC
*) 0 ;
21106 PyObject
* obj0
= 0 ;
21107 PyObject
* obj1
= 0 ;
21108 char * kwnames
[] = {
21109 (char *) "self",(char *) "y", NULL
21112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21114 if (!SWIG_IsOK(res1
)) {
21115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21117 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21119 if (!SWIG_IsOK(ecode2
)) {
21120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21122 arg2
= static_cast< int >(val2
);
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21126 wxPyEndAllowThreads(__tstate
);
21127 if (PyErr_Occurred()) SWIG_fail
;
21129 resultobj
= SWIG_From_int(static_cast< int >(result
));
21136 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
= 0;
21138 wxDC
*arg1
= (wxDC
*) 0 ;
21145 PyObject
* obj0
= 0 ;
21146 PyObject
* obj1
= 0 ;
21147 char * kwnames
[] = {
21148 (char *) "self",(char *) "x", NULL
21151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21153 if (!SWIG_IsOK(res1
)) {
21154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21156 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21158 if (!SWIG_IsOK(ecode2
)) {
21159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21161 arg2
= static_cast< int >(val2
);
21163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21164 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21165 wxPyEndAllowThreads(__tstate
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21168 resultobj
= SWIG_From_int(static_cast< int >(result
));
21175 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21176 PyObject
*resultobj
= 0;
21177 wxDC
*arg1
= (wxDC
*) 0 ;
21184 PyObject
* obj0
= 0 ;
21185 PyObject
* obj1
= 0 ;
21186 char * kwnames
[] = {
21187 (char *) "self",(char *) "y", NULL
21190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21192 if (!SWIG_IsOK(res1
)) {
21193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21195 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21197 if (!SWIG_IsOK(ecode2
)) {
21198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21200 arg2
= static_cast< int >(val2
);
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21204 wxPyEndAllowThreads(__tstate
);
21205 if (PyErr_Occurred()) SWIG_fail
;
21207 resultobj
= SWIG_From_int(static_cast< int >(result
));
21214 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21215 PyObject
*resultobj
= 0;
21216 wxDC
*arg1
= (wxDC
*) 0 ;
21220 PyObject
*swig_obj
[1] ;
21222 if (!args
) SWIG_fail
;
21223 swig_obj
[0] = args
;
21224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21225 if (!SWIG_IsOK(res1
)) {
21226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21228 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21231 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21232 wxPyEndAllowThreads(__tstate
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21244 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21245 PyObject
*resultobj
= 0;
21246 wxDC
*arg1
= (wxDC
*) 0 ;
21250 PyObject
*swig_obj
[1] ;
21252 if (!args
) SWIG_fail
;
21253 swig_obj
[0] = args
;
21254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21255 if (!SWIG_IsOK(res1
)) {
21256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21258 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21274 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21275 PyObject
*resultobj
= 0;
21276 wxDC
*arg1
= (wxDC
*) 0 ;
21280 PyObject
*swig_obj
[1] ;
21282 if (!args
) SWIG_fail
;
21283 swig_obj
[0] = args
;
21284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21285 if (!SWIG_IsOK(res1
)) {
21286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21288 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21291 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21292 wxPyEndAllowThreads(__tstate
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21295 resultobj
= SWIG_From_int(static_cast< int >(result
));
21302 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21303 PyObject
*resultobj
= 0;
21304 wxDC
*arg1
= (wxDC
*) 0 ;
21308 PyObject
*swig_obj
[1] ;
21310 if (!args
) SWIG_fail
;
21311 swig_obj
[0] = args
;
21312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21313 if (!SWIG_IsOK(res1
)) {
21314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21316 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21319 result
= ((wxDC
const *)arg1
)->GetPPI();
21320 wxPyEndAllowThreads(__tstate
);
21321 if (PyErr_Occurred()) SWIG_fail
;
21323 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21330 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21331 PyObject
*resultobj
= 0;
21332 wxDC
*arg1
= (wxDC
*) 0 ;
21336 PyObject
*swig_obj
[1] ;
21338 if (!args
) SWIG_fail
;
21339 swig_obj
[0] = args
;
21340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21341 if (!SWIG_IsOK(res1
)) {
21342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
21344 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 result
= (bool)((wxDC
const *)arg1
)->Ok();
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21360 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21361 PyObject
*resultobj
= 0;
21362 wxDC
*arg1
= (wxDC
*) 0 ;
21366 PyObject
*swig_obj
[1] ;
21368 if (!args
) SWIG_fail
;
21369 swig_obj
[0] = args
;
21370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21371 if (!SWIG_IsOK(res1
)) {
21372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21374 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21378 wxPyEndAllowThreads(__tstate
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21381 resultobj
= SWIG_From_int(static_cast< int >(result
));
21388 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21389 PyObject
*resultobj
= 0;
21390 wxDC
*arg1
= (wxDC
*) 0 ;
21391 wxBrush
*result
= 0 ;
21394 PyObject
*swig_obj
[1] ;
21396 if (!args
) SWIG_fail
;
21397 swig_obj
[0] = args
;
21398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21399 if (!SWIG_IsOK(res1
)) {
21400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21402 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21406 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21407 result
= (wxBrush
*) &_result_ref
;
21409 wxPyEndAllowThreads(__tstate
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21413 wxBrush
* resultptr
= new wxBrush(*result
);
21414 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21422 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21423 PyObject
*resultobj
= 0;
21424 wxDC
*arg1
= (wxDC
*) 0 ;
21425 wxBrush
*result
= 0 ;
21428 PyObject
*swig_obj
[1] ;
21430 if (!args
) SWIG_fail
;
21431 swig_obj
[0] = args
;
21432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21433 if (!SWIG_IsOK(res1
)) {
21434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21436 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21441 result
= (wxBrush
*) &_result_ref
;
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21447 wxBrush
* resultptr
= new wxBrush(*result
);
21448 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21456 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21457 PyObject
*resultobj
= 0;
21458 wxDC
*arg1
= (wxDC
*) 0 ;
21459 wxFont
*result
= 0 ;
21462 PyObject
*swig_obj
[1] ;
21464 if (!args
) SWIG_fail
;
21465 swig_obj
[0] = args
;
21466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21467 if (!SWIG_IsOK(res1
)) {
21468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21470 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21474 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21475 result
= (wxFont
*) &_result_ref
;
21477 wxPyEndAllowThreads(__tstate
);
21478 if (PyErr_Occurred()) SWIG_fail
;
21481 wxFont
* resultptr
= new wxFont(*result
);
21482 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21490 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21491 PyObject
*resultobj
= 0;
21492 wxDC
*arg1
= (wxDC
*) 0 ;
21493 wxPen
*result
= 0 ;
21496 PyObject
*swig_obj
[1] ;
21498 if (!args
) SWIG_fail
;
21499 swig_obj
[0] = args
;
21500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21501 if (!SWIG_IsOK(res1
)) {
21502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21504 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21508 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21509 result
= (wxPen
*) &_result_ref
;
21511 wxPyEndAllowThreads(__tstate
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21515 wxPen
* resultptr
= new wxPen(*result
);
21516 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21524 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21525 PyObject
*resultobj
= 0;
21526 wxDC
*arg1
= (wxDC
*) 0 ;
21527 wxColour
*result
= 0 ;
21530 PyObject
*swig_obj
[1] ;
21532 if (!args
) SWIG_fail
;
21533 swig_obj
[0] = args
;
21534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21535 if (!SWIG_IsOK(res1
)) {
21536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21543 result
= (wxColour
*) &_result_ref
;
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21555 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21556 PyObject
*resultobj
= 0;
21557 wxDC
*arg1
= (wxDC
*) 0 ;
21558 wxColour
*result
= 0 ;
21561 PyObject
*swig_obj
[1] ;
21563 if (!args
) SWIG_fail
;
21564 swig_obj
[0] = args
;
21565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21566 if (!SWIG_IsOK(res1
)) {
21567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21569 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21574 result
= (wxColour
*) &_result_ref
;
21576 wxPyEndAllowThreads(__tstate
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21586 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21587 PyObject
*resultobj
= 0;
21588 wxDC
*arg1
= (wxDC
*) 0 ;
21589 wxColour
*arg2
= 0 ;
21593 PyObject
* obj0
= 0 ;
21594 PyObject
* obj1
= 0 ;
21595 char * kwnames
[] = {
21596 (char *) "self",(char *) "colour", NULL
21599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21601 if (!SWIG_IsOK(res1
)) {
21602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21604 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21607 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21611 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21612 wxPyEndAllowThreads(__tstate
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21615 resultobj
= SWIG_Py_Void();
21622 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
= 0;
21624 wxDC
*arg1
= (wxDC
*) 0 ;
21625 wxColour
*arg2
= 0 ;
21629 PyObject
* obj0
= 0 ;
21630 PyObject
* obj1
= 0 ;
21631 char * kwnames
[] = {
21632 (char *) "self",(char *) "colour", NULL
21635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21637 if (!SWIG_IsOK(res1
)) {
21638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21640 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21643 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21647 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 resultobj
= SWIG_Py_Void();
21658 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21659 PyObject
*resultobj
= 0;
21660 wxDC
*arg1
= (wxDC
*) 0 ;
21664 PyObject
*swig_obj
[1] ;
21666 if (!args
) SWIG_fail
;
21667 swig_obj
[0] = args
;
21668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21669 if (!SWIG_IsOK(res1
)) {
21670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21672 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21675 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21679 resultobj
= SWIG_From_int(static_cast< int >(result
));
21686 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
= 0;
21688 wxDC
*arg1
= (wxDC
*) 0 ;
21694 PyObject
* obj0
= 0 ;
21695 PyObject
* obj1
= 0 ;
21696 char * kwnames
[] = {
21697 (char *) "self",(char *) "mode", NULL
21700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21702 if (!SWIG_IsOK(res1
)) {
21703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
21705 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21707 if (!SWIG_IsOK(ecode2
)) {
21708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21710 arg2
= static_cast< int >(val2
);
21712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 (arg1
)->SetMapMode(arg2
);
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21717 resultobj
= SWIG_Py_Void();
21724 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21725 PyObject
*resultobj
= 0;
21726 wxDC
*arg1
= (wxDC
*) 0 ;
21727 double *arg2
= (double *) 0 ;
21728 double *arg3
= (double *) 0 ;
21732 int res2
= SWIG_TMPOBJ
;
21734 int res3
= SWIG_TMPOBJ
;
21735 PyObject
*swig_obj
[1] ;
21739 if (!args
) SWIG_fail
;
21740 swig_obj
[0] = args
;
21741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21742 if (!SWIG_IsOK(res1
)) {
21743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21745 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21748 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21752 resultobj
= SWIG_Py_Void();
21753 if (SWIG_IsTmpObj(res2
)) {
21754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21756 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21759 if (SWIG_IsTmpObj(res3
)) {
21760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21762 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21763 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21771 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
= 0;
21773 wxDC
*arg1
= (wxDC
*) 0 ;
21782 PyObject
* obj0
= 0 ;
21783 PyObject
* obj1
= 0 ;
21784 PyObject
* obj2
= 0 ;
21785 char * kwnames
[] = {
21786 (char *) "self",(char *) "x",(char *) "y", NULL
21789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21791 if (!SWIG_IsOK(res1
)) {
21792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21794 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21795 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21796 if (!SWIG_IsOK(ecode2
)) {
21797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21799 arg2
= static_cast< double >(val2
);
21800 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21801 if (!SWIG_IsOK(ecode3
)) {
21802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21804 arg3
= static_cast< double >(val3
);
21806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21807 (arg1
)->SetUserScale(arg2
,arg3
);
21808 wxPyEndAllowThreads(__tstate
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21811 resultobj
= SWIG_Py_Void();
21818 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21819 PyObject
*resultobj
= 0;
21820 wxDC
*arg1
= (wxDC
*) 0 ;
21821 double *arg2
= (double *) 0 ;
21822 double *arg3
= (double *) 0 ;
21826 int res2
= SWIG_TMPOBJ
;
21828 int res3
= SWIG_TMPOBJ
;
21829 PyObject
*swig_obj
[1] ;
21833 if (!args
) SWIG_fail
;
21834 swig_obj
[0] = args
;
21835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21836 if (!SWIG_IsOK(res1
)) {
21837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21839 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 (arg1
)->GetLogicalScale(arg2
,arg3
);
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21846 resultobj
= SWIG_Py_Void();
21847 if (SWIG_IsTmpObj(res2
)) {
21848 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21850 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21851 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21853 if (SWIG_IsTmpObj(res3
)) {
21854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21856 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21857 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21865 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21866 PyObject
*resultobj
= 0;
21867 wxDC
*arg1
= (wxDC
*) 0 ;
21876 PyObject
* obj0
= 0 ;
21877 PyObject
* obj1
= 0 ;
21878 PyObject
* obj2
= 0 ;
21879 char * kwnames
[] = {
21880 (char *) "self",(char *) "x",(char *) "y", NULL
21883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21885 if (!SWIG_IsOK(res1
)) {
21886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21888 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21889 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21890 if (!SWIG_IsOK(ecode2
)) {
21891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
21893 arg2
= static_cast< double >(val2
);
21894 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21895 if (!SWIG_IsOK(ecode3
)) {
21896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
21898 arg3
= static_cast< double >(val3
);
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 (arg1
)->SetLogicalScale(arg2
,arg3
);
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21905 resultobj
= SWIG_Py_Void();
21912 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21913 PyObject
*resultobj
= 0;
21914 wxDC
*arg1
= (wxDC
*) 0 ;
21918 PyObject
*swig_obj
[1] ;
21920 if (!args
) SWIG_fail
;
21921 swig_obj
[0] = args
;
21922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21923 if (!SWIG_IsOK(res1
)) {
21924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
21926 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
21930 wxPyEndAllowThreads(__tstate
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21933 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
21940 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21941 PyObject
*resultobj
= 0;
21942 wxDC
*arg1
= (wxDC
*) 0 ;
21943 int *arg2
= (int *) 0 ;
21944 int *arg3
= (int *) 0 ;
21948 int res2
= SWIG_TMPOBJ
;
21950 int res3
= SWIG_TMPOBJ
;
21951 PyObject
*swig_obj
[1] ;
21955 if (!args
) SWIG_fail
;
21956 swig_obj
[0] = args
;
21957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21958 if (!SWIG_IsOK(res1
)) {
21959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21961 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= SWIG_Py_Void();
21969 if (SWIG_IsTmpObj(res2
)) {
21970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21972 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21975 if (SWIG_IsTmpObj(res3
)) {
21976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21978 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21987 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
= 0;
21989 wxDC
*arg1
= (wxDC
*) 0 ;
21998 PyObject
* obj0
= 0 ;
21999 PyObject
* obj1
= 0 ;
22000 PyObject
* obj2
= 0 ;
22001 char * kwnames
[] = {
22002 (char *) "self",(char *) "x",(char *) "y", NULL
22005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22007 if (!SWIG_IsOK(res1
)) {
22008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22012 if (!SWIG_IsOK(ecode2
)) {
22013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22015 arg2
= static_cast< int >(val2
);
22016 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22017 if (!SWIG_IsOK(ecode3
)) {
22018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22020 arg3
= static_cast< int >(val3
);
22022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22023 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22024 wxPyEndAllowThreads(__tstate
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22027 resultobj
= SWIG_Py_Void();
22034 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22035 PyObject
*resultobj
= 0;
22036 wxDC
*arg1
= (wxDC
*) 0 ;
22037 wxPoint
*arg2
= 0 ;
22041 PyObject
* obj0
= 0 ;
22042 PyObject
* obj1
= 0 ;
22043 char * kwnames
[] = {
22044 (char *) "self",(char *) "point", NULL
22047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22049 if (!SWIG_IsOK(res1
)) {
22050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22052 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22059 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22060 wxPyEndAllowThreads(__tstate
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22063 resultobj
= SWIG_Py_Void();
22070 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22071 PyObject
*resultobj
= 0;
22072 wxDC
*arg1
= (wxDC
*) 0 ;
22076 PyObject
*swig_obj
[1] ;
22078 if (!args
) SWIG_fail
;
22079 swig_obj
[0] = args
;
22080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22081 if (!SWIG_IsOK(res1
)) {
22082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22084 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22088 wxPyEndAllowThreads(__tstate
);
22089 if (PyErr_Occurred()) SWIG_fail
;
22091 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22098 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22099 PyObject
*resultobj
= 0;
22100 wxDC
*arg1
= (wxDC
*) 0 ;
22101 int *arg2
= (int *) 0 ;
22102 int *arg3
= (int *) 0 ;
22106 int res2
= SWIG_TMPOBJ
;
22108 int res3
= SWIG_TMPOBJ
;
22109 PyObject
*swig_obj
[1] ;
22113 if (!args
) SWIG_fail
;
22114 swig_obj
[0] = args
;
22115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22116 if (!SWIG_IsOK(res1
)) {
22117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22119 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22123 wxPyEndAllowThreads(__tstate
);
22124 if (PyErr_Occurred()) SWIG_fail
;
22126 resultobj
= SWIG_Py_Void();
22127 if (SWIG_IsTmpObj(res2
)) {
22128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22130 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22133 if (SWIG_IsTmpObj(res3
)) {
22134 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22136 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22137 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22145 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22146 PyObject
*resultobj
= 0;
22147 wxDC
*arg1
= (wxDC
*) 0 ;
22156 PyObject
* obj0
= 0 ;
22157 PyObject
* obj1
= 0 ;
22158 PyObject
* obj2
= 0 ;
22159 char * kwnames
[] = {
22160 (char *) "self",(char *) "x",(char *) "y", NULL
22163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22165 if (!SWIG_IsOK(res1
)) {
22166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22168 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22170 if (!SWIG_IsOK(ecode2
)) {
22171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22173 arg2
= static_cast< int >(val2
);
22174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22175 if (!SWIG_IsOK(ecode3
)) {
22176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22178 arg3
= static_cast< int >(val3
);
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22182 wxPyEndAllowThreads(__tstate
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22185 resultobj
= SWIG_Py_Void();
22192 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22193 PyObject
*resultobj
= 0;
22194 wxDC
*arg1
= (wxDC
*) 0 ;
22195 wxPoint
*arg2
= 0 ;
22199 PyObject
* obj0
= 0 ;
22200 PyObject
* obj1
= 0 ;
22201 char * kwnames
[] = {
22202 (char *) "self",(char *) "point", NULL
22205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22207 if (!SWIG_IsOK(res1
)) {
22208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22210 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22213 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22217 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22218 wxPyEndAllowThreads(__tstate
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22221 resultobj
= SWIG_Py_Void();
22228 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
= 0;
22230 wxDC
*arg1
= (wxDC
*) 0 ;
22239 PyObject
* obj0
= 0 ;
22240 PyObject
* obj1
= 0 ;
22241 PyObject
* obj2
= 0 ;
22242 char * kwnames
[] = {
22243 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22248 if (!SWIG_IsOK(res1
)) {
22249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22251 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22252 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22253 if (!SWIG_IsOK(ecode2
)) {
22254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22256 arg2
= static_cast< bool >(val2
);
22257 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22258 if (!SWIG_IsOK(ecode3
)) {
22259 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22261 arg3
= static_cast< bool >(val3
);
22263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22264 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22265 wxPyEndAllowThreads(__tstate
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22268 resultobj
= SWIG_Py_Void();
22275 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22276 PyObject
*resultobj
= 0;
22277 wxDC
*arg1
= (wxDC
*) 0 ;
22281 PyObject
*swig_obj
[1] ;
22283 if (!args
) SWIG_fail
;
22284 swig_obj
[0] = args
;
22285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22286 if (!SWIG_IsOK(res1
)) {
22287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22289 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22296 resultobj
= SWIG_From_int(static_cast< int >(result
));
22303 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22304 PyObject
*resultobj
= 0;
22305 wxDC
*arg1
= (wxDC
*) 0 ;
22311 PyObject
* obj0
= 0 ;
22312 PyObject
* obj1
= 0 ;
22313 char * kwnames
[] = {
22314 (char *) "self",(char *) "function", NULL
22317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22319 if (!SWIG_IsOK(res1
)) {
22320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22322 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22324 if (!SWIG_IsOK(ecode2
)) {
22325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22327 arg2
= static_cast< int >(val2
);
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 (arg1
)->SetLogicalFunction(arg2
);
22331 wxPyEndAllowThreads(__tstate
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22334 resultobj
= SWIG_Py_Void();
22341 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22342 PyObject
*resultobj
= 0;
22343 wxDC
*arg1
= (wxDC
*) 0 ;
22346 PyObject
*swig_obj
[1] ;
22348 if (!args
) SWIG_fail
;
22349 swig_obj
[0] = args
;
22350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22351 if (!SWIG_IsOK(res1
)) {
22352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22354 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 (arg1
)->ComputeScaleAndOrigin();
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22361 resultobj
= SWIG_Py_Void();
22368 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22369 PyObject
*resultobj
= 0;
22370 wxDC
*arg1
= (wxDC
*) 0 ;
22379 PyObject
* obj0
= 0 ;
22380 PyObject
* obj1
= 0 ;
22381 PyObject
* obj2
= 0 ;
22382 char * kwnames
[] = {
22383 (char *) "self",(char *) "x",(char *) "y", NULL
22386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22388 if (!SWIG_IsOK(res1
)) {
22389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22391 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22393 if (!SWIG_IsOK(ecode2
)) {
22394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22396 arg2
= static_cast< int >(val2
);
22397 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22398 if (!SWIG_IsOK(ecode3
)) {
22399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22401 arg3
= static_cast< int >(val3
);
22403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22404 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22405 wxPyEndAllowThreads(__tstate
);
22406 if (PyErr_Occurred()) SWIG_fail
;
22408 resultobj
= SWIG_Py_Void();
22415 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22416 PyObject
*resultobj
= 0;
22417 wxDC
*arg1
= (wxDC
*) 0 ;
22418 wxPoint
*arg2
= 0 ;
22422 PyObject
* obj0
= 0 ;
22423 PyObject
* obj1
= 0 ;
22424 char * kwnames
[] = {
22425 (char *) "self",(char *) "point", NULL
22428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22430 if (!SWIG_IsOK(res1
)) {
22431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22433 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22436 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22441 wxPyEndAllowThreads(__tstate
);
22442 if (PyErr_Occurred()) SWIG_fail
;
22444 resultobj
= SWIG_Py_Void();
22451 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22452 PyObject
*resultobj
= 0;
22453 wxDC
*arg1
= (wxDC
*) 0 ;
22456 PyObject
*swig_obj
[1] ;
22458 if (!args
) SWIG_fail
;
22459 swig_obj
[0] = args
;
22460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22461 if (!SWIG_IsOK(res1
)) {
22462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22464 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 (arg1
)->ResetBoundingBox();
22468 wxPyEndAllowThreads(__tstate
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22471 resultobj
= SWIG_Py_Void();
22478 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22479 PyObject
*resultobj
= 0;
22480 wxDC
*arg1
= (wxDC
*) 0 ;
22484 PyObject
*swig_obj
[1] ;
22486 if (!args
) SWIG_fail
;
22487 swig_obj
[0] = args
;
22488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22489 if (!SWIG_IsOK(res1
)) {
22490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22492 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 result
= (int)((wxDC
const *)arg1
)->MinX();
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22499 resultobj
= SWIG_From_int(static_cast< int >(result
));
22506 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22507 PyObject
*resultobj
= 0;
22508 wxDC
*arg1
= (wxDC
*) 0 ;
22512 PyObject
*swig_obj
[1] ;
22514 if (!args
) SWIG_fail
;
22515 swig_obj
[0] = args
;
22516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22517 if (!SWIG_IsOK(res1
)) {
22518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22520 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22523 result
= (int)((wxDC
const *)arg1
)->MaxX();
22524 wxPyEndAllowThreads(__tstate
);
22525 if (PyErr_Occurred()) SWIG_fail
;
22527 resultobj
= SWIG_From_int(static_cast< int >(result
));
22534 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22535 PyObject
*resultobj
= 0;
22536 wxDC
*arg1
= (wxDC
*) 0 ;
22540 PyObject
*swig_obj
[1] ;
22542 if (!args
) SWIG_fail
;
22543 swig_obj
[0] = args
;
22544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22545 if (!SWIG_IsOK(res1
)) {
22546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22548 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22551 result
= (int)((wxDC
const *)arg1
)->MinY();
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22555 resultobj
= SWIG_From_int(static_cast< int >(result
));
22562 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22563 PyObject
*resultobj
= 0;
22564 wxDC
*arg1
= (wxDC
*) 0 ;
22568 PyObject
*swig_obj
[1] ;
22570 if (!args
) SWIG_fail
;
22571 swig_obj
[0] = args
;
22572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22573 if (!SWIG_IsOK(res1
)) {
22574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22579 result
= (int)((wxDC
const *)arg1
)->MaxY();
22580 wxPyEndAllowThreads(__tstate
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22583 resultobj
= SWIG_From_int(static_cast< int >(result
));
22590 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22591 PyObject
*resultobj
= 0;
22592 wxDC
*arg1
= (wxDC
*) 0 ;
22593 int *arg2
= (int *) 0 ;
22594 int *arg3
= (int *) 0 ;
22595 int *arg4
= (int *) 0 ;
22596 int *arg5
= (int *) 0 ;
22600 int res2
= SWIG_TMPOBJ
;
22602 int res3
= SWIG_TMPOBJ
;
22604 int res4
= SWIG_TMPOBJ
;
22606 int res5
= SWIG_TMPOBJ
;
22607 PyObject
*swig_obj
[1] ;
22613 if (!args
) SWIG_fail
;
22614 swig_obj
[0] = args
;
22615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22616 if (!SWIG_IsOK(res1
)) {
22617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22619 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22622 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 resultobj
= SWIG_Py_Void();
22627 if (SWIG_IsTmpObj(res2
)) {
22628 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22630 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22631 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22633 if (SWIG_IsTmpObj(res3
)) {
22634 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22636 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22637 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22639 if (SWIG_IsTmpObj(res4
)) {
22640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22642 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22645 if (SWIG_IsTmpObj(res5
)) {
22646 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22648 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22657 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22658 PyObject
*resultobj
= 0;
22659 wxDC
*arg1
= (wxDC
*) 0 ;
22660 PyObject
*arg2
= (PyObject
*) 0 ;
22661 PyObject
*arg3
= (PyObject
*) 0 ;
22662 PyObject
*arg4
= (PyObject
*) 0 ;
22663 PyObject
*result
= 0 ;
22666 PyObject
* obj0
= 0 ;
22667 PyObject
* obj1
= 0 ;
22668 PyObject
* obj2
= 0 ;
22669 PyObject
* obj3
= 0 ;
22670 char * kwnames
[] = {
22671 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22676 if (!SWIG_IsOK(res1
)) {
22677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22679 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22685 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22686 wxPyEndAllowThreads(__tstate
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22689 resultobj
= result
;
22696 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22697 PyObject
*resultobj
= 0;
22698 wxDC
*arg1
= (wxDC
*) 0 ;
22699 PyObject
*arg2
= (PyObject
*) 0 ;
22700 PyObject
*arg3
= (PyObject
*) 0 ;
22701 PyObject
*arg4
= (PyObject
*) 0 ;
22702 PyObject
*result
= 0 ;
22705 PyObject
* obj0
= 0 ;
22706 PyObject
* obj1
= 0 ;
22707 PyObject
* obj2
= 0 ;
22708 PyObject
* obj3
= 0 ;
22709 char * kwnames
[] = {
22710 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22715 if (!SWIG_IsOK(res1
)) {
22716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22718 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22724 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22725 wxPyEndAllowThreads(__tstate
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22728 resultobj
= result
;
22735 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22736 PyObject
*resultobj
= 0;
22737 wxDC
*arg1
= (wxDC
*) 0 ;
22738 PyObject
*arg2
= (PyObject
*) 0 ;
22739 PyObject
*arg3
= (PyObject
*) 0 ;
22740 PyObject
*arg4
= (PyObject
*) 0 ;
22741 PyObject
*result
= 0 ;
22744 PyObject
* obj0
= 0 ;
22745 PyObject
* obj1
= 0 ;
22746 PyObject
* obj2
= 0 ;
22747 PyObject
* obj3
= 0 ;
22748 char * kwnames
[] = {
22749 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22754 if (!SWIG_IsOK(res1
)) {
22755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22757 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22763 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22764 wxPyEndAllowThreads(__tstate
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22767 resultobj
= result
;
22774 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22775 PyObject
*resultobj
= 0;
22776 wxDC
*arg1
= (wxDC
*) 0 ;
22777 PyObject
*arg2
= (PyObject
*) 0 ;
22778 PyObject
*arg3
= (PyObject
*) 0 ;
22779 PyObject
*arg4
= (PyObject
*) 0 ;
22780 PyObject
*result
= 0 ;
22783 PyObject
* obj0
= 0 ;
22784 PyObject
* obj1
= 0 ;
22785 PyObject
* obj2
= 0 ;
22786 PyObject
* obj3
= 0 ;
22787 char * kwnames
[] = {
22788 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22793 if (!SWIG_IsOK(res1
)) {
22794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
22796 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22806 resultobj
= result
;
22813 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
= 0;
22815 wxDC
*arg1
= (wxDC
*) 0 ;
22816 PyObject
*arg2
= (PyObject
*) 0 ;
22817 PyObject
*arg3
= (PyObject
*) 0 ;
22818 PyObject
*arg4
= (PyObject
*) 0 ;
22819 PyObject
*result
= 0 ;
22822 PyObject
* obj0
= 0 ;
22823 PyObject
* obj1
= 0 ;
22824 PyObject
* obj2
= 0 ;
22825 PyObject
* obj3
= 0 ;
22826 char * kwnames
[] = {
22827 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22832 if (!SWIG_IsOK(res1
)) {
22833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
22835 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22841 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
22842 wxPyEndAllowThreads(__tstate
);
22843 if (PyErr_Occurred()) SWIG_fail
;
22845 resultobj
= result
;
22852 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22853 PyObject
*resultobj
= 0;
22854 wxDC
*arg1
= (wxDC
*) 0 ;
22855 PyObject
*arg2
= (PyObject
*) 0 ;
22856 PyObject
*arg3
= (PyObject
*) 0 ;
22857 PyObject
*arg4
= (PyObject
*) 0 ;
22858 PyObject
*arg5
= (PyObject
*) 0 ;
22859 PyObject
*result
= 0 ;
22862 PyObject
* obj0
= 0 ;
22863 PyObject
* obj1
= 0 ;
22864 PyObject
* obj2
= 0 ;
22865 PyObject
* obj3
= 0 ;
22866 PyObject
* obj4
= 0 ;
22867 char * kwnames
[] = {
22868 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
22871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22873 if (!SWIG_IsOK(res1
)) {
22874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
22876 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
22884 wxPyEndAllowThreads(__tstate
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22887 resultobj
= result
;
22894 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22896 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22897 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
22898 return SWIG_Py_Void();
22901 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22902 PyObject
*resultobj
= 0;
22903 wxMemoryDC
*result
= 0 ;
22905 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
22907 if (!wxPyCheckForApp()) SWIG_fail
;
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 result
= (wxMemoryDC
*)new wxMemoryDC();
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
22920 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22921 PyObject
*resultobj
= 0;
22922 wxDC
*arg1
= (wxDC
*) 0 ;
22923 wxMemoryDC
*result
= 0 ;
22926 PyObject
* obj0
= 0 ;
22927 char * kwnames
[] = {
22928 (char *) "oldDC", NULL
22931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
22932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22933 if (!SWIG_IsOK(res1
)) {
22934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
22936 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22938 if (!wxPyCheckForApp()) SWIG_fail
;
22939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22940 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
22941 wxPyEndAllowThreads(__tstate
);
22942 if (PyErr_Occurred()) SWIG_fail
;
22944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
22951 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22952 PyObject
*resultobj
= 0;
22953 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
22954 wxBitmap
*arg2
= 0 ;
22959 PyObject
* obj0
= 0 ;
22960 PyObject
* obj1
= 0 ;
22961 char * kwnames
[] = {
22962 (char *) "self",(char *) "bitmap", NULL
22965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
22967 if (!SWIG_IsOK(res1
)) {
22968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
22970 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
22971 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22972 if (!SWIG_IsOK(res2
)) {
22973 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22978 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22985 resultobj
= SWIG_Py_Void();
22992 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22995 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
22996 return SWIG_Py_Void();
22999 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23000 return SWIG_Python_InitShadowInstance(args
);
23003 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23004 PyObject
*resultobj
= 0;
23005 wxDC
*arg1
= (wxDC
*) 0 ;
23006 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23007 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23008 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23009 wxBufferedDC
*result
= 0 ;
23017 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23019 if (!SWIG_IsOK(res1
)) {
23020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23022 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23024 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23025 if (!SWIG_IsOK(res2
)) {
23026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23031 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23034 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23035 if (!SWIG_IsOK(ecode3
)) {
23036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23038 arg3
= static_cast< int >(val3
);
23041 if (!wxPyCheckForApp()) SWIG_fail
;
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23043 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23054 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23055 PyObject
*resultobj
= 0;
23056 wxDC
*arg1
= (wxDC
*) 0 ;
23058 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23059 wxBufferedDC
*result
= 0 ;
23066 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23068 if (!SWIG_IsOK(res1
)) {
23069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23071 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23074 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23077 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23078 if (!SWIG_IsOK(ecode3
)) {
23079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23081 arg3
= static_cast< int >(val3
);
23084 if (!wxPyCheckForApp()) SWIG_fail
;
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23086 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23097 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23101 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23103 if ((argc
>= 1) && (argc
<= 3)) {
23107 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23108 _v
= SWIG_CheckState(res
);
23110 if (!_v
) goto check_1
;
23112 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23116 if ((argc
>= 2) && (argc
<= 3)) {
23117 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23121 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23126 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23127 PyObject
*resultobj
= 0;
23128 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23131 PyObject
*swig_obj
[1] ;
23133 if (!args
) SWIG_fail
;
23134 swig_obj
[0] = args
;
23135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23136 if (!SWIG_IsOK(res1
)) {
23137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23139 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 wxPyEndAllowThreads(__tstate
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23147 resultobj
= SWIG_Py_Void();
23154 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23155 PyObject
*resultobj
= 0;
23156 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23159 PyObject
*swig_obj
[1] ;
23161 if (!args
) SWIG_fail
;
23162 swig_obj
[0] = args
;
23163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23164 if (!SWIG_IsOK(res1
)) {
23165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23167 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23174 resultobj
= SWIG_Py_Void();
23181 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23183 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23184 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23185 return SWIG_Py_Void();
23188 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23189 return SWIG_Python_InitShadowInstance(args
);
23192 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23193 PyObject
*resultobj
= 0;
23194 wxWindow
*arg1
= (wxWindow
*) 0 ;
23195 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23196 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23197 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23198 wxBufferedPaintDC
*result
= 0 ;
23205 PyObject
* obj0
= 0 ;
23206 PyObject
* obj1
= 0 ;
23207 PyObject
* obj2
= 0 ;
23208 char * kwnames
[] = {
23209 (char *) "window",(char *) "buffer",(char *) "style", NULL
23212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23214 if (!SWIG_IsOK(res1
)) {
23215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23217 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23220 if (!SWIG_IsOK(res2
)) {
23221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23226 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23229 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23230 if (!SWIG_IsOK(ecode3
)) {
23231 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23233 arg3
= static_cast< int >(val3
);
23236 if (!wxPyCheckForApp()) SWIG_fail
;
23237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23238 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23249 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23251 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23252 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23253 return SWIG_Py_Void();
23256 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23257 return SWIG_Python_InitShadowInstance(args
);
23260 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23261 PyObject
*resultobj
= 0;
23262 wxScreenDC
*result
= 0 ;
23264 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23266 if (!wxPyCheckForApp()) SWIG_fail
;
23267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23268 result
= (wxScreenDC
*)new wxScreenDC();
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23279 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
= 0;
23281 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23282 wxWindow
*arg2
= (wxWindow
*) 0 ;
23288 PyObject
* obj0
= 0 ;
23289 PyObject
* obj1
= 0 ;
23290 char * kwnames
[] = {
23291 (char *) "self",(char *) "window", NULL
23294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23296 if (!SWIG_IsOK(res1
)) {
23297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23299 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23300 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23301 if (!SWIG_IsOK(res2
)) {
23302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23304 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23307 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23308 wxPyEndAllowThreads(__tstate
);
23309 if (PyErr_Occurred()) SWIG_fail
;
23312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23320 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23321 PyObject
*resultobj
= 0;
23322 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23323 wxRect
*arg2
= (wxRect
*) NULL
;
23329 PyObject
* obj0
= 0 ;
23330 PyObject
* obj1
= 0 ;
23331 char * kwnames
[] = {
23332 (char *) "self",(char *) "rect", NULL
23335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23337 if (!SWIG_IsOK(res1
)) {
23338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23340 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23342 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23343 if (!SWIG_IsOK(res2
)) {
23344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23346 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23350 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23363 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23364 PyObject
*resultobj
= 0;
23365 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23369 PyObject
*swig_obj
[1] ;
23371 if (!args
) SWIG_fail
;
23372 swig_obj
[0] = args
;
23373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23374 if (!SWIG_IsOK(res1
)) {
23375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23377 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 result
= (bool)(arg1
)->EndDrawingOnTop();
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23393 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23395 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23396 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23397 return SWIG_Py_Void();
23400 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23401 return SWIG_Python_InitShadowInstance(args
);
23404 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23405 PyObject
*resultobj
= 0;
23406 wxWindow
*arg1
= (wxWindow
*) 0 ;
23407 wxClientDC
*result
= 0 ;
23410 PyObject
* obj0
= 0 ;
23411 char * kwnames
[] = {
23412 (char *) "win", NULL
23415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23417 if (!SWIG_IsOK(res1
)) {
23418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23420 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23422 if (!wxPyCheckForApp()) SWIG_fail
;
23423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23424 result
= (wxClientDC
*)new wxClientDC(arg1
);
23425 wxPyEndAllowThreads(__tstate
);
23426 if (PyErr_Occurred()) SWIG_fail
;
23428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23435 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23437 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23438 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23439 return SWIG_Py_Void();
23442 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23443 return SWIG_Python_InitShadowInstance(args
);
23446 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23447 PyObject
*resultobj
= 0;
23448 wxWindow
*arg1
= (wxWindow
*) 0 ;
23449 wxPaintDC
*result
= 0 ;
23452 PyObject
* obj0
= 0 ;
23453 char * kwnames
[] = {
23454 (char *) "win", NULL
23457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23459 if (!SWIG_IsOK(res1
)) {
23460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23462 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23464 if (!wxPyCheckForApp()) SWIG_fail
;
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23477 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23479 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23480 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23481 return SWIG_Py_Void();
23484 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23485 return SWIG_Python_InitShadowInstance(args
);
23488 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23489 PyObject
*resultobj
= 0;
23490 wxWindow
*arg1
= (wxWindow
*) 0 ;
23491 wxWindowDC
*result
= 0 ;
23494 PyObject
* obj0
= 0 ;
23495 char * kwnames
[] = {
23496 (char *) "win", NULL
23499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23501 if (!SWIG_IsOK(res1
)) {
23502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23504 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23506 if (!wxPyCheckForApp()) SWIG_fail
;
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23509 wxPyEndAllowThreads(__tstate
);
23510 if (PyErr_Occurred()) SWIG_fail
;
23512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23519 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23521 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23522 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23523 return SWIG_Py_Void();
23526 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23527 return SWIG_Python_InitShadowInstance(args
);
23530 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23531 PyObject
*resultobj
= 0;
23534 wxMirrorDC
*result
= 0 ;
23539 PyObject
* obj0
= 0 ;
23540 PyObject
* obj1
= 0 ;
23541 char * kwnames
[] = {
23542 (char *) "dc",(char *) "mirror", NULL
23545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23546 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23547 if (!SWIG_IsOK(res1
)) {
23548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23553 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23554 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23555 if (!SWIG_IsOK(ecode2
)) {
23556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23558 arg2
= static_cast< bool >(val2
);
23560 if (!wxPyCheckForApp()) SWIG_fail
;
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23573 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23575 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23576 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23577 return SWIG_Py_Void();
23580 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23581 return SWIG_Python_InitShadowInstance(args
);
23584 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23585 PyObject
*resultobj
= 0;
23586 wxPrintData
*arg1
= 0 ;
23587 wxPostScriptDC
*result
= 0 ;
23590 PyObject
* obj0
= 0 ;
23591 char * kwnames
[] = {
23592 (char *) "printData", NULL
23595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23596 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23597 if (!SWIG_IsOK(res1
)) {
23598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23603 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23605 if (!wxPyCheckForApp()) SWIG_fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23608 wxPyEndAllowThreads(__tstate
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23618 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23619 PyObject
*resultobj
= 0;
23620 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23621 wxPrintData
*result
= 0 ;
23624 PyObject
*swig_obj
[1] ;
23626 if (!args
) SWIG_fail
;
23627 swig_obj
[0] = args
;
23628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23629 if (!SWIG_IsOK(res1
)) {
23630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23632 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23636 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23637 result
= (wxPrintData
*) &_result_ref
;
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23649 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23650 PyObject
*resultobj
= 0;
23651 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23652 wxPrintData
*arg2
= 0 ;
23657 PyObject
* obj0
= 0 ;
23658 PyObject
* obj1
= 0 ;
23659 char * kwnames
[] = {
23660 (char *) "self",(char *) "data", NULL
23663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23665 if (!SWIG_IsOK(res1
)) {
23666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23668 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23669 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23670 if (!SWIG_IsOK(res2
)) {
23671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23676 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23679 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23680 wxPyEndAllowThreads(__tstate
);
23681 if (PyErr_Occurred()) SWIG_fail
;
23683 resultobj
= SWIG_Py_Void();
23690 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23691 PyObject
*resultobj
= 0;
23695 PyObject
* obj0
= 0 ;
23696 char * kwnames
[] = {
23697 (char *) "ppi", NULL
23700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23701 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23702 if (!SWIG_IsOK(ecode1
)) {
23703 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
23705 arg1
= static_cast< int >(val1
);
23707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23708 wxPostScriptDC::SetResolution(arg1
);
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23712 resultobj
= SWIG_Py_Void();
23719 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23720 PyObject
*resultobj
= 0;
23723 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
23725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23726 result
= (int)wxPostScriptDC::GetResolution();
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23730 resultobj
= SWIG_From_int(static_cast< int >(result
));
23737 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23739 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23740 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
23741 return SWIG_Py_Void();
23744 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23745 return SWIG_Python_InitShadowInstance(args
);
23748 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
= 0;
23750 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23751 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23752 wxMetaFile
*result
= 0 ;
23753 bool temp1
= false ;
23754 PyObject
* obj0
= 0 ;
23755 char * kwnames
[] = {
23756 (char *) "filename", NULL
23759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
23762 arg1
= wxString_in_helper(obj0
);
23763 if (arg1
== NULL
) SWIG_fail
;
23768 if (!wxPyCheckForApp()) SWIG_fail
;
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
23789 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23792 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
23793 return SWIG_Py_Void();
23796 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23797 return SWIG_Python_InitShadowInstance(args
);
23800 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23801 PyObject
*resultobj
= 0;
23802 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23803 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23804 int arg2
= (int) 0 ;
23805 int arg3
= (int) 0 ;
23806 wxString
const &arg4_defvalue
= wxPyEmptyString
;
23807 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23808 wxMetaFileDC
*result
= 0 ;
23809 bool temp1
= false ;
23814 bool temp4
= false ;
23815 PyObject
* obj0
= 0 ;
23816 PyObject
* obj1
= 0 ;
23817 PyObject
* obj2
= 0 ;
23818 PyObject
* obj3
= 0 ;
23819 char * kwnames
[] = {
23820 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
23823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23826 arg1
= wxString_in_helper(obj0
);
23827 if (arg1
== NULL
) SWIG_fail
;
23832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23833 if (!SWIG_IsOK(ecode2
)) {
23834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
23836 arg2
= static_cast< int >(val2
);
23839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23840 if (!SWIG_IsOK(ecode3
)) {
23841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
23843 arg3
= static_cast< int >(val3
);
23847 arg4
= wxString_in_helper(obj3
);
23848 if (arg4
== NULL
) SWIG_fail
;
23853 if (!wxPyCheckForApp()) SWIG_fail
;
23854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23855 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
23856 wxPyEndAllowThreads(__tstate
);
23857 if (PyErr_Occurred()) SWIG_fail
;
23859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
23882 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23884 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23885 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
23886 return SWIG_Py_Void();
23889 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23890 return SWIG_Python_InitShadowInstance(args
);
23893 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23894 PyObject
*resultobj
= 0;
23895 wxPrintData
*arg1
= 0 ;
23896 wxPrinterDC
*result
= 0 ;
23899 PyObject
* obj0
= 0 ;
23900 char * kwnames
[] = {
23901 (char *) "printData", NULL
23904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
23905 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23906 if (!SWIG_IsOK(res1
)) {
23907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23912 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23914 if (!wxPyCheckForApp()) SWIG_fail
;
23915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23916 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
23917 wxPyEndAllowThreads(__tstate
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
23927 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23929 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23930 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
23931 return SWIG_Py_Void();
23934 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23935 return SWIG_Python_InitShadowInstance(args
);
23938 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23939 PyObject
*resultobj
= 0;
23942 int arg3
= (int) true ;
23943 int arg4
= (int) 1 ;
23944 wxImageList
*result
= 0 ;
23953 PyObject
* obj0
= 0 ;
23954 PyObject
* obj1
= 0 ;
23955 PyObject
* obj2
= 0 ;
23956 PyObject
* obj3
= 0 ;
23957 char * kwnames
[] = {
23958 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
23961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23962 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23963 if (!SWIG_IsOK(ecode1
)) {
23964 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
23966 arg1
= static_cast< int >(val1
);
23967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23968 if (!SWIG_IsOK(ecode2
)) {
23969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
23971 arg2
= static_cast< int >(val2
);
23973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23974 if (!SWIG_IsOK(ecode3
)) {
23975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
23977 arg3
= static_cast< int >(val3
);
23980 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23981 if (!SWIG_IsOK(ecode4
)) {
23982 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
23984 arg4
= static_cast< int >(val4
);
23987 if (!wxPyCheckForApp()) SWIG_fail
;
23988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23989 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23994 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
24002 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24003 PyObject
*resultobj
= 0;
24004 wxImageList
*arg1
= (wxImageList
*) 0 ;
24007 PyObject
*swig_obj
[1] ;
24009 if (!args
) SWIG_fail
;
24010 swig_obj
[0] = args
;
24011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
24012 if (!SWIG_IsOK(res1
)) {
24013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
24015 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24020 wxPyEndAllowThreads(__tstate
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24023 resultobj
= SWIG_Py_Void();
24030 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24031 PyObject
*resultobj
= 0;
24032 wxImageList
*arg1
= (wxImageList
*) 0 ;
24033 wxBitmap
*arg2
= 0 ;
24034 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
24035 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
24043 PyObject
* obj0
= 0 ;
24044 PyObject
* obj1
= 0 ;
24045 PyObject
* obj2
= 0 ;
24046 char * kwnames
[] = {
24047 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
24050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24052 if (!SWIG_IsOK(res1
)) {
24053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
24055 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24057 if (!SWIG_IsOK(res2
)) {
24058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24063 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24065 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24066 if (!SWIG_IsOK(res3
)) {
24067 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24072 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
24075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24076 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24080 resultobj
= SWIG_From_int(static_cast< int >(result
));
24087 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24088 PyObject
*resultobj
= 0;
24089 wxImageList
*arg1
= (wxImageList
*) 0 ;
24090 wxBitmap
*arg2
= 0 ;
24091 wxColour
*arg3
= 0 ;
24098 PyObject
* obj0
= 0 ;
24099 PyObject
* obj1
= 0 ;
24100 PyObject
* obj2
= 0 ;
24101 char * kwnames
[] = {
24102 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
24105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24107 if (!SWIG_IsOK(res1
)) {
24108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
24110 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24111 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24112 if (!SWIG_IsOK(res2
)) {
24113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24118 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24121 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24125 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
24126 wxPyEndAllowThreads(__tstate
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24129 resultobj
= SWIG_From_int(static_cast< int >(result
));
24136 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24137 PyObject
*resultobj
= 0;
24138 wxImageList
*arg1
= (wxImageList
*) 0 ;
24145 PyObject
* obj0
= 0 ;
24146 PyObject
* obj1
= 0 ;
24147 char * kwnames
[] = {
24148 (char *) "self",(char *) "icon", NULL
24151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24153 if (!SWIG_IsOK(res1
)) {
24154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
24156 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24157 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
24158 if (!SWIG_IsOK(res2
)) {
24159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
24162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
24164 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24171 resultobj
= SWIG_From_int(static_cast< int >(result
));
24178 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24179 PyObject
*resultobj
= 0;
24180 wxImageList
*arg1
= (wxImageList
*) 0 ;
24182 SwigValueWrapper
<wxBitmap
> result
;
24187 PyObject
* obj0
= 0 ;
24188 PyObject
* obj1
= 0 ;
24189 char * kwnames
[] = {
24190 (char *) "self",(char *) "index", NULL
24193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24195 if (!SWIG_IsOK(res1
)) {
24196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
24198 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24200 if (!SWIG_IsOK(ecode2
)) {
24201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
24203 arg2
= static_cast< int >(val2
);
24205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24206 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
24207 wxPyEndAllowThreads(__tstate
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24210 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
24217 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24218 PyObject
*resultobj
= 0;
24219 wxImageList
*arg1
= (wxImageList
*) 0 ;
24226 PyObject
* obj0
= 0 ;
24227 PyObject
* obj1
= 0 ;
24228 char * kwnames
[] = {
24229 (char *) "self",(char *) "index", NULL
24232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24234 if (!SWIG_IsOK(res1
)) {
24235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
24237 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24239 if (!SWIG_IsOK(ecode2
)) {
24240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
24242 arg2
= static_cast< int >(val2
);
24244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
24246 wxPyEndAllowThreads(__tstate
);
24247 if (PyErr_Occurred()) SWIG_fail
;
24249 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
24256 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24257 PyObject
*resultobj
= 0;
24258 wxImageList
*arg1
= (wxImageList
*) 0 ;
24260 wxBitmap
*arg3
= 0 ;
24261 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
24262 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
24272 PyObject
* obj0
= 0 ;
24273 PyObject
* obj1
= 0 ;
24274 PyObject
* obj2
= 0 ;
24275 PyObject
* obj3
= 0 ;
24276 char * kwnames
[] = {
24277 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
24280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24282 if (!SWIG_IsOK(res1
)) {
24283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
24285 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24287 if (!SWIG_IsOK(ecode2
)) {
24288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
24290 arg2
= static_cast< int >(val2
);
24291 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24292 if (!SWIG_IsOK(res3
)) {
24293 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24298 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
24300 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24301 if (!SWIG_IsOK(res4
)) {
24302 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24307 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24311 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24324 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24325 PyObject
*resultobj
= 0;
24326 wxImageList
*arg1
= (wxImageList
*) 0 ;
24331 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
24332 bool arg7
= (bool) (bool)false ;
24348 PyObject
* obj0
= 0 ;
24349 PyObject
* obj1
= 0 ;
24350 PyObject
* obj2
= 0 ;
24351 PyObject
* obj3
= 0 ;
24352 PyObject
* obj4
= 0 ;
24353 PyObject
* obj5
= 0 ;
24354 PyObject
* obj6
= 0 ;
24355 char * kwnames
[] = {
24356 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
24359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24361 if (!SWIG_IsOK(res1
)) {
24362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
24364 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24366 if (!SWIG_IsOK(ecode2
)) {
24367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
24369 arg2
= static_cast< int >(val2
);
24370 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24371 if (!SWIG_IsOK(res3
)) {
24372 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
24375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
24377 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24378 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24379 if (!SWIG_IsOK(ecode4
)) {
24380 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
24382 arg4
= static_cast< int >(val4
);
24383 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24384 if (!SWIG_IsOK(ecode5
)) {
24385 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
24387 arg5
= static_cast< int >(val5
);
24389 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24390 if (!SWIG_IsOK(ecode6
)) {
24391 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
24393 arg6
= static_cast< int >(val6
);
24396 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24397 if (!SWIG_IsOK(ecode7
)) {
24398 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
24400 arg7
= static_cast< bool >(val7
);
24403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24404 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
24405 wxPyEndAllowThreads(__tstate
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24417 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24418 PyObject
*resultobj
= 0;
24419 wxImageList
*arg1
= (wxImageList
*) 0 ;
24423 PyObject
*swig_obj
[1] ;
24425 if (!args
) SWIG_fail
;
24426 swig_obj
[0] = args
;
24427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24428 if (!SWIG_IsOK(res1
)) {
24429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
24431 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24434 result
= (int)(arg1
)->GetImageCount();
24435 wxPyEndAllowThreads(__tstate
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24438 resultobj
= SWIG_From_int(static_cast< int >(result
));
24445 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24446 PyObject
*resultobj
= 0;
24447 wxImageList
*arg1
= (wxImageList
*) 0 ;
24454 PyObject
* obj0
= 0 ;
24455 PyObject
* obj1
= 0 ;
24456 char * kwnames
[] = {
24457 (char *) "self",(char *) "index", NULL
24460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24462 if (!SWIG_IsOK(res1
)) {
24463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
24465 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24467 if (!SWIG_IsOK(ecode2
)) {
24468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
24470 arg2
= static_cast< int >(val2
);
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 result
= (bool)(arg1
)->Remove(arg2
);
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24486 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24487 PyObject
*resultobj
= 0;
24488 wxImageList
*arg1
= (wxImageList
*) 0 ;
24492 PyObject
*swig_obj
[1] ;
24494 if (!args
) SWIG_fail
;
24495 swig_obj
[0] = args
;
24496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24497 if (!SWIG_IsOK(res1
)) {
24498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
24500 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 result
= (bool)(arg1
)->RemoveAll();
24504 wxPyEndAllowThreads(__tstate
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24516 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24517 PyObject
*resultobj
= 0;
24518 wxImageList
*arg1
= (wxImageList
*) 0 ;
24527 int res3
= SWIG_TMPOBJ
;
24529 int res4
= SWIG_TMPOBJ
;
24530 PyObject
* obj0
= 0 ;
24531 PyObject
* obj1
= 0 ;
24532 char * kwnames
[] = {
24533 (char *) "self",(char *) "index", NULL
24538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24540 if (!SWIG_IsOK(res1
)) {
24541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
24543 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24545 if (!SWIG_IsOK(ecode2
)) {
24546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
24548 arg2
= static_cast< int >(val2
);
24550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24551 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
24552 wxPyEndAllowThreads(__tstate
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24555 resultobj
= SWIG_Py_Void();
24556 if (SWIG_IsTmpObj(res3
)) {
24557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24559 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24562 if (SWIG_IsTmpObj(res4
)) {
24563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
24565 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
24574 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24577 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
24578 return SWIG_Py_Void();
24581 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24582 return SWIG_Python_InitShadowInstance(args
);
24585 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24586 PyObject
*resultobj
= 0;
24587 wxStockGDI
*result
= 0 ;
24589 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 result
= (wxStockGDI
*)new wxStockGDI();
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
24603 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24604 PyObject
*resultobj
= 0;
24605 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
24608 PyObject
*swig_obj
[1] ;
24610 if (!args
) SWIG_fail
;
24611 swig_obj
[0] = args
;
24612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
24613 if (!SWIG_IsOK(res1
)) {
24614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
24616 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24621 wxPyEndAllowThreads(__tstate
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24624 resultobj
= SWIG_Py_Void();
24631 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24632 PyObject
*resultobj
= 0;
24634 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
24636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 wxStockGDI::DeleteAll();
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24641 resultobj
= SWIG_Py_Void();
24648 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24649 PyObject
*resultobj
= 0;
24650 wxStockGDI
*result
= 0 ;
24652 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24656 wxStockGDI
&_result_ref
= wxStockGDI::instance();
24657 result
= (wxStockGDI
*) &_result_ref
;
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
24669 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
= 0;
24671 wxStockGDI::Item arg1
;
24672 wxBrush
*result
= 0 ;
24675 PyObject
* obj0
= 0 ;
24676 char * kwnames
[] = {
24677 (char *) "item", NULL
24680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
24681 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24682 if (!SWIG_IsOK(ecode1
)) {
24683 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24685 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24688 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
24689 wxPyEndAllowThreads(__tstate
);
24690 if (PyErr_Occurred()) SWIG_fail
;
24692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
24699 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24700 PyObject
*resultobj
= 0;
24701 wxStockGDI::Item arg1
;
24702 wxColour
*result
= 0 ;
24705 PyObject
* obj0
= 0 ;
24706 char * kwnames
[] = {
24707 (char *) "item", NULL
24710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
24711 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24712 if (!SWIG_IsOK(ecode1
)) {
24713 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24715 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24718 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
24719 wxPyEndAllowThreads(__tstate
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
24729 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24730 PyObject
*resultobj
= 0;
24731 wxStockGDI::Item arg1
;
24732 wxCursor
*result
= 0 ;
24735 PyObject
* obj0
= 0 ;
24736 char * kwnames
[] = {
24737 (char *) "item", NULL
24740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
24741 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24742 if (!SWIG_IsOK(ecode1
)) {
24743 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24745 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24748 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
24749 wxPyEndAllowThreads(__tstate
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
24759 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
= 0;
24761 wxStockGDI::Item arg1
;
24762 wxPen
*result
= 0 ;
24765 PyObject
* obj0
= 0 ;
24766 char * kwnames
[] = {
24767 (char *) "item", NULL
24770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
24771 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24772 if (!SWIG_IsOK(ecode1
)) {
24773 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24775 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
24779 wxPyEndAllowThreads(__tstate
);
24780 if (PyErr_Occurred()) SWIG_fail
;
24782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
24789 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24790 PyObject
*resultobj
= 0;
24791 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
24792 wxStockGDI::Item arg2
;
24793 wxFont
*result
= 0 ;
24798 PyObject
* obj0
= 0 ;
24799 PyObject
* obj1
= 0 ;
24800 char * kwnames
[] = {
24801 (char *) "self",(char *) "item", NULL
24804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
24806 if (!SWIG_IsOK(res1
)) {
24807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
24809 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
24810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24811 if (!SWIG_IsOK(ecode2
)) {
24812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
24814 arg2
= static_cast< wxStockGDI::Item
>(val2
);
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
24828 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24830 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24831 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
24832 return SWIG_Py_Void();
24835 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24836 return SWIG_Python_InitShadowInstance(args
);
24839 SWIGINTERN
int NullBitmap_set(PyObject
*) {
24840 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
24845 SWIGINTERN PyObject
*NullBitmap_get(void) {
24846 PyObject
*pyobj
= 0;
24848 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
24853 SWIGINTERN
int NullIcon_set(PyObject
*) {
24854 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
24859 SWIGINTERN PyObject
*NullIcon_get(void) {
24860 PyObject
*pyobj
= 0;
24862 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
24867 SWIGINTERN
int NullCursor_set(PyObject
*) {
24868 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
24873 SWIGINTERN PyObject
*NullCursor_get(void) {
24874 PyObject
*pyobj
= 0;
24876 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
24881 SWIGINTERN
int NullPen_set(PyObject
*) {
24882 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
24887 SWIGINTERN PyObject
*NullPen_get(void) {
24888 PyObject
*pyobj
= 0;
24890 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
24895 SWIGINTERN
int NullBrush_set(PyObject
*) {
24896 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
24901 SWIGINTERN PyObject
*NullBrush_get(void) {
24902 PyObject
*pyobj
= 0;
24904 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
24909 SWIGINTERN
int NullPalette_set(PyObject
*) {
24910 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
24915 SWIGINTERN PyObject
*NullPalette_get(void) {
24916 PyObject
*pyobj
= 0;
24918 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
24923 SWIGINTERN
int NullFont_set(PyObject
*) {
24924 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
24929 SWIGINTERN PyObject
*NullFont_get(void) {
24930 PyObject
*pyobj
= 0;
24932 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
24937 SWIGINTERN
int NullColour_set(PyObject
*) {
24938 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
24943 SWIGINTERN PyObject
*NullColour_get(void) {
24944 PyObject
*pyobj
= 0;
24946 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
24951 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24952 PyObject
*resultobj
= 0;
24953 wxGDIObjListBase
*result
= 0 ;
24955 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
24957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24958 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
24959 wxPyEndAllowThreads(__tstate
);
24960 if (PyErr_Occurred()) SWIG_fail
;
24962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
24969 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24970 PyObject
*resultobj
= 0;
24971 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
24974 PyObject
*swig_obj
[1] ;
24976 if (!args
) SWIG_fail
;
24977 swig_obj
[0] = args
;
24978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
24979 if (!SWIG_IsOK(res1
)) {
24980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
24982 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
24984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24987 wxPyEndAllowThreads(__tstate
);
24988 if (PyErr_Occurred()) SWIG_fail
;
24990 resultobj
= SWIG_Py_Void();
24997 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24999 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25000 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
25001 return SWIG_Py_Void();
25004 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25005 return SWIG_Python_InitShadowInstance(args
);
25008 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25009 PyObject
*resultobj
= 0;
25010 wxPenList
*arg1
= (wxPenList
*) 0 ;
25011 wxColour
*arg2
= 0 ;
25014 wxPen
*result
= 0 ;
25022 PyObject
* obj0
= 0 ;
25023 PyObject
* obj1
= 0 ;
25024 PyObject
* obj2
= 0 ;
25025 PyObject
* obj3
= 0 ;
25026 char * kwnames
[] = {
25027 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
25030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25032 if (!SWIG_IsOK(res1
)) {
25033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25035 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25038 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25041 if (!SWIG_IsOK(ecode3
)) {
25042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
25044 arg3
= static_cast< int >(val3
);
25045 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25046 if (!SWIG_IsOK(ecode4
)) {
25047 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
25049 arg4
= static_cast< int >(val4
);
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
25053 wxPyEndAllowThreads(__tstate
);
25054 if (PyErr_Occurred()) SWIG_fail
;
25056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
25063 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25064 PyObject
*resultobj
= 0;
25065 wxPenList
*arg1
= (wxPenList
*) 0 ;
25066 wxPen
*arg2
= (wxPen
*) 0 ;
25071 PyObject
* obj0
= 0 ;
25072 PyObject
* obj1
= 0 ;
25073 char * kwnames
[] = {
25074 (char *) "self",(char *) "pen", NULL
25077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25079 if (!SWIG_IsOK(res1
)) {
25080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
25082 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25083 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25084 if (!SWIG_IsOK(res2
)) {
25085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
25087 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25090 (arg1
)->AddPen(arg2
);
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25094 resultobj
= SWIG_Py_Void();
25101 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25102 PyObject
*resultobj
= 0;
25103 wxPenList
*arg1
= (wxPenList
*) 0 ;
25104 wxPen
*arg2
= (wxPen
*) 0 ;
25109 PyObject
* obj0
= 0 ;
25110 PyObject
* obj1
= 0 ;
25111 char * kwnames
[] = {
25112 (char *) "self",(char *) "pen", NULL
25115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25117 if (!SWIG_IsOK(res1
)) {
25118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25120 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25121 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25122 if (!SWIG_IsOK(res2
)) {
25123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
25125 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25128 (arg1
)->RemovePen(arg2
);
25129 wxPyEndAllowThreads(__tstate
);
25130 if (PyErr_Occurred()) SWIG_fail
;
25132 resultobj
= SWIG_Py_Void();
25139 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25141 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25142 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
25143 return SWIG_Py_Void();
25146 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25147 PyObject
*resultobj
= 0;
25148 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25149 wxColour
*arg2
= 0 ;
25150 int arg3
= (int) wxSOLID
;
25151 wxBrush
*result
= 0 ;
25157 PyObject
* obj0
= 0 ;
25158 PyObject
* obj1
= 0 ;
25159 PyObject
* obj2
= 0 ;
25160 char * kwnames
[] = {
25161 (char *) "self",(char *) "colour",(char *) "style", NULL
25164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25166 if (!SWIG_IsOK(res1
)) {
25167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25169 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25172 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25175 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25176 if (!SWIG_IsOK(ecode3
)) {
25177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
25179 arg3
= static_cast< int >(val3
);
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
25194 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25195 PyObject
*resultobj
= 0;
25196 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25197 wxBrush
*arg2
= (wxBrush
*) 0 ;
25202 PyObject
* obj0
= 0 ;
25203 PyObject
* obj1
= 0 ;
25204 char * kwnames
[] = {
25205 (char *) "self",(char *) "brush", NULL
25208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25210 if (!SWIG_IsOK(res1
)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25213 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25214 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
25215 if (!SWIG_IsOK(res2
)) {
25216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
25218 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 (arg1
)->AddBrush(arg2
);
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25225 resultobj
= SWIG_Py_Void();
25232 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25233 PyObject
*resultobj
= 0;
25234 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25235 wxBrush
*arg2
= (wxBrush
*) 0 ;
25240 PyObject
* obj0
= 0 ;
25241 PyObject
* obj1
= 0 ;
25242 char * kwnames
[] = {
25243 (char *) "self",(char *) "brush", NULL
25246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25248 if (!SWIG_IsOK(res1
)) {
25249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25251 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
25253 if (!SWIG_IsOK(res2
)) {
25254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
25256 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 (arg1
)->RemoveBrush(arg2
);
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25263 resultobj
= SWIG_Py_Void();
25270 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25273 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
25274 return SWIG_Py_Void();
25277 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25278 PyObject
*resultobj
= 0;
25279 wxFontList
*arg1
= (wxFontList
*) 0 ;
25284 bool arg6
= (bool) false ;
25285 wxString
const &arg7_defvalue
= wxPyEmptyString
;
25286 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25287 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
25288 wxFont
*result
= 0 ;
25301 bool temp7
= false ;
25304 PyObject
* obj0
= 0 ;
25305 PyObject
* obj1
= 0 ;
25306 PyObject
* obj2
= 0 ;
25307 PyObject
* obj3
= 0 ;
25308 PyObject
* obj4
= 0 ;
25309 PyObject
* obj5
= 0 ;
25310 PyObject
* obj6
= 0 ;
25311 PyObject
* obj7
= 0 ;
25312 char * kwnames
[] = {
25313 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
25316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25318 if (!SWIG_IsOK(res1
)) {
25319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25321 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25322 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25323 if (!SWIG_IsOK(ecode2
)) {
25324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
25326 arg2
= static_cast< int >(val2
);
25327 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25328 if (!SWIG_IsOK(ecode3
)) {
25329 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
25331 arg3
= static_cast< int >(val3
);
25332 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25333 if (!SWIG_IsOK(ecode4
)) {
25334 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
25336 arg4
= static_cast< int >(val4
);
25337 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25338 if (!SWIG_IsOK(ecode5
)) {
25339 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
25341 arg5
= static_cast< int >(val5
);
25343 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
25344 if (!SWIG_IsOK(ecode6
)) {
25345 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
25347 arg6
= static_cast< bool >(val6
);
25351 arg7
= wxString_in_helper(obj6
);
25352 if (arg7
== NULL
) SWIG_fail
;
25357 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
25358 if (!SWIG_IsOK(ecode8
)) {
25359 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
25361 arg8
= static_cast< wxFontEncoding
>(val8
);
25364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25365 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
25366 wxPyEndAllowThreads(__tstate
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
25384 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25385 PyObject
*resultobj
= 0;
25386 wxFontList
*arg1
= (wxFontList
*) 0 ;
25387 wxFont
*arg2
= (wxFont
*) 0 ;
25392 PyObject
* obj0
= 0 ;
25393 PyObject
* obj1
= 0 ;
25394 char * kwnames
[] = {
25395 (char *) "self",(char *) "font", NULL
25398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25400 if (!SWIG_IsOK(res1
)) {
25401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25403 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25404 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
25405 if (!SWIG_IsOK(res2
)) {
25406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
25408 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25411 (arg1
)->AddFont(arg2
);
25412 wxPyEndAllowThreads(__tstate
);
25413 if (PyErr_Occurred()) SWIG_fail
;
25415 resultobj
= SWIG_Py_Void();
25422 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
= 0;
25424 wxFontList
*arg1
= (wxFontList
*) 0 ;
25425 wxFont
*arg2
= (wxFont
*) 0 ;
25430 PyObject
* obj0
= 0 ;
25431 PyObject
* obj1
= 0 ;
25432 char * kwnames
[] = {
25433 (char *) "self",(char *) "font", NULL
25436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25438 if (!SWIG_IsOK(res1
)) {
25439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25441 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25442 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
25443 if (!SWIG_IsOK(res2
)) {
25444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
25446 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25449 (arg1
)->RemoveFont(arg2
);
25450 wxPyEndAllowThreads(__tstate
);
25451 if (PyErr_Occurred()) SWIG_fail
;
25453 resultobj
= SWIG_Py_Void();
25460 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25462 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25463 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
25464 return SWIG_Py_Void();
25467 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25468 PyObject
*resultobj
= 0;
25469 wxColourDatabase
*result
= 0 ;
25471 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
25473 if (!wxPyCheckForApp()) SWIG_fail
;
25474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25475 result
= (wxColourDatabase
*)new wxColourDatabase();
25476 wxPyEndAllowThreads(__tstate
);
25477 if (PyErr_Occurred()) SWIG_fail
;
25479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
25486 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25487 PyObject
*resultobj
= 0;
25488 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25491 PyObject
*swig_obj
[1] ;
25493 if (!args
) SWIG_fail
;
25494 swig_obj
[0] = args
;
25495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
25496 if (!SWIG_IsOK(res1
)) {
25497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25499 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25504 wxPyEndAllowThreads(__tstate
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25507 resultobj
= SWIG_Py_Void();
25514 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
= 0;
25516 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25517 wxString
*arg2
= 0 ;
25521 bool temp2
= false ;
25522 PyObject
* obj0
= 0 ;
25523 PyObject
* obj1
= 0 ;
25524 char * kwnames
[] = {
25525 (char *) "self",(char *) "name", NULL
25528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25530 if (!SWIG_IsOK(res1
)) {
25531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
25533 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25535 arg2
= wxString_in_helper(obj1
);
25536 if (arg2
== NULL
) SWIG_fail
;
25540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25541 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
25542 wxPyEndAllowThreads(__tstate
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25545 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25560 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25561 PyObject
*resultobj
= 0;
25562 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25563 wxColour
*arg2
= 0 ;
25568 PyObject
* obj0
= 0 ;
25569 PyObject
* obj1
= 0 ;
25570 char * kwnames
[] = {
25571 (char *) "self",(char *) "colour", NULL
25574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25576 if (!SWIG_IsOK(res1
)) {
25577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
25579 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25582 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25586 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
25587 wxPyEndAllowThreads(__tstate
);
25588 if (PyErr_Occurred()) SWIG_fail
;
25592 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25594 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25603 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25604 PyObject
*resultobj
= 0;
25605 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25606 wxString
*arg2
= 0 ;
25607 wxColour
*arg3
= 0 ;
25610 bool temp2
= false ;
25612 PyObject
* obj0
= 0 ;
25613 PyObject
* obj1
= 0 ;
25614 PyObject
* obj2
= 0 ;
25615 char * kwnames
[] = {
25616 (char *) "self",(char *) "name",(char *) "colour", NULL
25619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25621 if (!SWIG_IsOK(res1
)) {
25622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25624 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25626 arg2
= wxString_in_helper(obj1
);
25627 if (arg2
== NULL
) SWIG_fail
;
25632 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25636 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
25637 wxPyEndAllowThreads(__tstate
);
25638 if (PyErr_Occurred()) SWIG_fail
;
25640 resultobj
= SWIG_Py_Void();
25655 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25656 PyObject
*resultobj
= 0;
25657 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25658 wxString
*arg2
= 0 ;
25664 bool temp2
= false ;
25671 PyObject
* obj0
= 0 ;
25672 PyObject
* obj1
= 0 ;
25673 PyObject
* obj2
= 0 ;
25674 PyObject
* obj3
= 0 ;
25675 PyObject
* obj4
= 0 ;
25676 char * kwnames
[] = {
25677 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
25680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25682 if (!SWIG_IsOK(res1
)) {
25683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25685 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25687 arg2
= wxString_in_helper(obj1
);
25688 if (arg2
== NULL
) SWIG_fail
;
25691 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25692 if (!SWIG_IsOK(ecode3
)) {
25693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
25695 arg3
= static_cast< int >(val3
);
25696 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25697 if (!SWIG_IsOK(ecode4
)) {
25698 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
25700 arg4
= static_cast< int >(val4
);
25701 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25702 if (!SWIG_IsOK(ecode5
)) {
25703 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
25705 arg5
= static_cast< int >(val5
);
25707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25708 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25709 wxPyEndAllowThreads(__tstate
);
25710 if (PyErr_Occurred()) SWIG_fail
;
25712 resultobj
= SWIG_Py_Void();
25727 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25729 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25730 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
25731 return SWIG_Py_Void();
25734 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25735 return SWIG_Python_InitShadowInstance(args
);
25738 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25739 PyObject
*resultobj
= 0;
25740 wxFontList
*result
= 0 ;
25742 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
25744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25745 result
= (wxFontList
*)_wxPyInitTheFontList();
25746 wxPyEndAllowThreads(__tstate
);
25747 if (PyErr_Occurred()) SWIG_fail
;
25749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
25756 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25757 PyObject
*resultobj
= 0;
25758 wxPenList
*result
= 0 ;
25760 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
25762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25763 result
= (wxPenList
*)_wxPyInitThePenList();
25764 wxPyEndAllowThreads(__tstate
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
25774 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25775 PyObject
*resultobj
= 0;
25776 wxBrushList
*result
= 0 ;
25778 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
25780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25781 result
= (wxBrushList
*)_wxPyInitTheBrushList();
25782 wxPyEndAllowThreads(__tstate
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
25792 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25793 PyObject
*resultobj
= 0;
25794 wxColourDatabase
*result
= 0 ;
25796 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
25798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25799 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
25800 wxPyEndAllowThreads(__tstate
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25810 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25811 PyObject
*resultobj
= 0;
25812 wxEffects
*result
= 0 ;
25814 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
25816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25817 result
= (wxEffects
*)new wxEffects();
25818 wxPyEndAllowThreads(__tstate
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
25828 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25829 PyObject
*resultobj
= 0;
25830 wxEffects
*arg1
= (wxEffects
*) 0 ;
25834 PyObject
*swig_obj
[1] ;
25836 if (!args
) SWIG_fail
;
25837 swig_obj
[0] = args
;
25838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25839 if (!SWIG_IsOK(res1
)) {
25840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
25842 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25845 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
25846 wxPyEndAllowThreads(__tstate
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25849 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25856 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25857 PyObject
*resultobj
= 0;
25858 wxEffects
*arg1
= (wxEffects
*) 0 ;
25862 PyObject
*swig_obj
[1] ;
25864 if (!args
) SWIG_fail
;
25865 swig_obj
[0] = args
;
25866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25867 if (!SWIG_IsOK(res1
)) {
25868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
25870 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25873 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
25874 wxPyEndAllowThreads(__tstate
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25877 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25884 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25885 PyObject
*resultobj
= 0;
25886 wxEffects
*arg1
= (wxEffects
*) 0 ;
25890 PyObject
*swig_obj
[1] ;
25892 if (!args
) SWIG_fail
;
25893 swig_obj
[0] = args
;
25894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25895 if (!SWIG_IsOK(res1
)) {
25896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
25898 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25901 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
25902 wxPyEndAllowThreads(__tstate
);
25903 if (PyErr_Occurred()) SWIG_fail
;
25905 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25912 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25913 PyObject
*resultobj
= 0;
25914 wxEffects
*arg1
= (wxEffects
*) 0 ;
25918 PyObject
*swig_obj
[1] ;
25920 if (!args
) SWIG_fail
;
25921 swig_obj
[0] = args
;
25922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25923 if (!SWIG_IsOK(res1
)) {
25924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
25926 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25929 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
25930 wxPyEndAllowThreads(__tstate
);
25931 if (PyErr_Occurred()) SWIG_fail
;
25933 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25940 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25941 PyObject
*resultobj
= 0;
25942 wxEffects
*arg1
= (wxEffects
*) 0 ;
25946 PyObject
*swig_obj
[1] ;
25948 if (!args
) SWIG_fail
;
25949 swig_obj
[0] = args
;
25950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25951 if (!SWIG_IsOK(res1
)) {
25952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
25954 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25957 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
25958 wxPyEndAllowThreads(__tstate
);
25959 if (PyErr_Occurred()) SWIG_fail
;
25961 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25968 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25969 PyObject
*resultobj
= 0;
25970 wxEffects
*arg1
= (wxEffects
*) 0 ;
25971 wxColour
*arg2
= 0 ;
25975 PyObject
* obj0
= 0 ;
25976 PyObject
* obj1
= 0 ;
25977 char * kwnames
[] = {
25978 (char *) "self",(char *) "c", NULL
25981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25983 if (!SWIG_IsOK(res1
)) {
25984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
25986 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25989 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25993 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
25994 wxPyEndAllowThreads(__tstate
);
25995 if (PyErr_Occurred()) SWIG_fail
;
25997 resultobj
= SWIG_Py_Void();
26004 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26005 PyObject
*resultobj
= 0;
26006 wxEffects
*arg1
= (wxEffects
*) 0 ;
26007 wxColour
*arg2
= 0 ;
26011 PyObject
* obj0
= 0 ;
26012 PyObject
* obj1
= 0 ;
26013 char * kwnames
[] = {
26014 (char *) "self",(char *) "c", NULL
26017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26019 if (!SWIG_IsOK(res1
)) {
26020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26022 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26025 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26033 resultobj
= SWIG_Py_Void();
26040 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26041 PyObject
*resultobj
= 0;
26042 wxEffects
*arg1
= (wxEffects
*) 0 ;
26043 wxColour
*arg2
= 0 ;
26047 PyObject
* obj0
= 0 ;
26048 PyObject
* obj1
= 0 ;
26049 char * kwnames
[] = {
26050 (char *) "self",(char *) "c", NULL
26053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26055 if (!SWIG_IsOK(res1
)) {
26056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26058 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26061 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26065 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= SWIG_Py_Void();
26076 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26077 PyObject
*resultobj
= 0;
26078 wxEffects
*arg1
= (wxEffects
*) 0 ;
26079 wxColour
*arg2
= 0 ;
26083 PyObject
* obj0
= 0 ;
26084 PyObject
* obj1
= 0 ;
26085 char * kwnames
[] = {
26086 (char *) "self",(char *) "c", NULL
26089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26091 if (!SWIG_IsOK(res1
)) {
26092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26094 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26097 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26101 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
26102 wxPyEndAllowThreads(__tstate
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26105 resultobj
= SWIG_Py_Void();
26112 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26113 PyObject
*resultobj
= 0;
26114 wxEffects
*arg1
= (wxEffects
*) 0 ;
26115 wxColour
*arg2
= 0 ;
26119 PyObject
* obj0
= 0 ;
26120 PyObject
* obj1
= 0 ;
26121 char * kwnames
[] = {
26122 (char *) "self",(char *) "c", NULL
26125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26127 if (!SWIG_IsOK(res1
)) {
26128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26130 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26133 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26137 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
26138 wxPyEndAllowThreads(__tstate
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26141 resultobj
= SWIG_Py_Void();
26148 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26149 PyObject
*resultobj
= 0;
26150 wxEffects
*arg1
= (wxEffects
*) 0 ;
26151 wxColour
*arg2
= 0 ;
26152 wxColour
*arg3
= 0 ;
26153 wxColour
*arg4
= 0 ;
26154 wxColour
*arg5
= 0 ;
26155 wxColour
*arg6
= 0 ;
26163 PyObject
* obj0
= 0 ;
26164 PyObject
* obj1
= 0 ;
26165 PyObject
* obj2
= 0 ;
26166 PyObject
* obj3
= 0 ;
26167 PyObject
* obj4
= 0 ;
26168 PyObject
* obj5
= 0 ;
26169 char * kwnames
[] = {
26170 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
26173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26175 if (!SWIG_IsOK(res1
)) {
26176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
26178 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26181 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26185 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26189 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
26193 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
26197 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
26200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 resultobj
= SWIG_Py_Void();
26212 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
= 0;
26214 wxEffects
*arg1
= (wxEffects
*) 0 ;
26217 int arg4
= (int) 1 ;
26225 PyObject
* obj0
= 0 ;
26226 PyObject
* obj1
= 0 ;
26227 PyObject
* obj2
= 0 ;
26228 PyObject
* obj3
= 0 ;
26229 char * kwnames
[] = {
26230 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
26233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26235 if (!SWIG_IsOK(res1
)) {
26236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
26238 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26239 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
26240 if (!SWIG_IsOK(res2
)) {
26241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
26244 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
26246 arg2
= reinterpret_cast< wxDC
* >(argp2
);
26249 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
26252 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26253 if (!SWIG_IsOK(ecode4
)) {
26254 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
26256 arg4
= static_cast< int >(val4
);
26259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26260 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
26261 wxPyEndAllowThreads(__tstate
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26264 resultobj
= SWIG_Py_Void();
26271 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26272 PyObject
*resultobj
= 0;
26273 wxEffects
*arg1
= (wxEffects
*) 0 ;
26276 wxBitmap
*arg4
= 0 ;
26285 PyObject
* obj0
= 0 ;
26286 PyObject
* obj1
= 0 ;
26287 PyObject
* obj2
= 0 ;
26288 PyObject
* obj3
= 0 ;
26289 char * kwnames
[] = {
26290 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
26293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26295 if (!SWIG_IsOK(res1
)) {
26296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
26298 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26301 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26303 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26304 if (!SWIG_IsOK(res3
)) {
26305 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
26308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
26310 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26311 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
26312 if (!SWIG_IsOK(res4
)) {
26313 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
26316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
26318 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
26320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26321 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
26322 wxPyEndAllowThreads(__tstate
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26334 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26337 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
26338 return SWIG_Py_Void();
26341 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26342 return SWIG_Python_InitShadowInstance(args
);
26345 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26346 PyObject
*resultobj
= 0;
26350 wxSplitterRenderParams
*result
= 0 ;
26357 PyObject
* obj0
= 0 ;
26358 PyObject
* obj1
= 0 ;
26359 PyObject
* obj2
= 0 ;
26360 char * kwnames
[] = {
26361 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
26364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26365 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26366 if (!SWIG_IsOK(ecode1
)) {
26367 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
26369 arg1
= static_cast< int >(val1
);
26370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26371 if (!SWIG_IsOK(ecode2
)) {
26372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
26374 arg2
= static_cast< int >(val2
);
26375 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
26376 if (!SWIG_IsOK(ecode3
)) {
26377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
26379 arg3
= static_cast< bool >(val3
);
26381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26382 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
26383 wxPyEndAllowThreads(__tstate
);
26384 if (PyErr_Occurred()) SWIG_fail
;
26386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
26393 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26394 PyObject
*resultobj
= 0;
26395 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26398 PyObject
*swig_obj
[1] ;
26400 if (!args
) SWIG_fail
;
26401 swig_obj
[0] = args
;
26402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
26403 if (!SWIG_IsOK(res1
)) {
26404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26406 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26411 wxPyEndAllowThreads(__tstate
);
26412 if (PyErr_Occurred()) SWIG_fail
;
26414 resultobj
= SWIG_Py_Void();
26421 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26422 PyObject
*resultobj
= 0;
26423 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26427 PyObject
*swig_obj
[1] ;
26429 if (!args
) SWIG_fail
;
26430 swig_obj
[0] = args
;
26431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26432 if (!SWIG_IsOK(res1
)) {
26433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26435 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26436 result
= (int)(int) ((arg1
)->widthSash
);
26437 resultobj
= SWIG_From_int(static_cast< int >(result
));
26444 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26445 PyObject
*resultobj
= 0;
26446 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26450 PyObject
*swig_obj
[1] ;
26452 if (!args
) SWIG_fail
;
26453 swig_obj
[0] = args
;
26454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26455 if (!SWIG_IsOK(res1
)) {
26456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26458 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26459 result
= (int)(int) ((arg1
)->border
);
26460 resultobj
= SWIG_From_int(static_cast< int >(result
));
26467 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26468 PyObject
*resultobj
= 0;
26469 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26473 PyObject
*swig_obj
[1] ;
26475 if (!args
) SWIG_fail
;
26476 swig_obj
[0] = args
;
26477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26478 if (!SWIG_IsOK(res1
)) {
26479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26481 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26482 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
26483 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
26490 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26492 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26493 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
26494 return SWIG_Py_Void();
26497 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26498 return SWIG_Python_InitShadowInstance(args
);
26501 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26502 PyObject
*resultobj
= 0;
26503 wxHeaderButtonParams
*result
= 0 ;
26505 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
26509 wxPyEndAllowThreads(__tstate
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
26519 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26520 PyObject
*resultobj
= 0;
26521 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26524 PyObject
*swig_obj
[1] ;
26526 if (!args
) SWIG_fail
;
26527 swig_obj
[0] = args
;
26528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
26529 if (!SWIG_IsOK(res1
)) {
26530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26532 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26537 wxPyEndAllowThreads(__tstate
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26540 resultobj
= SWIG_Py_Void();
26547 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26548 PyObject
*resultobj
= 0;
26549 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26550 wxColour
*arg2
= (wxColour
*) 0 ;
26554 PyObject
*swig_obj
[2] ;
26556 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
26557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26558 if (!SWIG_IsOK(res1
)) {
26559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26561 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26564 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26566 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
26568 resultobj
= SWIG_Py_Void();
26575 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26576 PyObject
*resultobj
= 0;
26577 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26578 wxColour
*result
= 0 ;
26581 PyObject
*swig_obj
[1] ;
26583 if (!args
) SWIG_fail
;
26584 swig_obj
[0] = args
;
26585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26586 if (!SWIG_IsOK(res1
)) {
26587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26589 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26590 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
26591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
26598 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26599 PyObject
*resultobj
= 0;
26600 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26601 wxColour
*arg2
= (wxColour
*) 0 ;
26605 PyObject
*swig_obj
[2] ;
26607 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
26608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26609 if (!SWIG_IsOK(res1
)) {
26610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26612 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26615 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26617 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
26619 resultobj
= SWIG_Py_Void();
26626 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26627 PyObject
*resultobj
= 0;
26628 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26629 wxColour
*result
= 0 ;
26632 PyObject
*swig_obj
[1] ;
26634 if (!args
) SWIG_fail
;
26635 swig_obj
[0] = args
;
26636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26637 if (!SWIG_IsOK(res1
)) {
26638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26640 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26641 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
26642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
26649 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26650 PyObject
*resultobj
= 0;
26651 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26652 wxString
*arg2
= (wxString
*) 0 ;
26655 bool temp2
= false ;
26656 PyObject
*swig_obj
[2] ;
26658 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
26659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26660 if (!SWIG_IsOK(res1
)) {
26661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26663 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26665 arg2
= wxString_in_helper(swig_obj
[1]);
26666 if (arg2
== NULL
) SWIG_fail
;
26669 if (arg1
) (arg1
)->m_labelText
= *arg2
;
26671 resultobj
= SWIG_Py_Void();
26686 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26687 PyObject
*resultobj
= 0;
26688 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26689 wxString
*result
= 0 ;
26692 PyObject
*swig_obj
[1] ;
26694 if (!args
) SWIG_fail
;
26695 swig_obj
[0] = args
;
26696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26697 if (!SWIG_IsOK(res1
)) {
26698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26700 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26701 result
= (wxString
*)& ((arg1
)->m_labelText
);
26704 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26706 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26715 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26716 PyObject
*resultobj
= 0;
26717 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26718 wxFont
*arg2
= (wxFont
*) 0 ;
26723 PyObject
*swig_obj
[2] ;
26725 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
26726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26727 if (!SWIG_IsOK(res1
)) {
26728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26730 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26731 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
26732 if (!SWIG_IsOK(res2
)) {
26733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
26735 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26736 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
26738 resultobj
= SWIG_Py_Void();
26745 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26746 PyObject
*resultobj
= 0;
26747 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26748 wxFont
*result
= 0 ;
26751 PyObject
*swig_obj
[1] ;
26753 if (!args
) SWIG_fail
;
26754 swig_obj
[0] = args
;
26755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26756 if (!SWIG_IsOK(res1
)) {
26757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26759 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26760 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
26761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
26768 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26769 PyObject
*resultobj
= 0;
26770 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26771 wxColour
*arg2
= (wxColour
*) 0 ;
26775 PyObject
*swig_obj
[2] ;
26777 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
26778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26779 if (!SWIG_IsOK(res1
)) {
26780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26782 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26785 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26787 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
26789 resultobj
= SWIG_Py_Void();
26796 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26797 PyObject
*resultobj
= 0;
26798 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26799 wxColour
*result
= 0 ;
26802 PyObject
*swig_obj
[1] ;
26804 if (!args
) SWIG_fail
;
26805 swig_obj
[0] = args
;
26806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26807 if (!SWIG_IsOK(res1
)) {
26808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26810 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26811 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
26812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
26819 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26820 PyObject
*resultobj
= 0;
26821 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26822 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
26827 PyObject
*swig_obj
[2] ;
26829 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
26830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26831 if (!SWIG_IsOK(res1
)) {
26832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26834 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26835 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
26836 if (!SWIG_IsOK(res2
)) {
26837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
26839 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26840 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
26842 resultobj
= SWIG_Py_Void();
26849 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26850 PyObject
*resultobj
= 0;
26851 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26852 wxBitmap
*result
= 0 ;
26855 PyObject
*swig_obj
[1] ;
26857 if (!args
) SWIG_fail
;
26858 swig_obj
[0] = args
;
26859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26860 if (!SWIG_IsOK(res1
)) {
26861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26863 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26864 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
26865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
26872 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26873 PyObject
*resultobj
= 0;
26874 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26880 PyObject
*swig_obj
[2] ;
26882 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
26883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26884 if (!SWIG_IsOK(res1
)) {
26885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26887 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26888 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
26889 if (!SWIG_IsOK(ecode2
)) {
26890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
26892 arg2
= static_cast< int >(val2
);
26893 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
26895 resultobj
= SWIG_Py_Void();
26902 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26903 PyObject
*resultobj
= 0;
26904 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26908 PyObject
*swig_obj
[1] ;
26910 if (!args
) SWIG_fail
;
26911 swig_obj
[0] = args
;
26912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26913 if (!SWIG_IsOK(res1
)) {
26914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26916 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26917 result
= (int) ((arg1
)->m_labelAlignment
);
26918 resultobj
= SWIG_From_int(static_cast< int >(result
));
26925 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26927 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26928 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
26929 return SWIG_Py_Void();
26932 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26933 return SWIG_Python_InitShadowInstance(args
);
26936 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26937 PyObject
*resultobj
= 0;
26940 wxRendererVersion
*result
= 0 ;
26945 PyObject
* obj0
= 0 ;
26946 PyObject
* obj1
= 0 ;
26947 char * kwnames
[] = {
26948 (char *) "version_",(char *) "age_", NULL
26951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26952 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26953 if (!SWIG_IsOK(ecode1
)) {
26954 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
26956 arg1
= static_cast< int >(val1
);
26957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26958 if (!SWIG_IsOK(ecode2
)) {
26959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
26961 arg2
= static_cast< int >(val2
);
26963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26964 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
26965 wxPyEndAllowThreads(__tstate
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
26975 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26976 PyObject
*resultobj
= 0;
26977 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
26980 PyObject
*swig_obj
[1] ;
26982 if (!args
) SWIG_fail
;
26983 swig_obj
[0] = args
;
26984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
26985 if (!SWIG_IsOK(res1
)) {
26986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
26988 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26993 wxPyEndAllowThreads(__tstate
);
26994 if (PyErr_Occurred()) SWIG_fail
;
26996 resultobj
= SWIG_Py_Void();
27003 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27004 PyObject
*resultobj
= 0;
27005 wxRendererVersion
*arg1
= 0 ;
27009 PyObject
* obj0
= 0 ;
27010 char * kwnames
[] = {
27011 (char *) "ver", NULL
27014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
27015 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
27016 if (!SWIG_IsOK(res1
)) {
27017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
27020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
27022 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27025 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27038 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27039 PyObject
*resultobj
= 0;
27040 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27044 PyObject
*swig_obj
[1] ;
27046 if (!args
) SWIG_fail
;
27047 swig_obj
[0] = args
;
27048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
27049 if (!SWIG_IsOK(res1
)) {
27050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27052 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27053 result
= (int)(int) ((arg1
)->version
);
27054 resultobj
= SWIG_From_int(static_cast< int >(result
));
27061 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27062 PyObject
*resultobj
= 0;
27063 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27067 PyObject
*swig_obj
[1] ;
27069 if (!args
) SWIG_fail
;
27070 swig_obj
[0] = args
;
27071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
27072 if (!SWIG_IsOK(res1
)) {
27073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27075 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27076 result
= (int)(int) ((arg1
)->age
);
27077 resultobj
= SWIG_From_int(static_cast< int >(result
));
27084 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27086 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27087 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
27088 return SWIG_Py_Void();
27091 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27092 return SWIG_Python_InitShadowInstance(args
);
27095 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27096 PyObject
*resultobj
= 0;
27097 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27098 wxWindow
*arg2
= (wxWindow
*) 0 ;
27101 int arg5
= (int) 0 ;
27102 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
27103 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
27117 PyObject
* obj0
= 0 ;
27118 PyObject
* obj1
= 0 ;
27119 PyObject
* obj2
= 0 ;
27120 PyObject
* obj3
= 0 ;
27121 PyObject
* obj4
= 0 ;
27122 PyObject
* obj5
= 0 ;
27123 PyObject
* obj6
= 0 ;
27124 char * kwnames
[] = {
27125 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
27128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27130 if (!SWIG_IsOK(res1
)) {
27131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27133 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27134 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27135 if (!SWIG_IsOK(res2
)) {
27136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27138 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27139 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27140 if (!SWIG_IsOK(res3
)) {
27141 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
27144 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
27146 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27149 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27152 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27153 if (!SWIG_IsOK(ecode5
)) {
27154 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
27156 arg5
= static_cast< int >(val5
);
27159 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27160 if (!SWIG_IsOK(ecode6
)) {
27161 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
27163 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
27166 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27167 if (!SWIG_IsOK(res7
)) {
27168 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
27170 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
27173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27174 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
27175 wxPyEndAllowThreads(__tstate
);
27176 if (PyErr_Occurred()) SWIG_fail
;
27178 resultobj
= SWIG_Py_Void();
27185 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27186 PyObject
*resultobj
= 0;
27187 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27188 wxWindow
*arg2
= (wxWindow
*) 0 ;
27191 int arg5
= (int) 0 ;
27192 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
27193 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
27207 PyObject
* obj0
= 0 ;
27208 PyObject
* obj1
= 0 ;
27209 PyObject
* obj2
= 0 ;
27210 PyObject
* obj3
= 0 ;
27211 PyObject
* obj4
= 0 ;
27212 PyObject
* obj5
= 0 ;
27213 PyObject
* obj6
= 0 ;
27214 char * kwnames
[] = {
27215 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
27218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27220 if (!SWIG_IsOK(res1
)) {
27221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27223 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27224 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27225 if (!SWIG_IsOK(res2
)) {
27226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
27228 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27229 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27230 if (!SWIG_IsOK(res3
)) {
27231 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
27234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
27236 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27239 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27242 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27243 if (!SWIG_IsOK(ecode5
)) {
27244 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
27246 arg5
= static_cast< int >(val5
);
27249 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27250 if (!SWIG_IsOK(ecode6
)) {
27251 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
27253 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
27256 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27257 if (!SWIG_IsOK(res7
)) {
27258 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
27260 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
27263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27264 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
27265 wxPyEndAllowThreads(__tstate
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27268 resultobj
= SWIG_Py_Void();
27275 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27276 PyObject
*resultobj
= 0;
27277 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27278 wxWindow
*arg2
= (wxWindow
*) 0 ;
27284 PyObject
* obj0
= 0 ;
27285 PyObject
* obj1
= 0 ;
27286 char * kwnames
[] = {
27287 (char *) "self",(char *) "win", NULL
27290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27292 if (!SWIG_IsOK(res1
)) {
27293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27295 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27296 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27297 if (!SWIG_IsOK(res2
)) {
27298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
27300 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27303 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
27304 wxPyEndAllowThreads(__tstate
);
27305 if (PyErr_Occurred()) SWIG_fail
;
27307 resultobj
= SWIG_From_int(static_cast< int >(result
));
27314 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27315 PyObject
*resultobj
= 0;
27316 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27317 wxWindow
*arg2
= (wxWindow
*) 0 ;
27320 int arg5
= (int) 0 ;
27330 PyObject
* obj0
= 0 ;
27331 PyObject
* obj1
= 0 ;
27332 PyObject
* obj2
= 0 ;
27333 PyObject
* obj3
= 0 ;
27334 PyObject
* obj4
= 0 ;
27335 char * kwnames
[] = {
27336 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27341 if (!SWIG_IsOK(res1
)) {
27342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27344 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27345 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27346 if (!SWIG_IsOK(res2
)) {
27347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27349 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27350 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27351 if (!SWIG_IsOK(res3
)) {
27352 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
27355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
27357 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27360 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27363 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27364 if (!SWIG_IsOK(ecode5
)) {
27365 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
27367 arg5
= static_cast< int >(val5
);
27370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27371 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27372 wxPyEndAllowThreads(__tstate
);
27373 if (PyErr_Occurred()) SWIG_fail
;
27375 resultobj
= SWIG_Py_Void();
27382 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27383 PyObject
*resultobj
= 0;
27384 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27385 wxWindow
*arg2
= (wxWindow
*) 0 ;
27388 int arg5
= (int) 0 ;
27398 PyObject
* obj0
= 0 ;
27399 PyObject
* obj1
= 0 ;
27400 PyObject
* obj2
= 0 ;
27401 PyObject
* obj3
= 0 ;
27402 PyObject
* obj4
= 0 ;
27403 char * kwnames
[] = {
27404 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27409 if (!SWIG_IsOK(res1
)) {
27410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27412 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27413 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27414 if (!SWIG_IsOK(res2
)) {
27415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
27417 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27418 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27419 if (!SWIG_IsOK(res3
)) {
27420 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
27423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
27425 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27428 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27431 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27432 if (!SWIG_IsOK(ecode5
)) {
27433 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
27435 arg5
= static_cast< int >(val5
);
27438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27439 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27440 wxPyEndAllowThreads(__tstate
);
27441 if (PyErr_Occurred()) SWIG_fail
;
27443 resultobj
= SWIG_Py_Void();
27450 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27451 PyObject
*resultobj
= 0;
27452 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27453 wxWindow
*arg2
= (wxWindow
*) 0 ;
27457 wxOrientation arg6
;
27458 int arg7
= (int) 0 ;
27472 PyObject
* obj0
= 0 ;
27473 PyObject
* obj1
= 0 ;
27474 PyObject
* obj2
= 0 ;
27475 PyObject
* obj3
= 0 ;
27476 PyObject
* obj4
= 0 ;
27477 PyObject
* obj5
= 0 ;
27478 PyObject
* obj6
= 0 ;
27479 char * kwnames
[] = {
27480 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
27483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27485 if (!SWIG_IsOK(res1
)) {
27486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27488 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27489 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27490 if (!SWIG_IsOK(res2
)) {
27491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
27493 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27494 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27495 if (!SWIG_IsOK(res3
)) {
27496 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
27499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
27501 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27504 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27506 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27507 if (!SWIG_IsOK(ecode5
)) {
27508 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
27510 arg5
= static_cast< int >(val5
);
27511 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27512 if (!SWIG_IsOK(ecode6
)) {
27513 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
27515 arg6
= static_cast< wxOrientation
>(val6
);
27517 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
27518 if (!SWIG_IsOK(ecode7
)) {
27519 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
27521 arg7
= static_cast< int >(val7
);
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
27526 wxPyEndAllowThreads(__tstate
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27529 resultobj
= SWIG_Py_Void();
27536 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27537 PyObject
*resultobj
= 0;
27538 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27539 wxWindow
*arg2
= (wxWindow
*) 0 ;
27542 int arg5
= (int) 0 ;
27552 PyObject
* obj0
= 0 ;
27553 PyObject
* obj1
= 0 ;
27554 PyObject
* obj2
= 0 ;
27555 PyObject
* obj3
= 0 ;
27556 PyObject
* obj4
= 0 ;
27557 char * kwnames
[] = {
27558 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27563 if (!SWIG_IsOK(res1
)) {
27564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27566 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27567 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27568 if (!SWIG_IsOK(res2
)) {
27569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27571 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27572 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27573 if (!SWIG_IsOK(res3
)) {
27574 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
27577 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
27579 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27582 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27585 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27586 if (!SWIG_IsOK(ecode5
)) {
27587 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
27589 arg5
= static_cast< int >(val5
);
27592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27593 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27594 wxPyEndAllowThreads(__tstate
);
27595 if (PyErr_Occurred()) SWIG_fail
;
27597 resultobj
= SWIG_Py_Void();
27604 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27605 PyObject
*resultobj
= 0;
27606 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27607 wxWindow
*arg2
= (wxWindow
*) 0 ;
27610 int arg5
= (int) 0 ;
27620 PyObject
* obj0
= 0 ;
27621 PyObject
* obj1
= 0 ;
27622 PyObject
* obj2
= 0 ;
27623 PyObject
* obj3
= 0 ;
27624 PyObject
* obj4
= 0 ;
27625 char * kwnames
[] = {
27626 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27631 if (!SWIG_IsOK(res1
)) {
27632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27634 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27635 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27636 if (!SWIG_IsOK(res2
)) {
27637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
27639 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27640 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27641 if (!SWIG_IsOK(res3
)) {
27642 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
27645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
27647 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27650 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27653 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27654 if (!SWIG_IsOK(ecode5
)) {
27655 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
27657 arg5
= static_cast< int >(val5
);
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27662 wxPyEndAllowThreads(__tstate
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27665 resultobj
= SWIG_Py_Void();
27672 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27673 PyObject
*resultobj
= 0;
27674 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27675 wxWindow
*arg2
= (wxWindow
*) 0 ;
27678 int arg5
= (int) 0 ;
27688 PyObject
* obj0
= 0 ;
27689 PyObject
* obj1
= 0 ;
27690 PyObject
* obj2
= 0 ;
27691 PyObject
* obj3
= 0 ;
27692 PyObject
* obj4
= 0 ;
27693 char * kwnames
[] = {
27694 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27699 if (!SWIG_IsOK(res1
)) {
27700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27702 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27703 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27704 if (!SWIG_IsOK(res2
)) {
27705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
27707 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27708 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27709 if (!SWIG_IsOK(res3
)) {
27710 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27715 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27718 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27721 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27722 if (!SWIG_IsOK(ecode5
)) {
27723 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
27725 arg5
= static_cast< int >(val5
);
27728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27729 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27730 wxPyEndAllowThreads(__tstate
);
27731 if (PyErr_Occurred()) SWIG_fail
;
27733 resultobj
= SWIG_Py_Void();
27740 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27741 PyObject
*resultobj
= 0;
27742 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27743 wxWindow
*arg2
= (wxWindow
*) 0 ;
27746 int arg5
= (int) 0 ;
27756 PyObject
* obj0
= 0 ;
27757 PyObject
* obj1
= 0 ;
27758 PyObject
* obj2
= 0 ;
27759 PyObject
* obj3
= 0 ;
27760 PyObject
* obj4
= 0 ;
27761 char * kwnames
[] = {
27762 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27767 if (!SWIG_IsOK(res1
)) {
27768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27770 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27771 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27772 if (!SWIG_IsOK(res2
)) {
27773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27775 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27776 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27777 if (!SWIG_IsOK(res3
)) {
27778 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
27781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
27783 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27786 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27789 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27790 if (!SWIG_IsOK(ecode5
)) {
27791 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
27793 arg5
= static_cast< int >(val5
);
27796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27797 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27798 wxPyEndAllowThreads(__tstate
);
27799 if (PyErr_Occurred()) SWIG_fail
;
27801 resultobj
= SWIG_Py_Void();
27808 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27809 PyObject
*resultobj
= 0;
27810 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27811 wxWindow
*arg2
= (wxWindow
*) 0 ;
27814 int arg5
= (int) 0 ;
27824 PyObject
* obj0
= 0 ;
27825 PyObject
* obj1
= 0 ;
27826 PyObject
* obj2
= 0 ;
27827 PyObject
* obj3
= 0 ;
27828 PyObject
* obj4
= 0 ;
27829 char * kwnames
[] = {
27830 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27835 if (!SWIG_IsOK(res1
)) {
27836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27838 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27839 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27840 if (!SWIG_IsOK(res2
)) {
27841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
27843 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27844 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27845 if (!SWIG_IsOK(res3
)) {
27846 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
27849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
27851 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27854 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27857 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27858 if (!SWIG_IsOK(ecode5
)) {
27859 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
27861 arg5
= static_cast< int >(val5
);
27864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27865 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27866 wxPyEndAllowThreads(__tstate
);
27867 if (PyErr_Occurred()) SWIG_fail
;
27869 resultobj
= SWIG_Py_Void();
27876 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27877 PyObject
*resultobj
= 0;
27878 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27879 wxWindow
*arg2
= (wxWindow
*) 0 ;
27880 SwigValueWrapper
<wxSplitterRenderParams
> result
;
27885 PyObject
* obj0
= 0 ;
27886 PyObject
* obj1
= 0 ;
27887 char * kwnames
[] = {
27888 (char *) "self",(char *) "win", NULL
27891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27893 if (!SWIG_IsOK(res1
)) {
27894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27896 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27897 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27898 if (!SWIG_IsOK(res2
)) {
27899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
27901 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27904 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
27905 wxPyEndAllowThreads(__tstate
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
27915 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27916 PyObject
*resultobj
= 0;
27917 wxRendererNative
*result
= 0 ;
27919 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
27921 if (!wxPyCheckForApp()) SWIG_fail
;
27922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27924 wxRendererNative
&_result_ref
= wxRendererNative::Get();
27925 result
= (wxRendererNative
*) &_result_ref
;
27927 wxPyEndAllowThreads(__tstate
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27937 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27938 PyObject
*resultobj
= 0;
27939 wxRendererNative
*result
= 0 ;
27941 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
27943 if (!wxPyCheckForApp()) SWIG_fail
;
27944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
27947 result
= (wxRendererNative
*) &_result_ref
;
27949 wxPyEndAllowThreads(__tstate
);
27950 if (PyErr_Occurred()) SWIG_fail
;
27952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27959 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27960 PyObject
*resultobj
= 0;
27961 wxRendererNative
*result
= 0 ;
27963 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
27965 if (!wxPyCheckForApp()) SWIG_fail
;
27966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27968 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
27969 result
= (wxRendererNative
*) &_result_ref
;
27971 wxPyEndAllowThreads(__tstate
);
27972 if (PyErr_Occurred()) SWIG_fail
;
27974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27981 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27982 PyObject
*resultobj
= 0;
27983 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27984 wxRendererNative
*result
= 0 ;
27987 PyObject
* obj0
= 0 ;
27988 char * kwnames
[] = {
27989 (char *) "renderer", NULL
27992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
27993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27994 if (!SWIG_IsOK(res1
)) {
27995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27997 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27999 if (!wxPyCheckForApp()) SWIG_fail
;
28000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28001 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
28002 wxPyEndAllowThreads(__tstate
);
28003 if (PyErr_Occurred()) SWIG_fail
;
28005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28012 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28013 PyObject
*resultobj
= 0;
28014 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28015 SwigValueWrapper
<wxRendererVersion
> result
;
28018 PyObject
*swig_obj
[1] ;
28020 if (!args
) SWIG_fail
;
28021 swig_obj
[0] = args
;
28022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28023 if (!SWIG_IsOK(res1
)) {
28024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
28026 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28029 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
28030 wxPyEndAllowThreads(__tstate
);
28031 if (PyErr_Occurred()) SWIG_fail
;
28033 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
28040 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28042 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28043 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
28044 return SWIG_Py_Void();
28047 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28048 PyObject
*resultobj
= 0;
28049 wxPseudoDC
*result
= 0 ;
28051 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
28053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28054 result
= (wxPseudoDC
*)new wxPseudoDC();
28055 wxPyEndAllowThreads(__tstate
);
28056 if (PyErr_Occurred()) SWIG_fail
;
28058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
28065 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28066 PyObject
*resultobj
= 0;
28067 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28070 PyObject
*swig_obj
[1] ;
28072 if (!args
) SWIG_fail
;
28073 swig_obj
[0] = args
;
28074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28075 if (!SWIG_IsOK(res1
)) {
28076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28078 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28081 (arg1
)->BeginDrawing();
28082 wxPyEndAllowThreads(__tstate
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28085 resultobj
= SWIG_Py_Void();
28092 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28093 PyObject
*resultobj
= 0;
28094 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28097 PyObject
*swig_obj
[1] ;
28099 if (!args
) SWIG_fail
;
28100 swig_obj
[0] = args
;
28101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28102 if (!SWIG_IsOK(res1
)) {
28103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28105 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28108 (arg1
)->EndDrawing();
28109 wxPyEndAllowThreads(__tstate
);
28110 if (PyErr_Occurred()) SWIG_fail
;
28112 resultobj
= SWIG_Py_Void();
28119 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28120 PyObject
*resultobj
= 0;
28121 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28124 PyObject
*swig_obj
[1] ;
28126 if (!args
) SWIG_fail
;
28127 swig_obj
[0] = args
;
28128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
28129 if (!SWIG_IsOK(res1
)) {
28130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28132 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28137 wxPyEndAllowThreads(__tstate
);
28138 if (PyErr_Occurred()) SWIG_fail
;
28140 resultobj
= SWIG_Py_Void();
28147 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28148 PyObject
*resultobj
= 0;
28149 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28152 PyObject
*swig_obj
[1] ;
28154 if (!args
) SWIG_fail
;
28155 swig_obj
[0] = args
;
28156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28157 if (!SWIG_IsOK(res1
)) {
28158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28160 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28163 (arg1
)->RemoveAll();
28164 wxPyEndAllowThreads(__tstate
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28167 resultobj
= SWIG_Py_Void();
28174 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28175 PyObject
*resultobj
= 0;
28176 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28180 PyObject
*swig_obj
[1] ;
28182 if (!args
) SWIG_fail
;
28183 swig_obj
[0] = args
;
28184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28185 if (!SWIG_IsOK(res1
)) {
28186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28188 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28191 result
= (int)(arg1
)->GetLen();
28192 wxPyEndAllowThreads(__tstate
);
28193 if (PyErr_Occurred()) SWIG_fail
;
28195 resultobj
= SWIG_From_int(static_cast< int >(result
));
28202 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28203 PyObject
*resultobj
= 0;
28204 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28210 PyObject
* obj0
= 0 ;
28211 PyObject
* obj1
= 0 ;
28212 char * kwnames
[] = {
28213 (char *) "self",(char *) "id", NULL
28216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28218 if (!SWIG_IsOK(res1
)) {
28219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28221 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28223 if (!SWIG_IsOK(ecode2
)) {
28224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
28226 arg2
= static_cast< int >(val2
);
28228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28229 (arg1
)->SetId(arg2
);
28230 wxPyEndAllowThreads(__tstate
);
28231 if (PyErr_Occurred()) SWIG_fail
;
28233 resultobj
= SWIG_Py_Void();
28240 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28241 PyObject
*resultobj
= 0;
28242 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28248 PyObject
* obj0
= 0 ;
28249 PyObject
* obj1
= 0 ;
28250 char * kwnames
[] = {
28251 (char *) "self",(char *) "id", NULL
28254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28256 if (!SWIG_IsOK(res1
)) {
28257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28259 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28261 if (!SWIG_IsOK(ecode2
)) {
28262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
28264 arg2
= static_cast< int >(val2
);
28266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28267 (arg1
)->ClearId(arg2
);
28268 wxPyEndAllowThreads(__tstate
);
28269 if (PyErr_Occurred()) SWIG_fail
;
28271 resultobj
= SWIG_Py_Void();
28278 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28279 PyObject
*resultobj
= 0;
28280 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28286 PyObject
* obj0
= 0 ;
28287 PyObject
* obj1
= 0 ;
28288 char * kwnames
[] = {
28289 (char *) "self",(char *) "id", NULL
28292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28294 if (!SWIG_IsOK(res1
)) {
28295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28297 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28299 if (!SWIG_IsOK(ecode2
)) {
28300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
28302 arg2
= static_cast< int >(val2
);
28304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28305 (arg1
)->RemoveId(arg2
);
28306 wxPyEndAllowThreads(__tstate
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28309 resultobj
= SWIG_Py_Void();
28316 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28317 PyObject
*resultobj
= 0;
28318 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28330 PyObject
* obj0
= 0 ;
28331 PyObject
* obj1
= 0 ;
28332 PyObject
* obj2
= 0 ;
28333 PyObject
* obj3
= 0 ;
28334 char * kwnames
[] = {
28335 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
28338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28340 if (!SWIG_IsOK(res1
)) {
28341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28343 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28345 if (!SWIG_IsOK(ecode2
)) {
28346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
28348 arg2
= static_cast< int >(val2
);
28349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28350 if (!SWIG_IsOK(ecode3
)) {
28351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
28353 arg3
= static_cast< int >(val3
);
28354 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28355 if (!SWIG_IsOK(ecode4
)) {
28356 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
28358 arg4
= static_cast< int >(val4
);
28360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28361 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
28362 wxPyEndAllowThreads(__tstate
);
28363 if (PyErr_Occurred()) SWIG_fail
;
28365 resultobj
= SWIG_Py_Void();
28372 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28373 PyObject
*resultobj
= 0;
28374 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28376 wxDC
*arg3
= (wxDC
*) 0 ;
28383 PyObject
* obj0
= 0 ;
28384 PyObject
* obj1
= 0 ;
28385 PyObject
* obj2
= 0 ;
28386 char * kwnames
[] = {
28387 (char *) "self",(char *) "id",(char *) "dc", NULL
28390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28392 if (!SWIG_IsOK(res1
)) {
28393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28395 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28397 if (!SWIG_IsOK(ecode2
)) {
28398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
28400 arg2
= static_cast< int >(val2
);
28401 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
28402 if (!SWIG_IsOK(res3
)) {
28403 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
28405 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28408 (arg1
)->DrawIdToDC(arg2
,arg3
);
28409 wxPyEndAllowThreads(__tstate
);
28410 if (PyErr_Occurred()) SWIG_fail
;
28412 resultobj
= SWIG_Py_Void();
28419 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28420 PyObject
*resultobj
= 0;
28421 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28429 PyObject
* obj0
= 0 ;
28430 PyObject
* obj1
= 0 ;
28431 PyObject
* obj2
= 0 ;
28432 char * kwnames
[] = {
28433 (char *) "self",(char *) "id",(char *) "rect", NULL
28436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28438 if (!SWIG_IsOK(res1
)) {
28439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28441 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28443 if (!SWIG_IsOK(ecode2
)) {
28444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
28446 arg2
= static_cast< int >(val2
);
28449 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28453 (arg1
)->SetIdBounds(arg2
,*arg3
);
28454 wxPyEndAllowThreads(__tstate
);
28455 if (PyErr_Occurred()) SWIG_fail
;
28457 resultobj
= SWIG_Py_Void();
28464 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28465 PyObject
*resultobj
= 0;
28466 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28473 PyObject
* obj0
= 0 ;
28474 PyObject
* obj1
= 0 ;
28475 char * kwnames
[] = {
28476 (char *) "self",(char *) "id", NULL
28479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28481 if (!SWIG_IsOK(res1
)) {
28482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28484 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28486 if (!SWIG_IsOK(ecode2
)) {
28487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
28489 arg2
= static_cast< int >(val2
);
28491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28492 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
28493 wxPyEndAllowThreads(__tstate
);
28494 if (PyErr_Occurred()) SWIG_fail
;
28496 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28503 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28504 PyObject
*resultobj
= 0;
28505 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28506 wxDC
*arg2
= (wxDC
*) 0 ;
28513 PyObject
* obj0
= 0 ;
28514 PyObject
* obj1
= 0 ;
28515 PyObject
* obj2
= 0 ;
28516 char * kwnames
[] = {
28517 (char *) "self",(char *) "dc",(char *) "rect", NULL
28520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28522 if (!SWIG_IsOK(res1
)) {
28523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28525 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28526 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28527 if (!SWIG_IsOK(res2
)) {
28528 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
28530 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28533 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28537 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
28538 wxPyEndAllowThreads(__tstate
);
28539 if (PyErr_Occurred()) SWIG_fail
;
28541 resultobj
= SWIG_Py_Void();
28548 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28549 PyObject
*resultobj
= 0;
28550 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28551 wxDC
*arg2
= (wxDC
*) 0 ;
28552 wxRegion
*arg3
= 0 ;
28559 PyObject
* obj0
= 0 ;
28560 PyObject
* obj1
= 0 ;
28561 PyObject
* obj2
= 0 ;
28562 char * kwnames
[] = {
28563 (char *) "self",(char *) "dc",(char *) "region", NULL
28566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28568 if (!SWIG_IsOK(res1
)) {
28569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28571 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28572 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28573 if (!SWIG_IsOK(res2
)) {
28574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
28576 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28577 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
28578 if (!SWIG_IsOK(res3
)) {
28579 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
28582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
28584 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
28586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28587 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
28588 wxPyEndAllowThreads(__tstate
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28591 resultobj
= SWIG_Py_Void();
28598 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28599 PyObject
*resultobj
= 0;
28600 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28601 wxDC
*arg2
= (wxDC
*) 0 ;
28606 PyObject
* obj0
= 0 ;
28607 PyObject
* obj1
= 0 ;
28608 char * kwnames
[] = {
28609 (char *) "self",(char *) "dc", NULL
28612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28614 if (!SWIG_IsOK(res1
)) {
28615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28617 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28618 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28619 if (!SWIG_IsOK(res2
)) {
28620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
28622 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28625 (arg1
)->DrawToDC(arg2
);
28626 wxPyEndAllowThreads(__tstate
);
28627 if (PyErr_Occurred()) SWIG_fail
;
28629 resultobj
= SWIG_Py_Void();
28636 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28637 PyObject
*resultobj
= 0;
28638 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28641 wxColour
*arg4
= 0 ;
28642 int arg5
= (int) wxFLOOD_SURFACE
;
28652 PyObject
* obj0
= 0 ;
28653 PyObject
* obj1
= 0 ;
28654 PyObject
* obj2
= 0 ;
28655 PyObject
* obj3
= 0 ;
28656 PyObject
* obj4
= 0 ;
28657 char * kwnames
[] = {
28658 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
28661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28663 if (!SWIG_IsOK(res1
)) {
28664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28666 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28668 if (!SWIG_IsOK(ecode2
)) {
28669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
28671 arg2
= static_cast< int >(val2
);
28672 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28673 if (!SWIG_IsOK(ecode3
)) {
28674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
28676 arg3
= static_cast< int >(val3
);
28679 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
28682 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28683 if (!SWIG_IsOK(ecode5
)) {
28684 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
28686 arg5
= static_cast< int >(val5
);
28689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28690 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
28691 wxPyEndAllowThreads(__tstate
);
28692 if (PyErr_Occurred()) SWIG_fail
;
28694 resultobj
= SWIG_Py_Void();
28701 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28702 PyObject
*resultobj
= 0;
28703 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28704 wxPoint
*arg2
= 0 ;
28705 wxColour
*arg3
= 0 ;
28706 int arg4
= (int) wxFLOOD_SURFACE
;
28713 PyObject
* obj0
= 0 ;
28714 PyObject
* obj1
= 0 ;
28715 PyObject
* obj2
= 0 ;
28716 PyObject
* obj3
= 0 ;
28717 char * kwnames
[] = {
28718 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
28721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28723 if (!SWIG_IsOK(res1
)) {
28724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28726 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28729 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28733 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28736 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28737 if (!SWIG_IsOK(ecode4
)) {
28738 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
28740 arg4
= static_cast< int >(val4
);
28743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28744 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
28745 wxPyEndAllowThreads(__tstate
);
28746 if (PyErr_Occurred()) SWIG_fail
;
28748 resultobj
= SWIG_Py_Void();
28755 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28756 PyObject
*resultobj
= 0;
28757 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28772 PyObject
* obj0
= 0 ;
28773 PyObject
* obj1
= 0 ;
28774 PyObject
* obj2
= 0 ;
28775 PyObject
* obj3
= 0 ;
28776 PyObject
* obj4
= 0 ;
28777 char * kwnames
[] = {
28778 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
28781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28783 if (!SWIG_IsOK(res1
)) {
28784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28786 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28788 if (!SWIG_IsOK(ecode2
)) {
28789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
28791 arg2
= static_cast< int >(val2
);
28792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28793 if (!SWIG_IsOK(ecode3
)) {
28794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
28796 arg3
= static_cast< int >(val3
);
28797 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28798 if (!SWIG_IsOK(ecode4
)) {
28799 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
28801 arg4
= static_cast< int >(val4
);
28802 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28803 if (!SWIG_IsOK(ecode5
)) {
28804 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
28806 arg5
= static_cast< int >(val5
);
28808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28809 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28813 resultobj
= SWIG_Py_Void();
28820 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28821 PyObject
*resultobj
= 0;
28822 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28823 wxPoint
*arg2
= 0 ;
28824 wxPoint
*arg3
= 0 ;
28829 PyObject
* obj0
= 0 ;
28830 PyObject
* obj1
= 0 ;
28831 PyObject
* obj2
= 0 ;
28832 char * kwnames
[] = {
28833 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
28836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28838 if (!SWIG_IsOK(res1
)) {
28839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28841 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28844 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28848 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28852 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
28853 wxPyEndAllowThreads(__tstate
);
28854 if (PyErr_Occurred()) SWIG_fail
;
28856 resultobj
= SWIG_Py_Void();
28863 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28864 PyObject
*resultobj
= 0;
28865 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28874 PyObject
* obj0
= 0 ;
28875 PyObject
* obj1
= 0 ;
28876 PyObject
* obj2
= 0 ;
28877 char * kwnames
[] = {
28878 (char *) "self",(char *) "x",(char *) "y", NULL
28881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28883 if (!SWIG_IsOK(res1
)) {
28884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28886 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28888 if (!SWIG_IsOK(ecode2
)) {
28889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
28891 arg2
= static_cast< int >(val2
);
28892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28893 if (!SWIG_IsOK(ecode3
)) {
28894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
28896 arg3
= static_cast< int >(val3
);
28898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28899 (arg1
)->CrossHair(arg2
,arg3
);
28900 wxPyEndAllowThreads(__tstate
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28903 resultobj
= SWIG_Py_Void();
28910 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
= 0;
28912 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28913 wxPoint
*arg2
= 0 ;
28917 PyObject
* obj0
= 0 ;
28918 PyObject
* obj1
= 0 ;
28919 char * kwnames
[] = {
28920 (char *) "self",(char *) "pt", NULL
28923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28925 if (!SWIG_IsOK(res1
)) {
28926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28928 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28931 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28935 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
28936 wxPyEndAllowThreads(__tstate
);
28937 if (PyErr_Occurred()) SWIG_fail
;
28939 resultobj
= SWIG_Py_Void();
28946 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28947 PyObject
*resultobj
= 0;
28948 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28969 PyObject
* obj0
= 0 ;
28970 PyObject
* obj1
= 0 ;
28971 PyObject
* obj2
= 0 ;
28972 PyObject
* obj3
= 0 ;
28973 PyObject
* obj4
= 0 ;
28974 PyObject
* obj5
= 0 ;
28975 PyObject
* obj6
= 0 ;
28976 char * kwnames
[] = {
28977 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
28980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28982 if (!SWIG_IsOK(res1
)) {
28983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28985 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28987 if (!SWIG_IsOK(ecode2
)) {
28988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
28990 arg2
= static_cast< int >(val2
);
28991 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28992 if (!SWIG_IsOK(ecode3
)) {
28993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
28995 arg3
= static_cast< int >(val3
);
28996 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28997 if (!SWIG_IsOK(ecode4
)) {
28998 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
29000 arg4
= static_cast< int >(val4
);
29001 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29002 if (!SWIG_IsOK(ecode5
)) {
29003 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
29005 arg5
= static_cast< int >(val5
);
29006 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
29007 if (!SWIG_IsOK(ecode6
)) {
29008 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
29010 arg6
= static_cast< int >(val6
);
29011 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
29012 if (!SWIG_IsOK(ecode7
)) {
29013 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
29015 arg7
= static_cast< int >(val7
);
29017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29018 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29019 wxPyEndAllowThreads(__tstate
);
29020 if (PyErr_Occurred()) SWIG_fail
;
29022 resultobj
= SWIG_Py_Void();
29029 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29030 PyObject
*resultobj
= 0;
29031 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29032 wxPoint
*arg2
= 0 ;
29033 wxPoint
*arg3
= 0 ;
29034 wxPoint
*arg4
= 0 ;
29040 PyObject
* obj0
= 0 ;
29041 PyObject
* obj1
= 0 ;
29042 PyObject
* obj2
= 0 ;
29043 PyObject
* obj3
= 0 ;
29044 char * kwnames
[] = {
29045 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
29048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29050 if (!SWIG_IsOK(res1
)) {
29051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29053 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29056 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29060 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29064 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29068 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
29069 wxPyEndAllowThreads(__tstate
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29072 resultobj
= SWIG_Py_Void();
29079 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29080 PyObject
*resultobj
= 0;
29081 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29096 PyObject
* obj0
= 0 ;
29097 PyObject
* obj1
= 0 ;
29098 PyObject
* obj2
= 0 ;
29099 PyObject
* obj3
= 0 ;
29100 PyObject
* obj4
= 0 ;
29101 char * kwnames
[] = {
29102 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29107 if (!SWIG_IsOK(res1
)) {
29108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29110 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29112 if (!SWIG_IsOK(ecode2
)) {
29113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
29115 arg2
= static_cast< int >(val2
);
29116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29117 if (!SWIG_IsOK(ecode3
)) {
29118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
29120 arg3
= static_cast< int >(val3
);
29121 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29122 if (!SWIG_IsOK(ecode4
)) {
29123 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
29125 arg4
= static_cast< int >(val4
);
29126 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29127 if (!SWIG_IsOK(ecode5
)) {
29128 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
29130 arg5
= static_cast< int >(val5
);
29132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29133 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
29134 wxPyEndAllowThreads(__tstate
);
29135 if (PyErr_Occurred()) SWIG_fail
;
29137 resultobj
= SWIG_Py_Void();
29144 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29145 PyObject
*resultobj
= 0;
29146 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29151 PyObject
* obj0
= 0 ;
29152 PyObject
* obj1
= 0 ;
29153 char * kwnames
[] = {
29154 (char *) "self",(char *) "rect", NULL
29157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29159 if (!SWIG_IsOK(res1
)) {
29160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29162 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29165 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29169 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
29170 wxPyEndAllowThreads(__tstate
);
29171 if (PyErr_Occurred()) SWIG_fail
;
29173 resultobj
= SWIG_Py_Void();
29180 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29181 PyObject
*resultobj
= 0;
29182 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29203 PyObject
* obj0
= 0 ;
29204 PyObject
* obj1
= 0 ;
29205 PyObject
* obj2
= 0 ;
29206 PyObject
* obj3
= 0 ;
29207 PyObject
* obj4
= 0 ;
29208 PyObject
* obj5
= 0 ;
29209 PyObject
* obj6
= 0 ;
29210 char * kwnames
[] = {
29211 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
29214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29216 if (!SWIG_IsOK(res1
)) {
29217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29219 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29221 if (!SWIG_IsOK(ecode2
)) {
29222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
29224 arg2
= static_cast< int >(val2
);
29225 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29226 if (!SWIG_IsOK(ecode3
)) {
29227 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
29229 arg3
= static_cast< int >(val3
);
29230 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29231 if (!SWIG_IsOK(ecode4
)) {
29232 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
29234 arg4
= static_cast< int >(val4
);
29235 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29236 if (!SWIG_IsOK(ecode5
)) {
29237 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
29239 arg5
= static_cast< int >(val5
);
29240 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29241 if (!SWIG_IsOK(ecode6
)) {
29242 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
29244 arg6
= static_cast< double >(val6
);
29245 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
29246 if (!SWIG_IsOK(ecode7
)) {
29247 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
29249 arg7
= static_cast< double >(val7
);
29251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29252 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29253 wxPyEndAllowThreads(__tstate
);
29254 if (PyErr_Occurred()) SWIG_fail
;
29256 resultobj
= SWIG_Py_Void();
29263 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29264 PyObject
*resultobj
= 0;
29265 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29266 wxPoint
*arg2
= 0 ;
29278 PyObject
* obj0
= 0 ;
29279 PyObject
* obj1
= 0 ;
29280 PyObject
* obj2
= 0 ;
29281 PyObject
* obj3
= 0 ;
29282 PyObject
* obj4
= 0 ;
29283 char * kwnames
[] = {
29284 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
29287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29289 if (!SWIG_IsOK(res1
)) {
29290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29292 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29295 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29299 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29301 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29302 if (!SWIG_IsOK(ecode4
)) {
29303 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
29305 arg4
= static_cast< double >(val4
);
29306 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29307 if (!SWIG_IsOK(ecode5
)) {
29308 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
29310 arg5
= static_cast< double >(val5
);
29312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
29314 wxPyEndAllowThreads(__tstate
);
29315 if (PyErr_Occurred()) SWIG_fail
;
29317 resultobj
= SWIG_Py_Void();
29324 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29325 PyObject
*resultobj
= 0;
29326 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29335 PyObject
* obj0
= 0 ;
29336 PyObject
* obj1
= 0 ;
29337 PyObject
* obj2
= 0 ;
29338 char * kwnames
[] = {
29339 (char *) "self",(char *) "x",(char *) "y", NULL
29342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29344 if (!SWIG_IsOK(res1
)) {
29345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29347 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29349 if (!SWIG_IsOK(ecode2
)) {
29350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
29352 arg2
= static_cast< int >(val2
);
29353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29354 if (!SWIG_IsOK(ecode3
)) {
29355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
29357 arg3
= static_cast< int >(val3
);
29359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29360 (arg1
)->DrawPoint(arg2
,arg3
);
29361 wxPyEndAllowThreads(__tstate
);
29362 if (PyErr_Occurred()) SWIG_fail
;
29364 resultobj
= SWIG_Py_Void();
29371 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29372 PyObject
*resultobj
= 0;
29373 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29374 wxPoint
*arg2
= 0 ;
29378 PyObject
* obj0
= 0 ;
29379 PyObject
* obj1
= 0 ;
29380 char * kwnames
[] = {
29381 (char *) "self",(char *) "pt", NULL
29384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",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_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29389 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29392 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29396 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
29397 wxPyEndAllowThreads(__tstate
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29400 resultobj
= SWIG_Py_Void();
29407 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29408 PyObject
*resultobj
= 0;
29409 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29424 PyObject
* obj0
= 0 ;
29425 PyObject
* obj1
= 0 ;
29426 PyObject
* obj2
= 0 ;
29427 PyObject
* obj3
= 0 ;
29428 PyObject
* obj4
= 0 ;
29429 char * kwnames
[] = {
29430 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29435 if (!SWIG_IsOK(res1
)) {
29436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29438 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29440 if (!SWIG_IsOK(ecode2
)) {
29441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
29443 arg2
= static_cast< int >(val2
);
29444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29445 if (!SWIG_IsOK(ecode3
)) {
29446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
29448 arg3
= static_cast< int >(val3
);
29449 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29450 if (!SWIG_IsOK(ecode4
)) {
29451 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
29453 arg4
= static_cast< int >(val4
);
29454 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29455 if (!SWIG_IsOK(ecode5
)) {
29456 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
29458 arg5
= static_cast< int >(val5
);
29460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29461 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29462 wxPyEndAllowThreads(__tstate
);
29463 if (PyErr_Occurred()) SWIG_fail
;
29465 resultobj
= SWIG_Py_Void();
29472 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29473 PyObject
*resultobj
= 0;
29474 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29479 PyObject
* obj0
= 0 ;
29480 PyObject
* obj1
= 0 ;
29481 char * kwnames
[] = {
29482 (char *) "self",(char *) "rect", NULL
29485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29487 if (!SWIG_IsOK(res1
)) {
29488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29490 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29493 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29497 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
29498 wxPyEndAllowThreads(__tstate
);
29499 if (PyErr_Occurred()) SWIG_fail
;
29501 resultobj
= SWIG_Py_Void();
29508 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29509 PyObject
*resultobj
= 0;
29510 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29511 wxPoint
*arg2
= 0 ;
29517 PyObject
* obj0
= 0 ;
29518 PyObject
* obj1
= 0 ;
29519 PyObject
* obj2
= 0 ;
29520 char * kwnames
[] = {
29521 (char *) "self",(char *) "pt",(char *) "sz", NULL
29524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29526 if (!SWIG_IsOK(res1
)) {
29527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29529 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29532 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29536 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29540 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
29541 wxPyEndAllowThreads(__tstate
);
29542 if (PyErr_Occurred()) SWIG_fail
;
29544 resultobj
= SWIG_Py_Void();
29551 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29552 PyObject
*resultobj
= 0;
29553 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29571 PyObject
* obj0
= 0 ;
29572 PyObject
* obj1
= 0 ;
29573 PyObject
* obj2
= 0 ;
29574 PyObject
* obj3
= 0 ;
29575 PyObject
* obj4
= 0 ;
29576 PyObject
* obj5
= 0 ;
29577 char * kwnames
[] = {
29578 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
29581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29583 if (!SWIG_IsOK(res1
)) {
29584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29586 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29588 if (!SWIG_IsOK(ecode2
)) {
29589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
29591 arg2
= static_cast< int >(val2
);
29592 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29593 if (!SWIG_IsOK(ecode3
)) {
29594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
29596 arg3
= static_cast< int >(val3
);
29597 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29598 if (!SWIG_IsOK(ecode4
)) {
29599 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
29601 arg4
= static_cast< int >(val4
);
29602 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29603 if (!SWIG_IsOK(ecode5
)) {
29604 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
29606 arg5
= static_cast< int >(val5
);
29607 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29608 if (!SWIG_IsOK(ecode6
)) {
29609 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
29611 arg6
= static_cast< double >(val6
);
29613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29614 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29615 wxPyEndAllowThreads(__tstate
);
29616 if (PyErr_Occurred()) SWIG_fail
;
29618 resultobj
= SWIG_Py_Void();
29625 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29626 PyObject
*resultobj
= 0;
29627 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29635 PyObject
* obj0
= 0 ;
29636 PyObject
* obj1
= 0 ;
29637 PyObject
* obj2
= 0 ;
29638 char * kwnames
[] = {
29639 (char *) "self",(char *) "r",(char *) "radius", NULL
29642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29644 if (!SWIG_IsOK(res1
)) {
29645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29647 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29650 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29652 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29653 if (!SWIG_IsOK(ecode3
)) {
29654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
29656 arg3
= static_cast< double >(val3
);
29658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29659 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
29660 wxPyEndAllowThreads(__tstate
);
29661 if (PyErr_Occurred()) SWIG_fail
;
29663 resultobj
= SWIG_Py_Void();
29670 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29671 PyObject
*resultobj
= 0;
29672 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29673 wxPoint
*arg2
= 0 ;
29682 PyObject
* obj0
= 0 ;
29683 PyObject
* obj1
= 0 ;
29684 PyObject
* obj2
= 0 ;
29685 PyObject
* obj3
= 0 ;
29686 char * kwnames
[] = {
29687 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
29690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29692 if (!SWIG_IsOK(res1
)) {
29693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29695 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29698 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29702 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29704 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29705 if (!SWIG_IsOK(ecode4
)) {
29706 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
29708 arg4
= static_cast< double >(val4
);
29710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29711 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
29712 wxPyEndAllowThreads(__tstate
);
29713 if (PyErr_Occurred()) SWIG_fail
;
29715 resultobj
= SWIG_Py_Void();
29722 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29723 PyObject
*resultobj
= 0;
29724 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29736 PyObject
* obj0
= 0 ;
29737 PyObject
* obj1
= 0 ;
29738 PyObject
* obj2
= 0 ;
29739 PyObject
* obj3
= 0 ;
29740 char * kwnames
[] = {
29741 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
29744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29746 if (!SWIG_IsOK(res1
)) {
29747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29749 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29751 if (!SWIG_IsOK(ecode2
)) {
29752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
29754 arg2
= static_cast< int >(val2
);
29755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29756 if (!SWIG_IsOK(ecode3
)) {
29757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
29759 arg3
= static_cast< int >(val3
);
29760 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29761 if (!SWIG_IsOK(ecode4
)) {
29762 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
29764 arg4
= static_cast< int >(val4
);
29766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29767 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
29768 wxPyEndAllowThreads(__tstate
);
29769 if (PyErr_Occurred()) SWIG_fail
;
29771 resultobj
= SWIG_Py_Void();
29778 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29779 PyObject
*resultobj
= 0;
29780 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29781 wxPoint
*arg2
= 0 ;
29788 PyObject
* obj0
= 0 ;
29789 PyObject
* obj1
= 0 ;
29790 PyObject
* obj2
= 0 ;
29791 char * kwnames
[] = {
29792 (char *) "self",(char *) "pt",(char *) "radius", NULL
29795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29797 if (!SWIG_IsOK(res1
)) {
29798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29800 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29803 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29805 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29806 if (!SWIG_IsOK(ecode3
)) {
29807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
29809 arg3
= static_cast< int >(val3
);
29811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29812 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
29813 wxPyEndAllowThreads(__tstate
);
29814 if (PyErr_Occurred()) SWIG_fail
;
29816 resultobj
= SWIG_Py_Void();
29823 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29824 PyObject
*resultobj
= 0;
29825 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29840 PyObject
* obj0
= 0 ;
29841 PyObject
* obj1
= 0 ;
29842 PyObject
* obj2
= 0 ;
29843 PyObject
* obj3
= 0 ;
29844 PyObject
* obj4
= 0 ;
29845 char * kwnames
[] = {
29846 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29851 if (!SWIG_IsOK(res1
)) {
29852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29854 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29856 if (!SWIG_IsOK(ecode2
)) {
29857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
29859 arg2
= static_cast< int >(val2
);
29860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29861 if (!SWIG_IsOK(ecode3
)) {
29862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
29864 arg3
= static_cast< int >(val3
);
29865 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29866 if (!SWIG_IsOK(ecode4
)) {
29867 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
29869 arg4
= static_cast< int >(val4
);
29870 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29871 if (!SWIG_IsOK(ecode5
)) {
29872 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
29874 arg5
= static_cast< int >(val5
);
29876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29877 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29878 wxPyEndAllowThreads(__tstate
);
29879 if (PyErr_Occurred()) SWIG_fail
;
29881 resultobj
= SWIG_Py_Void();
29888 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29889 PyObject
*resultobj
= 0;
29890 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29895 PyObject
* obj0
= 0 ;
29896 PyObject
* obj1
= 0 ;
29897 char * kwnames
[] = {
29898 (char *) "self",(char *) "rect", NULL
29901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29903 if (!SWIG_IsOK(res1
)) {
29904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29906 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29909 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29913 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
29914 wxPyEndAllowThreads(__tstate
);
29915 if (PyErr_Occurred()) SWIG_fail
;
29917 resultobj
= SWIG_Py_Void();
29924 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29925 PyObject
*resultobj
= 0;
29926 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29927 wxPoint
*arg2
= 0 ;
29933 PyObject
* obj0
= 0 ;
29934 PyObject
* obj1
= 0 ;
29935 PyObject
* obj2
= 0 ;
29936 char * kwnames
[] = {
29937 (char *) "self",(char *) "pt",(char *) "sz", NULL
29940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29942 if (!SWIG_IsOK(res1
)) {
29943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29945 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29948 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29952 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29956 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
29957 wxPyEndAllowThreads(__tstate
);
29958 if (PyErr_Occurred()) SWIG_fail
;
29960 resultobj
= SWIG_Py_Void();
29967 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29968 PyObject
*resultobj
= 0;
29969 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29981 PyObject
* obj0
= 0 ;
29982 PyObject
* obj1
= 0 ;
29983 PyObject
* obj2
= 0 ;
29984 PyObject
* obj3
= 0 ;
29985 char * kwnames
[] = {
29986 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
29989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29991 if (!SWIG_IsOK(res1
)) {
29992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29994 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29995 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29996 if (!SWIG_IsOK(res2
)) {
29997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30002 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30004 if (!SWIG_IsOK(ecode3
)) {
30005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
30007 arg3
= static_cast< int >(val3
);
30008 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30009 if (!SWIG_IsOK(ecode4
)) {
30010 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
30012 arg4
= static_cast< int >(val4
);
30014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30015 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
30016 wxPyEndAllowThreads(__tstate
);
30017 if (PyErr_Occurred()) SWIG_fail
;
30019 resultobj
= SWIG_Py_Void();
30026 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30027 PyObject
*resultobj
= 0;
30028 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30030 wxPoint
*arg3
= 0 ;
30036 PyObject
* obj0
= 0 ;
30037 PyObject
* obj1
= 0 ;
30038 PyObject
* obj2
= 0 ;
30039 char * kwnames
[] = {
30040 (char *) "self",(char *) "icon",(char *) "pt", NULL
30043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30045 if (!SWIG_IsOK(res1
)) {
30046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30048 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30049 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30050 if (!SWIG_IsOK(res2
)) {
30051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
30054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
30056 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30059 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30063 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
30064 wxPyEndAllowThreads(__tstate
);
30065 if (PyErr_Occurred()) SWIG_fail
;
30067 resultobj
= SWIG_Py_Void();
30074 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30075 PyObject
*resultobj
= 0;
30076 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30077 wxBitmap
*arg2
= 0 ;
30080 bool arg5
= (bool) false ;
30091 PyObject
* obj0
= 0 ;
30092 PyObject
* obj1
= 0 ;
30093 PyObject
* obj2
= 0 ;
30094 PyObject
* obj3
= 0 ;
30095 PyObject
* obj4
= 0 ;
30096 char * kwnames
[] = {
30097 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
30100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30102 if (!SWIG_IsOK(res1
)) {
30103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30105 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30106 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30107 if (!SWIG_IsOK(res2
)) {
30108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30113 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30115 if (!SWIG_IsOK(ecode3
)) {
30116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
30118 arg3
= static_cast< int >(val3
);
30119 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30120 if (!SWIG_IsOK(ecode4
)) {
30121 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
30123 arg4
= static_cast< int >(val4
);
30125 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
30126 if (!SWIG_IsOK(ecode5
)) {
30127 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
30129 arg5
= static_cast< bool >(val5
);
30132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30133 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
30134 wxPyEndAllowThreads(__tstate
);
30135 if (PyErr_Occurred()) SWIG_fail
;
30137 resultobj
= SWIG_Py_Void();
30144 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30145 PyObject
*resultobj
= 0;
30146 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30147 wxBitmap
*arg2
= 0 ;
30148 wxPoint
*arg3
= 0 ;
30149 bool arg4
= (bool) false ;
30157 PyObject
* obj0
= 0 ;
30158 PyObject
* obj1
= 0 ;
30159 PyObject
* obj2
= 0 ;
30160 PyObject
* obj3
= 0 ;
30161 char * kwnames
[] = {
30162 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
30165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30167 if (!SWIG_IsOK(res1
)) {
30168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30170 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30171 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30172 if (!SWIG_IsOK(res2
)) {
30173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30178 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30181 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30184 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30185 if (!SWIG_IsOK(ecode4
)) {
30186 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
30188 arg4
= static_cast< bool >(val4
);
30191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30192 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
30193 wxPyEndAllowThreads(__tstate
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30196 resultobj
= SWIG_Py_Void();
30203 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30204 PyObject
*resultobj
= 0;
30205 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30206 wxString
*arg2
= 0 ;
30211 bool temp2
= false ;
30216 PyObject
* obj0
= 0 ;
30217 PyObject
* obj1
= 0 ;
30218 PyObject
* obj2
= 0 ;
30219 PyObject
* obj3
= 0 ;
30220 char * kwnames
[] = {
30221 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
30224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30226 if (!SWIG_IsOK(res1
)) {
30227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30229 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30231 arg2
= wxString_in_helper(obj1
);
30232 if (arg2
== NULL
) SWIG_fail
;
30235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30236 if (!SWIG_IsOK(ecode3
)) {
30237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
30239 arg3
= static_cast< int >(val3
);
30240 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30241 if (!SWIG_IsOK(ecode4
)) {
30242 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
30244 arg4
= static_cast< int >(val4
);
30246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30247 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
30248 wxPyEndAllowThreads(__tstate
);
30249 if (PyErr_Occurred()) SWIG_fail
;
30251 resultobj
= SWIG_Py_Void();
30266 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30267 PyObject
*resultobj
= 0;
30268 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30269 wxString
*arg2
= 0 ;
30270 wxPoint
*arg3
= 0 ;
30273 bool temp2
= false ;
30275 PyObject
* obj0
= 0 ;
30276 PyObject
* obj1
= 0 ;
30277 PyObject
* obj2
= 0 ;
30278 char * kwnames
[] = {
30279 (char *) "self",(char *) "text",(char *) "pt", NULL
30282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30284 if (!SWIG_IsOK(res1
)) {
30285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30287 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30289 arg2
= wxString_in_helper(obj1
);
30290 if (arg2
== NULL
) SWIG_fail
;
30295 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30299 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
30300 wxPyEndAllowThreads(__tstate
);
30301 if (PyErr_Occurred()) SWIG_fail
;
30303 resultobj
= SWIG_Py_Void();
30318 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30319 PyObject
*resultobj
= 0;
30320 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30321 wxString
*arg2
= 0 ;
30327 bool temp2
= false ;
30334 PyObject
* obj0
= 0 ;
30335 PyObject
* obj1
= 0 ;
30336 PyObject
* obj2
= 0 ;
30337 PyObject
* obj3
= 0 ;
30338 PyObject
* obj4
= 0 ;
30339 char * kwnames
[] = {
30340 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
30343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30345 if (!SWIG_IsOK(res1
)) {
30346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30348 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30350 arg2
= wxString_in_helper(obj1
);
30351 if (arg2
== NULL
) SWIG_fail
;
30354 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30355 if (!SWIG_IsOK(ecode3
)) {
30356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
30358 arg3
= static_cast< int >(val3
);
30359 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30360 if (!SWIG_IsOK(ecode4
)) {
30361 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
30363 arg4
= static_cast< int >(val4
);
30364 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30365 if (!SWIG_IsOK(ecode5
)) {
30366 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
30368 arg5
= static_cast< double >(val5
);
30370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30371 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
30372 wxPyEndAllowThreads(__tstate
);
30373 if (PyErr_Occurred()) SWIG_fail
;
30375 resultobj
= SWIG_Py_Void();
30390 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30391 PyObject
*resultobj
= 0;
30392 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30393 wxString
*arg2
= 0 ;
30394 wxPoint
*arg3
= 0 ;
30398 bool temp2
= false ;
30402 PyObject
* obj0
= 0 ;
30403 PyObject
* obj1
= 0 ;
30404 PyObject
* obj2
= 0 ;
30405 PyObject
* obj3
= 0 ;
30406 char * kwnames
[] = {
30407 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
30410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30412 if (!SWIG_IsOK(res1
)) {
30413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30415 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30417 arg2
= wxString_in_helper(obj1
);
30418 if (arg2
== NULL
) SWIG_fail
;
30423 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30425 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30426 if (!SWIG_IsOK(ecode4
)) {
30427 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
30429 arg4
= static_cast< double >(val4
);
30431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30432 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
30433 wxPyEndAllowThreads(__tstate
);
30434 if (PyErr_Occurred()) SWIG_fail
;
30436 resultobj
= SWIG_Py_Void();
30451 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30452 PyObject
*resultobj
= 0;
30453 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30455 wxPoint
*arg3
= (wxPoint
*) 0 ;
30456 int arg4
= (int) 0 ;
30457 int arg5
= (int) 0 ;
30464 PyObject
* obj0
= 0 ;
30465 PyObject
* obj1
= 0 ;
30466 PyObject
* obj2
= 0 ;
30467 PyObject
* obj3
= 0 ;
30468 char * kwnames
[] = {
30469 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
30472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30474 if (!SWIG_IsOK(res1
)) {
30475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30477 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30479 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30480 if (arg3
== NULL
) SWIG_fail
;
30483 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30484 if (!SWIG_IsOK(ecode4
)) {
30485 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
30487 arg4
= static_cast< int >(val4
);
30490 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
30491 if (!SWIG_IsOK(ecode5
)) {
30492 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
30494 arg5
= static_cast< int >(val5
);
30497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30498 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
30499 wxPyEndAllowThreads(__tstate
);
30500 if (PyErr_Occurred()) SWIG_fail
;
30502 resultobj
= SWIG_Py_Void();
30504 if (arg3
) delete [] arg3
;
30509 if (arg3
) delete [] arg3
;
30515 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30516 PyObject
*resultobj
= 0;
30517 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30519 wxPoint
*arg3
= (wxPoint
*) 0 ;
30520 int arg4
= (int) 0 ;
30521 int arg5
= (int) 0 ;
30522 int arg6
= (int) wxODDEVEN_RULE
;
30531 PyObject
* obj0
= 0 ;
30532 PyObject
* obj1
= 0 ;
30533 PyObject
* obj2
= 0 ;
30534 PyObject
* obj3
= 0 ;
30535 PyObject
* obj4
= 0 ;
30536 char * kwnames
[] = {
30537 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
30540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30542 if (!SWIG_IsOK(res1
)) {
30543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30545 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30547 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30548 if (arg3
== NULL
) SWIG_fail
;
30551 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30552 if (!SWIG_IsOK(ecode4
)) {
30553 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
30555 arg4
= static_cast< int >(val4
);
30558 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
30559 if (!SWIG_IsOK(ecode5
)) {
30560 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
30562 arg5
= static_cast< int >(val5
);
30565 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
30566 if (!SWIG_IsOK(ecode6
)) {
30567 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
30569 arg6
= static_cast< int >(val6
);
30572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30573 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
30574 wxPyEndAllowThreads(__tstate
);
30575 if (PyErr_Occurred()) SWIG_fail
;
30577 resultobj
= SWIG_Py_Void();
30579 if (arg3
) delete [] arg3
;
30584 if (arg3
) delete [] arg3
;
30590 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30591 PyObject
*resultobj
= 0;
30592 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30593 wxString
*arg2
= 0 ;
30595 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30596 int arg5
= (int) -1 ;
30599 bool temp2
= false ;
30605 PyObject
* obj0
= 0 ;
30606 PyObject
* obj1
= 0 ;
30607 PyObject
* obj2
= 0 ;
30608 PyObject
* obj3
= 0 ;
30609 PyObject
* obj4
= 0 ;
30610 char * kwnames
[] = {
30611 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30616 if (!SWIG_IsOK(res1
)) {
30617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30619 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30621 arg2
= wxString_in_helper(obj1
);
30622 if (arg2
== NULL
) SWIG_fail
;
30627 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
30630 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30631 if (!SWIG_IsOK(ecode4
)) {
30632 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
30634 arg4
= static_cast< int >(val4
);
30637 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30638 if (!SWIG_IsOK(ecode5
)) {
30639 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
30641 arg5
= static_cast< int >(val5
);
30644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30645 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
30646 wxPyEndAllowThreads(__tstate
);
30647 if (PyErr_Occurred()) SWIG_fail
;
30649 resultobj
= SWIG_Py_Void();
30664 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30665 PyObject
*resultobj
= 0;
30666 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30667 wxString
*arg2
= 0 ;
30668 wxBitmap
*arg3
= 0 ;
30670 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30671 int arg6
= (int) -1 ;
30674 bool temp2
= false ;
30682 PyObject
* obj0
= 0 ;
30683 PyObject
* obj1
= 0 ;
30684 PyObject
* obj2
= 0 ;
30685 PyObject
* obj3
= 0 ;
30686 PyObject
* obj4
= 0 ;
30687 PyObject
* obj5
= 0 ;
30688 char * kwnames
[] = {
30689 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30694 if (!SWIG_IsOK(res1
)) {
30695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30697 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30699 arg2
= wxString_in_helper(obj1
);
30700 if (arg2
== NULL
) SWIG_fail
;
30703 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30704 if (!SWIG_IsOK(res3
)) {
30705 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30710 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30713 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30716 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30717 if (!SWIG_IsOK(ecode5
)) {
30718 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
30720 arg5
= static_cast< int >(val5
);
30723 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30724 if (!SWIG_IsOK(ecode6
)) {
30725 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
30727 arg6
= static_cast< int >(val6
);
30730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30731 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
30732 wxPyEndAllowThreads(__tstate
);
30733 if (PyErr_Occurred()) SWIG_fail
;
30735 resultobj
= SWIG_Py_Void();
30750 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30751 PyObject
*resultobj
= 0;
30752 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30754 wxPoint
*arg3
= (wxPoint
*) 0 ;
30757 PyObject
* obj0
= 0 ;
30758 PyObject
* obj1
= 0 ;
30759 char * kwnames
[] = {
30760 (char *) "self",(char *) "points", NULL
30763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30765 if (!SWIG_IsOK(res1
)) {
30766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30768 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30770 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30771 if (arg3
== NULL
) SWIG_fail
;
30774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30775 (arg1
)->DrawSpline(arg2
,arg3
);
30776 wxPyEndAllowThreads(__tstate
);
30777 if (PyErr_Occurred()) SWIG_fail
;
30779 resultobj
= SWIG_Py_Void();
30781 if (arg3
) delete [] arg3
;
30786 if (arg3
) delete [] arg3
;
30792 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30793 PyObject
*resultobj
= 0;
30794 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30797 PyObject
*swig_obj
[1] ;
30799 if (!args
) SWIG_fail
;
30800 swig_obj
[0] = args
;
30801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30802 if (!SWIG_IsOK(res1
)) {
30803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30805 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30809 wxPyEndAllowThreads(__tstate
);
30810 if (PyErr_Occurred()) SWIG_fail
;
30812 resultobj
= SWIG_Py_Void();
30819 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30820 PyObject
*resultobj
= 0;
30821 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30827 PyObject
* obj0
= 0 ;
30828 PyObject
* obj1
= 0 ;
30829 char * kwnames
[] = {
30830 (char *) "self",(char *) "font", NULL
30833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30835 if (!SWIG_IsOK(res1
)) {
30836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30838 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30839 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30840 if (!SWIG_IsOK(res2
)) {
30841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30846 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30849 (arg1
)->SetFont((wxFont
const &)*arg2
);
30850 wxPyEndAllowThreads(__tstate
);
30851 if (PyErr_Occurred()) SWIG_fail
;
30853 resultobj
= SWIG_Py_Void();
30860 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30861 PyObject
*resultobj
= 0;
30862 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30868 PyObject
* obj0
= 0 ;
30869 PyObject
* obj1
= 0 ;
30870 char * kwnames
[] = {
30871 (char *) "self",(char *) "pen", NULL
30874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30876 if (!SWIG_IsOK(res1
)) {
30877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30879 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30881 if (!SWIG_IsOK(res2
)) {
30882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
30885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
30887 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30890 (arg1
)->SetPen((wxPen
const &)*arg2
);
30891 wxPyEndAllowThreads(__tstate
);
30892 if (PyErr_Occurred()) SWIG_fail
;
30894 resultobj
= SWIG_Py_Void();
30901 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30902 PyObject
*resultobj
= 0;
30903 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30904 wxBrush
*arg2
= 0 ;
30909 PyObject
* obj0
= 0 ;
30910 PyObject
* obj1
= 0 ;
30911 char * kwnames
[] = {
30912 (char *) "self",(char *) "brush", NULL
30915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30917 if (!SWIG_IsOK(res1
)) {
30918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30920 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30921 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30922 if (!SWIG_IsOK(res2
)) {
30923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30928 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30931 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
30932 wxPyEndAllowThreads(__tstate
);
30933 if (PyErr_Occurred()) SWIG_fail
;
30935 resultobj
= SWIG_Py_Void();
30942 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30943 PyObject
*resultobj
= 0;
30944 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30945 wxBrush
*arg2
= 0 ;
30950 PyObject
* obj0
= 0 ;
30951 PyObject
* obj1
= 0 ;
30952 char * kwnames
[] = {
30953 (char *) "self",(char *) "brush", NULL
30956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30958 if (!SWIG_IsOK(res1
)) {
30959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30961 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30962 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30963 if (!SWIG_IsOK(res2
)) {
30964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
30967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
30969 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30972 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
30973 wxPyEndAllowThreads(__tstate
);
30974 if (PyErr_Occurred()) SWIG_fail
;
30976 resultobj
= SWIG_Py_Void();
30983 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30984 PyObject
*resultobj
= 0;
30985 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30991 PyObject
* obj0
= 0 ;
30992 PyObject
* obj1
= 0 ;
30993 char * kwnames
[] = {
30994 (char *) "self",(char *) "mode", NULL
30997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30999 if (!SWIG_IsOK(res1
)) {
31000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31002 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31004 if (!SWIG_IsOK(ecode2
)) {
31005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
31007 arg2
= static_cast< int >(val2
);
31009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31010 (arg1
)->SetBackgroundMode(arg2
);
31011 wxPyEndAllowThreads(__tstate
);
31012 if (PyErr_Occurred()) SWIG_fail
;
31014 resultobj
= SWIG_Py_Void();
31021 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31022 PyObject
*resultobj
= 0;
31023 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31024 wxPalette
*arg2
= 0 ;
31029 PyObject
* obj0
= 0 ;
31030 PyObject
* obj1
= 0 ;
31031 char * kwnames
[] = {
31032 (char *) "self",(char *) "palette", NULL
31035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31037 if (!SWIG_IsOK(res1
)) {
31038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31040 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
31042 if (!SWIG_IsOK(res2
)) {
31043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
31046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
31048 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
31050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31051 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
31052 wxPyEndAllowThreads(__tstate
);
31053 if (PyErr_Occurred()) SWIG_fail
;
31055 resultobj
= SWIG_Py_Void();
31062 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31063 PyObject
*resultobj
= 0;
31064 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31065 wxColour
*arg2
= 0 ;
31069 PyObject
* obj0
= 0 ;
31070 PyObject
* obj1
= 0 ;
31071 char * kwnames
[] = {
31072 (char *) "self",(char *) "colour", NULL
31075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31077 if (!SWIG_IsOK(res1
)) {
31078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31080 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31083 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31087 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
31088 wxPyEndAllowThreads(__tstate
);
31089 if (PyErr_Occurred()) SWIG_fail
;
31091 resultobj
= SWIG_Py_Void();
31098 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31099 PyObject
*resultobj
= 0;
31100 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31101 wxColour
*arg2
= 0 ;
31105 PyObject
* obj0
= 0 ;
31106 PyObject
* obj1
= 0 ;
31107 char * kwnames
[] = {
31108 (char *) "self",(char *) "colour", NULL
31111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31113 if (!SWIG_IsOK(res1
)) {
31114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31116 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31119 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31123 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
31124 wxPyEndAllowThreads(__tstate
);
31125 if (PyErr_Occurred()) SWIG_fail
;
31127 resultobj
= SWIG_Py_Void();
31134 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31135 PyObject
*resultobj
= 0;
31136 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31142 PyObject
* obj0
= 0 ;
31143 PyObject
* obj1
= 0 ;
31144 char * kwnames
[] = {
31145 (char *) "self",(char *) "function", NULL
31148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31150 if (!SWIG_IsOK(res1
)) {
31151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31153 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31155 if (!SWIG_IsOK(ecode2
)) {
31156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
31158 arg2
= static_cast< int >(val2
);
31160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31161 (arg1
)->SetLogicalFunction(arg2
);
31162 wxPyEndAllowThreads(__tstate
);
31163 if (PyErr_Occurred()) SWIG_fail
;
31165 resultobj
= SWIG_Py_Void();
31172 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31174 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31175 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
31176 return SWIG_Py_Void();
31179 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31180 return SWIG_Python_InitShadowInstance(args
);
31183 static PyMethodDef SwigMethods
[] = {
31184 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
31185 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
31186 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
31187 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
31188 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
31189 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
31193 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
31194 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
31195 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
31196 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
31197 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
31198 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31202 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
31203 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31204 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31206 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
31207 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
31208 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
31209 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
31211 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31213 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
31214 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
31215 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
31216 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
31217 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31218 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
31219 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
31220 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
31221 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
31222 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
31223 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
31224 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
31225 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31227 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
31232 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31233 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
31234 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
31237 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
31238 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31240 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
31241 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31242 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31243 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31244 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
31245 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
31246 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
31247 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
31248 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
31249 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
31250 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
31251 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31252 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
31253 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31254 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31255 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31256 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
31259 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
31260 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
31261 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
31262 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
31263 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
31264 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
31265 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31266 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31269 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31270 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
31271 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31272 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31273 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31274 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31275 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31276 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31278 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
31279 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
31280 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31281 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31283 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
31284 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
31285 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
31286 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
31287 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
31288 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
31289 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
31290 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
31291 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
31292 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
31293 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
31294 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
31295 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
31296 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
31297 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
31298 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
31300 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
31301 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31302 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31303 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31304 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31305 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31306 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
31307 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
31308 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
31309 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
31310 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
31311 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
31312 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
31313 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
31314 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
31315 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
31316 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
31317 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
31318 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
31320 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
31321 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31322 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
31327 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
31328 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
31329 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31330 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
31331 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
31332 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
31333 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
31335 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
31336 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31338 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31339 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
31341 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
31342 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
31343 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
31344 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
31349 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
31350 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
31352 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
31353 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31354 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
31355 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
31357 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
31358 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
31359 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
31360 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31362 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
31363 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31366 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
31367 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
31368 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
31370 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31372 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
31373 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
31374 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
31375 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31376 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31377 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31379 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
31380 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
31381 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
31387 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
31391 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
31402 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
31405 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
31406 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
31408 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
31409 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
31410 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
31411 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
31412 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
31413 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
31414 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
31415 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
31416 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
31417 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
31418 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
31419 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
31420 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
31421 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
31422 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
31423 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
31424 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
31426 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
31427 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
31428 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
31429 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
31430 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
31431 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
31432 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
31441 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
31442 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
31444 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
31445 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
31446 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
31447 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
31448 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
31449 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
31450 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
31451 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
31452 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
31454 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
31455 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
31456 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
31459 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
31460 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
31461 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
31464 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
31470 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
31475 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
31476 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
31478 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
31484 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
31487 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
31488 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
31489 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
31490 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
31491 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
31492 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
31493 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
31494 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
31495 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
31496 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
31497 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
31498 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
31499 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
31511 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
31512 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
31513 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
31515 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
31516 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
31518 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
31519 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
31520 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
31521 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
31525 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
31526 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
31528 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
31529 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
31530 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
31531 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
31532 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
31533 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
31534 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
31535 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
31536 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
31538 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
31541 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
31542 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
31543 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
31544 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
31545 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
31546 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
31547 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
31548 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
31558 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
31559 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
31560 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
31562 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
31566 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
31567 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
31568 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
31569 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
31570 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
31571 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
31577 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
31578 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
31579 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
31628 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
31630 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
31631 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
31632 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
31639 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
31640 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
31641 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
31642 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
31643 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
31648 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
31649 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
31650 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
31651 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
31660 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
31661 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
31662 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
31663 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
31664 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
31665 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
31666 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
31667 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
31668 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
31669 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
31670 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
31671 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
31674 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
31676 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
31678 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
31680 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
31681 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
31684 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
31685 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
31689 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
31691 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
31694 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
31695 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
31696 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
31697 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
31698 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
31699 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
31706 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
31707 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
31710 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
31711 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
31712 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
31713 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
31714 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
31715 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
31716 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
31718 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
31719 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
31720 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
31723 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
31724 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
31725 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
31727 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
31728 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
31730 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
31731 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
31733 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
31734 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
31736 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
31737 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
31739 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
31742 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
31743 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
31744 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
31746 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
31747 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
31749 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
31750 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
31752 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
31753 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
31755 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
31763 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
31765 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
31767 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
31768 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
31769 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
31770 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
31771 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
31772 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
31778 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
31779 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
31780 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
31781 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
31782 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
31783 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
31787 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
31791 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
31795 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
31796 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
31797 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
31802 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
31803 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
31804 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
31805 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
31806 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
31807 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
31808 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
31809 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
31810 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
31811 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
31812 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
31813 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
31822 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
31823 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
31825 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
31826 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
31827 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
31828 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
31829 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
31830 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
31831 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
31832 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
31833 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
31834 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
31835 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
31836 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
31837 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
31838 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
31839 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
31840 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
31841 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
31842 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
31843 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
31844 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
31845 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
31846 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
31847 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
31848 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
31850 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
31852 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
31853 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
31854 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
31855 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
31868 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
31869 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
31870 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
31872 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
31873 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
31874 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
31875 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
31876 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
31877 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
31878 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
31879 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
31928 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
31938 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
31939 { NULL
, NULL
, 0, NULL
}
31943 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31945 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
31946 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
31948 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
31949 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31951 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
31952 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
31954 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
31955 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
31957 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
31958 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
31960 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
31961 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
31963 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
31964 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
31966 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
31967 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
31969 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
31970 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
31972 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
31973 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
31975 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
31976 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
31978 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
31979 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
31981 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
31982 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
31984 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
31985 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
31987 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
31988 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
31990 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
31991 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
31993 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
31994 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
31996 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
31997 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31999 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
32000 return (void *)((wxDC
*) ((wxClientDC
*) x
));
32002 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
32003 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
32005 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
32006 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
32008 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
32009 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
32011 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
32012 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
32014 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
32015 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
32017 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
32018 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
32020 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
32021 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32023 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32024 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32026 static void *_p_wxPenTo_p_wxObject(void *x
) {
32027 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
32029 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
32030 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
32032 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32033 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32035 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32036 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32038 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32039 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32041 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32042 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32044 static void *_p_wxIconTo_p_wxObject(void *x
) {
32045 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
32047 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32048 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32050 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32051 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32053 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32054 return (void *)((wxObject
*) ((wxSizer
*) x
));
32056 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32057 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32059 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32060 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32062 static void *_p_wxEventTo_p_wxObject(void *x
) {
32063 return (void *)((wxObject
*) ((wxEvent
*) x
));
32065 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32066 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32068 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32069 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32071 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32072 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32074 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
32075 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
32077 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32078 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32080 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32081 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32083 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32084 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32086 static void *_p_wxDCTo_p_wxObject(void *x
) {
32087 return (void *)((wxObject
*) ((wxDC
*) x
));
32089 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32090 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32092 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32093 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32095 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32096 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32098 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32099 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32101 static void *_p_wxControlTo_p_wxObject(void *x
) {
32102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32104 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32105 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32107 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
32108 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
32110 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32111 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32113 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
32114 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
32116 static void *_p_wxRegionTo_p_wxObject(void *x
) {
32117 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
32119 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32120 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32122 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
32123 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
32125 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
32126 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
32128 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
32129 return (void *)((wxObject
*) ((wxEffects
*) x
));
32131 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32132 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32134 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32135 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32137 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
32138 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
32140 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32141 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32143 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32144 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32146 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32147 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32149 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32150 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32152 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32153 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32155 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32156 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32158 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32159 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32161 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32162 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32164 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32165 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32167 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32168 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32170 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32171 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32173 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32174 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32176 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32177 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32179 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32180 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32182 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32183 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32185 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32186 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32188 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32189 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32191 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32192 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32194 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32195 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32197 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32198 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32200 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32201 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32203 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32204 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32206 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32207 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32209 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32210 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32212 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32213 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32215 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32216 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32218 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
32219 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32221 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
32222 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
32224 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
32225 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
32227 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
32228 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
32230 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32231 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32233 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32234 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32236 static void *_p_wxImageTo_p_wxObject(void *x
) {
32237 return (void *)((wxObject
*) ((wxImage
*) x
));
32239 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32240 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32242 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
32243 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
32245 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
32246 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
32248 static void *_p_wxImageListTo_p_wxObject(void *x
) {
32249 return (void *)((wxObject
*) ((wxImageList
*) x
));
32251 static void *_p_wxCursorTo_p_wxObject(void *x
) {
32252 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
32254 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
32255 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
32257 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
32258 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
32260 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32261 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32263 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32264 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32266 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32267 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32269 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32270 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32272 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32273 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32275 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32276 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32278 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
32279 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
32281 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32282 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32284 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
32285 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
32287 static void *_p_wxMaskTo_p_wxObject(void *x
) {
32288 return (void *)((wxObject
*) ((wxMask
*) x
));
32290 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32291 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32293 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32294 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32296 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32297 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32299 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32300 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32302 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32303 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32305 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32306 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32308 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32309 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32311 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32312 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32314 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32315 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32317 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32318 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32320 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32321 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32323 static void *_p_wxFontTo_p_wxObject(void *x
) {
32324 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
32326 static void *_p_wxBrushTo_p_wxObject(void *x
) {
32327 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
32329 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
32330 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
32332 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32333 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32335 static void *_p_wxColourTo_p_wxObject(void *x
) {
32336 return (void *)((wxObject
*) ((wxColour
*) x
));
32338 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32341 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32342 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32344 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32345 return (void *)((wxWindow
*) ((wxControl
*) x
));
32347 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32348 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32350 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32351 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32353 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
32354 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
32356 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
32357 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
32359 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
32360 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32361 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
32362 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};
32363 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32364 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32365 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32366 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32367 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
32368 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
32369 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32370 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
32371 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
32372 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
32373 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
32374 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
32375 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
32376 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32377 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
32378 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
32379 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32380 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
32381 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32382 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
32383 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
32384 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32385 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
32386 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
32387 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
32388 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
32389 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
32390 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32391 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32392 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
32393 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
32394 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
32395 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
32396 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
32397 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
32398 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
32399 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
32400 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
32401 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
32402 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
32403 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
32404 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
32405 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
32406 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32407 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32408 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32409 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32410 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32411 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32412 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32413 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32414 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32415 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32416 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32417 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
32418 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
32419 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32420 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32421 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32422 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32423 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32424 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32425 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32426 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32427 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32428 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32429 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32430 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32431 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32432 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32433 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32434 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
32435 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32436 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32437 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32438 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32439 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32440 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32441 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32442 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32443 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32444 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32445 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32446 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32447 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32448 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32449 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32450 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32451 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32452 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32453 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32454 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
32455 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32456 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32457 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32458 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32459 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32460 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32461 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
32462 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32463 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
32464 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32465 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32466 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32467 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
32468 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
32469 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32470 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32471 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32472 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32473 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32474 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32475 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32476 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
32477 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32478 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32479 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32480 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32481 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32482 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32483 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
32484 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
32485 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32486 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
32487 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
32488 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
32489 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32490 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
32491 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32492 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
32493 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
32494 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
32495 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
32496 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32497 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32498 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
32499 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
32500 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
32501 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
32502 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32503 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
32504 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
32505 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32506 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32507 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
32509 static swig_type_info
*swig_type_initial
[] = {
32513 &_swigt__p_form_ops_t
,
32515 &_swigt__p_unsigned_char
,
32516 &_swigt__p_unsigned_int
,
32517 &_swigt__p_unsigned_long
,
32518 &_swigt__p_wxANIHandler
,
32519 &_swigt__p_wxAcceleratorTable
,
32520 &_swigt__p_wxActivateEvent
,
32521 &_swigt__p_wxAlphaPixelData
,
32522 &_swigt__p_wxAlphaPixelData_Accessor
,
32523 &_swigt__p_wxBMPHandler
,
32524 &_swigt__p_wxBitmap
,
32525 &_swigt__p_wxBoxSizer
,
32526 &_swigt__p_wxBrush
,
32527 &_swigt__p_wxBrushList
,
32528 &_swigt__p_wxBufferedDC
,
32529 &_swigt__p_wxBufferedPaintDC
,
32530 &_swigt__p_wxCURHandler
,
32532 &_swigt__p_wxChildFocusEvent
,
32533 &_swigt__p_wxClientDC
,
32534 &_swigt__p_wxClipboardTextEvent
,
32535 &_swigt__p_wxCloseEvent
,
32536 &_swigt__p_wxColour
,
32537 &_swigt__p_wxColourDatabase
,
32538 &_swigt__p_wxCommandEvent
,
32539 &_swigt__p_wxContextMenuEvent
,
32540 &_swigt__p_wxControl
,
32541 &_swigt__p_wxControlWithItems
,
32542 &_swigt__p_wxCursor
,
32545 &_swigt__p_wxDateEvent
,
32546 &_swigt__p_wxDisplayChangedEvent
,
32547 &_swigt__p_wxDropFilesEvent
,
32548 &_swigt__p_wxDuplexMode
,
32549 &_swigt__p_wxEffects
,
32550 &_swigt__p_wxEncodingConverter
,
32551 &_swigt__p_wxEraseEvent
,
32552 &_swigt__p_wxEvent
,
32553 &_swigt__p_wxEvtHandler
,
32554 &_swigt__p_wxFSFile
,
32555 &_swigt__p_wxFileSystem
,
32556 &_swigt__p_wxFlexGridSizer
,
32557 &_swigt__p_wxFocusEvent
,
32559 &_swigt__p_wxFontList
,
32560 &_swigt__p_wxFontMapper
,
32561 &_swigt__p_wxGBSizerItem
,
32562 &_swigt__p_wxGDIObjListBase
,
32563 &_swigt__p_wxGDIObject
,
32564 &_swigt__p_wxGIFHandler
,
32565 &_swigt__p_wxGridBagSizer
,
32566 &_swigt__p_wxGridSizer
,
32567 &_swigt__p_wxHeaderButtonParams
,
32568 &_swigt__p_wxICOHandler
,
32570 &_swigt__p_wxIconBundle
,
32571 &_swigt__p_wxIconLocation
,
32572 &_swigt__p_wxIconizeEvent
,
32573 &_swigt__p_wxIdleEvent
,
32574 &_swigt__p_wxImage
,
32575 &_swigt__p_wxImageHandler
,
32576 &_swigt__p_wxImageList
,
32577 &_swigt__p_wxIndividualLayoutConstraint
,
32578 &_swigt__p_wxInitDialogEvent
,
32579 &_swigt__p_wxJPEGHandler
,
32580 &_swigt__p_wxKeyEvent
,
32581 &_swigt__p_wxLanguageInfo
,
32582 &_swigt__p_wxLayoutConstraints
,
32583 &_swigt__p_wxLocale
,
32585 &_swigt__p_wxMaximizeEvent
,
32586 &_swigt__p_wxMemoryDC
,
32588 &_swigt__p_wxMenuBar
,
32589 &_swigt__p_wxMenuEvent
,
32590 &_swigt__p_wxMenuItem
,
32591 &_swigt__p_wxMetaFile
,
32592 &_swigt__p_wxMetaFileDC
,
32593 &_swigt__p_wxMirrorDC
,
32594 &_swigt__p_wxMouseCaptureChangedEvent
,
32595 &_swigt__p_wxMouseCaptureLostEvent
,
32596 &_swigt__p_wxMouseEvent
,
32597 &_swigt__p_wxMoveEvent
,
32598 &_swigt__p_wxNativeEncodingInfo
,
32599 &_swigt__p_wxNativeFontInfo
,
32600 &_swigt__p_wxNativePixelData
,
32601 &_swigt__p_wxNativePixelData_Accessor
,
32602 &_swigt__p_wxNavigationKeyEvent
,
32603 &_swigt__p_wxNcPaintEvent
,
32604 &_swigt__p_wxNotifyEvent
,
32605 &_swigt__p_wxObject
,
32606 &_swigt__p_wxPCXHandler
,
32607 &_swigt__p_wxPNGHandler
,
32608 &_swigt__p_wxPNMHandler
,
32609 &_swigt__p_wxPaintDC
,
32610 &_swigt__p_wxPaintEvent
,
32611 &_swigt__p_wxPalette
,
32612 &_swigt__p_wxPaletteChangedEvent
,
32613 &_swigt__p_wxPaperSize
,
32615 &_swigt__p_wxPenList
,
32616 &_swigt__p_wxPixelDataBase
,
32617 &_swigt__p_wxPoint
,
32618 &_swigt__p_wxPostScriptDC
,
32619 &_swigt__p_wxPrintData
,
32620 &_swigt__p_wxPrinterDC
,
32621 &_swigt__p_wxPseudoDC
,
32622 &_swigt__p_wxPyApp
,
32623 &_swigt__p_wxPyCommandEvent
,
32624 &_swigt__p_wxPyEvent
,
32625 &_swigt__p_wxPyFontEnumerator
,
32626 &_swigt__p_wxPyImageHandler
,
32627 &_swigt__p_wxPyLocale
,
32628 &_swigt__p_wxPySizer
,
32629 &_swigt__p_wxPyValidator
,
32630 &_swigt__p_wxQueryNewPaletteEvent
,
32632 &_swigt__p_wxRegion
,
32633 &_swigt__p_wxRegionIterator
,
32634 &_swigt__p_wxRendererNative
,
32635 &_swigt__p_wxRendererVersion
,
32636 &_swigt__p_wxScreenDC
,
32637 &_swigt__p_wxScrollEvent
,
32638 &_swigt__p_wxScrollWinEvent
,
32639 &_swigt__p_wxSetCursorEvent
,
32640 &_swigt__p_wxShowEvent
,
32642 &_swigt__p_wxSizeEvent
,
32643 &_swigt__p_wxSizer
,
32644 &_swigt__p_wxSizerItem
,
32645 &_swigt__p_wxSplitterRenderParams
,
32646 &_swigt__p_wxStaticBoxSizer
,
32647 &_swigt__p_wxStdDialogButtonSizer
,
32648 &_swigt__p_wxStockGDI
,
32649 &_swigt__p_wxString
,
32650 &_swigt__p_wxSysColourChangedEvent
,
32651 &_swigt__p_wxTIFFHandler
,
32652 &_swigt__p_wxUpdateUIEvent
,
32653 &_swigt__p_wxValidator
,
32654 &_swigt__p_wxWindow
,
32655 &_swigt__p_wxWindowCreateEvent
,
32656 &_swigt__p_wxWindowDC
,
32657 &_swigt__p_wxWindowDestroyEvent
,
32658 &_swigt__p_wxXPMHandler
,
32661 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
32662 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32663 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
32664 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32665 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32667 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32668 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32669 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32671 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32672 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
32673 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
32674 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}};
32675 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
32676 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
32677 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
32678 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32679 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
32680 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
32681 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}};
32682 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
32683 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32684 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
32685 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
32686 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32687 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
32688 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
32689 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}};
32690 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}};
32691 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
32692 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32693 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32694 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
32695 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32696 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
32697 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
32698 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}};
32699 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
32700 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}};
32701 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
32702 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
32703 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
32704 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
32705 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
32706 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
32707 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32708 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32709 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32710 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32711 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32712 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32713 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32714 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32715 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32716 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32717 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32718 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32719 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
32720 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32721 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32722 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32723 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32724 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32725 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32726 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32727 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32728 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32729 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32730 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32731 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32732 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32733 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32734 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32735 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32736 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32737 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32738 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32739 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32740 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32741 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32742 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32743 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32744 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32745 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32746 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32747 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32748 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32749 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32750 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32751 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32752 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32753 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32754 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32755 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
32756 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32757 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32758 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32759 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32760 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32761 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
32762 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32763 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32764 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32765 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32766 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32767 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32768 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32769 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32770 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32771 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32772 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32773 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32774 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32775 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32776 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32777 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32778 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32779 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32780 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32781 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32782 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32783 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32784 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}};
32785 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
32786 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
32787 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32788 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
32789 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
32790 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}};
32791 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32792 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
32793 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32794 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
32795 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
32796 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
32797 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
32798 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32799 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32800 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
32801 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
32802 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
32803 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
32804 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32805 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
32806 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
32807 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32808 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}};
32809 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
32811 static swig_cast_info
*swig_cast_initial
[] = {
32815 _swigc__p_form_ops_t
,
32817 _swigc__p_unsigned_char
,
32818 _swigc__p_unsigned_int
,
32819 _swigc__p_unsigned_long
,
32820 _swigc__p_wxANIHandler
,
32821 _swigc__p_wxAcceleratorTable
,
32822 _swigc__p_wxActivateEvent
,
32823 _swigc__p_wxAlphaPixelData
,
32824 _swigc__p_wxAlphaPixelData_Accessor
,
32825 _swigc__p_wxBMPHandler
,
32826 _swigc__p_wxBitmap
,
32827 _swigc__p_wxBoxSizer
,
32829 _swigc__p_wxBrushList
,
32830 _swigc__p_wxBufferedDC
,
32831 _swigc__p_wxBufferedPaintDC
,
32832 _swigc__p_wxCURHandler
,
32834 _swigc__p_wxChildFocusEvent
,
32835 _swigc__p_wxClientDC
,
32836 _swigc__p_wxClipboardTextEvent
,
32837 _swigc__p_wxCloseEvent
,
32838 _swigc__p_wxColour
,
32839 _swigc__p_wxColourDatabase
,
32840 _swigc__p_wxCommandEvent
,
32841 _swigc__p_wxContextMenuEvent
,
32842 _swigc__p_wxControl
,
32843 _swigc__p_wxControlWithItems
,
32844 _swigc__p_wxCursor
,
32847 _swigc__p_wxDateEvent
,
32848 _swigc__p_wxDisplayChangedEvent
,
32849 _swigc__p_wxDropFilesEvent
,
32850 _swigc__p_wxDuplexMode
,
32851 _swigc__p_wxEffects
,
32852 _swigc__p_wxEncodingConverter
,
32853 _swigc__p_wxEraseEvent
,
32855 _swigc__p_wxEvtHandler
,
32856 _swigc__p_wxFSFile
,
32857 _swigc__p_wxFileSystem
,
32858 _swigc__p_wxFlexGridSizer
,
32859 _swigc__p_wxFocusEvent
,
32861 _swigc__p_wxFontList
,
32862 _swigc__p_wxFontMapper
,
32863 _swigc__p_wxGBSizerItem
,
32864 _swigc__p_wxGDIObjListBase
,
32865 _swigc__p_wxGDIObject
,
32866 _swigc__p_wxGIFHandler
,
32867 _swigc__p_wxGridBagSizer
,
32868 _swigc__p_wxGridSizer
,
32869 _swigc__p_wxHeaderButtonParams
,
32870 _swigc__p_wxICOHandler
,
32872 _swigc__p_wxIconBundle
,
32873 _swigc__p_wxIconLocation
,
32874 _swigc__p_wxIconizeEvent
,
32875 _swigc__p_wxIdleEvent
,
32877 _swigc__p_wxImageHandler
,
32878 _swigc__p_wxImageList
,
32879 _swigc__p_wxIndividualLayoutConstraint
,
32880 _swigc__p_wxInitDialogEvent
,
32881 _swigc__p_wxJPEGHandler
,
32882 _swigc__p_wxKeyEvent
,
32883 _swigc__p_wxLanguageInfo
,
32884 _swigc__p_wxLayoutConstraints
,
32885 _swigc__p_wxLocale
,
32887 _swigc__p_wxMaximizeEvent
,
32888 _swigc__p_wxMemoryDC
,
32890 _swigc__p_wxMenuBar
,
32891 _swigc__p_wxMenuEvent
,
32892 _swigc__p_wxMenuItem
,
32893 _swigc__p_wxMetaFile
,
32894 _swigc__p_wxMetaFileDC
,
32895 _swigc__p_wxMirrorDC
,
32896 _swigc__p_wxMouseCaptureChangedEvent
,
32897 _swigc__p_wxMouseCaptureLostEvent
,
32898 _swigc__p_wxMouseEvent
,
32899 _swigc__p_wxMoveEvent
,
32900 _swigc__p_wxNativeEncodingInfo
,
32901 _swigc__p_wxNativeFontInfo
,
32902 _swigc__p_wxNativePixelData
,
32903 _swigc__p_wxNativePixelData_Accessor
,
32904 _swigc__p_wxNavigationKeyEvent
,
32905 _swigc__p_wxNcPaintEvent
,
32906 _swigc__p_wxNotifyEvent
,
32907 _swigc__p_wxObject
,
32908 _swigc__p_wxPCXHandler
,
32909 _swigc__p_wxPNGHandler
,
32910 _swigc__p_wxPNMHandler
,
32911 _swigc__p_wxPaintDC
,
32912 _swigc__p_wxPaintEvent
,
32913 _swigc__p_wxPalette
,
32914 _swigc__p_wxPaletteChangedEvent
,
32915 _swigc__p_wxPaperSize
,
32917 _swigc__p_wxPenList
,
32918 _swigc__p_wxPixelDataBase
,
32920 _swigc__p_wxPostScriptDC
,
32921 _swigc__p_wxPrintData
,
32922 _swigc__p_wxPrinterDC
,
32923 _swigc__p_wxPseudoDC
,
32925 _swigc__p_wxPyCommandEvent
,
32926 _swigc__p_wxPyEvent
,
32927 _swigc__p_wxPyFontEnumerator
,
32928 _swigc__p_wxPyImageHandler
,
32929 _swigc__p_wxPyLocale
,
32930 _swigc__p_wxPySizer
,
32931 _swigc__p_wxPyValidator
,
32932 _swigc__p_wxQueryNewPaletteEvent
,
32934 _swigc__p_wxRegion
,
32935 _swigc__p_wxRegionIterator
,
32936 _swigc__p_wxRendererNative
,
32937 _swigc__p_wxRendererVersion
,
32938 _swigc__p_wxScreenDC
,
32939 _swigc__p_wxScrollEvent
,
32940 _swigc__p_wxScrollWinEvent
,
32941 _swigc__p_wxSetCursorEvent
,
32942 _swigc__p_wxShowEvent
,
32944 _swigc__p_wxSizeEvent
,
32946 _swigc__p_wxSizerItem
,
32947 _swigc__p_wxSplitterRenderParams
,
32948 _swigc__p_wxStaticBoxSizer
,
32949 _swigc__p_wxStdDialogButtonSizer
,
32950 _swigc__p_wxStockGDI
,
32951 _swigc__p_wxString
,
32952 _swigc__p_wxSysColourChangedEvent
,
32953 _swigc__p_wxTIFFHandler
,
32954 _swigc__p_wxUpdateUIEvent
,
32955 _swigc__p_wxValidator
,
32956 _swigc__p_wxWindow
,
32957 _swigc__p_wxWindowCreateEvent
,
32958 _swigc__p_wxWindowDC
,
32959 _swigc__p_wxWindowDestroyEvent
,
32960 _swigc__p_wxXPMHandler
,
32964 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32966 static swig_const_info swig_const_table
[] = {
32967 {0, 0, 0, 0.0, 0, 0}};
32972 /* -----------------------------------------------------------------------------
32973 * Type initialization:
32974 * This problem is tough by the requirement that no dynamic
32975 * memory is used. Also, since swig_type_info structures store pointers to
32976 * swig_cast_info structures and swig_cast_info structures store pointers back
32977 * to swig_type_info structures, we need some lookup code at initialization.
32978 * The idea is that swig generates all the structures that are needed.
32979 * The runtime then collects these partially filled structures.
32980 * The SWIG_InitializeModule function takes these initial arrays out of
32981 * swig_module, and does all the lookup, filling in the swig_module.types
32982 * array with the correct data and linking the correct swig_cast_info
32983 * structures together.
32985 * The generated swig_type_info structures are assigned staticly to an initial
32986 * array. We just loop though that array, and handle each type individually.
32987 * First we lookup if this type has been already loaded, and if so, use the
32988 * loaded structure instead of the generated one. Then we have to fill in the
32989 * cast linked list. The cast data is initially stored in something like a
32990 * two-dimensional array. Each row corresponds to a type (there are the same
32991 * number of rows as there are in the swig_type_initial array). Each entry in
32992 * a column is one of the swig_cast_info structures for that type.
32993 * The cast_initial array is actually an array of arrays, because each row has
32994 * a variable number of columns. So to actually build the cast linked list,
32995 * we find the array of casts associated with the type, and loop through it
32996 * adding the casts to the list. The one last trick we need to do is making
32997 * sure the type pointer in the swig_cast_info struct is correct.
32999 * First off, we lookup the cast->type name to see if it is already loaded.
33000 * There are three cases to handle:
33001 * 1) If the cast->type has already been loaded AND the type we are adding
33002 * casting info to has not been loaded (it is in this module), THEN we
33003 * replace the cast->type pointer with the type pointer that has already
33005 * 2) If BOTH types (the one we are adding casting info to, and the
33006 * cast->type) are loaded, THEN the cast info has already been loaded by
33007 * the previous module so we just ignore it.
33008 * 3) Finally, if cast->type has not already been loaded, then we add that
33009 * swig_cast_info to the linked list (because the cast->type) pointer will
33011 * ----------------------------------------------------------------------------- */
33021 #define SWIGRUNTIME_DEBUG
33025 SWIG_InitializeModule(void *clientdata
) {
33027 swig_module_info
*module_head
;
33028 static int init_run
= 0;
33030 clientdata
= clientdata
;
33032 if (init_run
) return;
33035 /* Initialize the swig_module */
33036 swig_module
.type_initial
= swig_type_initial
;
33037 swig_module
.cast_initial
= swig_cast_initial
;
33039 /* Try and load any already created modules */
33040 module_head
= SWIG_GetModule(clientdata
);
33042 swig_module
.next
= module_head
->next
;
33043 module_head
->next
= &swig_module
;
33045 /* This is the first module loaded */
33046 swig_module
.next
= &swig_module
;
33047 SWIG_SetModule(clientdata
, &swig_module
);
33050 /* Now work on filling in swig_module.types */
33051 #ifdef SWIGRUNTIME_DEBUG
33052 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33054 for (i
= 0; i
< swig_module
.size
; ++i
) {
33055 swig_type_info
*type
= 0;
33056 swig_type_info
*ret
;
33057 swig_cast_info
*cast
;
33059 #ifdef SWIGRUNTIME_DEBUG
33060 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33063 /* if there is another module already loaded */
33064 if (swig_module
.next
!= &swig_module
) {
33065 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33068 /* Overwrite clientdata field */
33069 #ifdef SWIGRUNTIME_DEBUG
33070 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33072 if (swig_module
.type_initial
[i
]->clientdata
) {
33073 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33074 #ifdef SWIGRUNTIME_DEBUG
33075 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33079 type
= swig_module
.type_initial
[i
];
33082 /* Insert casting types */
33083 cast
= swig_module
.cast_initial
[i
];
33084 while (cast
->type
) {
33085 /* Don't need to add information already in the list */
33087 #ifdef SWIGRUNTIME_DEBUG
33088 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33090 if (swig_module
.next
!= &swig_module
) {
33091 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33092 #ifdef SWIGRUNTIME_DEBUG
33093 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33097 if (type
== swig_module
.type_initial
[i
]) {
33098 #ifdef SWIGRUNTIME_DEBUG
33099 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33104 /* Check for casting already in the list */
33105 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33106 #ifdef SWIGRUNTIME_DEBUG
33107 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33109 if (!ocast
) ret
= 0;
33114 #ifdef SWIGRUNTIME_DEBUG
33115 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33118 type
->cast
->prev
= cast
;
33119 cast
->next
= type
->cast
;
33125 /* Set entry in modules->types array equal to the type */
33126 swig_module
.types
[i
] = type
;
33128 swig_module
.types
[i
] = 0;
33130 #ifdef SWIGRUNTIME_DEBUG
33131 printf("**** SWIG_InitializeModule: Cast List ******\n");
33132 for (i
= 0; i
< swig_module
.size
; ++i
) {
33134 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33135 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33136 while (cast
->type
) {
33137 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33141 printf("---- Total casts: %d\n",j
);
33143 printf("**** SWIG_InitializeModule: Cast List ******\n");
33147 /* This function will propagate the clientdata field of type to
33148 * any new swig_type_info structures that have been added into the list
33149 * of equivalent types. It is like calling
33150 * SWIG_TypeClientData(type, clientdata) a second time.
33153 SWIG_PropagateClientData(void) {
33155 swig_cast_info
*equiv
;
33156 static int init_run
= 0;
33158 if (init_run
) return;
33161 for (i
= 0; i
< swig_module
.size
; i
++) {
33162 if (swig_module
.types
[i
]->clientdata
) {
33163 equiv
= swig_module
.types
[i
]->cast
;
33165 if (!equiv
->converter
) {
33166 if (equiv
->type
&& !equiv
->type
->clientdata
)
33167 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33169 equiv
= equiv
->next
;
33189 /* Python-specific SWIG API */
33190 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33191 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33192 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33194 /* -----------------------------------------------------------------------------
33195 * global variable support code.
33196 * ----------------------------------------------------------------------------- */
33198 typedef struct swig_globalvar
{
33199 char *name
; /* Name of global variable */
33200 PyObject
*(*get_attr
)(void); /* Return the current value */
33201 int (*set_attr
)(PyObject
*); /* Set the value */
33202 struct swig_globalvar
*next
;
33205 typedef struct swig_varlinkobject
{
33207 swig_globalvar
*vars
;
33208 } swig_varlinkobject
;
33210 SWIGINTERN PyObject
*
33211 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33212 return PyString_FromString("<Swig global variables>");
33215 SWIGINTERN PyObject
*
33216 swig_varlink_str(swig_varlinkobject
*v
) {
33217 PyObject
*str
= PyString_FromString("(");
33218 swig_globalvar
*var
;
33219 for (var
= v
->vars
; var
; var
=var
->next
) {
33220 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33221 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33223 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33228 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33229 PyObject
*str
= swig_varlink_str(v
);
33230 fprintf(fp
,"Swig global variables ");
33231 fprintf(fp
,"%s\n", PyString_AsString(str
));
33237 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33238 swig_globalvar
*var
= v
->vars
;
33240 swig_globalvar
*n
= var
->next
;
33247 SWIGINTERN PyObject
*
33248 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33249 PyObject
*res
= NULL
;
33250 swig_globalvar
*var
= v
->vars
;
33252 if (strcmp(var
->name
,n
) == 0) {
33253 res
= (*var
->get_attr
)();
33258 if (res
== NULL
&& !PyErr_Occurred()) {
33259 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33265 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33267 swig_globalvar
*var
= v
->vars
;
33269 if (strcmp(var
->name
,n
) == 0) {
33270 res
= (*var
->set_attr
)(p
);
33275 if (res
== 1 && !PyErr_Occurred()) {
33276 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33281 SWIGINTERN PyTypeObject
*
33282 swig_varlink_type(void) {
33283 static char varlink__doc__
[] = "Swig var link object";
33284 static PyTypeObject varlink_type
;
33285 static int type_init
= 0;
33287 const PyTypeObject tmp
33289 PyObject_HEAD_INIT(NULL
)
33290 0, /* Number of items in variable part (ob_size) */
33291 (char *)"swigvarlink", /* Type name (tp_name) */
33292 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33293 0, /* Itemsize (tp_itemsize) */
33294 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33295 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33296 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33297 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33298 0, /* tp_compare */
33299 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33300 0, /* tp_as_number */
33301 0, /* tp_as_sequence */
33302 0, /* tp_as_mapping */
33305 (reprfunc
)swig_varlink_str
, /* tp_str */
33306 0, /* tp_getattro */
33307 0, /* tp_setattro */
33308 0, /* tp_as_buffer */
33310 varlink__doc__
, /* tp_doc */
33311 0, /* tp_traverse */
33313 0, /* tp_richcompare */
33314 0, /* tp_weaklistoffset */
33315 #if PY_VERSION_HEX >= 0x02020000
33316 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33318 #if PY_VERSION_HEX >= 0x02030000
33321 #ifdef COUNT_ALLOCS
33322 0,0,0,0 /* tp_alloc -> tp_next */
33325 varlink_type
= tmp
;
33326 varlink_type
.ob_type
= &PyType_Type
;
33329 return &varlink_type
;
33332 /* Create a variable linking object for use later */
33333 SWIGINTERN PyObject
*
33334 SWIG_Python_newvarlink(void) {
33335 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33339 return ((PyObject
*) result
);
33343 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33344 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33345 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33347 size_t size
= strlen(name
)+1;
33348 gv
->name
= (char *)malloc(size
);
33350 strncpy(gv
->name
,name
,size
);
33351 gv
->get_attr
= get_attr
;
33352 gv
->set_attr
= set_attr
;
33353 gv
->next
= v
->vars
;
33359 SWIGINTERN PyObject
*
33361 static PyObject
*_SWIG_globals
= 0;
33362 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33363 return _SWIG_globals
;
33366 /* -----------------------------------------------------------------------------
33367 * constants/methods manipulation
33368 * ----------------------------------------------------------------------------- */
33370 /* Install Constants */
33372 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33375 for (i
= 0; constants
[i
].type
; ++i
) {
33376 switch(constants
[i
].type
) {
33377 case SWIG_PY_POINTER
:
33378 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33380 case SWIG_PY_BINARY
:
33381 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33388 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33394 /* -----------------------------------------------------------------------------*/
33395 /* Fix SwigMethods to carry the callback ptrs when needed */
33396 /* -----------------------------------------------------------------------------*/
33399 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33400 swig_const_info
*const_table
,
33401 swig_type_info
**types
,
33402 swig_type_info
**types_initial
) {
33404 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33405 const char *c
= methods
[i
].ml_doc
;
33406 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33408 swig_const_info
*ci
= 0;
33409 const char *name
= c
+ 10;
33410 for (j
= 0; const_table
[j
].type
; ++j
) {
33411 if (strncmp(const_table
[j
].name
, name
,
33412 strlen(const_table
[j
].name
)) == 0) {
33413 ci
= &(const_table
[j
]);
33418 size_t shift
= (ci
->ptype
) - types
;
33419 swig_type_info
*ty
= types_initial
[shift
];
33420 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33421 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33422 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33425 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33427 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33429 strncpy(buff
, "swig_ptr: ", 10);
33431 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33432 methods
[i
].ml_doc
= ndoc
;
33444 /* -----------------------------------------------------------------------------*
33445 * Partial Init method
33446 * -----------------------------------------------------------------------------*/
33451 SWIGEXPORT
void SWIG_init(void) {
33454 /* Fix SwigMethods to carry the callback ptrs when needed */
33455 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33457 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33458 d
= PyModule_GetDict(m
);
33460 SWIG_InitializeModule(0);
33461 SWIG_InstallConstants(d
,swig_const_table
);
33464 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
33465 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
33466 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
33467 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
33468 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
33469 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
33470 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
33471 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
33472 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
33473 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
33474 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
33475 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
33476 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
33477 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
33478 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
33479 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
33480 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
33481 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
33482 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
33483 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
33484 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
33485 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
33486 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
33487 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
33488 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
33489 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
33490 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
33491 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
33492 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
33493 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
33494 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
33495 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
33496 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
33497 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
33498 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
33499 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
33500 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
33501 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
33502 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
33503 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
33504 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
33505 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
33506 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
33507 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
33508 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
33509 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
33510 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
33511 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
33512 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
33513 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
33514 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
33515 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
33516 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
33517 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
33518 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
33519 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
33520 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
33521 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
33522 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
33523 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
33524 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
33525 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
33526 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
33527 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
33528 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
33529 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
33530 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
33531 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
33532 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
33533 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
33534 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
33535 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
33536 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
33537 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
33538 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
33539 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
33540 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
33541 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
33542 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
33543 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
33544 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
33545 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
33546 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
33547 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
33548 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
33549 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
33550 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
33551 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
33552 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
33553 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
33554 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
33555 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
33556 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
33557 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
33558 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
33559 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
33560 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
33561 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
33562 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
33563 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
33564 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
33565 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
33566 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
33567 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
33568 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
33569 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
33570 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
33571 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
33572 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
33573 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
33574 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
33575 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
33576 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
33577 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
33578 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
33579 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
33580 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
33581 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
33582 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
33583 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
33584 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
33585 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
33586 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
33587 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
33588 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
33589 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
33590 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
33591 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
33592 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
33593 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
33594 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
33595 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
33597 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
33599 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
33600 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
33601 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
33602 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
33603 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
33604 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
33605 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
33606 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
33607 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
33608 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
33609 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
33610 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
33611 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
33612 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
33613 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
33614 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
33615 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
33616 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
33617 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
33618 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
33619 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
33620 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
33621 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
33622 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
33623 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
33624 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
33625 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
33626 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
33627 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
33628 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
33629 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
33630 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
33631 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
33632 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
33633 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
33634 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
33635 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
33636 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
33637 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
33638 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
33639 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
33640 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
33641 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
33642 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
33643 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
33644 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
33645 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
33646 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
33647 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
33648 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
33649 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
33650 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
33651 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
33652 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
33653 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
33654 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
33655 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
33656 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
33657 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
33658 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
33659 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
33660 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
33661 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
33662 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
33663 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
33664 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
33665 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
33666 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
33667 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
33668 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
33669 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
33670 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
33671 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
33672 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
33673 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
33674 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
33675 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
33676 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
33677 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
33678 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
33679 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
33680 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
33681 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
33682 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
33683 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
33684 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
33685 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
33686 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
33687 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
33688 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
33689 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
33690 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
33691 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
33692 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
33693 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
33694 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
33695 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
33696 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
33697 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
33698 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
33699 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
33700 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
33701 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
33702 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
33703 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
33704 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
33705 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
33706 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
33707 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
33708 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
33709 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
33710 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
33711 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
33712 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
33713 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
33714 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
33715 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
33716 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
33717 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
33718 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
33719 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
33720 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
33721 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
33722 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
33723 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
33724 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
33725 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
33726 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
33727 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
33728 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
33729 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
33730 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
33731 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
33732 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
33733 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
33734 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
33735 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
33736 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
33737 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
33738 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
33739 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
33740 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
33741 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
33742 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
33743 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
33744 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
33745 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
33746 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
33747 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
33748 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
33749 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
33750 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
33751 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
33752 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
33753 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
33754 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
33755 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
33756 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
33757 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
33758 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
33759 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
33760 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
33761 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
33762 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
33763 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
33764 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
33765 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
33766 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
33767 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
33768 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
33769 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
33770 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
33771 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
33772 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
33773 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
33774 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
33775 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
33776 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
33777 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
33778 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
33779 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
33780 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
33781 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
33782 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
33783 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
33784 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
33785 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
33786 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
33787 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
33788 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
33789 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
33790 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
33791 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
33792 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
33793 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
33794 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
33795 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
33796 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
33797 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
33798 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
33799 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
33800 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
33801 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
33802 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
33803 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
33804 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
33805 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
33806 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
33807 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
33808 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
33809 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
33810 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
33811 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
33812 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
33813 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
33814 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
33815 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
33816 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
33817 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
33818 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
33819 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
33820 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
33821 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
33822 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
33823 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
33824 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
33825 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
33826 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
33827 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
33828 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
33829 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
33830 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
33831 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
33832 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
33833 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
33834 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
33835 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
33836 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
33837 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
33838 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
33839 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
33840 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
33841 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
33842 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
33843 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
33844 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
33845 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
33846 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
33847 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
33848 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
33849 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
33850 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
33851 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
33852 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
33853 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
33854 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
33855 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
33856 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
33857 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
33858 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
33859 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
33860 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
33861 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
33862 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
33863 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
33864 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
33865 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
33866 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
33867 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
33868 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
33869 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
33870 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
33871 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
33872 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
33873 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
33874 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
33875 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
33876 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
33877 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
33878 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
33879 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
33880 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
33881 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
33882 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
33883 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
33884 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
33885 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
33886 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
33887 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
33888 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
33889 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33890 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
33891 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
33892 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
33893 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
33894 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
33895 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
33896 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
33897 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
33898 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
33899 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
33900 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
33901 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
33902 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
33903 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
33904 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
33905 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
33906 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
33907 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
33908 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
33909 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
33910 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
33911 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
33912 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
33913 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
33914 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
33915 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
33916 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
33917 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
33919 // Work around a chicken/egg problem in drawlist.cpp
33920 wxPyDrawList_SetAPIPtr();